Class Clipping.Mask
java.lang.Object
com.eco.bio7.spatial.Clipping.Mask
- Enclosing class:
Clipping
The removed voxels (immutable). The mask has its own resolution and is
sampled with relative positions (0 - 1, the first row is y = 0 like in
ImageJ).
-
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()intintReturns the number of removed voxels.intgetWidth()booleanisRemoved(double rx, double ry, double rz) Returns true if the voxel at the relative position (0 - 1) is removed.booleanisRemoved(int x, int y, int z) Returns true if the voxel (x, y, z of the mask) is removed.
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getDepth
public int getDepth() -
isRemoved
public boolean isRemoved(int x, int y, int z) Returns true if the voxel (x, y, z of the mask) is removed. -
isRemoved
public boolean isRemoved(double rx, double ry, double rz) Returns true if the voxel at the relative position (0 - 1) is removed. -
getRemovedCount
public int getRemovedCount()Returns the number of removed voxels.
-