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
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
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)
InputImageType::ConstPointer InputImageConstPointer
void SetGivenCoordinateOrientation(CoordinateOrientationCode newCode)
std::string GetMajorAxisFromPatientRelativeDirectionCosine(double x, double y, double z)
PermuteAxesImageFilter< TInputImage > PermuterType
Permute axes and then flip images as needed to obtain agreement in coordinateOrientation codes...
FlipImageFilter< TInputImage > FlipperType
void DeterminePermutationsAndFlips(const SpatialOrientation::ValidCoordinateOrientationFlags fixed_orient, const SpatialOrientation::ValidCoordinateOrientationFlags moving_orient)
void EnlargeOutputRequestedRegion(DataObject *)
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.
void operator=(const Self &)
virtual void GenerateOutputInformation()
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.
void GenerateInputRequestedRegion()
Control indentation during Print() invocation.
ValidCoordinateOrientationFlags
void SetDesiredCoordinateOrientationToCoronal()
void PrintSelf(std::ostream &os, Indent indent) const
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.