ITK-based implementation of test driver. More...
#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>
Go to the source code of this file.
Defines | |
#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.
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
Copyright (c) Insight Software Consortium.
Copyright (c) 2011 University of Pennsylvania.
Portions of this file are subject to the VTK Toolkit Version 3 copyright.
For complete copyright, license and disclaimer of warranty information please refer to the COPYRIGHT file.
Contact: SBIA Group <sbia-software at uphs.upenn.edu>
Definition in file testdriver-itk.hxx.
Define Documentation
#define ITK_TEST_DIMENSION_MAX BASIS_MAX_TEST_IMAGE_DIMENSION |
Definition at line 90 of file testdriver-itk.hxx.
Function Documentation
void RegisterRequiredFactories | ( | ) |
Definition at line 94 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 119 of file testdriver-itk.hxx.