7 #ifndef _FID_PATTERN_RECOGNITION_H 8 #define _FID_PATTERN_RECOGNITION_H 15 #include "vtkXMLDataElement.h" 36 PATTERN_RECOGNITION_ERROR_TOO_MANY_CANDIDATES
43 PlusStatus ReadConfiguration(vtkXMLDataElement* rootConfigElement);
52 PlusStatus RecognizePattern(vtkIGSIOTrackedFrameList* trackedFrameList, PatternRecognitionError& patternRecognitionError,
int* numberOfSuccessfullySegmentedImages = NULL, std::vector<unsigned int>* segmentedFramesIndices = NULL);
60 PlusStatus RecognizePattern(igsioTrackedFrame* trackedFrame, PatternRecognitionError& patternRecognitionError,
unsigned int frameIndex);
69 PlusStatus RecognizePattern(igsioTrackedFrame* trackedFrame,
PlusPatternRecognitionResult& patternRecognitionResult, PatternRecognitionError& patternRecognitionError,
unsigned int frameIndex);
87 std::vector<PlusFidPattern*>&
GetPatterns() {
return m_Patterns; };
90 void SetMaxLineLengthToleranceMm(
double value);
93 void SetNumberOfMaximumFiducialPointCandidates(
int aMax);
96 PlusStatus ReadPhantomDefinition(vtkXMLDataElement* rootConfigElement);
110 #endif //_FID_PATTERN_RECOGNITION_H
PlusFidSegmentation * GetFidSegmentation()
PlusFidLabeling * GetFidLabeling()
PlusFidSegmentation m_FidSegmentation
const char const char * value
std::vector< PlusFidPattern * > m_Patterns
double m_MaxLineLengthToleranceMm
PlusFidLineFinder * GetFidLineFinder()
std::vector< PlusFidPattern * > & GetPatterns()
PlusFidLineFinder m_FidLineFinder
PlusFidLabeling m_FidLabeling