Class ConvertFromImagePlus
Object
ConvertFromImagePlus
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 Summary
Modifier and TypeMethodDescriptionstatic ChanneltoChannel(ij.ImagePlus imagePlus, Optional<Resolution> resolution) Converts anImagePlusto aChannel.static VoxelsUntypedtoVoxels(ij.ImagePlus image) Converts anImagePlusto aVoxelsUntyped.
-
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
Converts anImagePlusto aVoxelsUntyped.- Parameters:
image- the image-plus to convert- Returns:
- newly created voxels-buffer (copied from image-plus)
-