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

#include <itkCurvilinearArraySpecialCoordinatesImage.h>

Detailed Description

template<typename TPixel, unsigned int VDimension>
class itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >

Templated 2D nonrectilinear-coordinate image class for curvilinear/phased-array "range" images.

*
*                             +---------------------> x-axis
*                             |\
*                          /  | \
*                             |-~\
*                       /     |   \
*                             |    \
*                    /        |     \
*                             | lateral
*                             |
*                             v y-axis
*
* 

The equations form performing the conversion from Cartesian coordinates to curvilinear/phased array coordinates are as follows:

lateral = arctan(x/y) radius = std::sqrt(x^2 + y^2)

The reversed transforms are:

x = radius * std::sin(lateral) y = radius * std::cos(lateral)

CurvilinearArraySpecialCoordinatesImages are templated over a pixel type and follow the SpecialCoordinatesImage interface. The data in an image is arranged in a 1D array as [lateral-index][radius-index] with radius-index varying most rapidly. The Index type reverses the order so that Index[0] = radius-index, Index[1] = lateral-index.

Lateral is discretized into m_LateralAngularSeparation intervals per angular voxel, the most negative lateral interval containing data is then mapped to lateral-index=0, and the largest lateral interval containing data is then mapped to lateral-index=( number of samples along lateral axis - 1 ). Elevation is discretized in the same manner. This way, the mapping to Cartesian space is symmetric about the x axis such that the line defined by lateral/2 = x-axis. Radius is discretized into m_RadiusSampleSize units per angular voxel. The smallest range interval containing data is then mapped to radius-index=0, such that radius = m_FirstSampleDistance + (radius-index * m_RadiusSampleSize).

See also
SpecialCoordinatesImage
PhasedArray3DSpecialCoordinatesImage
SliceSeriesSpecialCoordinatesImage

Definition at line 88 of file itkCurvilinearArraySpecialCoordinatesImage.h.

+ Inheritance diagram for itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >:
+ Collaboration diagram for itk::CurvilinearArraySpecialCoordinatesImage< 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 = CurvilinearArraySpecialCoordinatesImage
 
using SizeType = typename Superclass::SizeType
 
using SizeValueType = typename Superclass::SizeValueType
 
using SpacingType = typename Superclass::SpacingType
 
using Superclass = SpecialCoordinatesImage<TPixel, VDimension>
 
using ValueType = TPixel
 
- Public Types inherited from itk::SpecialCoordinatesImage< TPixel, VDimension >
using AccessorFunctorType
 
using AccessorType
 
using ConstPointer
 
using ConstWeakPointer
 
typedef Index< VImageDimension > IndexType
 
using IndexType
 
using InternalPixelType
 
using IOPixelType
 
typedef Offset< VImageDimension > OffsetType
 
using OffsetType
 
using PixelContainer
 
using PixelContainerConstPointer
 
using PixelContainerPointer
 
using PixelType
 
using Pointer
 
typedef Point< PointValueType, VImageDimension > PointType
 
using PointType
 
typedef ImageRegion< VImageDimension > RegionType
 
using RegionType
 
using Self
 
typedef Size< VImageDimension > SizeType
 
using SizeType
 
typedef Vector< SpacingValueType, VImageDimension > SpacingType
 
using SpacingType
 
using Superclass
 
using ValueType
 
- Public Types inherited from itk::ImageBase< VImageDimension >
using ConstPointer
 
using ConstPointer
 
using DirectionType
 
using DirectionType
 
using ImageDimensionType
 
using ImageDimensionType
 
using IndexType
 
using IndexType
 
using IndexValueType
 
using IndexValueType
 
using OffsetType
 
using OffsetType
 
using OffsetValueType
 
using OffsetValueType
 
using Pointer
 
using Pointer
 
using PointType
 
using PointType
 
using PointValueType
 
using PointValueType
 
using RegionType
 
using RegionType
 
using Self
 
using Self
 
using SizeType
 
using SizeType
 
using SizeValueType
 
using SizeValueType
 
using SpacingType
 
using SpacingType
 
using SpacingValueType
 
using SpacingValueType
 
using Superclass
 
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 double GetFirstSampleDistance () const
 
virtual double GetLateralAngularSeparation () const
 
virtual const char * GetNameOfClass () const
 
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor ()
 
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor () const
 
AccessorType GetPixelAccessor (void)
 
const AccessorType GetPixelAccessor (void) const
 
virtual double GetRadiusSampleSize () const
 
void Graft (const ImageBase< VDimension > *image) override
 
virtual void SetFirstSampleDistance (double _arg)
 
virtual void SetLateralAngularSeparation (double _arg)
 
virtual void SetRadiusSampleSize (double _arg)
 
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, VDimension >
void Allocate (bool initialize=false) override
 
void Allocate (bool initialize=false) override
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
void FillBuffer (const TPixel &value)
 
void FillBuffer (const TPixel &value)
 
TPixel & GetPixel (const IndexType &index)
 
TPixel & GetPixel (const IndexType &index)
 
const TPixel & GetPixel (const IndexType &index) const
 
const TPixel & GetPixel (const IndexType &index) const
 
AccessorType GetPixelAccessor ()
 
AccessorType GetPixelAccessor ()
 
const AccessorType GetPixelAccessor () const
 
const AccessorType GetPixelAccessor () const
 
PixelContainer * GetPixelContainer ()
 
PixelContainer * GetPixelContainer ()
 
const PixelContainer * GetPixelContainer () const
 
const PixelContainer * GetPixelContainer () const
 
void Initialize () override
 
void Initialize () override
 
TPixel & operator[] (const IndexType &index)
 
TPixel & operator[] (const IndexType &index)
 
const TPixel & operator[] (const IndexType &index) const
 
const TPixel & operator[] (const IndexType &index) const
 
void SetPixel (const IndexType &index, const TPixel &value)
 
void SetPixel (const IndexType &index, const TPixel &value)
 
void SetPixelContainer (PixelContainer *container)
 
void SetPixelContainer (PixelContainer *container)
 
TPixel * GetBufferPointer ()
 
const TPixel * GetBufferPointer () const
 
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
 
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< VImageDimension >
void AllocateInitialized ()
 
void AllocateInitialized ()
 
IndexType ComputeIndex (OffsetValueType offset) const
 
IndexType ComputeIndex (OffsetValueType offset) const
 
OffsetValueType ComputeOffset (const IndexType &ind) const
 
OffsetValueType ComputeOffset (const IndexType &ind) const
 
void CopyInformation (const DataObject *data) override
 
void CopyInformation (const DataObject *data) override
 
virtual const RegionType & GetBufferedRegion () const
 
virtual const RegionType & GetBufferedRegion () const
 
virtual const DirectionType & GetInverseDirection () const
 
virtual const DirectionType & GetInverseDirection () const
 
virtual const RegionType & GetLargestPossibleRegion () const
 
virtual const RegionType & GetLargestPossibleRegion () const
 
const OffsetValueType * GetOffsetTable () const
 
const OffsetValueType * GetOffsetTable () const
 
virtual const RegionType & GetRequestedRegion () const
 
virtual const RegionType & GetRequestedRegion () const
 
virtual void Graft (const Self *image)
 
virtual void Graft (const Self *image)
 
bool IsCongruentImageGeometry (const ImageBase *otherImage, double coordinateTolerance, double directionTolerance) const
 
bool IsCongruentImageGeometry (const ImageBase *otherImage, double coordinateTolerance, double directionTolerance) const
 
bool IsSameImageGeometryAs (const ImageBase *otherImage, double coordinateTolerance=DefaultImageCoordinateTolerance, double directionTolerance=DefaultImageDirectionTolerance) const
 
bool IsSameImageGeometryAs (const ImageBase *otherImage, double coordinateTolerance=DefaultImageCoordinateTolerance, double directionTolerance=DefaultImageDirectionTolerance) const
 
 itkVirtualGetConstReferenceMacro (Direction, DirectionType)
 
 itkVirtualGetConstReferenceMacro (Direction, DirectionType)
 
 itkVirtualGetConstReferenceMacro (Origin, PointType)
 
 itkVirtualGetConstReferenceMacro (Origin, PointType)
 
 itkVirtualGetConstReferenceMacro (Spacing, SpacingType)
 
 itkVirtualGetConstReferenceMacro (Spacing, SpacingType)
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual void SetDirection (const DirectionType &direction)
 
virtual void SetDirection (const DirectionType &direction)
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
void SetRequestedRegion (const DataObject *data) override
 
void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual void SetRequestedRegion (const RegionType &region)
 
void SetRequestedRegionToLargestPossibleRegion () override
 
void SetRequestedRegionToLargestPossibleRegion () override
 
Point< TCoordinate, VImageDimension > TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
Point< TCoordinate, VImageDimension > TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordinate, VImageDimension > &point) const
 
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordinate, VImageDimension > &point) const
 
Point< TCoordinate, VImageDimension > TransformIndexToPhysicalPoint (const IndexType &index) const
 
Point< TCoordinate, VImageDimension > TransformIndexToPhysicalPoint (const IndexType &index) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const
 
TVector TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const
 
TVector TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const
 
ContinuousIndex< TIndexRep, VImageDimension > TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point) const
 
ContinuousIndex< TIndexRep, VImageDimension > TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
IndexType TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) const
 
IndexType TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point, IndexType &index) const
 
bool TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point, IndexType &index) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const
 
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const
 
TVector TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const
 
TVector TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const
 
void UpdateOutputData () override
 
void UpdateOutputData () override
 
void UpdateOutputInformation () override
 
void UpdateOutputInformation () override
 
bool VerifyRequestedRegion () override
 
bool VerifyRequestedRegion () override
 
 itkVirtualSetMacro (Origin, PointType)
 
 itkVirtualSetMacro (Origin, PointType)
 
virtual void SetRegions (const RegionType &region)
 
virtual void SetRegions (const SizeType &size)
 
virtual void SetRegions (const RegionType &region)
 
virtual void SetRegions (const SizeType &size)
 
virtual unsigned int GetNumberOfComponentsPerPixel () const
 
virtual void SetNumberOfComponentsPerPixel (unsigned int)
 
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, VDimension >
static Pointer New ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageBase< VImageDimension >
static constexpr unsigned int GetImageDimension ()
 
static constexpr unsigned int GetImageDimension ()
 
static Pointer New ()
 
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, VDimension >
static constexpr unsigned int ImageDimension
 
static constexpr unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::ImageBase< VImageDimension >
static constexpr ImageDimensionType ImageDimension
 
static constexpr ImageDimensionType ImageDimension
 

Protected Member Functions

 CurvilinearArraySpecialCoordinatesImage ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~CurvilinearArraySpecialCoordinatesImage () override=default
 
- Protected Member Functions inherited from itk::SpecialCoordinatesImage< TPixel, VDimension >
void PrintSelf (std::ostream &os, Indent indent) const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 SpecialCoordinatesImage ()=default
 
 SpecialCoordinatesImage ()=default
 
 ~SpecialCoordinatesImage () override=default
 
 ~SpecialCoordinatesImage () override=default
 
- Protected Member Functions inherited from itk::ImageBase< VImageDimension >
virtual void ComputeIndexToPhysicalPointMatrices ()
 
virtual void ComputeIndexToPhysicalPointMatrices ()
 
void ComputeOffsetTable ()
 
void ComputeOffsetTable ()
 
IndexType FastComputeIndex (OffsetValueType offset) const
 
IndexType FastComputeIndex (OffsetValueType offset) const
 
OffsetValueType FastComputeOffset (const IndexType &ind) const
 
OffsetValueType FastComputeOffset (const IndexType &ind) const
 
void Graft (const DataObject *data) override
 
void Graft (const DataObject *data) override
 
 ImageBase ()=default
 
 ImageBase ()=default
 
virtual void InitializeBufferedRegion ()
 
virtual void InitializeBufferedRegion ()
 
 ~ImageBase () override=default
 
 ~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 Attributes

double m_FirstSampleDistance
 
double m_LateralAngularSeparation
 
double m_RadiusSampleSize
 

Additional Inherited Members

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

Member Typedef Documentation

◆ AccessorFunctorType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< 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 128 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ AccessorType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::AccessorType = DefaultPixelAccessor<PixelType>

Accessor type that convert data between internal and external representations.

Definition at line 123 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ ConstPointer

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 97 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ ConstWeakPointer

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::ConstWeakPointer = WeakPointer<const Self>

Definition at line 98 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ IndexType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::IndexType = typename Superclass::IndexType

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

Definition at line 141 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ IndexValueType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::IndexValueType = typename Superclass::IndexValueType

◆ InternalPixelType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< 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 117 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ IOPixelType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::IOPixelType = typename Superclass::IOPixelType

◆ NeighborhoodAccessorFunctorType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor<Self>

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

Definition at line 132 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ OffsetType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::OffsetType = typename Superclass::OffsetType

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

Definition at line 145 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ PixelContainer

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::PixelContainer = ImportImageContainer<SizeValueType, PixelType>

Container used to store pixels in the image.

Definition at line 152 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ PixelContainerConstPointer

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::PixelContainerConstPointer = typename PixelContainer::ConstPointer

◆ PixelContainerPointer

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::PixelContainerPointer = typename PixelContainer::Pointer

A pointer to the pixel container.

Definition at line 174 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ PixelType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::PixelType = TPixel

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

Definition at line 108 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ Pointer

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::Pointer = SmartPointer<Self>

Definition at line 96 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ PointType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< 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 171 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ RegionType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::RegionType = typename Superclass::RegionType

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

Definition at line 157 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ Self

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::Self = CurvilinearArraySpecialCoordinatesImage

Standard class type alias

Definition at line 94 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ SizeType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::SizeType = typename Superclass::SizeType

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

Definition at line 148 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ SizeValueType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::SizeValueType = typename Superclass::SizeValueType

◆ SpacingType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< 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 165 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ Superclass

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::Superclass = SpecialCoordinatesImage<TPixel, VDimension>

Definition at line 95 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ ValueType

template<typename TPixel, unsigned int VDimension>
using itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::ValueType = TPixel

Typedef alias for PixelType

Definition at line 111 of file itkCurvilinearArraySpecialCoordinatesImage.h.

Constructor & Destructor Documentation

◆ CurvilinearArraySpecialCoordinatesImage()

template<typename TPixel, unsigned int VDimension>
itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::CurvilinearArraySpecialCoordinatesImage ( )
inlineprotected

◆ ~CurvilinearArraySpecialCoordinatesImage()

template<typename TPixel, unsigned int VDimension>
itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::~CurvilinearArraySpecialCoordinatesImage ( )
overrideprotecteddefault

Member Function Documentation

◆ CopyInformation()

template<typename TPixel, unsigned int VDimension>
virtual void itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::CopyInformation ( const DataObject * )
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. The default implementation of this method is empty. If a subclass overrides this method, it should always call its superclass' version.

Reimplemented from itk::DataObject.

◆ CreateAnother()

template<typename TPixel, unsigned int VDimension>
virtual::itk::LightObject::Pointer itk::CurvilinearArraySpecialCoordinatesImage< 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::LightObject.

◆ GetFirstSampleDistance()

template<typename TPixel, unsigned int VDimension>
virtual double itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetFirstSampleDistance ( ) const
virtual

◆ GetLateralAngularSeparation()

template<typename TPixel, unsigned int VDimension>
virtual double itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetLateralAngularSeparation ( ) const
virtual

◆ GetNameOfClass()

template<typename TPixel, unsigned int VDimension>
virtual const char * itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

References CurvilinearArraySpecialCoordinatesImage().

◆ GetNeighborhoodAccessor() [1/2]

template<typename TPixel, unsigned int VDimension>
NeighborhoodAccessorFunctorType itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetNeighborhoodAccessor ( )
inline

Return the NeighborhoodAccessor functor

Definition at line 441 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ GetNeighborhoodAccessor() [2/2]

template<typename TPixel, unsigned int VDimension>
const NeighborhoodAccessorFunctorType itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetNeighborhoodAccessor ( ) const
inline

Return the NeighborhoodAccessor functor

Definition at line 448 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ GetPixelAccessor() [1/2]

template<typename TPixel, unsigned int VDimension>
AccessorType itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetPixelAccessor ( void )
inline

Return the Pixel Accessor object

Definition at line 427 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ GetPixelAccessor() [2/2]

template<typename TPixel, unsigned int VDimension>
const AccessorType itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetPixelAccessor ( void ) const
inline

Return the Pixel Accesor object

Definition at line 434 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ GetRadiusSampleSize()

template<typename TPixel, unsigned int VDimension>
virtual double itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::GetRadiusSampleSize ( ) const
virtual

◆ Graft()

template<typename TPixel, unsigned int VDimension>
void itk::CurvilinearArraySpecialCoordinatesImage< 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 TPixel, unsigned int VDimension>
static Pointer itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TPixel, unsigned int VDimension>
virtual void itk::CurvilinearArraySpecialCoordinatesImage< 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::LightObject.

◆ SetFirstSampleDistance()

template<typename TPixel, unsigned int VDimension>
virtual void itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::SetFirstSampleDistance ( double _arg)
virtual

Set the distance to add to the radius.

◆ SetLateralAngularSeparation()

template<typename TPixel, unsigned int VDimension>
virtual void itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::SetLateralAngularSeparation ( double _arg)
virtual

Set/Get the number of radians between each lateral unit.

◆ SetRadiusSampleSize()

template<typename TPixel, unsigned int VDimension>
virtual void itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::SetRadiusSampleSize ( double _arg)
virtual

Set/Get the number of cartesian units between each unit along the R .

◆ TransformContinuousIndexToPhysicalPoint() [1/2]

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep, typename TIndexRep>
Point< TCoordRep, VDimension > itk::CurvilinearArraySpecialCoordinatesImage< 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 352 of file itkCurvilinearArraySpecialCoordinatesImage.h.

References TransformContinuousIndexToPhysicalPoint().

◆ TransformContinuousIndexToPhysicalPoint() [2/2]

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep, typename TIndexRep>
void itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::TransformContinuousIndexToPhysicalPoint ( const ContinuousIndex< TIndexRep, VDimension > & index,
Point< TCoordRep, VDimension > & point ) const
inline

◆ TransformIndexToPhysicalPoint() [1/2]

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep>
Point< TCoordRep, VDimension > itk::CurvilinearArraySpecialCoordinatesImage< 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 395 of file itkCurvilinearArraySpecialCoordinatesImage.h.

References TransformIndexToPhysicalPoint().

◆ TransformIndexToPhysicalPoint() [2/2]

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep>
void itk::CurvilinearArraySpecialCoordinatesImage< 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 366 of file itkCurvilinearArraySpecialCoordinatesImage.h.

References itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), m_FirstSampleDistance, itk::ImageBase< VImageDimension >::m_IndexToPhysicalPoint, m_LateralAngularSeparation, itk::ImageBase< VImageDimension >::m_Origin, and m_RadiusSampleSize.

Referenced by TransformIndexToPhysicalPoint().

◆ TransformLocalVectorToPhysicalVector()

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep>
void itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::TransformLocalVectorToPhysicalVector ( FixedArray< TCoordRep, VDimension > & ) const
inline

◆ TransformPhysicalPointToContinuousIndex() [1/2]

template<typename TPixel, unsigned int VDimension>
template<typename TIndexRep, typename TCoordRep>
ContinuousIndex< TIndexRep, VDimension > itk::CurvilinearArraySpecialCoordinatesImage< 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 247 of file itkCurvilinearArraySpecialCoordinatesImage.h.

References TransformPhysicalPointToContinuousIndex().

◆ TransformPhysicalPointToContinuousIndex() [2/2]

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep, typename TIndexRep>
bool itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::TransformPhysicalPointToContinuousIndex ( const Point< TCoordRep, VDimension > & point,
ContinuousIndex< TIndexRep, VDimension > & index ) const
inline

◆ TransformPhysicalPointToIndex() [1/2]

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep>
IndexType itk::CurvilinearArraySpecialCoordinatesImage< 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 309 of file itkCurvilinearArraySpecialCoordinatesImage.h.

References TransformPhysicalPointToIndex().

◆ TransformPhysicalPointToIndex() [2/2]

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep>
bool itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::TransformPhysicalPointToIndex ( const Point< TCoordRep, VDimension > & point,
IndexType & index ) const
inline

◆ TransformPhysicalVectorToLocalVector()

template<typename TPixel, unsigned int VDimension>
template<typename TCoordRep>
void itk::CurvilinearArraySpecialCoordinatesImage< TPixel, VDimension >::TransformPhysicalVectorToLocalVector ( const FixedArray< TCoordRep, VDimension > & ,
FixedArray< TCoordRep, VDimension > &  ) const
inline

Member Data Documentation

◆ ImageDimension

template<typename TPixel, unsigned int VDimension>
unsigned int itk::CurvilinearArraySpecialCoordinatesImage< 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 138 of file itkCurvilinearArraySpecialCoordinatesImage.h.

◆ m_FirstSampleDistance

◆ m_LateralAngularSeparation

◆ m_RadiusSampleSize


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