Class MaxIntensityProjection

Object
org.anchoranalysis.image.voxel.projection.extrema.MaxIntensityProjection

public class MaxIntensityProjection
extends Object
Creates buffers for performing a Maximum Intensity Projection.
Author:
Owen Feehan
  • Method Details

    • create

      public static <T> ProjectableBuffer<T> create​(VoxelDataType dataType, Extent extent) throws OperationFailedException
      Creates a buffer for a maximum-intensity projection for unsigned byte voxels.
      Type Parameters:
      T - voxel data type to be equal to dataType.
      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 - if dataType is unsupported.
    • createUnsignedByte

      public static ProjectableBuffer<UnsignedByteBuffer> createUnsignedByte​(Extent extent)
      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

      public static ProjectableBuffer<UnsignedShortBuffer> createUnsignedShort​(Extent extent)
      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

      public static ProjectableBuffer<UnsignedIntBuffer> createUnsignedInt​(Extent extent)
      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

      public static ProjectableBuffer<FloatBuffer> createFloat​(Extent extent)
      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.