ITK-based implementation of test driver. More...
#include <iostream>#include <itkImage.h>#include <itkImageFileReader.h>#include <itkImageFileWriter.h>#include <itkRescaleIntensityImageFilter.h>#include <itkExtractImageFilter.h>#include <itkTestingComparisonImageFilter.h>#include <itkOrientImageFilter.h>#include <itkGDCMImageIOFactory.h>#include <itkMetaImageIOFactory.h>#include <itkJPEGImageIOFactory.h>#include <itkPNGImageIOFactory.h>#include <itkTIFFImageIOFactory.h>#include <itkBMPImageIOFactory.h>#include <itkVTKImageIOFactory.h>#include <itkNrrdImageIOFactory.h>#include <itkGiplImageIOFactory.h>#include <itkNiftiImageIOFactory.h>#include <itkObjectFactoryBase.h>
Include dependency graph for testdriver-itk.hxx:Go to the source code of this file.
Macros | |
| #define | _BASIS_TESTDRIVER_ITK_HXX |
| #define | ITK_TEST_DIMENSION_MAX BASIS_MAX_TEST_IMAGE_DIMENSION |
Functions | |
| void | RegisterRequiredFactories () |
| int | RegressionTestImage (const char *testImageFilename, const char *baselineImageFilename, int reportErrors, double intensityTolerance, unsigned int numberOfPixelsTolerance, unsigned int radiusTolerance, bool orientationInsensitive) |
ITK-based implementation of test driver.
This implementation of the test driver utilizes the ITK.
This file is in parts a modified version of the itkTestDriverInclude.h file which is part of the TestKernel module of the ITK 4 project and in other parts contains code from the ImageCompareCommand.cxx file which is part of the ITK 3.20 release.
Definition in file testdriver-itk.hxx.
| #define _BASIS_TESTDRIVER_ITK_HXX |
Definition at line 56 of file testdriver-itk.hxx.
| #define ITK_TEST_DIMENSION_MAX BASIS_MAX_TEST_IMAGE_DIMENSION |
Definition at line 93 of file testdriver-itk.hxx.
| void RegisterRequiredFactories | ( | ) |
Definition at line 97 of file testdriver-itk.hxx.
| int RegressionTestImage | ( | const char * | testImageFilename, |
| const char * | baselineImageFilename, | ||
| int | reportErrors, | ||
| double | intensityTolerance, | ||
| unsigned int | numberOfPixelsTolerance, | ||
| unsigned int | radiusTolerance, | ||
| bool | orientationInsensitive | ||
| ) |
Definition at line 122 of file testdriver-itk.hxx.