ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension > Class Template Reference

#include <itkSliceSeriesSpecialCoordinatesImage.h>

Detailed Description

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
class itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >

An image composed of a series of adjacent slices that are not necessarily uniformly spaced.

This is an itk::SpecialCoordinatesImage comprised of a series of N-1 dimension image slices. It is assumed that these slices are adjacent to each other without overlap or intersection.

The physical location of a pixel Index is determined by first calling TransformIndexToPhysicalPoint for dimensions 0 to N-1, then by running the result through a Transform. The metadata for the image that defines its spatial domain are the SliceImage and the SliceTransform's. It is possible for the Slice image to be a specialized type like the CurvilinearArraySpecialCoordinatesImage.

See also
SpecialCoordinatesImage
CurvilinearArraySpecialCoordinatesImage

Definition at line 56 of file itkSliceSeriesSpecialCoordinatesImage.h.

+ Inheritance diagram for itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >:
+ Collaboration diagram for itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >:

Public Types

using AccessorFunctorType = DefaultPixelAccessorFunctor<Self>
 
using AccessorType = DefaultPixelAccessor<PixelType>
 
using ConstPointer = SmartPointer<const Self>
 
using ConstWeakPointer = WeakPointer<const Self>
 
using IndexType = typename Superclass::IndexType
 
using IndexValueType = typename Superclass::IndexValueType
 
using InternalPixelType = TPixel
 
using IOPixelType = typename Superclass::IOPixelType
 
using NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor<Self>
 
using OffsetType = typename Superclass::OffsetType
 
using PixelContainer = ImportImageContainer<SizeValueType, PixelType>
 
using PixelContainerConstPointer = typename PixelContainer::ConstPointer
 
using PixelContainerPointer = typename PixelContainer::Pointer
 
using PixelType = TPixel
 
using Pointer = SmartPointer<Self>
 
using PointType = typename Superclass::PointType
 
using RegionType = typename Superclass::RegionType
 
using Self = SliceSeriesSpecialCoordinatesImage
 
using SizeType = typename Superclass::SizeType
 
using SizeValueType = typename Superclass::SizeValueType
 
using SliceImageType = TSliceImage
 
using SliceTransformsType = VectorContainer<IdentifierType, typename TransformType::Pointer>
 
using SpacingType = typename Superclass::SpacingType
 
using Superclass = SpecialCoordinatesImage<TPixel, VDimension>
 
using TransformType = TTransform
 
using ValueType = TPixel
 
- Public Types inherited from itk::SpecialCoordinatesImage< TPixel, VImageDimension >
using AccessorFunctorType = DefaultPixelAccessorFunctor<Self>
 
using AccessorType = DefaultPixelAccessor<PixelType>
 
using ConstPointer = SmartPointer<const Self>
 
using ConstWeakPointer = WeakPointer<const Self>
 
using IndexType
 
using InternalPixelType = TPixel
 
using IOPixelType = PixelType
 
using OffsetType
 
using PixelContainer = ImportImageContainer<SizeValueType, PixelType>
 
using PixelContainerConstPointer = typename PixelContainer::ConstPointer
 
using PixelContainerPointer = typename PixelContainer::Pointer
 
using PixelType = TPixel
 
using Pointer = SmartPointer<Self>
 
using PointType
 
using RegionType
 
using Self = SpecialCoordinatesImage
 
using SizeType
 
using SpacingType
 
using Superclass = ImageBase<VImageDimension>
 
using ValueType = TPixel
 
- Public Types inherited from itk::ImageBase< 2 >
using ConstPointer
 
using DirectionType
 
using ImageDimensionType
 
using IndexType
 
using IndexValueType
 
using OffsetType
 
using OffsetValueType
 
using Pointer
 
using PointType
 
using PointValueType
 
using RegionType
 
using Self
 
using SizeType
 
using SizeValueType
 
using SpacingType
 
using SpacingValueType
 
using Superclass
 
- Public Types inherited from itk::DataObject
using ConstPointer = SmartPointer<const Self>
 
using DataObjectIdentifierType = std::string
 
using DataObjectPointerArraySizeType = std::vector<Pointer>::size_type
 
using Pointer = SmartPointer<Self>
 
using Self = DataObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer<const Self>
 
using Pointer = SmartPointer<Self>
 
using Self = LightObject
 

Public Member Functions

virtual void CopyInformation (const DataObject *data) override
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor ()
 
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor () const
 
AccessorType GetPixelAccessor (void)
 
const AccessorType GetPixelAccessor (void) const
 
virtual const SliceImageType * GetSliceImage () const
 
const TransformType * GetSliceTransform (IndexValueType sliceIndex) const
 
void Graft (const ImageBase< VDimension > *image) override
 
virtual void SetLargestPossibleRegion (const RegionType &region) override
 
virtual void SetSliceImage (SliceImageType *_arg)
 
void SetSliceTransform (IndexValueType sliceIndex, TransformType *transform)
 
template<typename TCoordRep, typename TIndexRep>
Point< TCoordRep, VDimension > TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VDimension > &index) const
 
template<typename TCoordRep, typename TIndexRep>
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VDimension > &index, Point< TCoordRep, VDimension > &point) const
 
template<typename TCoordRep>
Point< TCoordRep, VDimension > TransformIndexToPhysicalPoint (const IndexType &index) const
 
template<typename TCoordRep>
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VDimension > &point) const
 
template<typename TCoordRep>
void TransformLocalVectorToPhysicalVector (FixedArray< TCoordRep, VDimension > &) const
 
template<typename TIndexRep, typename TCoordRep>
ContinuousIndex< TIndexRep, VDimension > TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VDimension > &point) const
 
template<typename TCoordRep, typename TIndexRep>
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VDimension > &point, ContinuousIndex< TIndexRep, VDimension > &index) const
 
template<typename TCoordRep>
IndexType TransformPhysicalPointToIndex (const Point< TCoordRep, VDimension > &point) const
 
template<typename TCoordRep>
bool TransformPhysicalPointToIndex (const Point< TCoordRep, VDimension > &point, IndexType &index) const
 
template<typename TCoordRep>
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VDimension > &, FixedArray< TCoordRep, VDimension > &) const
 
- Public Member Functions inherited from itk::SpecialCoordinatesImage< TPixel, VImageDimension >
void Allocate (bool initialize=false) override
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
void FillBuffer (const TPixel &value)
 
TPixel & GetPixel (const IndexType &index)
 
const TPixel & GetPixel (const IndexType &index) const
 
AccessorType GetPixelAccessor ()
 
const AccessorType GetPixelAccessor () const
 
PixelContainer * GetPixelContainer ()
 
const PixelContainer * GetPixelContainer () const
 
void Initialize () override
 
TPixel & operator[] (const IndexType &index)
 
const TPixel & operator[] (const IndexType &index) const
 
void SetPixel (const IndexType &index, const TPixel &value)
 
void SetPixelContainer (PixelContainer *container)
 
TPixel * GetBufferPointer ()
 
const TPixel * GetBufferPointer () const
 
void SetSpacing (const SpacingType &) override
 
void SetSpacing (const double[VImageDimension]) override
 
void SetSpacing (const float[VImageDimension]) override
 
void SetOrigin (const PointType) override
 
void SetOrigin (const double[VImageDimension]) override
 
void SetOrigin (const float[VImageDimension]) override
 
- Public Member Functions inherited from itk::ImageBase< 2 >
void AllocateInitialized ()
 
IndexType ComputeIndex (OffsetValueType offset) const
 
OffsetValueType ComputeOffset (const IndexType &ind) const
 
virtual const RegionType & GetBufferedRegion () const
 
virtual const DirectionType & GetInverseDirection () const
 
virtual const RegionType & GetLargestPossibleRegion () const
 
const OffsetValueType * GetOffsetTable () const
 
virtual const RegionType & GetRequestedRegion () const
 
virtual void Graft (const Self *image)
 
bool IsCongruentImageGeometry (const ImageBase *otherImage, double coordinateTolerance, double directionTolerance) const
 
bool IsSameImageGeometryAs (const ImageBase *otherImage, double coordinateTolerance=DefaultImageCoordinateTolerance, double directionTolerance=DefaultImageDirectionTolerance) const
 
 itkVirtualGetConstReferenceMacro (Direction, DirectionType)
 
 itkVirtualGetConstReferenceMacro (Origin, PointType)
 
 itkVirtualGetConstReferenceMacro (Spacing, SpacingType)
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual void SetDirection (const DirectionType &direction)
 
void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
void SetRequestedRegionToLargestPossibleRegion () override
 
Point< TCoordinate, VImageDimension > TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordinate, VImageDimension > &point) const
 
Point< TCoordinate, VImageDimension > TransformIndexToPhysicalPoint (const IndexType &index) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const
 
TVector TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const
 
ContinuousIndex< TIndexRep, VImageDimension > TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
IndexType TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point, IndexType &index) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const
 
TVector TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const
 
void UpdateOutputData () override
 
void UpdateOutputInformation () override
 
bool VerifyRequestedRegion () override
 
 itkVirtualSetMacro (Origin, PointType)
 
virtual void SetRegions (const RegionType &region)
 
virtual void SetRegions (const SizeType &size)
 
virtual unsigned int GetNumberOfComponentsPerPixel () const
 
virtual void SetNumberOfComponentsPerPixel (unsigned int)
 
- Public Member Functions inherited from itk::DataObject
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObject > GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierType & GetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void PrepareForNewData ()
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
virtual void Update ()
 
void UpdateSource () const
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeType & GetPipelineMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStamp & GetRealTimeStamp () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
Command * GetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionary & GetMetaDataDictionary ()
 
const MetaDataDictionary & GetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStamp & GetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::SpecialCoordinatesImage< TPixel, VImageDimension >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageBase< 2 >
static constexpr unsigned int GetImageDimension ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static Pointer New ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = VDimension
 
- Static Public Attributes inherited from itk::SpecialCoordinatesImage< TPixel, VImageDimension >
static constexpr unsigned int ImageDimension = VImageDimension
 
- Static Public Attributes inherited from itk::ImageBase< 2 >
static constexpr ImageDimensionType ImageDimension
 

Protected Member Functions

const TransformType * GetSliceInverseTransform (IndexValueType sliceIndex) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 SliceSeriesSpecialCoordinatesImage ()
 
 ~SliceSeriesSpecialCoordinatesImage () override=default
 
- Protected Member Functions inherited from itk::SpecialCoordinatesImage< TPixel, VImageDimension >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 SpecialCoordinatesImage ()=default
 
 ~SpecialCoordinatesImage () override=default
 
- Protected Member Functions inherited from itk::ImageBase< 2 >
virtual void ComputeIndexToPhysicalPointMatrices ()
 
void ComputeOffsetTable ()
 
IndexType FastComputeIndex (OffsetValueType offset) const
 
OffsetValueType FastComputeOffset (const IndexType &ind) const
 
void Graft (const DataObject *data) override
 
 ImageBase ()=default
 
virtual void InitializeBufferedRegion ()
 
 ~ImageBase () override=default
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
virtual void PropagateResetPipeline ()
 
 ~DataObject () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &)
 
 SliceSeriesSpecialCoordinatesImage (const Self &)
 

Private Attributes

SliceImageType::Pointer m_SliceImage
 
SliceTransformsType::Pointer m_SliceInverseTransforms
 
SliceTransformsType::Pointer m_SliceTransforms
 

Additional Inherited Members

- Protected Attributes inherited from itk::ImageBase< 2 >
SpacingType m_Spacing
 
PointType m_Origin
 
DirectionType m_Direction
 
DirectionType m_InverseDirection
 
DirectionType m_IndexToPhysicalPoint
 
DirectionType m_PhysicalPointToIndex
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ AccessorFunctorType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::AccessorFunctorType = DefaultPixelAccessorFunctor<Self>

Accessor functor to choose between accessors: DefaultPixelAccessor for the Image, and DefaultVectorPixelAccessor for the vector image. The functor provides a generic API between the two accessors.

Definition at line 106 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ AccessorType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::AccessorType = DefaultPixelAccessor<PixelType>

Accessor type that convert data between internal and external representations.

Definition at line 101 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ ConstPointer

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 63 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ ConstWeakPointer

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::ConstWeakPointer = WeakPointer<const Self>

Definition at line 64 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ IndexType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::IndexType = typename Superclass::IndexType

Index type alias support. An index is used to access pixel values.

Definition at line 119 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ IndexValueType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::IndexValueType = typename Superclass::IndexValueType

Definition at line 120 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ InternalPixelType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::InternalPixelType = TPixel

Internal Pixel representation. Used to maintain a uniform API with Image Adaptors and allow to keep a particular internal representation of data while showing a different external representation.

Definition at line 95 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ IOPixelType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::IOPixelType = typename Superclass::IOPixelType

Definition at line 97 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ NeighborhoodAccessorFunctorType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor<Self>

Typedef for the functor used to access a neighborhood of pixel pointers.

Definition at line 110 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ OffsetType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::OffsetType = typename Superclass::OffsetType

Offset type alias support. An offset is used to access pixel values.

Definition at line 123 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ PixelContainer

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::PixelContainer = ImportImageContainer<SizeValueType, PixelType>

Container used to store pixels in the image.

Definition at line 130 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ PixelContainerConstPointer

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::PixelContainerConstPointer = typename PixelContainer::ConstPointer

Definition at line 153 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ PixelContainerPointer

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::PixelContainerPointer = typename PixelContainer::Pointer

A pointer to the pixel container.

Definition at line 152 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ PixelType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::PixelType = TPixel

Pixel type alias support. Used to declare pixel type in filters or other operations.

Definition at line 74 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ Pointer

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::Pointer = SmartPointer<Self>

Definition at line 62 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ PointType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::PointType = typename Superclass::PointType

Origin type alias support. The origin is the "fake" geometric coordinates of the index (0,0). Also for use w/ filters designed for normal images.

Definition at line 149 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ RegionType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::RegionType = typename Superclass::RegionType

Region type alias support. A region is used to specify a subset of an image.

Definition at line 135 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ Self

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::Self = SliceSeriesSpecialCoordinatesImage

Standard class type alias

Definition at line 60 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ SizeType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SizeType = typename Superclass::SizeType

Size type alias support. A size is used to define region bounds.

Definition at line 126 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ SizeValueType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SizeValueType = typename Superclass::SizeValueType

Definition at line 127 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ SliceImageType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SliceImageType = TSliceImage

Typedef of the image slice. This is usually one less dimension of the image.

Definition at line 81 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ SliceTransformsType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SliceTransformsType = VectorContainer<IdentifierType, typename TransformType::Pointer>

Typedef of the array of transform used to store the per-slice transforms.

Definition at line 89 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ SpacingType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SpacingType = typename Superclass::SpacingType

Spacing type alias support. Spacing holds the "fake" size of a pixel, making each pixel look like a 1 unit hyper-cube to filters that were designed for normal images and that therefore use m_Spacing. The spacing is the geometric distance between image samples.

Definition at line 143 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ Superclass

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::Superclass = SpecialCoordinatesImage<TPixel, VDimension>

Definition at line 61 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ TransformType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformType = TTransform

Typedef of the transform used to transform each slice. This could also be a base class transform type.

Definition at line 85 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ ValueType

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
using itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::ValueType = TPixel

Typedef alias for PixelType

Definition at line 77 of file itkSliceSeriesSpecialCoordinatesImage.h.

Constructor & Destructor Documentation

◆ SliceSeriesSpecialCoordinatesImage() [1/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SliceSeriesSpecialCoordinatesImage ( )
protected

Referenced by GetNameOfClass().

◆ ~SliceSeriesSpecialCoordinatesImage()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::~SliceSeriesSpecialCoordinatesImage ( )
overrideprotecteddefault

◆ SliceSeriesSpecialCoordinatesImage() [2/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SliceSeriesSpecialCoordinatesImage ( const Self & )
private

Member Function Documentation

◆ CopyInformation()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
virtual void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::CopyInformation ( const DataObject * data)
overridevirtual

Copy information from the specified data set. This method is part of the pipeline execution model. By default, a ProcessObject will copy meta-data from the first input to all of its outputs. See ProcessObject::GenerateOutputInformation(). Each subclass of DataObject is responsible for being able to copy whatever meta-data it needs from another DataObject. ImageBase has more meta-data than its DataObject. Thus, it must provide its own version of CopyInformation() in order to copy the LargestPossibleRegion from the input parameter.

Reimplemented from itk::ImageBase< 2 >.

◆ CreateAnother()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
virtual::itk::LightObject::Pointer itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::ImageBase< 2 >.

◆ GetNameOfClass()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
virtual const char * itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::SpecialCoordinatesImage< TPixel, VImageDimension >.

References SliceSeriesSpecialCoordinatesImage().

◆ GetNeighborhoodAccessor() [1/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
NeighborhoodAccessorFunctorType itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetNeighborhoodAccessor ( )
inline

Return the NeighborhoodAccessor functor

Definition at line 623 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ GetNeighborhoodAccessor() [2/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
const NeighborhoodAccessorFunctorType itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetNeighborhoodAccessor ( ) const
inline

Return the NeighborhoodAccessor functor

Definition at line 630 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ GetPixelAccessor() [1/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
AccessorType itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetPixelAccessor ( void )
inline

Return the Pixel Accessor object

Definition at line 609 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ GetPixelAccessor() [2/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
const AccessorType itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetPixelAccessor ( void ) const
inline

Return the Pixel Accesor object

Definition at line 616 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ GetSliceImage()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
virtual const SliceImageType * itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetSliceImage ( ) const
virtual

◆ GetSliceInverseTransform()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
const TransformType * itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetSliceInverseTransform ( IndexValueType sliceIndex) const
protected

◆ GetSliceTransform()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
const TransformType * itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::GetSliceTransform ( IndexValueType sliceIndex) const

◆ Graft()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::Graft ( const ImageBase< VDimension > * image)
override

Graft the data and information from one image to another. This is a convenience method to setup a second image with all the meta information of another image and use the same pixel container. Note that this method is different than just using two SmartPointers to the same image since separate DataObjects are still maintained. This method is similar to ImageSource::GraftOutput(). The implementation in ImageBase simply calls CopyInformation() and copies the region ivars. The implementation here refers to the superclass' implementation and then copies over the pixel container.

References itk::DataObject::Graft().

◆ New()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
static Pointer itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::operator= ( const Self & )
private

◆ PrintSelf()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
virtual void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::PrintSelf ( std::ostream & os,
Indent indent ) const
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::ImageBase< 2 >.

◆ SetLargestPossibleRegion()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
virtual void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SetLargestPossibleRegion ( const RegionType & region)
overridevirtual

Set the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary true conditions.

See also
ImageRegion, SetBufferedRegion(), SetRequestedRegion()

Reimplemented from itk::ImageBase< 2 >.

◆ SetSliceImage()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
virtual void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SetSliceImage ( SliceImageType * _arg)
virtual

Set/Get the Slice Image. This image is used to find the relative pixel location locations within an image. Its size must be the same size as the the size in the corresponding dimenions of this image. The pixel values in this image are not used.

◆ SetSliceTransform()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::SetSliceTransform ( IndexValueType sliceIndex,
TransformType * transform )

◆ TransformContinuousIndexToPhysicalPoint() [1/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep, typename TIndexRep>
Point< TCoordRep, VDimension > itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformContinuousIndexToPhysicalPoint ( const ContinuousIndex< TIndexRep, VDimension > & index) const
inline

Returns a physical point (in the space which the origin and spacing information comes from) from a continuous index (in the index space)

See also
Transform

Definition at line 527 of file itkSliceSeriesSpecialCoordinatesImage.h.

References TransformContinuousIndexToPhysicalPoint().

◆ TransformContinuousIndexToPhysicalPoint() [2/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep, typename TIndexRep>
void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformContinuousIndexToPhysicalPoint ( const ContinuousIndex< TIndexRep, VDimension > & index,
Point< TCoordRep, VDimension > & point ) const
inline

Get a physical point (in the space which the origin and spacing information comes from) from a continuous index (in the index space)

See also
Transform

Definition at line 446 of file itkSliceSeriesSpecialCoordinatesImage.h.

References itk::Math::Ceil(), itk::FixedArray< TValue, VLength >::Fill(), itk::Math::Floor(), itk::ImageBase< 2 >::GetLargestPossibleRegion(), GetSliceTransform(), ImageDimension, and m_SliceImage.

Referenced by TransformContinuousIndexToPhysicalPoint().

◆ TransformIndexToPhysicalPoint() [1/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep>
Point< TCoordRep, VDimension > itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformIndexToPhysicalPoint ( const IndexType & index) const
inline

Returns a physical point (in the space which the origin and spacing information comes from) from a discrete index (in the index space)

See also
Transform

Definition at line 589 of file itkSliceSeriesSpecialCoordinatesImage.h.

References TransformIndexToPhysicalPoint().

◆ TransformIndexToPhysicalPoint() [2/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep>
void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformIndexToPhysicalPoint ( const IndexType & index,
Point< TCoordRep, VDimension > & point ) const
inline

Get a physical point (in the space which the origin and spacing information comes from) from a discrete index (in the index space)

See also
Transform

Definition at line 541 of file itkSliceSeriesSpecialCoordinatesImage.h.

References itk::FixedArray< TValue, VLength >::Fill(), itk::ImageBase< 2 >::GetLargestPossibleRegion(), GetSliceTransform(), ImageDimension, and m_SliceImage.

Referenced by TransformIndexToPhysicalPoint().

◆ TransformLocalVectorToPhysicalVector()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep>
void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformLocalVectorToPhysicalVector ( FixedArray< TCoordRep, VDimension > & ) const
inline

Definition at line 598 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ TransformPhysicalPointToContinuousIndex() [1/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TIndexRep, typename TCoordRep>
ContinuousIndex< TIndexRep, VDimension > itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformPhysicalPointToContinuousIndex ( const Point< TCoordRep, VDimension > & point) const
inline

Returns the continuous index from a physical point.

Note
This specific overload does not figure out whether or not the returned index is inside the image. Of course, the user can still test this afterwards by calling ImageRegion::IsInside(index):
auto index = image->TransformPhysicalPointToContinuousIndex<double>(point);
if (image->GetLargestPossibleRegion().IsInside(index)) // Et cetera...
Which is equivalent to the following code, which calls the other overload:
if (image->TransformPhysicalPointToContinuousIndex(point, index)) // Et cetera...
A templated class holding a point in n-Dimensional image space.
See also
Transform

Definition at line 304 of file itkSliceSeriesSpecialCoordinatesImage.h.

References TransformPhysicalPointToContinuousIndex().

◆ TransformPhysicalPointToContinuousIndex() [2/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep, typename TIndexRep>
bool itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformPhysicalPointToContinuousIndex ( const Point< TCoordRep, VDimension > & point,
ContinuousIndex< TIndexRep, VDimension > & index ) const
inline

Get the continuous index from a physical point.

Returns true if the resulting index is within the image, false otherwise.

See also
Transform

Definition at line 187 of file itkSliceSeriesSpecialCoordinatesImage.h.

References itk::ImageBase< 2 >::GetLargestPossibleRegion(), GetSliceInverseTransform(), ImageDimension, m_SliceImage, itk::Math::sgn(), and TransformPhysicalPointToContinuousIndex().

Referenced by TransformPhysicalPointToContinuousIndex(), and TransformPhysicalPointToContinuousIndex().

◆ TransformPhysicalPointToIndex() [1/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep>
IndexType itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformPhysicalPointToIndex ( const Point< TCoordRep, VDimension > & point) const
inline

Returns the index (discrete) of a voxel from a physical point. Floating point index results are rounded to integers

Note
This specific overload does not figure out whether or not the returned index is inside the image. Of course, the user can still test this afterwards by calling ImageRegion::IsInside(index):
auto index = image->TransformPhysicalPointToIndex(point);
if (image->GetLargestPossibleRegion().IsInside(index)) // Et cetera...
Which is equivalent to the following code, which calls the other overload:
IndexType index;
if (image->TransformPhysicalPointToIndex(point, index)) // Et cetera...
See also
Transform

Definition at line 433 of file itkSliceSeriesSpecialCoordinatesImage.h.

References TransformPhysicalPointToIndex().

◆ TransformPhysicalPointToIndex() [2/2]

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep>
bool itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformPhysicalPointToIndex ( const Point< TCoordRep, VDimension > & point,
IndexType & index ) const
inline

Get the index (discrete) from a physical point. Floating point index results are truncated to integers. Returns true if the resulting index is within the image, false otherwise

See also
Transform

Definition at line 317 of file itkSliceSeriesSpecialCoordinatesImage.h.

References itk::ImageBase< 2 >::GetLargestPossibleRegion(), GetSliceInverseTransform(), ImageDimension, m_SliceImage, itk::Math::RoundHalfIntegerUp(), and itk::Math::sgn().

Referenced by TransformPhysicalPointToIndex().

◆ TransformPhysicalVectorToLocalVector()

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
template<typename TCoordRep>
void itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::TransformPhysicalVectorToLocalVector ( const FixedArray< TCoordRep, VDimension > & ,
FixedArray< TCoordRep, VDimension > &  ) const
inline

Definition at line 603 of file itkSliceSeriesSpecialCoordinatesImage.h.

Member Data Documentation

◆ ImageDimension

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
unsigned int itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::ImageDimension = VDimension
staticconstexpr

Dimension of the image. This constant is used by functions that are templated over image type (as opposed to being templated over pixel type and dimension) when they need compile time access to the dimension of the image.

Definition at line 116 of file itkSliceSeriesSpecialCoordinatesImage.h.

Referenced by TransformContinuousIndexToPhysicalPoint(), TransformIndexToPhysicalPoint(), TransformPhysicalPointToContinuousIndex(), and TransformPhysicalPointToIndex().

◆ m_SliceImage

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
SliceImageType::Pointer itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::m_SliceImage
private

◆ m_SliceInverseTransforms

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
SliceTransformsType::Pointer itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::m_SliceInverseTransforms
private

Definition at line 658 of file itkSliceSeriesSpecialCoordinatesImage.h.

◆ m_SliceTransforms

template<typename TSliceImage, typename TTransform, typename TPixel = typename TSliceImage::PixelType, unsigned int VDimension = TSliceImage::ImageDimension + 1>
SliceTransformsType::Pointer itk::SliceSeriesSpecialCoordinatesImage< TSliceImage, TTransform, TPixel, VDimension >::m_SliceTransforms
private

Definition at line 657 of file itkSliceSeriesSpecialCoordinatesImage.h.


The documentation for this class was generated from the following file: