Ignore:
Timestamp:
01/27/11 23:54:15 (9 years ago)
Author:
aivar
Message:

Needed an out of bounds strategy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/slim-plugin/src/main/java/loci/slim/binning/plugins/BinNxN.java

    r7305 r7601  
    4040import mpicbg.imglib.cursor.LocalizableCursor; 
    4141import mpicbg.imglib.image.Image; 
     42import mpicbg.imglib.outofbounds.OutOfBoundsStrategyMirrorFactory; 
    4243import mpicbg.imglib.type.numeric.RealType; 
    4344 
     
    7374 
    7475        // create cursors for both images 
    75         LocalizableByDimCursor<T> sourceCursor = sourceImage.createLocalizableByDimCursor(); 
     76        LocalizableByDimCursor<T> sourceCursor = sourceImage.createLocalizableByDimCursor(new OutOfBoundsStrategyMirrorFactory<T>()); 
    7677        LocalizableCursor<T> destCursor = destImage.createLocalizableByDimCursor(); 
    7778 
Note: See TracChangeset for help on using the changeset viewer.