18#ifndef itkOrientImageFilter_h
19#define itkOrientImageFilter_h
73template <
typename TInputImage,
typename TOutputImage>
107 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
108 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
146 itkBooleanMacro(UseImageDirection);
147 itkGetConstMacro(UseImageDirection,
bool);
148 itkSetMacro(UseImageDirection,
bool);
202#ifdef ITK_USE_CONCEPT_CHECKING
256 bool m_UseImageDirection{
false };
264#ifndef ITK_MANUAL_INSTANTIATION
265# 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.
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
Permute axes and then flip images as needed to obtain agreement in coordinateOrientation codes.
void SetDesiredCoordinateOrientationToAxial()
void VerifyPreconditions() const override
Verifies that the process object has been configured correctly, that all required inputs are set,...
void GenerateInputRequestedRegion() override
void EnlargeOutputRequestedRegion(DataObject *) override
void SetDesiredCoordinateOrientationToCoronal()
void SetDesiredCoordinateOrientationToSagittal()
void DeterminePermutationsAndFlips(const CoordinateOrientationCode fixed_orient, const CoordinateOrientationCode moving_orient)
void SetGivenCoordinateOrientation(CoordinateOrientationCode newCode)
typename FlipperType::FlipAxesArrayType FlipAxesArrayType
void SetDesiredCoordinateOrientation(CoordinateOrientationCode newCode)
void GenerateOutputInformation() override
void SetDesiredCoordinateDirection(const typename TOutputImage::DirectionType &DesiredDirection)
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::ConstPointer OutputImageConstPointer
void SetGivenCoordinateDirection(const typename TInputImage::DirectionType &GivenDirection)
typename PermuterType::PermuteOrderArrayType PermuteOrderArrayType
void GenerateData() override
~OrientImageFilter() override=default
Permutes the image axes according to a user specified order.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::DirectionType DirectionType
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....