Class ComparisonProjection
Object
Projection
ComparisonProjection
- Direct Known Subclasses:
MaxIntensityProjection
,MinIntensityProjection
Base class for different types of projections that compare and replace each voxel.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interface
Performs comparison of two values of type long.protected static interface
Performs comparison for two values of type int.protected static interface
Performs comparison of two values of type long. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ComparisonProjection
(ComparisonProjection.IntComparer intComparer, ComparisonProjection.LongComparer longComparer, ComparisonProjection.FloatComparer floatComparer) -
Method Summary
Modifier and TypeMethodDescriptioncreateFloat
(Extent extent) Creates a buffer for a maximum-intensity projection for float voxels.createUnsignedByte
(Extent extent) Creates a buffer for a maximum-intensity projection for unsigned byte voxels.createUnsignedInt
(Extent extent) Creates a buffer for a maximum-intensity projection for unsigned int voxels.createUnsignedShort
(Extent extent) Creates a buffer for a maximum-intensity projection for unsigned short voxels.Methods inherited from class org.anchoranalysis.image.voxel.projection.Projection
create
-
Constructor Details
-
ComparisonProjection
protected ComparisonProjection(ComparisonProjection.IntComparer intComparer, ComparisonProjection.LongComparer longComparer, ComparisonProjection.FloatComparer floatComparer)
-
-
Method Details
-
createUnsignedByte
Description copied from class:Projection
Creates a buffer for a maximum-intensity projection for unsigned byte voxels.- Specified by:
createUnsignedByte
in classProjection
- 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
Description copied from class:Projection
Creates a buffer for a maximum-intensity projection for unsigned short voxels.- Specified by:
createUnsignedShort
in classProjection
- 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
Description copied from class:Projection
Creates a buffer for a maximum-intensity projection for unsigned int voxels.- Specified by:
createUnsignedInt
in classProjection
- 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
Description copied from class:Projection
Creates a buffer for a maximum-intensity projection for float voxels.- Specified by:
createFloat
in classProjection
- Parameters:
extent
- the size of the projected image. The z-dimension is ignored.- Returns:
- a newly created buffer that can be used for projection.
-