Skip to content
Snippets Groups Projects
Commit ab35512e authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

correctly handle interpolation schemes in prefetcher.

parent 8001bf56
No related branches found
No related tags found
No related merge requests found
...@@ -732,14 +732,14 @@ public class MultiResolutionRenderer ...@@ -732,14 +732,14 @@ public class MultiResolutionRenderer
// System.out.println( net.imglib2.util.Util.printCoordinates( dimensions ) ); // System.out.println( net.imglib2.util.Util.printCoordinates( dimensions ) );
// System.out.println(); // System.out.println();
// final Interpolation interpolation = viewerState.getInterpolation(); final Interpolation interpolation = viewerState.getInterpolation();
final AffineTransform3D sourceToScreen = new AffineTransform3D(); final AffineTransform3D sourceToScreen = new AffineTransform3D();
viewerState.getViewerTransform( sourceToScreen ); viewerState.getViewerTransform( sourceToScreen );
sourceToScreen.concatenate( source.getSourceTransform( timepoint, mipmapIndex ) ); sourceToScreen.concatenate( source.getSourceTransform( timepoint, mipmapIndex ) );
sourceToScreen.preConcatenate( screenScaleTransform ); sourceToScreen.preConcatenate( screenScaleTransform );
PlayWithGeometry.scan( sourceToScreen, cellDimensions, dimensions, screenInterval, cellsRandomAccess ); PlayWithGeometry.scan( sourceToScreen, cellDimensions, dimensions, screenInterval, interpolation, cellsRandomAccess );
} }
} }
} }
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment