PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Functions | Variables
PatternLocTest.cxx File Reference
#include "PlusConfigure.h"
#include "PlusFidPatternRecognition.h"
#include "PlusPatternLocResultFile.h"
#include "igsioTrackedFrame.h"
#include "vtkIGSIOSequenceIO.h"
#include "vtkSmartPointer.h"
#include "vtkIGSIOTrackedFrameList.h"
#include "vtkXMLDataElement.h"
#include "vtkXMLUtilities.h"
#include "vtksys/CommandLineArguments.hxx"
#include <fstream>
#include <iostream>
#include <sstream>
Include dependency graph for PatternLocTest.cxx:

Go to the source code of this file.

Functions

int CompareSegmentationResults (const std::string &inputBaselineFileName, const std::string &outputTestResultsFileName, PlusFidPatternRecognition &patternRecognition)
 
int main (int argc, char **argv)
 
void SegmentImageSequence (vtkIGSIOTrackedFrameList *trackedFrameList, std::ofstream &outFile, const std::string &inputTestcaseName, const std::string &inputImageSequenceFileName, PlusFidPatternRecognition &patternRecognition, const char *fidPositionOutputFilename)
 

Variables

static const double BASELINE_TO_ALGORITHM_TOLERANCE = 5
 
static const double FIDUCIAL_POSITION_TOLERANCE = 0.1
 
static const int MAX_FIDUCIAL_COUNT = 50
 

Function Documentation

◆ CompareSegmentationResults()

int CompareSegmentationResults ( const std::string &  inputBaselineFileName,
const std::string &  outputTestResultsFileName,
PlusFidPatternRecognition patternRecognition 
)

Definition at line 115 of file PatternLocTest.cxx.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 368 of file PatternLocTest.cxx.

◆ SegmentImageSequence()

void SegmentImageSequence ( vtkIGSIOTrackedFrameList *  trackedFrameList,
std::ofstream &  outFile,
const std::string &  inputTestcaseName,
const std::string &  inputImageSequenceFileName,
PlusFidPatternRecognition patternRecognition,
const char *  fidPositionOutputFilename 
)

Definition at line 34 of file PatternLocTest.cxx.

Variable Documentation

◆ BASELINE_TO_ALGORITHM_TOLERANCE

const double BASELINE_TO_ALGORITHM_TOLERANCE = 5
static

Definition at line 31 of file PatternLocTest.cxx.

◆ FIDUCIAL_POSITION_TOLERANCE

const double FIDUCIAL_POSITION_TOLERANCE = 0.1
static

Definition at line 27 of file PatternLocTest.cxx.

◆ MAX_FIDUCIAL_COUNT

const int MAX_FIDUCIAL_COUNT = 50
static

Definition at line 25 of file PatternLocTest.cxx.