![]() |
ITK
5.4.0
Insight 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 rearrangement 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.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension |
Private Attributes | |
PermuteOrderArrayType | m_InverseOrder {} |
PermuteOrderArrayType | m_Order {} |
Additional Inherited Members | |
![]() | |
using | InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension > |
using | OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension > |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
![]() | |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
bool | m_DynamicMultiThreading |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::PermuteAxesImageFilter< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 60 of file itkPermuteAxesImageFilter.h.
using itk::PermuteAxesImageFilter< TImage >::PermuteOrderArrayType = FixedArray<unsigned int, Self::ImageDimension> |
PermuteOrderArray type.
Definition at line 77 of file itkPermuteAxesImageFilter.h.
using itk::PermuteAxesImageFilter< TImage >::Pointer = SmartPointer<Self> |
Definition at line 59 of file itkPermuteAxesImageFilter.h.
using itk::PermuteAxesImageFilter< TImage >::Self = PermuteAxesImageFilter |
Standard class type aliases.
Definition at line 57 of file itkPermuteAxesImageFilter.h.
using itk::PermuteAxesImageFilter< TImage >::Superclass = ImageToImageFilter<TImage, TImage> |
Definition at line 58 of file itkPermuteAxesImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
PermuteAxesImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a DynamicThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling DynamicThreadedGenerateData(). DynamicThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TImage >.
|
overrideprotectedvirtual |
PermuteAxesImageFilter needs different input requested region than the output requested region.
The required input requested region is obtained by permuting the index and size of 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::ProcessObject.
|
overrideprotectedvirtual |
PermuteAxesImageFilter produces an image which is a different resolution and with a different pixel spacing than its input image.
The output image meta information is obtained by permuting the input image meta information.
As such, PermuteAxesImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model.
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.
|
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::ProcessObject.
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.
|
staticconstexpr |
ImageDimension enumeration
Definition at line 69 of file itkPermuteAxesImageFilter.h.
|
private |
Definition at line 135 of file itkPermuteAxesImageFilter.h.
|
private |
Definition at line 134 of file itkPermuteAxesImageFilter.h.