theba.core.RegionMask Class Reference

List of all members.

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

Detailed Description

This class defines a read-only bit-masked 3D region

Author:
jens

Definition at line 9 of file RegionMask.java.


Constructor & Destructor Documentation

theba.core.RegionMask.RegionMask (  ) 

Definition at line 19 of file RegionMask.java.

theba.core.RegionMask.RegionMask ( short  id,
Stack  volume,
BoxBounds  bounds 
)

Member Function Documentation

int theba.core.RegionMask.getDepth (  ) 
int theba.core.RegionMask.getHeight (  ) 
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.

Returns:
The value at position x,y,z

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 (  ) 
boolean theba.core.RegionMask.isSet ( int  xp,
int  yp,
int  zp 
)

Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Fri Nov 13 08:57:08 2009 for Theba by  doxygen 1.6.1