public class VoxelsResizerFactory extends Object
VoxelsResizer
to match particular circumstances.
This is a singleton class.
Modifier and Type | Method and Description |
---|---|
VoxelsResizer |
binaryResizer(int outOfBoundsValue)
A
VoxelsResizer that is suitable for resizing a binary raster-image,
restricted to two possible intensity values only. |
static VoxelsResizerFactory |
getInstance()
Singleton instance of
VoxelsResizerFactory . |
VoxelsResizer |
noInterpolation()
A
VoxelsResizer that is effectively disabled, and performs no interpolation, copying
a single (minimal corner) value for each voxel. |
public static VoxelsResizerFactory getInstance()
VoxelsResizerFactory
.public VoxelsResizer noInterpolation()
VoxelsResizer
that is effectively disabled, and performs no interpolation, copying
a single (minimal corner) value for each voxel.public VoxelsResizer binaryResizer(int outOfBoundsValue)
VoxelsResizer
that is suitable for resizing a binary raster-image,
restricted to two possible intensity values only.outOfBoundsValue
- a value used to represent out-of-bounds voxels to provide
context for the interpolation at boundaries. This should be one of the two permitted
binary states.VoxelsResizer
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.