#include <itkPhasedArray3DSpecialCoordinatesImage.h>
Inheritance diagram for itk::PhasedArray3DSpecialCoordinatesImage< TPixel >:
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 = sqrt(x^2 + y^2 + z^2)
The reversed transforms are:
z = radius / sqrt( 1 + (tan(azimuth))^2 + (tan(elevation))^2 ); x = z * tan(azimuth) y = z * 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).
Definition at line 86 of file itkPhasedArray3DSpecialCoordinatesImage.h.
|
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. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 123 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Accessor type that convert data between internal and external representations. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 118 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 94 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 95 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Index typedef support. An index is used to access pixel values. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 135 of file itkPhasedArray3DSpecialCoordinatesImage.h. Referenced by itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformIndexToPhysicalPoint(), and itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToIndex(). |
|
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. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 114 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Offset typedef support. An offset is used to access pixel values. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 138 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Container used to store pixels in the image. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 132 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 158 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
A pointer to the pixel container. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 157 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Pixel typedef support. Used to declare pixel type in filters or other operations. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 105 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 93 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Origin typedef support. The origin is the "fake" geometric coordinates of the index (0,0). Also for use w/ filters designed for normal images. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 154 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Region typedef support. A region is used to specify a subset of an image. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 144 of file itkPhasedArray3DSpecialCoordinatesImage.h. Referenced by itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformContinuousIndexToPhysicalPoint(), itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformIndexToPhysicalPoint(), itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToContinuousIndex(), and itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::TransformPhysicalPointToIndex(). |
|
Standard class typedefs Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 91 of file itkPhasedArray3DSpecialCoordinatesImage.h. Referenced by itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::~PhasedArray3DSpecialCoordinatesImage(). |
|
Size typedef support. A size is used to define region bounds. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 141 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Spacing typedef 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. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 150 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 92 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Typedef alias for PixelType Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. Definition at line 108 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)
Definition at line 306 of file itkPhasedArray3DSpecialCoordinatesImage.h. |
|
Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)
Definition at line 313 of file itkPhasedArray3DSpecialCoordinatesImage.h. References itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::Self. |
|
Run-time type information (and related methods). Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. |
|
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. |
|
Method for creation through the object factory. Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. |
|
Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)
Reimplemented from itk::SpecialCoordinatesImage< TPixel, 3 >. |
|
Set the number of radians between each azimuth unit. * |
|
Set the number of radians between each elevation unit. * |
|
Set the distance to add to the radius. |
|
Set the number of cartesian units between each unit along the R . * |
|
Get a physical point (in the space which the origin and spacing infomation comes from) from a continuous index (in the index space)
Definition at line 235 of file itkPhasedArray3DSpecialCoordinatesImage.h. References itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::RegionType. |
|
Get a physical point (in the space which the origin and spacing infomation comes from) from a discrete index (in the index space)
Definition at line 266 of file itkPhasedArray3DSpecialCoordinatesImage.h. References itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::IndexType, and itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::RegionType. |
|
Get the continuous index from a physical point. Returns true if the resulting index is within the image, false otherwise.
Definition at line 165 of file itkPhasedArray3DSpecialCoordinatesImage.h. References itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::RegionType. |
|
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
Definition at line 199 of file itkPhasedArray3DSpecialCoordinatesImage.h. References itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::IndexType, and itk::PhasedArray3DSpecialCoordinatesImage< TPixel >::RegionType. |