Class Projection
Object
Projection
- Direct Known Subclasses:
ComparisonProjection
,MeanIntensityProjection
,StandardDeviationIntensityProjection
Base class for projections that map a 3D voxel-buffer to a 2D voxel-buffer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ProjectableBuffer
<T> create
(VoxelDataType dataType, Extent extent) Creates a buffer for the projection for a particular voxel-type and size (extent).abstract ProjectableBuffer
<FloatBuffer> createFloat
(Extent extent) Creates a buffer for a maximum-intensity projection for float voxels.abstract ProjectableBuffer
<UnsignedByteBuffer> createUnsignedByte
(Extent extent) Creates a buffer for a maximum-intensity projection for unsigned byte voxels.abstract ProjectableBuffer
<UnsignedIntBuffer> createUnsignedInt
(Extent extent) Creates a buffer for a maximum-intensity projection for unsigned int voxels.abstract ProjectableBuffer
<UnsignedShortBuffer> createUnsignedShort
(Extent extent) Creates a buffer for a maximum-intensity projection for unsigned short voxels.
-
Constructor Details
-
Projection
public Projection()
-
-
Method Details
-
create
public <T> ProjectableBuffer<T> create(VoxelDataType dataType, Extent extent) throws OperationFailedException Creates a buffer for the projection for a particular voxel-type and size (extent).- Type Parameters:
T
- voxel data type to be equal todataType
.- Parameters:
dataType
- the data-type to use for creating the buffer.extent
- the size of the projected image. The z-dimension is ignored.- Returns:
- a newly created buffer that can be used for projection.
- Throws:
OperationFailedException
- ifdataType
is unsupported.
-
createUnsignedByte
Creates a buffer for a maximum-intensity projection for unsigned byte voxels.- Parameters:
extent
- the size of the projected image. The z-dimension is ignored.- Returns:
- a newly created buffer that can be used for projection.
-
createUnsignedShort
Creates a buffer for a maximum-intensity projection for unsigned short voxels.- Parameters:
extent
- the size of the projected image. The z-dimension is ignored.- Returns:
- a newly created buffer that can be used for projection.
-
createUnsignedInt
Creates a buffer for a maximum-intensity projection for unsigned int voxels.- Parameters:
extent
- the size of the projected image. The z-dimension is ignored.- Returns:
- a newly created buffer that can be used for projection.
-
createFloat
Creates a buffer for a maximum-intensity projection for float voxels.- Parameters:
extent
- the size of the projected image. The z-dimension is ignored.- Returns:
- a newly created buffer that can be used for projection.
-