#include <itkPermuteAxesImageFilter.h>
Inheritance diagram for itk::PermuteAxesImageFilter:
Public Types | |
typedef PermuteAxesImageFilter | Self |
typedef ImageToImageFilter< TImage, TImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef FixedArray< unsigned int, itkGetStaticConstMacro(ImageDimension) | PermuteOrderArrayType ) |
Public Methods | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension) | |
void | SetOrder (const PermuteOrderArrayType &order) |
itkGetConstReferenceMacro (Order, PermuteOrderArrayType) | |
itkGetConstReferenceMacro (InverseOrder, PermuteOrderArrayType) | |
virtual void | GenerateOutputInformation () |
virtual void | GenerateInputRequestedRegion () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
PermuteAxesImageFilter () | |
~PermuteAxesImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
PermuateAxesImageFilter permutes the image axes according to a user specified order. The permutation order is set via method SetOrder( order ) where the input is an array of ImageDimension number of unsigned int. The elements of the array must be a rearrangment of the numbers from 0 to ImageDimension - 1.
The i-th axis of the output image corresponds with the order[i]-th axis of the input image.
The output meta image information (LargestPossibleRegion, spacing, origin) is computed by permuting the corresponding input meta information.
Definition at line 46 of file itkPermuteAxesImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 55 of file itkPermuteAxesImageFilter.h. |
|
Inherited types Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 68 of file itkPermuteAxesImageFilter.h. |
|
Reimplemented from itk::ImageSource< TImage >. Definition at line 69 of file itkPermuteAxesImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 70 of file itkPermuteAxesImageFilter.h. |
|
PermuteOrderArray type. Definition at line 73 of file itkPermuteAxesImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 54 of file itkPermuteAxesImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 52 of file itkPermuteAxesImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 53 of file itkPermuteAxesImageFilter.h. |
|
|
|
Definition at line 104 of file itkPermuteAxesImageFilter.h. |
|
PermuteAxesImageFilter needs different input requested region than the output requested region. As such, PermuteAxesImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
PermuteAxesImageFilter produces an image which is a different resolution and with a different pixel spacing than its input image. As such, PermuteAxesImageFilter 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. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
Get the inverse permutation order. |
|
Get the permutation order. |
|
ImageDimension enumeration Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
Method for creation through the object factory. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
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 the permutation order. The elements of order must be a rearrangement of the numbers from 0 to ImageDimension - 1. |
|
PermuteAxesImageFilter 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 >. |