18#ifndef itkOrientImageFilter_h
19#define itkOrientImageFilter_h
73template <
typename TInputImage,
typename TOutputImage>
146 itkBooleanMacro(UseImageDirection);
147 itkGetConstMacro(UseImageDirection,
bool);
148 itkSetMacro(UseImageDirection,
bool);
260#ifndef ITK_MANUAL_INSTANTIATION
261# include "itkOrientImageFilter.hxx"
Representations of anatomical orientations and methods to convert between conventions.
@ PosteriorToAnterior
to front - 0b0100
@ AnteriorToPosterior
to back
@ SuperiorToInferior
to foot
@ InferiorToSuperior
to head - 0b1000
Base class for all data objects in ITK.
Flips an image across user specified axes.
FixedArray< bool, Self::ImageDimension > FlipAxesArrayType
Control indentation during Print() invocation.
void SetDesiredCoordinateOrientationToAxial()
void VerifyPreconditions() const override
Verifies that the process object has been configured correctly, that all required inputs are set,...
static constexpr unsigned int InputImageDimension
void GenerateInputRequestedRegion() override
void SetDesiredCoordinateOrientationToCoronal()
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::ConstPointer InputImageConstPointer
void SetDesiredCoordinateOrientationToSagittal()
void DeterminePermutationsAndFlips(const CoordinateOrientationCode fixed_orient, const CoordinateOrientationCode moving_orient)
void SetGivenCoordinateOrientation(CoordinateOrientationCode newCode)
PermuteOrderArrayType m_PermuteOrder
void EnlargeOutputRequestedRegion(DataObject *output) override
typename FlipperType::FlipAxesArrayType FlipAxesArrayType
typename InputImageType::Pointer InputImagePointer
void SetDesiredCoordinateOrientation(CoordinateOrientationCode newCode)
void GenerateOutputInformation() override
TOutputImage OutputImageType
PermuteAxesImageFilter< TInputImage > PermuterType
FlipAxesArrayType m_FlipAxes
typename OutputImageType::PixelType OutputImagePixelType
void SetDesiredCoordinateDirection(const typename TOutputImage::DirectionType &DesiredDirection)
CoordinateOrientationCode m_GivenCoordinateOrientation
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::Pointer OutputImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< const Self > ConstPointer
typename OutputImageType::ConstPointer OutputImageConstPointer
TInputImage InputImageType
void SetGivenCoordinateDirection(const typename TInputImage::DirectionType &GivenDirection)
typename PermuterType::PermuteOrderArrayType PermuteOrderArrayType
AnatomicalOrientation CoordinateOrientationCode
FlipImageFilter< TInputImage > FlipperType
static constexpr unsigned int OutputImageDimension
CoordinateOrientationCode m_DesiredCoordinateOrientation
SmartPointer< Self > Pointer
typename OutputImageType::RegionType OutputImageRegionType
void GenerateData() override
~OrientImageFilter() override=default
Permutes the image axes according to a user specified order.
FixedArray< unsigned int, Self::ImageDimension > PermuteOrderArrayType
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....