In file imagedata/RangeInrimage.h:

class RegionInrimageInformation : public RangeInformation

a class that store all information necessary for computing an external force based on a region definition

Inheritance:


Public Classes

enum OrientationConstraint
test gradient orientation constraint
INSIDE
look for an inside region
OUTSIDE
look for an outside region

Public Fields

static const TclString informationName
name stored in the Range Information

Public Methods

double getMaxDistance (void) const
get the maximum range distance
void setMaxDistance (double r)
set the maximum range distance
double getMinimumLength () const
Returns the minimum length for identifying a region
void setMinimumLength (const double _minimumRegionLength)
Sets the minimum length for identifying a region
double getThreshold () const
get the gradient threshold
void setThreshold (const double threshold)
set the gradient threshold
OrientationConstraint getOrientationConstraint () const
get the gradient constraint
void setOrientationConstraint (const OrientationConstraint constraint)
set the gradient constraint
double getMinimumIntensity () const
returns the minimum intensity value for accepting a voxel as edge voxel
double getMaximumIntensity () const
returns the maximum intensity value for accepting a voxel as edge voxel
void setMinimumIntensity (const double _minimumIntensity)
sets the minimum intensity value for accepting a voxel as edge voxel
void setMaximumIntensity (const double _maximumIntensity)
sets the maximum intensity value for accepting a voxel as edge voxel
bool getSmoothLine () const
return the boolean indicating if the line should be smoothed
void setSmoothLine (const bool _smoothLine)
sets the boolean indicating if the line should be smoothed
static RangeInformation* readRegionInformation (GFInput &input)
create an region information Object from a file
virtual RangeInformation* duplicate ()
create a copy of this region information object
virtual void writeInFile (GFOutput &output)
write in a file the data stored in a region information object

Public

constructor
RegionInrimageInformation (double max = 10.0, double regionThreshold = 0.0, OrientationConstraint regionConstraint = INSIDE, double _minimumRegionLength=4, double _minimumIntensity=0, double _maximumIntensity=255, bool _smoothLine=false)
builds a data structure for a region force given the gradient threshold and its orientation constraint and its intensity range
destructor
virtual ~RegionInrimageInformation ()
destroys any line voxel

Private Fields

double minimumRegionLength
the minimum length for identifying a region
double gradientThreshold
the gradient norm value above which a voxel is considered for test
OrientationConstraint regionConstraint
whether the region is defined in the inside or outside
double minimumIntensity
the minimum Intensity value when checking if a voxel should be retained
double maximumIntensity
the maximum Intensity value when checking if a voxel should be retained
bool smoothLine
whether the line should be smoothed

Documentation

a class that store all information necessary for computing an external force based on a region definition
static const TclString informationName
name stored in the Range Information

enum OrientationConstraint
test gradient orientation constraint

INSIDE
look for an inside region

OUTSIDE
look for an outside region

double minimumRegionLength
the minimum length for identifying a region

double gradientThreshold
the gradient norm value above which a voxel is considered for test

OrientationConstraint regionConstraint
whether the region is defined in the inside or outside

double minimumIntensity
the minimum Intensity value when checking if a voxel should be retained

double maximumIntensity
the maximum Intensity value when checking if a voxel should be retained

bool smoothLine
whether the line should be smoothed

constructor

RegionInrimageInformation(double max = 10.0, double regionThreshold = 0.0, OrientationConstraint regionConstraint = INSIDE, double _minimumRegionLength=4, double _minimumIntensity=0, double _maximumIntensity=255, bool _smoothLine=false)
builds a data structure for a region force given the gradient threshold and its orientation constraint and its intensity range
Parameters:
max - the associated range inrimage
regionThreshold - the threshold on the gradient norm value
regionConstraint - the side on which to look for the region
_minimumRegionLength - the minimum length for detecting a region
_minimumIntensity - the lower threshold defining a region
_maximumIntensity - the upper threshold defining a region
_smoothLine - if the image profile should be smoothed

destructor

virtual ~RegionInrimageInformation()
destroys any line voxel

double getMaxDistance(void) const
get the maximum range distance

void setMaxDistance(double r)
set the maximum range distance

double getMinimumLength() const
Returns the minimum length for identifying a region

void setMinimumLength(const double _minimumRegionLength)
Sets the minimum length for identifying a region

double getThreshold() const
get the gradient threshold

void setThreshold(const double threshold)
set the gradient threshold

OrientationConstraint getOrientationConstraint() const
get the gradient constraint

void setOrientationConstraint(const OrientationConstraint constraint)
set the gradient constraint

double getMinimumIntensity() const
returns the minimum intensity value for accepting a voxel as edge voxel

double getMaximumIntensity() const
returns the maximum intensity value for accepting a voxel as edge voxel

void setMinimumIntensity(const double _minimumIntensity)
sets the minimum intensity value for accepting a voxel as edge voxel

void setMaximumIntensity(const double _maximumIntensity)
sets the maximum intensity value for accepting a voxel as edge voxel

bool getSmoothLine() const
return the boolean indicating if the line should be smoothed

void setSmoothLine(const bool _smoothLine)
sets the boolean indicating if the line should be smoothed

static RangeInformation* readRegionInformation(GFInput &input)
create an region information Object from a file

virtual RangeInformation* duplicate()
create a copy of this region information object. This is used to apply the same algorithm to all vertices of a mesh

virtual void writeInFile(GFOutput &output)
write in a file the data stored in a region information object
Parameters:
output - a pointer on a file


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de