PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
PlusPatternLocResultFile.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2  Program: Plus
3  Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4  See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __USFIDSEGRESULTFILE_H
8 #define __USFIDSEGRESULTFILE_H
9 
10 #include "PlusConfigure.h"
12 #include <iostream>
13 
19 class vtkPlusCalibrationExport PlusUsFidSegResultFile
20 {
21 public:
22  static void WriteSegmentationResultsHeader(std::ostream &outFile);
23  static void WriteSegmentationResultsParameters(std::ostream &outFile, PlusFidPatternRecognition &patternRcognitionObject, const std::string &trueFidFileName);
24  static void WriteSegmentationResultsStats(std::ostream &outFile, double meanFid, double meanFidCandidate=-1);
25  static void WriteSegmentationResultsFooter(std::ostream &outFile);
26  static void WriteSegmentationResults(std::ostream &outFile, PlusPatternRecognitionResult &segResults, const std::string &inputTestcaseName, int currentFrameIndex, const std::string &inputImageSequenceFileName);
27 
28  static const char *TEST_RESULTS_ELEMENT_NAME;
29  static const char *TEST_CASE_ELEMENT_NAME;
30  static const char *ID_ATTRIBUTE_NAME;
31 };
32 
33 #endif //__USFIDSEGRESULTFILE_H
static const char * TEST_CASE_ELEMENT_NAME
static const char * TEST_RESULTS_ELEMENT_NAME
static const char * ID_ATTRIBUTE_NAME