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

#include <itkPhasedArray3DSpecialCoordinatesImage.h>

Detailed Description

template<typename TPixel>
class itk::PhasedArray3DSpecialCoordinatesImage< TPixel >

Templated 3D nonrectilinear-coordinate image class for phased-array "range" images.

*
* y-axis <--------------------+
*                             |\
*                          /  | \
*                          `~-|  \
*                       /     |   \
*                        ele- |    \
*                    / vation |     \
* projection                  |      v x-axis
* to y-z plane -> o           |
*                             v z-axis
*
* 

In a phased array "range" image, a point in space is represented by the angle between its projection onto the x-z plane and the z-axis (the azimuth coordinate), the angle between its projection onto the y-z plane and the z-axis (the elevation coordinate), and by its distance from the origin (the radius). See the diagram above, which illustrates elevation.

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

azimuth = arctan(x/y) elevation = arctan(y/z) radius = std::sqrt(x^2 + y^2 + z^2)

The reversed transforms are:

z = radius / std::sqrt(1 + (tan(azimuth))^2 + (tan(elevation))^2 ); x = z * std::tan(azimuth) y = z * std::tan(elevation)

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

Azimuth is discretized into m_AzimuthAngularSeparation intervals per angular voxel, the most negative azimuth interval containing data is then mapped to azimuth-index=0, and the largest azimuth interval containing data is then mapped to azimuth-index=( number of samples along azimuth axis - 1 ). Elevation is discretized in the same manner. This way, the mapping to Cartesian space is symmetric about the z axis such that the line defined by azimuth/2,elevation/2 = z-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

Definition at line 95 of file itkPhasedArray3DSpecialCoordinatesImage.h.

+ Inheritance diagram for itk::PhasedArray3DSpecialCoordinatesImage< TPixel >:
+ Collaboration diagram for itk::PhasedArray3DSpecialCoordinatesImage< TPixel >:

Public Types

using AccessorFunctorType = DefaultPixelAccessorFunctor<Self>
 
using AccessorType = DefaultPixelAccessor<PixelType>
 
using ConstPointer = SmartPointer<const Self>
 
using ConstWeakPointer = WeakPointer<const Self>
 
using InternalPixelType = TPixel
 
using IOPixelType
 
using NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor<Self>
 
using PixelContainer = ImportImageContainer<SizeValueType, PixelType>
 
using PixelContainerConstPointer = typename PixelContainer::ConstPointer
 
using PixelContainerPointer = typename PixelContainer::Pointer
 
using PixelType = TPixel
 
using Pointer = SmartPointer<Self>
 
using Self = PhasedArray3DSpecialCoordinatesImage
 
using Superclass = SpecialCoordinatesImage<TPixel, 3>
 
using ValueType = TPixel
 
- Public Types inherited from itk::SpecialCoordinatesImage< TPixel, 3 >
using AccessorFunctorType
 
using AccessorFunctorType
 
using AccessorType
 
using AccessorType
 
using ConstPointer
 
using ConstPointer
 
using ConstWeakPointer
 
using ConstWeakPointer
 
typedef Index< VImageDimension > IndexType
 
using IndexType
 
using InternalPixelType
 
using InternalPixelType
 
using IOPixelType
 
using IOPixelType
 
typedef Offset< VImageDimension > OffsetType
 
using OffsetType
 
using PixelContainer
 
using PixelContainer
 
using PixelContainerConstPointer
 
using PixelContainerConstPointer
 
using PixelContainerPointer
 
using PixelContainerPointer
 
using PixelType
 
using PixelType
 
using Pointer
 
using Pointer
 
typedef Point< PointValueType, VImageDimension > PointType
 
using PointType
 
typedef ImageRegion< VImageDimension > RegionType
 
using RegionType
 
using Self
 
using Self
 
typedef Size< VImageDimension > SizeType
 
using SizeType
 
typedef Vector< SpacingValueType, VImageDimension > SpacingType
 
using SpacingType
 
using Superclass
 
using Superclass
 
using ValueType
 
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::itk::LightObject::Pointer CreateAnother () const
 
const char * GetNameOfClass () const override
 
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor ()
 
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor () const
 
AccessorType GetPixelAccessor ()
 
const AccessorType GetPixelAccessor () const
 
virtual void SetAzimuthAngularSeparation (double _arg)
 
virtual void SetElevationAngularSeparation (double _arg)
 
virtual void SetFirstSampleDistance (double _arg)
 
virtual void SetRadiusSampleSize (double _arg)
 
template<typename TCoordinate>
void TransformLocalVectorToPhysicalVector (FixedArray< TCoordinate, 3 > &) const
 
template<typename TCoordinate, typename TIndexRep>
bool TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, 3 > &point, ContinuousIndex< TIndexRep, 3 > &index) const
 
template<typename TCoordinate>
bool TransformPhysicalPointToIndex (const Point< TCoordinate, 3 > &point, IndexType &index) const
 
template<typename TCoordinate>
void TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, 3 > &, FixedArray< TCoordinate, 3 > &) const
 
template<typename TIndexRep, typename TCoordinate>
ContinuousIndex< TIndexRep, 3 > TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, 3 > &point) const
 
template<typename TCoordinate>
IndexType TransformPhysicalPointToIndex (const Point< TCoordinate, 3 > &point) const
 
template<typename TCoordinate, typename TIndexRep>
void TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, 3 > &index, Point< TCoordinate, 3 > &point) const
 
template<typename TCoordinate, typename TIndexRep>
Point< TCoordinate, 3 > TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, 3 > &index) const
 
template<typename TCoordinate>
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, 3 > &point) const
 
template<typename TCoordinate>
Point< TCoordinate, 3 > TransformIndexToPhysicalPoint (const IndexType &index) const
 
- Public Member Functions inherited from itk::SpecialCoordinatesImage< TPixel, 3 >
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)
 
const char * GetNameOfClass () const override
 
const char * GetNameOfClass () const override
 
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
 
PixelContainerGetPixelContainer ()
 
PixelContainerGetPixelContainer ()
 
const PixelContainerGetPixelContainer () const
 
const PixelContainerGetPixelContainer () 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 ()
 
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 RegionTypeGetBufferedRegion () const
 
virtual const RegionTypeGetBufferedRegion () const
 
virtual const DirectionTypeGetDirection () const
 
virtual const DirectionTypeGetDirection () const
 
virtual const DirectionTypeGetInverseDirection () const
 
virtual const DirectionTypeGetInverseDirection () const
 
virtual const RegionTypeGetLargestPossibleRegion () const
 
virtual const RegionTypeGetLargestPossibleRegion () const
 
virtual const PointTypeGetOrigin () const
 
virtual const PointTypeGetOrigin () const
 
virtual const RegionTypeGetRequestedRegion () const
 
virtual const RegionTypeGetRequestedRegion () const
 
virtual const SpacingTypeGetSpacing () const
 
virtual const SpacingTypeGetSpacing () 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
 
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)
 
virtual void SetRegions (const SizeType &size)
 
virtual void SetRegions (const SizeType &size)
 
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
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const
 
void TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) 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
 
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
 
void UpdateOutputData () override
 
void UpdateOutputData () override
 
void UpdateOutputInformation () override
 
void UpdateOutputInformation () override
 
bool VerifyRequestedRegion () override
 
bool VerifyRequestedRegion () override
 
virtual void SetRegions (const RegionType &region)
 
virtual void SetRegions (const RegionType &region)
 
const OffsetValueTypeGetOffsetTable () const
 
const OffsetValueTypeGetOffsetTable () const
 
IndexType ComputeIndex (OffsetValueType offset) const
 
IndexType ComputeIndex (OffsetValueType offset) const
 
IndexType TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) const
 
IndexType TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) 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 > TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
Point< TCoordinate, VImageDimension > TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const
 
void TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const
 
Point< TCoordinate, VImageDimension > TransformIndexToPhysicalPoint (const IndexType &index) const
 
Point< TCoordinate, VImageDimension > TransformIndexToPhysicalPoint (const IndexType &index) const
 
TVector TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const
 
TVector TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const
 
TVector TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const
 
TVector TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const
 
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< ProcessObjectGetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () 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 ModifiedTimeTypeGetPipelineMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () 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
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () 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, 3 >
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 = 3
 
- Static Public Attributes inherited from itk::SpecialCoordinatesImage< TPixel, 3 >
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

 PhasedArray3DSpecialCoordinatesImage ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~PhasedArray3DSpecialCoordinatesImage () override=default
 
- Protected Member Functions inherited from itk::SpecialCoordinatesImage< TPixel, 3 >
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 ()
 
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
 
OffsetValueType FastComputeOffset (const IndexType &ind) const
 
OffsetValueType FastComputeOffset (const IndexType &ind) const
 
IndexType FastComputeIndex (OffsetValueType offset) const
 
IndexType FastComputeIndex (OffsetValueType offset) const
 
- 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_AzimuthAngularSeparation {}
 
double m_ElevationAngularSeparation {}
 
double m_FirstSampleDistance {}
 
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>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::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 135 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ AccessorType

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::AccessorType = DefaultPixelAccessor<PixelType>

Accessor type that convert data between internal and external representations.

Definition at line 130 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ ConstPointer

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::ConstPointer = SmartPointer<const Self>

Definition at line 104 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ ConstWeakPointer

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::ConstWeakPointer = WeakPointer<const Self>

Definition at line 105 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ InternalPixelType

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::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 124 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ IOPixelType

template<typename TPixel>
using itk::SpecialCoordinatesImage< TPixel, VImageDimension >::IOPixelType

Definition at line 126 of file itkSpecialCoordinatesImage.h.

◆ NeighborhoodAccessorFunctorType

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::NeighborhoodAccessorFunctorType = NeighborhoodAccessorFunctor<Self>

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

Definition at line 139 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ PixelContainer

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::PixelContainer = ImportImageContainer<SizeValueType, PixelType>

Container used to store pixels in the image.

Definition at line 159 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ PixelContainerConstPointer

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::PixelContainerConstPointer = typename PixelContainer::ConstPointer

Definition at line 182 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ PixelContainerPointer

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::PixelContainerPointer = typename PixelContainer::Pointer

A pointer to the pixel container.

Definition at line 181 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ PixelType

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::PixelType = TPixel

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

Definition at line 115 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ Pointer

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::Pointer = SmartPointer<Self>

Definition at line 103 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ Self

Standard class type aliases

Definition at line 101 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ Superclass

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::Superclass = SpecialCoordinatesImage<TPixel, 3>

Definition at line 102 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ ValueType

template<typename TPixel>
using itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::ValueType = TPixel

Typedef alias for PixelType

Definition at line 118 of file itkPhasedArray3DSpecialCoordinatesImage.h.

Constructor & Destructor Documentation

◆ PhasedArray3DSpecialCoordinatesImage()

template<typename TPixel>
itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::PhasedArray3DSpecialCoordinatesImage ( )
inlineprotected

◆ ~PhasedArray3DSpecialCoordinatesImage()

template<typename TPixel>
itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::~PhasedArray3DSpecialCoordinatesImage ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TPixel>
virtual::itk::LightObject::Pointer itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::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< VImageDimension >.

◆ GetNameOfClass()

template<typename TPixel>
const char * itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::GetNameOfClass ( ) const
overridevirtual

◆ GetNeighborhoodAccessor() [1/2]

template<typename TPixel>
NeighborhoodAccessorFunctorType itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::GetNeighborhoodAccessor ( )
inline

Return the NeighborhoodAccessor functor

Definition at line 401 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ GetNeighborhoodAccessor() [2/2]

template<typename TPixel>
const NeighborhoodAccessorFunctorType itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::GetNeighborhoodAccessor ( ) const
inline

Return the NeighborhoodAccessor functor

Definition at line 408 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ GetPixelAccessor() [1/2]

template<typename TPixel>
AccessorType itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::GetPixelAccessor ( )
inline

Return the Pixel Accessor object

Definition at line 387 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ GetPixelAccessor() [2/2]

template<typename TPixel>
const AccessorType itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::GetPixelAccessor ( ) const
inline

Return the Pixel Accesor object

Definition at line 394 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ New()

template<typename TPixel>
static Pointer itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TPixel>
void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::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< VImageDimension >.

◆ SetAzimuthAngularSeparation()

template<typename TPixel>
virtual void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::SetAzimuthAngularSeparation ( double _arg)
virtual

Set the number of radians between each azimuth unit.

◆ SetElevationAngularSeparation()

template<typename TPixel>
virtual void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::SetElevationAngularSeparation ( double _arg)
virtual

Set the number of radians between each elevation unit.

◆ SetFirstSampleDistance()

template<typename TPixel>
virtual void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::SetFirstSampleDistance ( double _arg)
virtual

Set the distance to add to the radius.

◆ SetRadiusSampleSize()

template<typename TPixel>
virtual void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::SetRadiusSampleSize ( double _arg)
virtual

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

◆ TransformContinuousIndexToPhysicalPoint() [1/2]

template<typename TPixel>
template<typename TCoordinate, typename TIndexRep>
Point< TCoordinate, 3 > itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformContinuousIndexToPhysicalPoint ( const ContinuousIndex< TIndexRep, 3 > & index) const
inlinenodiscard

Returns a physical point from a continuous index.

Definition at line 315 of file itkPhasedArray3DSpecialCoordinatesImage.h.

References itk::point(), and TransformContinuousIndexToPhysicalPoint().

◆ TransformContinuousIndexToPhysicalPoint() [2/2]

template<typename TPixel>
template<typename TCoordinate, typename TIndexRep>
void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformContinuousIndexToPhysicalPoint ( const ContinuousIndex< TIndexRep, 3 > & index,
Point< TCoordinate, 3 > & 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 289 of file itkPhasedArray3DSpecialCoordinatesImage.h.

References itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), itk::ImageRegion< VImageDimension >::GetSize(), m_AzimuthAngularSeparation, m_ElevationAngularSeparation, m_FirstSampleDistance, m_RadiusSampleSize, and itk::point().

Referenced by TransformContinuousIndexToPhysicalPoint().

◆ TransformIndexToPhysicalPoint() [1/2]

template<typename TPixel>
template<typename TCoordinate>
Point< TCoordinate, 3 > itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformIndexToPhysicalPoint ( const IndexType & index) const
inlinenodiscard

Returns a physical point from a discrete index.

Definition at line 355 of file itkPhasedArray3DSpecialCoordinatesImage.h.

References itk::point(), and TransformIndexToPhysicalPoint().

◆ TransformIndexToPhysicalPoint() [2/2]

template<typename TPixel>
template<typename TCoordinate>
void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformIndexToPhysicalPoint ( const IndexType & index,
Point< TCoordinate, 3 > & 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 330 of file itkPhasedArray3DSpecialCoordinatesImage.h.

References itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), itk::ImageRegion< VImageDimension >::GetSize(), m_AzimuthAngularSeparation, m_ElevationAngularSeparation, m_FirstSampleDistance, m_RadiusSampleSize, and itk::point().

Referenced by TransformIndexToPhysicalPoint().

◆ TransformLocalVectorToPhysicalVector()

template<typename TPixel>
template<typename TCoordinate>
void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformLocalVectorToPhysicalVector ( FixedArray< TCoordinate, 3 > & ) const
inline

Definition at line 377 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ TransformPhysicalPointToContinuousIndex() [1/2]

template<typename TPixel>
template<typename TIndexRep, typename TCoordinate>
ContinuousIndex< TIndexRep, 3 > itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToContinuousIndex ( const Point< TCoordinate, 3 > & point) const
inlinenodiscard

◆ TransformPhysicalPointToContinuousIndex() [2/2]

template<typename TPixel>
template<typename TCoordinate, typename TIndexRep>
bool itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToContinuousIndex ( const Point< TCoordinate, 3 > & point,
ContinuousIndex< TIndexRep, 3 > & index ) const
inline

Get the continuous index from a physical point.

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

Note
For performance reasons, if you do not need to use the bool return value, please call the corresponding overload instead, which has only one parameter (the point), and returns the continuous index.
See also
Transform

Definition at line 222 of file itkPhasedArray3DSpecialCoordinatesImage.h.

References itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), itk::point(), and TransformPhysicalPointToContinuousIndex().

◆ TransformPhysicalPointToIndex() [1/2]

template<typename TPixel>
template<typename TCoordinate>
IndexType itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToIndex ( const Point< TCoordinate, 3 > & point) const
inlinenodiscard

◆ TransformPhysicalPointToIndex() [2/2]

template<typename TPixel>
template<typename TCoordinate>
bool itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToIndex ( const Point< TCoordinate, 3 > & 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

Note
For performance reasons, if you do not need to use the bool return value, please call the corresponding overload instead, which has only one parameter (the point), and returns the index.
See also
Transform

Definition at line 273 of file itkPhasedArray3DSpecialCoordinatesImage.h.

References itk::ImageBase< VImageDimension >::GetLargestPossibleRegion(), itk::point(), and TransformPhysicalPointToIndex().

◆ TransformPhysicalVectorToLocalVector()

template<typename TPixel>
template<typename TCoordinate>
void itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalVectorToLocalVector ( const FixedArray< TCoordinate, 3 > & ,
FixedArray< TCoordinate, 3 > &  ) const
inline

Definition at line 382 of file itkPhasedArray3DSpecialCoordinatesImage.h.

Member Data Documentation

◆ ImageDimension

template<typename TPixel>
unsigned int itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::ImageDimension = 3
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 145 of file itkPhasedArray3DSpecialCoordinatesImage.h.

◆ m_AzimuthAngularSeparation

◆ m_ElevationAngularSeparation

◆ m_FirstSampleDistance

◆ m_RadiusSampleSize


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