Class ConvertFromImagePlus
Object
org.anchoranalysis.io.imagej.convert.ConvertFromImagePlus
public class ConvertFromImagePlus extends Object
Converts an
ImagePlus into a channel or voxels.
Voxel buffers are always copied from the ImagePlus not reused. This creates a performance penalty.
- Author:
- Owen Feehan
-
Method Details
-
toChannel
Converts anImagePlusto aChannel.- Parameters:
imagePlus- the image-plus to convertresolution- image-resolution- Returns:
- a newly created channel containing a newly created buffer (copied from image-plus)
-
toVoxels
public static org.anchoranalysis.image.voxel.VoxelsUntyped toVoxels(ij.ImagePlus image)Converts anImagePlusto aVoxelsUntyped.- Parameters:
image- the image-plus to convert- Returns:
- newly created voxels-buffer (copied from image-plus)
-