Interface VoxelizedMark
public interface VoxelizedMark
A voxelized representation of a Mark i.e. a mark turned into voxels.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionGets the bounding-box enclosing the voxelized representation of the mark.Gets the bounding-box flattened in z dimension.void
cleanUp()
Cleans up any resources associated with this voxelized mark.Creates a duplicate of this voxelized mark.statisticsFor
(int channelID, int regionID, int sliceID) Calculates statistics for a specific slice in a specific channel and region.statisticsForAllSlices
(int channelID, int regionID) Calculates statistics for all slices in a specific channel and region.statisticsForAllSlicesMaskSlice
(int channelID, int regionID, int maskChannelID) Calculates statistics for all slices in a specific channel and region, using a mask from another channel.voxels()
Gets the voxel representation of the mark.Gets the maximum intensity projection of the voxelized mark.
-
Method Details
-
voxels
BoundedVoxels<UnsignedByteBuffer> voxels()Gets the voxel representation of the mark.- Returns:
- the
BoundedVoxels
representing the mark
-
voxelsMaximumIntensityProjection
BoundedVoxels<UnsignedByteBuffer> voxelsMaximumIntensityProjection()Gets the maximum intensity projection of the voxelized mark.- Returns:
- the
BoundedVoxels
representing the maximum intensity projection
-
boundingBox
BoundingBox boundingBox()Gets the bounding-box enclosing the voxelized representation of the mark.- Returns:
- the
BoundingBox
enclosing the mark
-
boundingBoxFlattened
BoundingBox boundingBoxFlattened()Gets the bounding-box flattened in z dimension.- Returns:
- the flattened
BoundingBox
-
duplicate
VoxelizedMark duplicate()Creates a duplicate of this voxelized mark.- Returns:
- a new
VoxelizedMark
instance that is a copy of this one
-
statisticsForAllSlices
Calculates statistics for all slices in a specific channel and region.- Parameters:
channelID
- the ID of the channelregionID
- the ID of the region- Returns:
- the
VoxelStatistics
for the specified channel and region
-
statisticsForAllSlicesMaskSlice
Calculates statistics for all slices in a specific channel and region, using a mask from another channel.- Parameters:
channelID
- the ID of the channel for statisticsregionID
- the ID of the regionmaskChannelID
- the ID of the channel to use as a mask- Returns:
- the
VoxelStatistics
for the specified channel and region, masked by another channel
-
statisticsFor
Calculates statistics for a specific slice in a specific channel and region.- Parameters:
channelID
- the ID of the channelregionID
- the ID of the regionsliceID
- the ID of the slice- Returns:
- the
VoxelStatistics
for the specified channel, region, and slice
-
cleanUp
void cleanUp()Cleans up any resources associated with this voxelized mark.
-