#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::ImageIOBase::IOPixelType &pixelType, itk::ImageIOBase::IOComponentType &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 () |
|
#define ITK_TEST_DIMENSION_MAX 6 |
using HashPairType = std::pair< const char *, std::vector<std::string> > |
Get the PixelType and ComponentType from fileName.
int HashTestImage |
( |
const char * |
testImageFilename, |
|
|
const std::string |
md5hash |
|
) |
| |
int HashTestImage |
( |
const char * |
testImageFilename, |
|
|
const std::vector< std::string > & |
baselineMD5Vector |
|
) |
| |
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 |
|
) |
| |