ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkPermuteAxesImageFilter.h>
Permutes the image axes according to a user specified order.
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 51 of file itkPermuteAxesImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef FixedArray< unsigned int, itkGetStaticConstMacro(ImageDimension) > | PermuteOrderArrayType |
typedef SmartPointer< Self > | Pointer |
typedef PermuteAxesImageFilter | 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 | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
PermuteAxesImageFilter (const Self &) ITK_DELETE_FUNCTION | |
Private Attributes | |
PermuteOrderArrayType | m_InverseOrder |
PermuteOrderArrayType | m_Order |
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::PermuteAxesImageFilter< TImage >::ConstPointer |
Definition at line 59 of file itkPermuteAxesImageFilter.h.
typedef Superclass::InputImagePointer itk::PermuteAxesImageFilter< TImage >::InputImagePointer |
Inherited types
Definition at line 72 of file itkPermuteAxesImageFilter.h.
typedef Superclass::OutputImagePointer itk::PermuteAxesImageFilter< TImage >::OutputImagePointer |
Definition at line 73 of file itkPermuteAxesImageFilter.h.
typedef Superclass::OutputImageRegionType itk::PermuteAxesImageFilter< TImage >::OutputImageRegionType |
Definition at line 74 of file itkPermuteAxesImageFilter.h.
typedef FixedArray< unsigned int, itkGetStaticConstMacro(ImageDimension) > itk::PermuteAxesImageFilter< TImage >::PermuteOrderArrayType |
PermuteOrderArray type.
Definition at line 77 of file itkPermuteAxesImageFilter.h.
typedef SmartPointer< Self > itk::PermuteAxesImageFilter< TImage >::Pointer |
Definition at line 58 of file itkPermuteAxesImageFilter.h.
typedef PermuteAxesImageFilter itk::PermuteAxesImageFilter< TImage >::Self |
Standard class typedefs.
Definition at line 56 of file itkPermuteAxesImageFilter.h.
typedef ImageToImageFilter< TImage, TImage > itk::PermuteAxesImageFilter< TImage >::Superclass |
Definition at line 57 of file itkPermuteAxesImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 107 of file itkPermuteAxesImageFilter.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.
|
overridevirtual |
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 >.
|
overridevirtual |
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.
|
virtual |
Get the inverse permutation order.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TImage, TImage >.
|
virtual |
Get the permutation order.
|
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 >.
void itk::PermuteAxesImageFilter< TImage >::SetOrder | ( | const PermuteOrderArrayType & | order | ) |
Set the permutation order. The elements of order must be a rearrangement of the numbers from 0 to ImageDimension - 1.
|
overrideprotected |
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"
|
static |
ImageDimension enumeration
Definition at line 69 of file itkPermuteAxesImageFilter.h.
|
private |
Definition at line 128 of file itkPermuteAxesImageFilter.h.
|
private |
Definition at line 127 of file itkPermuteAxesImageFilter.h.