ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkDecisionRule.h>
Public Types | |
typedef MembershipVectorType::size_type | ClassIdentifierType |
typedef SmartPointer< const Self > | ConstPointer |
typedef double | MembershipValueType |
typedef std::vector < MembershipValueType > | MembershipVectorType |
typedef SmartPointer< Self > | Pointer |
typedef DecisionRule | Self |
typedef Object | Superclass |
Public Member Functions | |
virtual ClassIdentifierType | Evaluate (const MembershipVectorType &discriminantScores) const =0 |
virtual const char * | GetNameOfClass () const |
Protected Member Functions | |
DecisionRule () | |
virtual | ~DecisionRule () |
Private Member Functions | |
DecisionRule (const Self &) | |
void | operator= (const Self &) |
Base class for decision rules that return a class label based on a set of discriminant scores.
DecisionRule is the base class for decision rules used in classification. Subclasses of DecisionRule include MaximumDecisionRule, MinimumDecisionRule, and MaximumRationDecisionRule, This class has a pure virtual function, Evaluate(), which implements the particular decision rule, given a set of discriminant scores. Concrete subclasses of DecisionRule must implement this method.
Definition at line 47 of file itkDecisionRule.h.
typedef MembershipVectorType::size_type itk::Statistics::DecisionRule::ClassIdentifierType |
Types for class identifiers.
Reimplemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
Definition at line 64 of file itkDecisionRule.h.
typedef SmartPointer< const Self > itk::Statistics::DecisionRule::ConstPointer |
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
Definition at line 54 of file itkDecisionRule.h.
typedef double itk::Statistics::DecisionRule::MembershipValueType |
Types for discriminant values and vectors.
Reimplemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
Definition at line 57 of file itkDecisionRule.h.
typedef std::vector< MembershipValueType > itk::Statistics::DecisionRule::MembershipVectorType |
Reimplemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
Definition at line 61 of file itkDecisionRule.h.
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
Definition at line 53 of file itkDecisionRule.h.
Standard class typedefs
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
Definition at line 51 of file itkDecisionRule.h.
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
Definition at line 52 of file itkDecisionRule.h.
itk::Statistics::DecisionRule::DecisionRule | ( | ) | [protected] |
virtual itk::Statistics::DecisionRule::~DecisionRule | ( | ) | [protected, virtual] |
itk::Statistics::DecisionRule::DecisionRule | ( | const Self & | ) | [private] |
virtual ClassIdentifierType itk::Statistics::DecisionRule::Evaluate | ( | const MembershipVectorType & | discriminantScores | ) | const [pure virtual] |
Evaluate the decision rule. The return value of this function is a class label. Functions returns the best label given the discriminant scores using its internal logic.
Implemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
virtual const char* itk::Statistics::DecisionRule::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::MaximumRatioDecisionRule, itk::Statistics::MaximumDecisionRule, and itk::Statistics::MinimumDecisionRule.
void itk::Statistics::DecisionRule::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Object.
Reimplemented in itk::Statistics::MaximumRatioDecisionRule.