PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Functions | Variables
vtkPhantomRegistrationLandmarkDetectionTest.cxx File Reference

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>
Include dependency graph for vtkPhantomRegistrationLandmarkDetectionTest.cxx:

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
 

Detailed Description

This test runs a phantom registration on a recorded data set and compares the results to a baseline.

Definition in file vtkPhantomRegistrationLandmarkDetectionTest.cxx.

Function Documentation

◆ CompareRegistrationResultsWithBaseline()

PlusStatus CompareRegistrationResultsWithBaseline ( const char *  baselineFileName,
const char *  currentResultFileName,
const char *  phantomCoordinateFrame,
const char *  referenceCoordinateFrame 
)

◆ ConstructSignalPlot()

PlusStatus ConstructSignalPlot ( vtkIGSIOTrackedFrameList *  trackedStylusTipFrames,
std::string  intermediateFileOutputDirectory,
vtkXMLDataElement *  aConfig 
)

◆ ConstructTableSignal()

PlusStatus ConstructTableSignal ( std::deque< double > &  x,
std::deque< double > &  y,
vtkTable *  table 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ SaveMetricPlot()

void SaveMetricPlot ( const char *  filename,
vtkTable *  stylusRef,
vtkTable *  stylusTipRef,
vtkTable *  stylusTipSpeed,
std::string &  xAxisLabel,
std::string &  yAxisLabel 
)

Variable Documentation

◆ ERROR_THRESHOLD_DEG

const double ERROR_THRESHOLD_DEG = 0.2

◆ ERROR_THRESHOLD_MM

const double ERROR_THRESHOLD_MM = 0.1