Class 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 Details

    • NearestNeighbor

      public NearestNeighbor()
      Default constructor.
  • Method Details

    • canValueRangeChange

      public boolean canValueRangeChange()
      Description copied from class: VoxelsResizer
      Returns true if it's possible for values to be created after interpolation that aren't found in the input-image.
      Specified by:
      canValueRangeChange in class VoxelsResizer
      Returns:
      true if values can be created in the destination buffer that were not found in the source buffer.