PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Member Functions | Protected Attributes
PlusPatternRecognitionResult Class Reference

#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< PlusFidDotCandidateFidValues
 
bool DotsFound
 
std::vector< std::vector< double > > FoundDotsCoordinateValue
 
double Intensity
 
double NumDots
 

Detailed Description

Definition at line 229 of file PlusFidPatternRecognitionCommon.h.

Constructor & Destructor Documentation

◆ PlusPatternRecognitionResult()

PlusPatternRecognitionResult::PlusPatternRecognitionResult ( )

Definition at line 12 of file PlusFidPatternRecognitionCommon.cxx.

Member Function Documentation

◆ Clear()

void PlusPatternRecognitionResult::Clear ( )

Clear the class attributes once they are not needed anymore

Definition at line 220 of file PlusFidPatternRecognitionCommon.cxx.

◆ GetCandidateFidValues()

const std::vector< PlusFidDot > & PlusPatternRecognitionResult::GetCandidateFidValues ( ) const

Get the dots that are considered candidates

Definition at line 260 of file PlusFidPatternRecognitionCommon.cxx.

◆ GetDotsFound()

bool PlusPatternRecognitionResult::GetDotsFound ( )

Get m_DotsFound

Definition at line 236 of file PlusFidPatternRecognitionCommon.cxx.

◆ GetFoundDotsCoordinateValue()

std::vector< std::vector< double > > & PlusPatternRecognitionResult::GetFoundDotsCoordinateValue ( )

Get the coordinates of the found dots

Definition at line 248 of file PlusFidPatternRecognitionCommon.cxx.

◆ GetIntensity()

double PlusPatternRecognitionResult::GetIntensity ( ) const
inline

Get the cumulate intensity of all dots in the pattern

Definition at line 253 of file PlusFidPatternRecognitionCommon.h.

◆ GetNumDots()

double PlusPatternRecognitionResult::GetNumDots ( ) const
inline

Get the number of candidate points that have been found

Definition at line 259 of file PlusFidPatternRecognitionCommon.h.

◆ SetCandidateFidValues()

void PlusPatternRecognitionResult::SetCandidateFidValues ( std::vector< PlusFidDot value)

Set the dots that are considered candidates

Definition at line 254 of file PlusFidPatternRecognitionCommon.cxx.

◆ SetDotsFound()

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.

◆ SetFoundDotsCoordinateValue()

void PlusPatternRecognitionResult::SetFoundDotsCoordinateValue ( std::vector< std::vector< double > >  value)

Set the coordinates of the found dots

Definition at line 242 of file PlusFidPatternRecognitionCommon.cxx.

◆ SetIntensity()

void PlusPatternRecognitionResult::SetIntensity ( double  value)
inline

Set the cumulate intensity of all dots in the pattern

Definition at line 250 of file PlusFidPatternRecognitionCommon.h.

◆ SetNumDots()

void PlusPatternRecognitionResult::SetNumDots ( double  value)
inline

Set the number of candidate points that have been found

Definition at line 256 of file PlusFidPatternRecognitionCommon.h.

Member Data Documentation

◆ CandidateFidValues

std::vector<PlusFidDot> PlusPatternRecognitionResult::CandidateFidValues
protected

pointer to the fiducial candidates coordinates

Definition at line 272 of file PlusFidPatternRecognitionCommon.h.

◆ DotsFound

bool PlusPatternRecognitionResult::DotsFound
protected

True if the dots are found, false otherwise.

Definition at line 275 of file PlusFidPatternRecognitionCommon.h.

◆ FoundDotsCoordinateValue

std::vector< std::vector<double> > PlusPatternRecognitionResult::FoundDotsCoordinateValue
protected

X and Y values of found dots.

Definition at line 269 of file PlusFidPatternRecognitionCommon.h.

◆ Intensity

double PlusPatternRecognitionResult::Intensity
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.

◆ NumDots

double PlusPatternRecognitionResult::NumDots
protected

number of possible fiducial points

Definition at line 284 of file PlusFidPatternRecognitionCommon.h.


The documentation for this class was generated from the following files: