#include <src/PlusCalibration/PatternLocAlgo/PlusFidLineFinder.h>
Definition at line 23 of file PlusFidLineFinder.h.
◆ PlusFidLineFinder()
PlusFidLineFinder::PlusFidLineFinder |
( |
| ) |
|
◆ ~PlusFidLineFinder()
PlusFidLineFinder::~PlusFidLineFinder |
( |
| ) |
|
|
virtual |
◆ AcceptAngleRad()
bool PlusFidLineFinder::AcceptAngleRad |
( |
double |
angleRad | ) |
|
|
protected |
Return true if an angle is in the allowed angle range, false otherwise
Definition at line 632 of file PlusFidLineFinder.cxx.
◆ AcceptLine()
bool PlusFidLineFinder::AcceptLine |
( |
PlusFidLine & |
line | ) |
|
|
protected |
◆ Clear()
void PlusFidLineFinder::Clear |
( |
| ) |
|
◆ ComputeAngleRad()
Compute the angle between the line formed by 2 dots and the x-axis, in radian
Definition at line 255 of file PlusFidLineFinder.cxx.
◆ ComputeDistancePointLine()
◆ ComputeLine()
void PlusFidLineFinder::ComputeLine |
( |
PlusFidLine & |
line | ) |
|
|
protected |
Compute a line, all that is required is a set origin and the dots part of the line. It computes then the line length, the direction vector, the endpoint
Definition at line 275 of file PlusFidLineFinder.cxx.
◆ ComputeParameters()
void PlusFidLineFinder::ComputeParameters |
( |
| ) |
|
|
protected |
Compute parameters such as the minimum and the maximum angle allowed for one line in the case where the segmentation parameters are to be computed. This allows a better precision and possibly an increase of computation speed.
Definition at line 56 of file PlusFidLineFinder.cxx.
◆ FindLines()
void PlusFidLineFinder::FindLines |
( |
| ) |
|
Find lines, runs the FindLines2Points and FindLinesNPoints and then sort the lines by intensity
Definition at line 675 of file PlusFidLineFinder.cxx.
◆ FindLines2Points()
void PlusFidLineFinder::FindLines2Points |
( |
| ) |
|
|
protected |
◆ FindLinesNPoints()
void PlusFidLineFinder::FindLinesNPoints |
( |
| ) |
|
|
protected |
◆ GetImageNormalVectorInPhantomFrameMaximumRotationAngleDeg()
double* PlusFidLineFinder::GetImageNormalVectorInPhantomFrameMaximumRotationAngleDeg |
( |
| ) |
|
|
inlineprotected |
Get the maximum rotation vector, this maximum rotation represents the physical limitation of the probe, used for automatic parameters computation
Definition at line 113 of file PlusFidLineFinder.h.
◆ GetImageToPhantomTransform()
double* PlusFidLineFinder::GetImageToPhantomTransform |
( |
| ) |
|
|
inlineprotected |
◆ GetLinesVector()
std::vector< std::vector< PlusFidLine > > & PlusFidLineFinder::GetLinesVector |
( |
| ) |
|
Get the vector of lines, this vector contains all lines of different number of points that match the criteria
Definition at line 690 of file PlusFidLineFinder.cxx.
◆ GetMaxThetaRad()
double PlusFidLineFinder::GetMaxThetaRad |
( |
| ) |
|
|
inline |
◆ GetMinThetaRad()
double PlusFidLineFinder::GetMinThetaRad |
( |
| ) |
|
|
inline |
◆ GetNWires()
std::vector< PlusNWire > PlusFidLineFinder::GetNWires |
( |
| ) |
|
Get the NWires vector, these NWires are extracted from the pattern vector
Definition at line 221 of file PlusFidLineFinder.cxx.
◆ GetPatterns()
Get the pattern structure vector, this defines the patterns that the algorithm finds
Definition at line 69 of file PlusFidLineFinder.h.
◆ ReadConfiguration()
PlusStatus PlusFidLineFinder::ReadConfiguration |
( |
vtkXMLDataElement * |
rootConfigElement | ) |
|
◆ SegmentLength()
◆ SetApproximateSpacingMmPerPixel()
void PlusFidLineFinder::SetApproximateSpacingMmPerPixel |
( |
double |
value | ) |
|
|
inline |
◆ SetCandidateFidValues()
void PlusFidLineFinder::SetCandidateFidValues |
( |
const std::vector< PlusFidDot > & |
value | ) |
|
|
inline |
◆ SetCollinearPointsMaxDistanceFromLineMm()
void PlusFidLineFinder::SetCollinearPointsMaxDistanceFromLineMm |
( |
double |
value | ) |
|
|
inline |
Set the maximum distance from a point to a line when the point is tested to be a point of the line
Definition at line 51 of file PlusFidLineFinder.h.
◆ SetDotsVector()
void PlusFidLineFinder::SetDotsVector |
( |
const std::vector< PlusFidDot > & |
value | ) |
|
|
inline |
◆ SetFrameSize()
void PlusFidLineFinder::SetFrameSize |
( |
const FrameSizeType & |
frameSize | ) |
|
◆ SetImageNormalVectorInPhantomFrameMaximumRotationAngleDeg()
void PlusFidLineFinder::SetImageNormalVectorInPhantomFrameMaximumRotationAngleDeg |
( |
double * |
anglesDeg | ) |
|
|
protected |
◆ SetImageToPhantomTransform()
void PlusFidLineFinder::SetImageToPhantomTransform |
( |
double * |
matrixElements | ) |
|
◆ SetMaxThetaDegrees()
void PlusFidLineFinder::SetMaxThetaDegrees |
( |
double |
angleDeg | ) |
|
◆ SetMinThetaDegrees()
void PlusFidLineFinder::SetMinThetaDegrees |
( |
double |
angleDeg | ) |
|
◆ SetPatterns()
void PlusFidLineFinder::SetPatterns |
( |
const std::vector< PlusFidPattern * > & |
value | ) |
|
|
inline |
Set the pattern structure vector, this defines the patterns that the algorithm finds
Definition at line 39 of file PlusFidLineFinder.h.
◆ m_ApproximateSpacingMmPerPixel
double PlusFidLineFinder::m_ApproximateSpacingMmPerPixel |
|
protected |
◆ m_CandidateFidValues
std::vector<PlusFidDot> PlusFidLineFinder::m_CandidateFidValues |
|
protected |
◆ m_CollinearPointsMaxDistanceFromLineMm
double PlusFidLineFinder::m_CollinearPointsMaxDistanceFromLineMm |
|
protected |
◆ m_DotsVector
std::vector<PlusFidDot> PlusFidLineFinder::m_DotsVector |
|
protected |
◆ m_FrameSize
FrameSizeType PlusFidLineFinder::m_FrameSize |
|
protected |
◆ m_ImageNormalVectorInPhantomFrameMaximumRotationAngleDeg
double PlusFidLineFinder::m_ImageNormalVectorInPhantomFrameMaximumRotationAngleDeg[6] |
|
protected |
◆ m_ImageToPhantomTransform
double PlusFidLineFinder::m_ImageToPhantomTransform[16] |
|
protected |
◆ m_LinesVector
std::vector< std::vector<PlusFidLine> > PlusFidLineFinder::m_LinesVector |
|
protected |
◆ m_MaxLinePairDistanceErrorPercent
double PlusFidLineFinder::m_MaxLinePairDistanceErrorPercent |
|
protected |
◆ m_MaxThetaRad
double PlusFidLineFinder::m_MaxThetaRad |
|
protected |
◆ m_MinThetaRad
double PlusFidLineFinder::m_MinThetaRad |
|
protected |
◆ m_Patterns
The documentation for this class was generated from the following files: