PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
This test computes center of rotation on a recorded data set and compares the results to a baseline. More...
#include "PlusConfigure.h"
#include "igsioMath.h"
#include "vtkPlusLineSegmentationAlgo.h"
#include "vtkMath.h"
#include "vtkIGSIOSequenceIO.h"
#include "vtkIGSIOTrackedFrameList.h"
#include "vtkXMLDataElement.h"
#include "vtkXMLUtilities.h"
#include "vtksys/CommandLineArguments.hxx"
#include "vtksys/SystemTools.hxx"
Go to the source code of this file.
Functions | |
int | CompareLineSegmentationResults (const std::vector< vtkPlusLineSegmentationAlgo::LineParameters > &lineParameters, const std::vector< vtkPlusLineSegmentationAlgo::LineParameters > &baselineLineParameters) |
int | main (int argc, char **argv) |
PlusStatus | ReadLineSegmentationResultsFromFile (const std::string &resultSaveFilename, std::vector< vtkPlusLineSegmentationAlgo::LineParameters > &lineParameters) |
void | WriteLineSegmentationResultsToFile (const std::string &resultSaveFilename, const std::vector< vtkPlusLineSegmentationAlgo::LineParameters > &lineParameters) |
Variables | |
const double | MAX_LINE_ANGLE_DIFFERENCE_DEG = 3 |
const double | MAX_ORIGIN_DISTANCE_PIXEL = 10 |
This test computes center of rotation on a recorded data set and compares the results to a baseline.
Definition in file vtkLineSegmentationAlgoTest.cxx.
int CompareLineSegmentationResults | ( | const std::vector< vtkPlusLineSegmentationAlgo::LineParameters > & | lineParameters, |
const std::vector< vtkPlusLineSegmentationAlgo::LineParameters > & | baselineLineParameters | ||
) |
Definition at line 138 of file vtkLineSegmentationAlgoTest.cxx.
Definition at line 208 of file vtkLineSegmentationAlgoTest.cxx.
PlusStatus ReadLineSegmentationResultsFromFile | ( | const std::string & | resultSaveFilename, |
std::vector< vtkPlusLineSegmentationAlgo::LineParameters > & | lineParameters | ||
) |
Definition at line 54 of file vtkLineSegmentationAlgoTest.cxx.
void WriteLineSegmentationResultsToFile | ( | const std::string & | resultSaveFilename, |
const std::vector< vtkPlusLineSegmentationAlgo::LineParameters > & | lineParameters | ||
) |
Definition at line 28 of file vtkLineSegmentationAlgoTest.cxx.
const double MAX_LINE_ANGLE_DIFFERENCE_DEG = 3 |
Definition at line 25 of file vtkLineSegmentationAlgoTest.cxx.
const double MAX_ORIGIN_DISTANCE_PIXEL = 10 |
Definition at line 24 of file vtkLineSegmentationAlgoTest.cxx.