#include <itkCheckerBoardImageFilter.h>
Inheritance diagram for itk::CheckerBoardImageFilter< TImage >:
Public Types | |
typedef CheckerBoardImageFilter | Self |
typedef ImageToImageFilter< TImage, TImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TImage | InputImageType |
typedef TImage | OutputImageType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | ImageRegionType |
typedef FixedArray< unsigned int,::itk::GetImageDimension< TImage >::ImageDimension > | PatternArrayType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension) | |
void | SetInput1 (const TImage *image1) |
void | SetInput2 (const TImage *image2) |
virtual void | SetCheckerPattern (PatternArrayType _arg) |
virtual const PatternArrayType & | GetCheckerPattern () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
CheckerBoardImageFilter () | |
~CheckerBoardImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const ImageRegionType &outputRegionForThread, int threadId) |
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 40 of file itkCheckerBoardImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 48 of file itkCheckerBoardImageFilter.h. |
|
Definition at line 53 of file itkCheckerBoardImageFilter.h. Referenced by itk::CheckerBoardImageFilter< TImage >::~CheckerBoardImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 51 of file itkCheckerBoardImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 49 of file itkCheckerBoardImageFilter.h. |
|
Reimplemented from itk::ImageSource< TImage >. Definition at line 52 of file itkCheckerBoardImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TImage >. Definition at line 50 of file itkCheckerBoardImageFilter.h. |
|
Type to hold the number of checker boxes per dimension Definition at line 67 of file itkCheckerBoardImageFilter.h. Referenced by itk::CheckerBoardImageFilter< TImage >::~CheckerBoardImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 47 of file itkCheckerBoardImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 45 of file itkCheckerBoardImageFilter.h. Referenced by itk::CheckerBoardImageFilter< TImage >::~CheckerBoardImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 46 of file itkCheckerBoardImageFilter.h. |
|
|
|
Definition at line 83 of file itkCheckerBoardImageFilter.h. References itk::CheckerBoardImageFilter< TImage >::ImageRegionType, itk::CheckerBoardImageFilter< TImage >::PatternArrayType, and itk::CheckerBoardImageFilter< TImage >::Self. |
|
Set Checker pattern |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
Number of dimensions. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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 >. |
|
Set Checker pattern |
|
Connect one of the operands for checker board |
|
Connect one of the operands for checker board |
|
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" |