ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
Go to the source code of this file.
Classes | |
struct | ProcessedOutputType |
struct | RedirectOutputParameters |
struct | RegressionTestParameters |
Defines | |
#define | ITK_TEST_DIMENSION_MAX 6 |
Typedefs | |
typedef std::vector< char * > | ArgumentsList |
typedef char ** | ArgumentStringType |
typedef std::pair< char *, char * > | ComparePairType |
typedef std::pair< const char *, std::vector< std::string > > | HashPairType |
Functions | |
template<typename TImageType > | |
std::string | ComputeHash (const char *testImageFilename) |
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=NULL) |
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) |
void | usage () |
Variables | |
std::vector< HashPairType > | hashTestList |
RedirectOutputParameters | redirectOutputParameters |
RegressionTestParameters | regressionTestParameters |
#define ITK_TEST_DIMENSION_MAX 6 |
Definition at line 62 of file itkTestDriverInclude.h.
Referenced by HashTestImage(), and RegressionTestImage().
typedef std::vector< char * > ArgumentsList |
Definition at line 99 of file itkTestDriverInclude.h.
typedef char** ArgumentStringType |
Definition at line 95 of file itkTestDriverInclude.h.
typedef std::pair< char *, char * > ComparePairType |
Definition at line 77 of file itkTestDriverInclude.h.
typedef std::pair< const char *, std::vector<std::string> > HashPairType |
Definition at line 91 of file itkTestDriverInclude.h.
std::string ComputeHash | ( | const char * | testImageFilename | ) |
Definition at line 689 of file itkTestDriverInclude.h.
References itk::Math::e, and itk::ExceptionObject::GetDescription().
int HashTestImage | ( | const char * | testImageFilename, |
const std::string | md5hash | ||
) |
int HashTestImage | ( | const char * | testImageFilename, |
const std::vector< std::string > & | baselineMD5Vector | ||
) |
Definition at line 718 of file itkTestDriverInclude.h.
References itk::ImageIOBase::CHAR, itk::ImageIOFactory::CreateImageIO(), itk::ImageIOBase::DOUBLE, itk::Math::e, itk::ImageIOBase::FLOAT, itk::ImageIOBase::INT, itk::SmartPointer< TObjectType >::IsNull(), ITK_TEST_DIMENSION_MAX, itk::ImageIOBase::LONG, itk::ImageIOFactory::ReadMode, itk::ImageIOBase::SHORT, itk::ImageIOBase::UCHAR, itk::ImageIOBase::UINT, itk::ImageIOBase::ULONG, itk::ImageIOBase::UNKNOWNCOMPONENTTYPE, and itk::ImageIOBase::USHORT.
int ProcessArguments | ( | int * | ac, |
ArgumentStringType * | av, | ||
ProcessedOutputType * | processedOutput = NULL |
||
) |
Definition at line 187 of file itkTestDriverInclude.h.
References RegressionTestParameters::compareList, itk::FloatingPointExceptions::Enable(), RedirectOutputParameters::fileName, RegressionTestParameters::intensityTolerance, RegressionTestParameters::numberOfPixelsTolerance, RegressionTestParameters::radiusTolerance, RedirectOutputParameters::redirect, and usage().
Referenced by ProcessArgumentsAndRegisterBuiltInFactories(), and ProcessArgumentsAndRegisterRequiredFactories().
std::map< std::string, int > RegressionTestBaselines | ( | char * | baselineFilename | ) |
Definition at line 882 of file itkTestDriverInclude.h.
int RegressionTestImage | ( | const char * | testImageFilename, |
const char * | baselineImageFilename, | ||
int | reportErrors, | ||
double | intensityTolerance, | ||
::itk::SizeValueType | numberOfPixelsTolerance = 0 , |
||
unsigned int | radiusTolerance = 0 |
||
) |
Definition at line 443 of file itkTestDriverInclude.h.
References itk::Math::e, itk::ExceptionObject::GetDescription(), ITK_TEST_DIMENSION_MAX, and itk::NumericTraits< T >::max().
void usage | ( | ) |
Definition at line 120 of file itkTestDriverInclude.h.
Referenced by ProcessArguments().
std::vector< HashPairType > hashTestList |
Definition at line 93 of file itkTestDriverInclude.h.
Definition at line 118 of file itkTestDriverInclude.h.
Definition at line 88 of file itkTestDriverInclude.h.