In file imagedata/RangeInrimage.h:

class GradientInrimageInformation : public RangeInformation

a class that store all information necessary for computing an external force based on the gradient

Inheritance:


Public Classes

enum OrientationConstraint
test gradient orientation constraint
NONE
accept all voxels
ALONG_GRADIENT
accept only voxels whose gradient orientation match line orientation
ALONG_OPPOSITE_GRADIENT
accept only voxels whose gradient orientation match opposite line orientation

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 getThreshold (void) const
get the gradient threshold
void setThreshold (double threshold)
set the gradient threshold
OrientationConstraint getOrientationConstraint (void) const
get the gradient constraint
void setOrientationConstraint (OrientationConstraint constraint)
set the gradient constraint
bool getIntensityConstraint (void) const
returns a boolean indicating if voxel intensity should be considered
void setIntensityConstraint (const bool _useIntensity)
set the intensity constraint
double getMinimumIntensity (void) const
returns the minimum intensity value for accepting a voxel as edge voxel
double getMaximumIntensity (void) 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
double getStopCondition (void) const
returns stop condition (true means stop at first gradient voxel)
void setStopCondition (bool stop)
set stop condition (true means stop at first gradient voxel)
static RangeInformation* readGradientInformation (GFInput &input)
create a gradient information Object from a file
virtual RangeInformation* duplicate ()
create a copy of this gradient information object
virtual void writeInFile (GFOutput &output)
write in a file the data stored in a gradient information object

Public

constructor
GradientInrimageInformation (double max = 10.0, double gradientThreshold = 0.0, OrientationConstraint gradientConstraint = NONE, bool stopAtFirst = false, bool useIntensity = false, double minIntensity = 0.0, double maxIntensity = 255.0)
builds a data structure storing the gradient threshold, its orientation constraint and its intensity range
destructor
virtual ~GradientInrimageInformation ()
destroys the objwct

Private Fields

double range
the half-distance along which the highest gradient voxel is searched
double gradientThreshold
the gradient norm value above which a voxel is considered for test
OrientationConstraint gradientConstraint
if there is a constraint on the voxel gradient orientation
bool stopAtFirst
should the scan-line stop on highest gradient vertex or first one higher than threshold?
bool useIntensity
should the intensity be used for looking for the optimal voxel
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

Documentation

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

enum OrientationConstraint
test gradient orientation constraint

NONE
accept all voxels

ALONG_GRADIENT
accept only voxels whose gradient orientation match line orientation

ALONG_OPPOSITE_GRADIENT
accept only voxels whose gradient orientation match opposite line orientation

double range
the half-distance along which the highest gradient voxel is searched

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

OrientationConstraint gradientConstraint
if there is a constraint on the voxel gradient orientation

bool stopAtFirst
should the scan-line stop on highest gradient vertex or first one higher than threshold?

bool useIntensity
should the intensity be used for looking for the optimal voxel

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

constructor

GradientInrimageInformation(double max = 10.0, double gradientThreshold = 0.0, OrientationConstraint gradientConstraint = NONE, bool stopAtFirst = false, bool useIntensity = false, double minIntensity = 0.0, double maxIntensity = 255.0)
builds a data structure storing the gradient threshold, its orientation constraint and its intensity range
Parameters:
max - the half-distance used for the search algorithm
gradientThreshold - the threshold on the gradient norm value
gradientConstraint - the constraint on the gradient direction,
stopAtFirst - should the scan-line stop on highest gradient vertex or first one higher than threshold?
useIntensity - if intensity should be considered when finding the best voxel
minIntensity - the minimum intensity of the intensity range
maxIntensity - the maximum intensity of the intensity range

destructor

virtual ~GradientInrimageInformation()
destroys the objwct

double getMaxDistance(void) const
get the maximum range distance

void setMaxDistance(double r)
set the maximum range distance

double getThreshold(void) const
get the gradient threshold

void setThreshold(double threshold)
set the gradient threshold

OrientationConstraint getOrientationConstraint(void) const
get the gradient constraint

void setOrientationConstraint(OrientationConstraint constraint)
set the gradient constraint

bool getIntensityConstraint(void) const
returns a boolean indicating if voxel intensity should be considered

void setIntensityConstraint(const bool _useIntensity)
set the intensity constraint

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

double getMaximumIntensity(void) 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

double getStopCondition(void) const
returns stop condition (true means stop at first gradient voxel)

void setStopCondition(bool stop)
set stop condition (true means stop at first gradient voxel)

static RangeInformation* readGradientInformation(GFInput &input)
create a gradient information Object from a file

virtual RangeInformation* duplicate()
create a copy of this gradient 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 gradient 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