ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkCheckerBoardImageFilter.h>
Combines two images in a checkerboard pattern.
CheckerBoardImageFilter takes two input images that must have the same dimension, size, origin and spacing and produces an output image of the same size by combinining the pixels from the two input images in a checkerboard pattern. This filter is commonly used for visually comparing two images, in particular for evaluating the results of an image registration process.
This filter is implemented as a multithreaded filter. It provides a ThreadedGenerateData() method for its implementation.
Definition at line 45 of file itkCheckerBoardImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::RegionType | ImageRegionType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef TImage | InputImageType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef TImage | OutputImageType |
typedef FixedArray< unsigned int, TImage::ImageDimension > | PatternArrayType |
typedef SmartPointer< Self > | Pointer |
typedef CheckerBoardImageFilter | Self |
typedef ImageToImageFilter < TImage, TImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TImage > | Superclass |
Public Types inherited from itk::ImageSource< TImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static const unsigned int | OutputImageDimension |
Private Member Functions | |
CheckerBoardImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PatternArrayType | m_CheckerPattern |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::CheckerBoardImageFilter< TImage >::ConstPointer |
Definition at line 53 of file itkCheckerBoardImageFilter.h.
typedef OutputImageType::RegionType itk::CheckerBoardImageFilter< TImage >::ImageRegionType |
Definition at line 59 of file itkCheckerBoardImageFilter.h.
typedef InputImageType::ConstPointer itk::CheckerBoardImageFilter< TImage >::InputImageConstPointer |
Definition at line 57 of file itkCheckerBoardImageFilter.h.
typedef TImage itk::CheckerBoardImageFilter< TImage >::InputImageType |
Definition at line 55 of file itkCheckerBoardImageFilter.h.
typedef OutputImageType::Pointer itk::CheckerBoardImageFilter< TImage >::OutputImagePointer |
Definition at line 58 of file itkCheckerBoardImageFilter.h.
typedef TImage itk::CheckerBoardImageFilter< TImage >::OutputImageType |
Definition at line 56 of file itkCheckerBoardImageFilter.h.
typedef FixedArray< unsigned int, TImage ::ImageDimension > itk::CheckerBoardImageFilter< TImage >::PatternArrayType |
Type to hold the number of checker boxes per dimension
Definition at line 73 of file itkCheckerBoardImageFilter.h.
typedef SmartPointer< Self > itk::CheckerBoardImageFilter< TImage >::Pointer |
Definition at line 52 of file itkCheckerBoardImageFilter.h.
typedef CheckerBoardImageFilter itk::CheckerBoardImageFilter< TImage >::Self |
Standard class typedefs.
Definition at line 50 of file itkCheckerBoardImageFilter.h.
typedef ImageToImageFilter< TImage, TImage > itk::CheckerBoardImageFilter< TImage >::Superclass |
Definition at line 51 of file itkCheckerBoardImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 88 of file itkCheckerBoardImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
virtual |
Set array with number of checks to make per image dimension
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
|
virtual |
Set array with number of checks to make per image dimension
void itk::CheckerBoardImageFilter< TImage >::SetInput1 | ( | const TImage * | image1 | ) |
Connect one of the operands for checker board
void itk::CheckerBoardImageFilter< TImage >::SetInput2 | ( | const TImage * | image2 | ) |
Connect one of the operands for checker board
|
overrideprotectedvirtual |
CheckerBoardImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TImage >.
|
static |
Number of dimensions.
Definition at line 69 of file itkCheckerBoardImageFilter.h.
|
private |
Definition at line 106 of file itkCheckerBoardImageFilter.h.