PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
#include <src/PlusCalibration/PatternLocAlgo/PlusFidPatternRecognitionCommon.h>
Public Member Functions | |
void | Clear () |
const std::vector< PlusFidDot > & | GetCandidateFidValues () const |
bool | GetDotsFound () |
std::vector< std::vector< double > > & | GetFoundDotsCoordinateValue () |
double | GetIntensity () const |
double | GetNumDots () const |
PlusPatternRecognitionResult () | |
void | SetCandidateFidValues (std::vector< PlusFidDot > value) |
void | SetDotsFound (bool value) |
void | SetFoundDotsCoordinateValue (std::vector< std::vector< double > > value) |
void | SetIntensity (double value) |
void | SetNumDots (double value) |
Protected Attributes | |
std::vector< PlusFidDot > | CandidateFidValues |
bool | DotsFound |
std::vector< std::vector< double > > | FoundDotsCoordinateValue |
double | Intensity |
double | NumDots |
Definition at line 229 of file PlusFidPatternRecognitionCommon.h.
PlusPatternRecognitionResult::PlusPatternRecognitionResult | ( | ) |
Definition at line 12 of file PlusFidPatternRecognitionCommon.cxx.
void PlusPatternRecognitionResult::Clear | ( | ) |
Clear the class attributes once they are not needed anymore
Definition at line 220 of file PlusFidPatternRecognitionCommon.cxx.
const std::vector< PlusFidDot > & PlusPatternRecognitionResult::GetCandidateFidValues | ( | ) | const |
Get the dots that are considered candidates
Definition at line 260 of file PlusFidPatternRecognitionCommon.cxx.
bool PlusPatternRecognitionResult::GetDotsFound | ( | ) |
Get m_DotsFound
Definition at line 236 of file PlusFidPatternRecognitionCommon.cxx.
std::vector< std::vector< double > > & PlusPatternRecognitionResult::GetFoundDotsCoordinateValue | ( | ) |
Get the coordinates of the found dots
Definition at line 248 of file PlusFidPatternRecognitionCommon.cxx.
|
inline |
Get the cumulate intensity of all dots in the pattern
Definition at line 253 of file PlusFidPatternRecognitionCommon.h.
|
inline |
Get the number of candidate points that have been found
Definition at line 259 of file PlusFidPatternRecognitionCommon.h.
void PlusPatternRecognitionResult::SetCandidateFidValues | ( | std::vector< PlusFidDot > | value | ) |
Set the dots that are considered candidates
Definition at line 254 of file PlusFidPatternRecognitionCommon.cxx.
void PlusPatternRecognitionResult::SetDotsFound | ( | bool | value | ) |
Set the m_DotsFound to true if the algorithm found the corresponding dots, to false otherwise
Definition at line 230 of file PlusFidPatternRecognitionCommon.cxx.
void PlusPatternRecognitionResult::SetFoundDotsCoordinateValue | ( | std::vector< std::vector< double > > | value | ) |
Set the coordinates of the found dots
Definition at line 242 of file PlusFidPatternRecognitionCommon.cxx.
|
inline |
Set the cumulate intensity of all dots in the pattern
Definition at line 250 of file PlusFidPatternRecognitionCommon.h.
|
inline |
Set the number of candidate points that have been found
Definition at line 256 of file PlusFidPatternRecognitionCommon.h.
|
protected |
pointer to the fiducial candidates coordinates
Definition at line 272 of file PlusFidPatternRecognitionCommon.h.
|
protected |
True if the dots are found, false otherwise.
Definition at line 275 of file PlusFidPatternRecognitionCommon.h.
|
protected |
X and Y values of found dots.
Definition at line 269 of file PlusFidPatternRecognitionCommon.h.
|
protected |
The combined intensity of the dots. This is the sum of the pixel values after the morphological operations, with the pixel values on the range 0-1. A good intensity score is over 100. A bad one (but still valid) is below 25.
Definition at line 281 of file PlusFidPatternRecognitionCommon.h.
|
protected |
number of possible fiducial points
Definition at line 284 of file PlusFidPatternRecognitionCommon.h.