ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <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,::itk::GetImageDimension < TImage >::ImageDimension > | PatternArrayType |
typedef SmartPointer< Self > | Pointer |
typedef CheckerBoardImageFilter | Self |
typedef ImageToImageFilter < TImage, TImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
Public Types inherited from itk::ImageSource< TImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
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 > |
Private Member Functions | |
CheckerBoardImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PatternArrayType | m_CheckerPattern |
virtual void | SetCheckerPattern (PatternArrayType _arg) |
virtual const PatternArrayType & | GetCheckerPattern () |
CheckerBoardImageFilter () | |
~CheckerBoardImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
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 |
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.
typedef SmartPointer< const Self > itk::CheckerBoardImageFilter< TImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
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 |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 57 of file itkCheckerBoardImageFilter.h.
typedef TImage itk::CheckerBoardImageFilter< TImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 55 of file itkCheckerBoardImageFilter.h.
typedef OutputImageType::Pointer itk::CheckerBoardImageFilter< TImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TImage >.
Definition at line 58 of file itkCheckerBoardImageFilter.h.
typedef TImage itk::CheckerBoardImageFilter< TImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TImage >.
Definition at line 56 of file itkCheckerBoardImageFilter.h.
typedef FixedArray< unsigned int, ::itk::GetImageDimension< 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 |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 52 of file itkCheckerBoardImageFilter.h.
typedef CheckerBoardImageFilter itk::CheckerBoardImageFilter< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 50 of file itkCheckerBoardImageFilter.h.
typedef ImageToImageFilter< TImage, TImage > itk::CheckerBoardImageFilter< TImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 51 of file itkCheckerBoardImageFilter.h.
|
protected |
Set array with number of checks to make per image dimension
|
inlineprotected |
Set array with number of checks to make per image dimension
Definition at line 86 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.
Reimplemented from itk::Object.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
|
protectedvirtual |
Set array with number of checks to make per image dimension
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
|
protectedvirtual |
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 105 of file itkCheckerBoardImageFilter.h.