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 if for all , where the is the index of a class which has membership function and its prior value (usually, the a priori probability or the size of a class) is . 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 Methods

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

Static Public Methods

Pointer New ()

Protected Methods

 MaximumRatioDecisionRule ()
virtual ~MaximumRatioDecisionRule ()

Detailed Description

This rule returns if for all , where the is the index of a class which has membership function and its prior value (usually, the a priori probability or the size of a class) is .

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

See also:
MaximumDecisionRule, MinimumDecisionRule

Definition at line 43 of file itkMaximumRatioDecisionRule.h.


Member Typedef Documentation

typedef float itk::MaximumRatioDecisionRule::APrioriValueType
 

Definition at line 58 of file itkMaximumRatioDecisionRule.h.

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

Definition at line 59 of file itkMaximumRatioDecisionRule.h.

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

Reimplemented from itk::DecisionRuleBase.

Definition at line 50 of file itkMaximumRatioDecisionRule.h.

typedef MaximumRatioDecisionRule itk::MaximumRatioDecisionRule::Self
 

Standard class typedefs

Reimplemented from itk::DecisionRuleBase.

Definition at line 48 of file itkMaximumRatioDecisionRule.h.

typedef DecisionRuleBase itk::MaximumRatioDecisionRule::Superclass
 

Reimplemented from itk::DecisionRuleBase.

Definition at line 49 of file itkMaximumRatioDecisionRule.h.


Constructor & Destructor Documentation

itk::MaximumRatioDecisionRule::MaximumRatioDecisionRule   [protected]
 

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

Definition at line 68 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 79 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 Tue Sep 16 11:37:27 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000