Class NearestNeighbor
Object
org.anchoranalysis.image.voxel.resizer.VoxelsResizer
org.anchoranalysis.image.voxel.resizer.VoxelsResizerImgLib2
org.anchoranalysis.image.voxel.resizer.NearestNeighbor
public class NearestNeighbor extends VoxelsResizerImgLib2
Resizes with an interpolator that uses nearest neighbor
interpolation as implemented in Imglib2.
- Author:
- Owen Feehan
- See Also:
NearestNeighborInterpolatorFactory
-
Constructor Summary
Constructors Constructor Description NearestNeighbor()Default constructor. -
Method Summary
Modifier and Type Method Description booleancanValueRangeChange()Returns true if it's possible for values to be created after interpolation that aren't found in the input-image.Methods inherited from class org.anchoranalysis.image.voxel.resizer.VoxelsResizerImgLib2
extendWith, resizeByte, resizeFloat, resizeShort
-
Constructor Details
-
NearestNeighbor
public NearestNeighbor()Default constructor.
-
-
Method Details
-
canValueRangeChange
public boolean canValueRangeChange()Description copied from class:VoxelsResizerReturns true if it's possible for values to be created after interpolation that aren't found in the input-image.- Specified by:
canValueRangeChangein classVoxelsResizer- Returns:
- true if values can be created in the destination buffer that were not found in the source buffer.
-