PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
This test runs a phantom registration on a recorded data set and compares the results to a baseline. More...
#include "PlusConfigure.h"
#include "PlusMath.h"
#include "igsioTrackedFrame.h"
#include "vtkAxis.h"
#include "vtkChartXY.h"
#include "vtkContextScene.h"
#include "vtkPlusDataCollector.h"
#include "vtkDirectory.h"
#include "vtkDoubleArray.h"
#include "vtkPlusLandmarkDetectionAlgo.h"
#include "vtkMath.h"
#include "vtkMatrix4x4.h"
#include "vtkPNGWriter.h"
#include "vtkPlusPhantomLandmarkRegistrationAlgo.h"
#include "vtkPlot.h"
#include "vtkPlusChannel.h"
#include "vtkPlusConfig.h"
#include "vtkPlusReadTrackedSignals.h"
#include "vtkRenderWindow.h"
#include "vtkRenderer.h"
#include "vtkPlusSavedDataSource.h"
#include "vtkIGSIOSequenceIO.h"
#include "vtkIGSIOMetaImageSequenceIO.h"
#include "vtkSmartPointer.h"
#include "vtkTable.h"
#include "vtkIGSIOTrackedFrameList.h"
#include "vtkTransform.h"
#include "vtkIGSIOTransformRepository.h"
#include "vtkWindowToImageFilter.h"
#include "vtkXMLDataElement.h"
#include "vtkXMLUtilities.h"
#include "vtksys/CommandLineArguments.hxx"
#include "vtksys/SystemTools.hxx"
#include <iostream>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
PlusStatus | CompareRegistrationResultsWithBaseline (const char *baselineFileName, const char *currentResultFileName, const char *phantomCoordinateFrame, const char *referenceCoordinateFrame) |
PlusStatus | ConstructSignalPlot (vtkIGSIOTrackedFrameList *trackedStylusTipFrames, std::string intermediateFileOutputDirectory, vtkXMLDataElement *aConfig) |
PlusStatus | ConstructTableSignal (std::deque< double > &x, std::deque< double > &y, vtkTable *table) |
int | main (int argc, char *argv[]) |
void | SaveMetricPlot (const char *filename, vtkTable *stylusRef, vtkTable *stylusTipRef, vtkTable *stylusTipSpeed, std::string &xAxisLabel, std::string &yAxisLabel) |
Variables | |
const double | ERROR_THRESHOLD_DEG = 0.2 |
const double | ERROR_THRESHOLD_MM = 0.1 |
This test runs a phantom registration on a recorded data set and compares the results to a baseline.
Definition in file vtkPhantomRegistrationLandmarkDetectionTest.cxx.
PlusStatus CompareRegistrationResultsWithBaseline | ( | const char * | baselineFileName, |
const char * | currentResultFileName, | ||
const char * | phantomCoordinateFrame, | ||
const char * | referenceCoordinateFrame | ||
) |
Definition at line 507 of file vtkPhantomRegistrationLandmarkDetectionTest.cxx.
PlusStatus ConstructSignalPlot | ( | vtkIGSIOTrackedFrameList * | trackedStylusTipFrames, |
std::string | intermediateFileOutputDirectory, | ||
vtkXMLDataElement * | aConfig | ||
) |
Definition at line 135 of file vtkPhantomRegistrationLandmarkDetectionTest.cxx.
PlusStatus ConstructTableSignal | ( | std::deque< double > & | x, |
std::deque< double > & | y, | ||
vtkTable * | table | ||
) |
Definition at line 59 of file vtkPhantomRegistrationLandmarkDetectionTest.cxx.
Definition at line 197 of file vtkPhantomRegistrationLandmarkDetectionTest.cxx.
void SaveMetricPlot | ( | const char * | filename, |
vtkTable * | stylusRef, | ||
vtkTable * | stylusTipRef, | ||
vtkTable * | stylusTipSpeed, | ||
std::string & | xAxisLabel, | ||
std::string & | yAxisLabel | ||
) |
Definition at line 86 of file vtkPhantomRegistrationLandmarkDetectionTest.cxx.
const double ERROR_THRESHOLD_DEG = 0.2 |
Definition at line 54 of file vtkPhantomRegistrationLandmarkDetectionTest.cxx.
const double ERROR_THRESHOLD_MM = 0.1 |
Definition at line 53 of file vtkPhantomRegistrationLandmarkDetectionTest.cxx.