18 #ifndef itkOrientImageFilter_h
19 #define itkOrientImageFilter_h
139 template<
typename TInputImage,
typename TOutputImage >
174 TInputImage::ImageDimension);
176 TOutputImage::ImageDimension);
212 itkBooleanMacro(UseImageDirection);
213 itkGetConstMacro(UseImageDirection,
bool);
214 itkSetMacro(UseImageDirection,
bool);
260 #ifdef ITK_USE_CONCEPT_CHECKING
299 void operator=(const
Self &) ITK_DELETE_FUNCTION;
315 #ifndef ITK_MANUAL_INSTANTIATION
316 #include "itkOrientImageFilter.hxx"
void SetGivenCoordinateDirection(const typename TInputImage::DirectionType &GivenDirection)
SmartPointer< Self > Pointer
OutputImageType::PixelType OutputImagePixelType
InputImageType::RegionType InputImageRegionType
InputImageType::Pointer InputImagePointer
TOutputImage OutputImageType
virtual void GenerateOutputInformation() override
void GenerateData() override
OutputImageType::RegionType OutputImageRegionType
PermuterType::PermuteOrderArrayType PermuteOrderArrayType
static const unsigned int OutputImageDimension
FlipperType::FlipAxesArrayType FlipAxesArrayType
Base class for all process objects that output image data.
Converts SpatialOrientation flags to/from direction cosines.
void SetDesiredCoordinateOrientation(CoordinateOrientationCode newCode)
void GenerateInputRequestedRegion() override
InputImageType::ConstPointer InputImageConstPointer
void SetGivenCoordinateOrientation(CoordinateOrientationCode newCode)
std::string GetMajorAxisFromPatientRelativeDirectionCosine(double x, double y, double z)
void PrintSelf(std::ostream &os, Indent indent) const override
PermuteAxesImageFilter< TInputImage > PermuterType
Permute axes and then flip images as needed to obtain agreement in coordinateOrientation codes...
FlipImageFilter< TInputImage > FlipperType
void EnlargeOutputRequestedRegion(DataObject *) override
void DeterminePermutationsAndFlips(const SpatialOrientation::ValidCoordinateOrientationFlags fixed_orient, const SpatialOrientation::ValidCoordinateOrientationFlags moving_orient)
InputImageType::PixelType InputImagePixelType
void SetDesiredCoordinateDirection(const typename TOutputImage::DirectionType &DesiredDirection)
CoordinateOrientationCode m_GivenCoordinateOrientation
std::map< CoordinateOrientationCode, std::string > m_CodeToString
Permutes the image axes according to a user specified order.
void SetDesiredCoordinateOrientationToSagittal()
CoordinateOrientationCode m_DesiredCoordinateOrientation
Flips an image across user specified axes.
OutputImageType::Pointer OutputImagePointer
PermuteOrderArrayType m_PermuteOrder
TInputImage InputImageType
SpatialOrientation::ValidCoordinateOrientationFlags CoordinateOrientationCode
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ValidCoordinateOrientationFlags
void SetDesiredCoordinateOrientationToCoronal()
static const unsigned int InputImageDimension
std::map< std::string, CoordinateOrientationCode > m_StringToCode
OutputImageType::ConstPointer OutputImageConstPointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
#define itkConceptMacro(name, concept)
FlipAxesArrayType m_FlipAxes
void SetDesiredCoordinateOrientationToAxial()
SmartPointer< const Self > ConstPointer
Base class for all data objects in ITK.