ThresholdAlgorithm Class Reference

An algorithm that sets the values of all pixel that are beyond a user defined value range to a user defined default pixel value. More...

#include <threshold_algorithm.h>

Inherits Algorithm.

Inheritance diagram for ThresholdAlgorithm:

Inheritance graph
[legend]
Collaboration diagram for ThresholdAlgorithm:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThresholdAlgorithm ()
virtual ~ThresholdAlgorithm ()
virtual void run ()

Protected Member Functions

 ThresholdAlgorithm (ThresholdAlgorithm const &src)
template<class DatasetPointerType>
void applyAlgorithm (DatasetPointerType dataset)

Protected Attributes

imedgine::dataset_key_type dataset_key_
 the dataset key

Detailed Description

An algorithm that sets the values of all pixel that are beyond a user defined value range to a user defined default pixel value.

ThresholdAlgorithm

Author:
Tobias Gross (t_gross@sbox.tugraz.at)
Version:
1.0.0
See also:
Invariant:

Definition at line 37 of file threshold_algorithm.h.


Constructor & Destructor Documentation

ThresholdAlgorithm  ) 
 

Constructor

Definition at line 25 of file threshold_algorithm.cpp.

~ThresholdAlgorithm  )  [virtual]
 

Destructor

Definition at line 40 of file threshold_algorithm.cpp.

ThresholdAlgorithm ThresholdAlgorithm const &  src  )  [protected]
 

Copy constructor

Definition at line 34 of file threshold_algorithm.cpp.


Member Function Documentation

void applyAlgorithm DatasetPointerType  dataset  )  [protected]
 

Applies the algorithm to the given dataset

Parameters:
dataset pointer to the dataset

Definition at line 96 of file threshold_algorithm.h.

References Algorithm::configuration_, ThresholdConfiguration::getDefaultPixelValue(), ThresholdConfiguration::getLowerBound(), and ThresholdConfiguration::getUpperBound().

Here is the call graph for this function:

void run  )  [virtual]
 

Execute the algorithm

Returns:
void

Implements Algorithm.

Definition at line 54 of file threshold_algorithm.cpp.

References Algorithm::configuration_.


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:00 2006 for iMEDgine by  doxygen 1.4.6