ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkFlipImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FixedArray< bool, itkGetStaticConstMacro(ImageDimension) > | FlipAxesArrayType |
typedef TImage::IndexType | IndexType |
typedef IndexType::IndexValueType | IndexValueType |
typedef Superclass::InputImageConstPointer | InputImageConstPointer |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef FlipImageFilter | Self |
typedef ImageToImageFilter < TImage, TImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
Public Types inherited from itk::ImageSource< TImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TImage | OutputImageType |
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 | |
FlipImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_FlipAboutOrigin |
FlipAxesArrayType | m_FlipAxes |
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 |
Flips an image across user specified axes.
FlipImageFilter flips an image across user specified axes. The flip axes are set via method SetFlipAxes( array ) where the input is a FixedArray<bool,ImageDimension>. The image is flipped across axes for which array[i] is true.
In terms of grid coordinates the image is flipped within the LargestPossibleRegion of the input image. As such, the LargestPossibleRegion of the ouput image is the same as the input.
In terms of geometric coordinates, the output origin is such that the image is flipped with respect to the coordinate axes.
Definition at line 53 of file itkFlipImageFilter.h.
typedef SmartPointer< const Self > itk::FlipImageFilter< TImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 61 of file itkFlipImageFilter.h.
typedef FixedArray< bool, itkGetStaticConstMacro(ImageDimension) > itk::FlipImageFilter< TImage >::FlipAxesArrayType |
FlipAxesArray type
Definition at line 83 of file itkFlipImageFilter.h.
typedef TImage::IndexType itk::FlipImageFilter< TImage >::IndexType |
Index related types
Definition at line 79 of file itkFlipImageFilter.h.
typedef IndexType::IndexValueType itk::FlipImageFilter< TImage >::IndexValueType |
Definition at line 80 of file itkFlipImageFilter.h.
typedef Superclass::InputImageConstPointer itk::FlipImageFilter< TImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 74 of file itkFlipImageFilter.h.
typedef Superclass::InputImagePointer itk::FlipImageFilter< TImage >::InputImagePointer |
Inherited types
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 73 of file itkFlipImageFilter.h.
typedef Superclass::OutputImagePointer itk::FlipImageFilter< TImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TImage >.
Definition at line 75 of file itkFlipImageFilter.h.
typedef Superclass::OutputImageRegionType itk::FlipImageFilter< TImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 76 of file itkFlipImageFilter.h.
typedef SmartPointer< Self > itk::FlipImageFilter< TImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 60 of file itkFlipImageFilter.h.
typedef FlipImageFilter itk::FlipImageFilter< TImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 58 of file itkFlipImageFilter.h.
typedef ImageToImageFilter< TImage, TImage > itk::FlipImageFilter< TImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
Definition at line 59 of file itkFlipImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 117 of file itkFlipImageFilter.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 |
Controls how the output origin is computed. If FlipAboutOrigin is "on", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis.
|
virtual |
Controls how the output origin is computed. If FlipAboutOrigin is "on", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis.
|
virtual |
FlipImageFilter needs different input requested region than the output requested region. As such, FlipImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
|
virtual |
FlipImageFilter produces an image with different origin and direction than the input image. As such, FlipImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
Reimplemented from itk::ProcessObject.
|
virtual |
Controls how the output origin is computed. If FlipAboutOrigin is "on", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis.
|
virtual |
Set/Get the axis to be flipped. The image is flipped along axes for which array[i] is true.
|
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 |
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 |
Controls how the output origin is computed. If FlipAboutOrigin is "on", the flip will occur about the origin of the axis, otherwise, the flip will occur about the center of the axis.
|
virtual |
Set/Get the axis to be flipped. The image is flipped along axes for which array[i] is true.
|
protected |
FlipImageFilter 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"
|
static |
ImageDimension enumeration
Definition at line 70 of file itkFlipImageFilter.h.
|
private |
Definition at line 138 of file itkFlipImageFilter.h.
|
private |
Definition at line 137 of file itkFlipImageFilter.h.