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
typedef Superclass::VectorType VectorType
typedef Superclass::ArrayType ArrayType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual unsigned int Evaluate (const VectorType &discriminantScores) const
virtual unsigned int Evaluate (const ArrayType &discriminantScores) const
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 Superclass::ArrayType itk::MaximumRatioDecisionRule::ArrayType
 

Reimplemented from itk::DecisionRuleBase.

Definition at line 65 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.

typedef Superclass::VectorType itk::MaximumRatioDecisionRule::VectorType
 

Types for the arguments that are acceptable in the Evaluate() method

Reimplemented from itk::DecisionRuleBase.

Definition at line 64 of file itkMaximumRatioDecisionRule.h.


Constructor & Destructor Documentation

itk::MaximumRatioDecisionRule::MaximumRatioDecisionRule  )  [protected]
 

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

Definition at line 86 of file itkMaximumRatioDecisionRule.h.


Member Function Documentation

virtual unsigned int itk::MaximumRatioDecisionRule::Evaluate const ArrayType discriminantScores  )  const [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.

virtual unsigned int itk::MaximumRatioDecisionRule::Evaluate const VectorType discriminantScores  )  const [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.

virtual const char* itk::MaximumRatioDecisionRule::GetNameOfClass  )  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 Thu May 25 01:43:24 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000