mdsTriMembershipEM.h

Go to the documentation of this file.
00001 //==============================================================================
00015 #ifndef MDS_TRIMEMBERSHIPEM_H
00016 #define MDS_TRIMEMBERSHIPEM_H
00017 
00018 #define EM_LOGGING_ENABLED
00019 
00020 #include "mdsTriMembershipFunc.h"
00021 #include "mdsTriContainer.h"
00022 
00023 // MDSTk
00024 #include <MDSTk/Math/Algorithm/mdsEM.h>
00025 
00026 
00027 namespace mds
00028 {
00029 namespace seg
00030 {
00031 
00032 //==============================================================================
00037 class CTriMembershipEM : public CTriMembershipFunc
00038 {
00039 public:
00041     CTriMembershipEM(double dMinAddChange);
00042 
00044     virtual ~CTriMembershipEM() {}
00045 
00048     virtual bool operator()(vctl::MCTri *pFirstTriangle);
00049 
00053     virtual bool operator()(vctl::MCTri *pFirstTriangle,
00054                             mds::tSize NumOfClasses
00055                             );
00056 
00057 protected:
00059     mds::math::CMaxLikelihoodByEM<CTriContainer, NUM_OF_FEATURES> m_EM;
00060 };
00061 
00062 
00063 } // namespace seg
00064 } // namespace mds
00065 
00066 #endif // MDS_TRIMEMBERSHIPEM_H
00067 

Generated on Thu Mar 11 10:35:45 2010 for MDSTk Extension Libraries by  doxygen 1.4.6-NO