Macros | Functions
testdriver-itk.hxx File Reference

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)
 

Detailed Description

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.

Macro Definition Documentation

§ _BASIS_TESTDRIVER_ITK_HXX

#define _BASIS_TESTDRIVER_ITK_HXX

Definition at line 56 of file testdriver-itk.hxx.

§ ITK_TEST_DIMENSION_MAX

#define ITK_TEST_DIMENSION_MAX   BASIS_MAX_TEST_IMAGE_DIMENSION

Definition at line 93 of file testdriver-itk.hxx.

Function Documentation

§ RegisterRequiredFactories()

void RegisterRequiredFactories ( )

Definition at line 97 of file testdriver-itk.hxx.

§ RegressionTestImage()

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.