Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::MaximumRatioDecisionRule Class Reference

This rule returns $i$ if $\frac{f_{i}(\overrightarrow{x})}{f_{j}(\overrightarrow{x})} > \frac{K_{j}}{K_{i}}$ for all $j \not= i$, where the $i$ is the index of a class which has membership function $f_{i}$ and its prior value (usually, the a priori probability or the size of a class) is $K_{i}$. More...

#include <itkMaximumRatioDecisionRule.h>

Inheritance diagram for itk::MaximumRatioDecisionRule:

Inheritance graph
[legend]
Collaboration diagram for itk::MaximumRatioDecisionRule:

Collaboration graph
[legend]
List of all members.

Public Types

typedef MaximumRatioDecisionRule Self
typedef DecisionRuleBase Superclass
typedef SmartPointer< SelfPointer
typedef float APrioriValueType
typedef std::vector< APrioriValueTypeAPrioriVectorType

Public Member Functions

virtual const char * GetClassName () const
unsigned int Evaluate (std::vector< double > &discriminantScores)
void SetAPriori (APrioriVectorType &values)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 MaximumRatioDecisionRule ()
virtual ~MaximumRatioDecisionRule ()

Detailed Description

This rule returns $i$ if $\frac{f_{i}(\overrightarrow{x})}{f_{j}(\overrightarrow{x})} > \frac{K_{j}}{K_{i}}$ for all $j \not= i$, where the $i$ is the index of a class which has membership function $f_{i}$ and its prior value (usually, the a priori probability or the size of a class) is $K_{i}$.

Users should set the a priori values before calling the Evaluate method.

See also:
MaximumDecisionRule, MinimumDecisionRule

Definition at line 44 of file itkMaximumRatioDecisionRule.h.


Member Typedef Documentation

typedef float itk::MaximumRatioDecisionRule::APrioriValueType
 

Definition at line 59 of file itkMaximumRatioDecisionRule.h.

typedef std::vector< APrioriValueType > itk::MaximumRatioDecisionRule::APrioriVectorType
 

Definition at line 60 of file itkMaximumRatioDecisionRule.h.

typedef SmartPointer<Self> itk::MaximumRatioDecisionRule::Pointer
 

Reimplemented from itk::DecisionRuleBase.

Definition at line 51 of file itkMaximumRatioDecisionRule.h.

typedef MaximumRatioDecisionRule itk::MaximumRatioDecisionRule::Self
 

Standard class typedefs

Reimplemented from itk::DecisionRuleBase.

Definition at line 49 of file itkMaximumRatioDecisionRule.h.

typedef DecisionRuleBase itk::MaximumRatioDecisionRule::Superclass
 

Reimplemented from itk::DecisionRuleBase.

Definition at line 50 of file itkMaximumRatioDecisionRule.h.


Constructor & Destructor Documentation

itk::MaximumRatioDecisionRule::MaximumRatioDecisionRule  )  [protected]
 

virtual itk::MaximumRatioDecisionRule::~MaximumRatioDecisionRule  )  [inline, protected, virtual]
 

Definition at line 69 of file itkMaximumRatioDecisionRule.h.


Member Function Documentation

unsigned int itk::MaximumRatioDecisionRule::Evaluate std::vector< double > &  discriminantScores  )  [inline, virtual]
 

The return value of this function is a class label. Basically, using its internal logic based on the discriminant scores, this function decides best class label and return it.

Implements itk::DecisionRuleBase.

Definition at line 80 of file itkMaximumRatioDecisionRule.h.

virtual const char* itk::MaximumRatioDecisionRule::GetClassName  )  const [virtual]
 

Run-time type information (and related methods)

Reimplemented from itk::DecisionRuleBase.

Pointer itk::MaximumRatioDecisionRule::New  )  [static]
 

Standard New() method support

Reimplemented from itk::Object.

void itk::MaximumRatioDecisionRule::SetAPriori APrioriVectorType values  ) 
 

Sets the a priori probabilities


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:57:45 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000