Public Member Functions | |
RegionMask () | |
RegionMask (short id, Stack volume, BoxBounds bounds) | |
boolean | isSet (int xp, int yp, int zp) |
short | getPixelAt (int xp, int yp, int zp) |
int | getWidth () |
int | getHeight () |
int | getDepth () |
Package Attributes | |
int | width |
int | height |
int | depth |
This class defines a read-only bit-masked 3D region
Definition at line 9 of file RegionMask.java.
theba.core.RegionMask.RegionMask | ( | ) |
Definition at line 19 of file RegionMask.java.
Definition at line 22 of file RegionMask.java.
References theba.core.RegionMask.depth, theba.core.RegionMask.height, theba.core.RegionMask.width, theba.core.BoxBounds.xmax, theba.core.BoxBounds.xmin, theba.core.BoxBounds.ymax, theba.core.BoxBounds.ymin, theba.core.BoxBounds.zmax, and theba.core.BoxBounds.zmin.
int theba.core.RegionMask.getDepth | ( | ) |
Reimplemented in theba.core.RegionMask2D.
Definition at line 70 of file RegionMask.java.
References theba.core.RegionMask.depth.
Referenced by theba.descriptors.SurfaceDescriptor.measure(), theba.descriptors.SizeDescriptor2D.measure(), theba.descriptors.SizeDescriptor.measure(), and theba.descriptors.FreeSurfaceDescriptor.measure().
int theba.core.RegionMask.getHeight | ( | ) |
Reimplemented in theba.core.RegionMask2D.
Definition at line 66 of file RegionMask.java.
References theba.core.RegionMask.height.
Referenced by theba.descriptors.YoungBendingEnergy.measure(), theba.descriptors.SurfaceDescriptor.measure(), theba.descriptors.SolidityDescriptor.measure(), theba.descriptors.SizeDescriptor2D.measure(), theba.descriptors.SizeDescriptor.measure(), theba.descriptors.OrientationDescriptor.measure(), theba.descriptors.InternalRegionDescriptor.measure(), theba.descriptors.FreeSurfaceDescriptor.measure(), theba.descriptors.EccentricityDescriptor.measure(), theba.descriptors.ConvexityDescriptor.measure(), theba.descriptors.CircularityDescriptor.measure(), theba.descriptors.BendingEnergyDescriptor.measure(), theba.descriptors.AvgYoungCurvature.measure(), and theba.descriptors.AvgCurvature.measure().
short theba.core.RegionMask.getPixelAt | ( | int | xp, | |
int | yp, | |||
int | zp | |||
) |
This is a helper-function to determine if pixels outside this region is occupied by other regions.
Reimplemented in theba.core.RegionMask2D.
Definition at line 52 of file RegionMask.java.
References theba.core.RegionMask.depth, theba.core.Stack.getVoxelUnchecked(), theba.core.RegionMask.height, theba.core.RegionMask.width, theba.core.BoxBounds.xmin, theba.core.BoxBounds.ymin, and theba.core.BoxBounds.zmin.
Referenced by theba.descriptors.FreeSurfaceDescriptor.measure().
int theba.core.RegionMask.getWidth | ( | ) |
Reimplemented in theba.core.RegionMask2D.
Definition at line 62 of file RegionMask.java.
References theba.core.RegionMask.width.
Referenced by theba.descriptors.YoungBendingEnergy.measure(), theba.descriptors.SurfaceDescriptor.measure(), theba.descriptors.SolidityDescriptor.measure(), theba.descriptors.SizeDescriptor2D.measure(), theba.descriptors.SizeDescriptor.measure(), theba.descriptors.OrientationDescriptor.measure(), theba.descriptors.InternalRegionDescriptor.measure(), theba.descriptors.FreeSurfaceDescriptor.measure(), theba.descriptors.EccentricityDescriptor.measure(), theba.descriptors.ConvexityDescriptor.measure(), theba.descriptors.CircularityDescriptor.measure(), theba.descriptors.BendingEnergyDescriptor.measure(), theba.descriptors.AvgYoungCurvature.measure(), and theba.descriptors.AvgCurvature.measure().
boolean theba.core.RegionMask.isSet | ( | int | xp, | |
int | yp, | |||
int | zp | |||
) |
Used to evaluate if a given voxel is set or not
Reimplemented in theba.core.RegionMask2D.
Definition at line 36 of file RegionMask.java.
References theba.core.RegionMask.depth, theba.core.Stack.getVoxelUnchecked(), theba.core.RegionMask.height, theba.core.RegionMask.width, theba.core.BoxBounds.xmin, theba.core.BoxBounds.ymin, and theba.core.BoxBounds.zmin.
Referenced by theba.core.gui.Binary3DImage.getCell(), theba.descriptors.YoungBendingEnergy.measure(), theba.descriptors.SurfaceDescriptor.measure(), theba.descriptors.SolidityDescriptor.measure(), theba.descriptors.SizeDescriptor2D.measure(), theba.descriptors.SizeDescriptor.measure(), theba.descriptors.OrientationDescriptor.measure(), theba.descriptors.InternalRegionDescriptor.measure(), theba.descriptors.FreeSurfaceDescriptor.measure(), theba.descriptors.EccentricityDescriptor.measure(), theba.descriptors.ConvexityDescriptor.measure(), theba.descriptors.CircularityDescriptor.measure(), theba.descriptors.BendingEnergyDescriptor.measure(), theba.descriptors.AvgYoungCurvature.measure(), and theba.descriptors.AvgCurvature.measure().
int theba.core.RegionMask.depth [package] |
Definition at line 17 of file RegionMask.java.
Referenced by theba.core.RegionMask2D.getDepth(), theba.core.RegionMask.getDepth(), theba.core.RegionMask.getPixelAt(), theba.core.RegionMask.isSet(), theba.core.RegionMask.RegionMask(), and theba.core.RegionMask2D.RegionMask2D().
int theba.core.RegionMask.height [package] |
Definition at line 17 of file RegionMask.java.
Referenced by theba.core.RegionMask2D.getHeight(), theba.core.RegionMask.getHeight(), theba.core.RegionMask2D.getPixelAt(), theba.core.RegionMask.getPixelAt(), theba.core.RegionMask2D.isSet(), theba.core.RegionMask.isSet(), and theba.core.RegionMask.RegionMask().
int theba.core.RegionMask.width [package] |
Definition at line 17 of file RegionMask.java.
Referenced by theba.core.RegionMask2D.getPixelAt(), theba.core.RegionMask.getPixelAt(), theba.core.RegionMask2D.getWidth(), theba.core.RegionMask.getWidth(), theba.core.RegionMask2D.isSet(), theba.core.RegionMask.isSet(), and theba.core.RegionMask.RegionMask().