#include <algorithm>
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include "itksys/Process.h"
#include "itksys/SystemTools.hxx"
#include "vnl/vnl_sample.h"
#include "itkFloatingPointExceptions.h"
#include "itkImageIOBase.h"
#include "itkIntTypes.h"
#include "itkWin32Header.h"
Go to the source code of this file.
|
std::vector< HashPairType > & | GetHashTestList () |
|
void | GetImageType (const char *fileName, itk::IOPixelEnum &pixelType, itk::IOComponentEnum &componentType) |
|
RedirectOutputParameters & | GetRedirectOutputParameters () |
|
RegressionTestParameters & | GetRegressionTestParameters () |
|
int | HashTestImage (const char *testImageFilename, const std::string md5hash) |
|
int | HashTestImage (const char *testImageFilename, const std::vector< std::string > &baselineMD5Vector) |
|
int | ProcessArguments (int *ac, ArgumentStringType *av, ProcessedOutputType *processedOutput=nullptr) |
|
std::map< std::string, int > | RegressionTestBaselines (char *) |
|
int | RegressionTestImage (const char *testImageFilename, const char *baselineImageFilename, int reportErrors, double intensityTolerance, ::itk::SizeValueType numberOfPixelsTolerance=0, unsigned int radiusTolerance=0, bool verifyInputInformation=true, double coordinateTolerance=1.0e-6, double directionTolerance=1.0e-6) |
|
void | usage () |
|
◆ ITK_TEST_DIMENSION_MAX
#define ITK_TEST_DIMENSION_MAX 6 |
◆ ArgumentsList
◆ ArgumentStringType
◆ ComparePairType
◆ HashPairType
using HashPairType = std::pair<const char *, std::vector<std::string> > |
◆ RedirectOutputParameters
◆ RegressionTestParameters
◆ GetHashTestList()
◆ GetImageType()
Get the PixelType and ComponentType from fileName.
◆ GetRedirectOutputParameters()
◆ GetRegressionTestParameters()
◆ HashTestImage() [1/2]
int HashTestImage |
( |
const char * |
testImageFilename, |
|
|
const std::string |
md5hash |
|
) |
| |
◆ HashTestImage() [2/2]
int HashTestImage |
( |
const char * |
testImageFilename, |
|
|
const std::vector< std::string > & |
baselineMD5Vector |
|
) |
| |
◆ ProcessArguments()
◆ RegressionTestBaselines()
std::map< std::string, int > RegressionTestBaselines |
( |
char * |
| ) |
|
◆ RegressionTestImage()
int RegressionTestImage |
( |
const char * |
testImageFilename, |
|
|
const char * |
baselineImageFilename, |
|
|
int |
reportErrors, |
|
|
double |
intensityTolerance, |
|
|
::itk::SizeValueType |
numberOfPixelsTolerance = 0 , |
|
|
unsigned int |
radiusTolerance = 0 , |
|
|
bool |
verifyInputInformation = true , |
|
|
double |
coordinateTolerance = 1.0e-6 , |
|
|
double |
directionTolerance = 1.0e-6 |
|
) |
| |
◆ usage()
◆ coordinateTolerance
double coordinateTolerance |
◆ directionTolerance
double directionTolerance |
◆ fileName
◆ intensityTolerance
double intensityTolerance |
◆ numberOfPixelsTolerance
unsigned int numberOfPixelsTolerance |
◆ radiusTolerance
unsigned int radiusTolerance |
◆ verifyInputInformation
bool verifyInputInformation |