#include <itkMaximumDecisionRule.h>
A decision rule that returns the class label with the largest discriminant score.
MaximumDecisionRule returns the class label with the largest discriminant score. If the discriminant scores are likelihood \(p(x|i)\), then this decision rule is a maximum likelihood decision rule.
Definition at line 41 of file itkMaximumDecisionRule.h.
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
ClassIdentifierType | Evaluate (const MembershipVectorType &discriminantScores) const override |
const char * | GetNameOfClass () const override |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
MaximumDecisionRule ()=default | |
~MaximumDecisionRule () override=default | |
![]() | |
DecisionRule () | |
~DecisionRule () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
Types for class identifiers.
Definition at line 61 of file itkMaximumDecisionRule.h.
using itk::Statistics::MaximumDecisionRule::ConstPointer = SmartPointer<const Self> |
Definition at line 48 of file itkMaximumDecisionRule.h.
Types for discriminant values and vectors.
Definition at line 57 of file itkMaximumDecisionRule.h.
Definition at line 58 of file itkMaximumDecisionRule.h.
Definition at line 47 of file itkMaximumDecisionRule.h.
Standard class type aliases
Definition at line 45 of file itkMaximumDecisionRule.h.
Definition at line 46 of file itkMaximumDecisionRule.h.
|
protecteddefault |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
overridevirtual |
Evaluate the decision rule, returning the class label associated with the largest discriminant score.
Implements itk::Statistics::DecisionRule.
|
overridevirtual |
Reimplemented from itk::Statistics::DecisionRule.
References MaximumDecisionRule().