#include <itkRayCastInterpolateImageFunction.h>
Inheritance diagram for itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >:
RayCastInterpolateImageFunction casts rays through a 3-dimensional image and uses bilinear interpolation to integrate each plane of voxels traversed.
Definition at line 39 of file itkRayCastInterpolateImageFunction.h.
|
Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 47 of file itkRayCastInterpolateImageFunction.h. |
|
ContinuousIndex typedef support. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 102 of file itkRayCastInterpolateImageFunction.h. Referenced by itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex(). |
|
Definition at line 69 of file itkRayCastInterpolateImageFunction.h. Referenced by itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::IsInsideBuffer(). |
|
Index typedef support. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 99 of file itkRayCastInterpolateImageFunction.h. |
|
InputImageType typedef support. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 87 of file itkRayCastInterpolateImageFunction.h. |
|
Definition at line 60 of file itkRayCastInterpolateImageFunction.h. |
|
Definition at line 74 of file itkRayCastInterpolateImageFunction.h. |
|
Type of the Interpolator Base class Definition at line 72 of file itkRayCastInterpolateImageFunction.h. |
|
Definition at line 61 of file itkRayCastInterpolateImageFunction.h. Referenced by itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::IsInsideBuffer(). |
|
OutputType typedef support. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 84 of file itkRayCastInterpolateImageFunction.h. Referenced by itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex(). |
|
Definition at line 65 of file itkRayCastInterpolateImageFunction.h. Referenced by itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::Integrate(). |
|
Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 46 of file itkRayCastInterpolateImageFunction.h. |
|
Point typedef support. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 96 of file itkRayCastInterpolateImageFunction.h. |
|
RealType typedef support. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 90 of file itkRayCastInterpolateImageFunction.h. |
|
Standard class typedefs. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 44 of file itkRayCastInterpolateImageFunction.h. |
|
Definition at line 67 of file itkRayCastInterpolateImageFunction.h. |
|
Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 45 of file itkRayCastInterpolateImageFunction.h. |
|
Definition at line 63 of file itkRayCastInterpolateImageFunction.h. |
|
Definition at line 62 of file itkRayCastInterpolateImageFunction.h. |
|
Definition at line 59 of file itkRayCastInterpolateImageFunction.h. |
|
Type of the Transform Base class The fixed image should be a 3D image Definition at line 57 of file itkRayCastInterpolateImageFunction.h. |
|
The ray is traversed by stepping in the axial direction that enables the greatest number of planes in the volume to be intercepted.
|
|
Constructor.
|
|
Destructor. Definition at line 306 of file itkRayCastInterpolateImageFunction.h. |
|
Reduce the length of the ray until both start and end coordinates lie inside the volume.
|
|
Calculate the incremental direction vector in voxels, 'dVoxel', required to traverse the ray. |
|
Calculate the planes which define the volume. Member function to calculate the equations of the planes of 4 of the sides of the volume, calculate the positions of the 8 corners of the volume in mm in World, also calculate the values of the slopes of the lines which go to make up the volume( defined as lines in cube x,y,z dirn and then each of these lines has a slope in the world x,y,z dirn [3]) and finally also to return the length of the sides of the lines in mm. |
|
Calculate the ray intercepts with the volume. See where the ray cuts the volume, check that truncation does not occur, if not, then start ray where it first intercepts the volume and set x_max to be where it leaves the volume.
|
|
Define the corners of the volume.
|
|
Calculate the endpoint coordinats of the ray in voxels.
|
|
Interpolate the image at a point position. Returns the interpolated image intensity at a specified point position. No bounds checking is done. The point is assume to lie within the image buffer. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.
|
|
Interpolate the image at a continuous index position Returns the interpolated image intensity at a specified index position. No bounds checking is done. The point is assume to lie within the image buffer. Subclasses must override this method. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method. Implements itk::InterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 129 of file itkRayCastInterpolateImageFunction.h. References itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::ContinuousIndexType, and itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::OutputType. |
|
Run-time type information (and related methods). Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.
|
|
Get the current ray position in mm. The origin for this coordinate is the corner of the (0,0,0) voxel.
|
|
Return the density of intensity for the current ray point. This function determines which of the 4 planar voxels surrounding the current ray point are above the threshold value and interpolates these zero or unity values. The returned value therefore also lies between zero and one and estimates the extent to which the current ray point is "filled" with intensity.
|
|
Return the interpolated intensity of the current ray point.
|
|
Get the current ray position in voxels.
|
|
Return a pointer to the four voxels surrounding the current ray position.
|
|
Get a pointer to the Interpolator. |
|
Get a pointer to the Interpolator. |
|
Return the number of voxels on the current ray. Definition at line 277 of file itkRayCastInterpolateImageFunction.h. |
|
Return the ray point spacing in mm. Definition at line 280 of file itkRayCastInterpolateImageFunction.h. |
|
Get a pointer to the Transform. |
|
Get a pointer to the Transform. |
|
Increment each of the intensities of the 4 planar voxels surrounding the current ray point. increment Intensity increment for each of the current 4 voxels |
|
Increment the voxel pointers surrounding the current point on the ray.
|
|
Initialise the object.
|
|
Obtain pointers to the four voxels surrounding the point where the ray enters the volume. |
|
Integrate the interpolated intensities along the ray and return the result. This routine can be called after instantiating the ray and calling SetProjectionCoord2D() or Reset(). It may then be called as many times thereafter for different 2D projection coordinates.
References itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::PixelType. |
|
Integrate the interpolated intensities above a given threshold, along the ray and return the result. This routine can be called after instantiating the ray and calling SetProjectionCoord2D() or Reset(). It may then be called as many times thereafter for different 2D projection coordinates.
|
|
Check if a point is inside the image buffer.
References itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::DirectionType, and itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >::OutputPointType. |
|
Dimension underlying input image. Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.
|
|
Constants for the image dimensions |
|
Method for creation through the object factory. |
|
Step along the ray. This routine can be called after iteratively to step along a given ray. To specify a new ray call: 'SetProjectionCoord2D()' first. To re-traverse the current ray call: 'Reset()'.
|
|
Print the object.
Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.
|
|
Record volume dimensions and resolution.
|
|
Reset the iterator to the start of the ray.
|
|
Define the corners of the volume according a specified bounding box.
|
|
Connect the Interpolator. |
|
Connect the Interpolator. |
|
Initialise the ray using the position and direction of a line.
|
|
Connect the Transform. |
|
Connect the Transform. |
|
The eight corners of the volume (x,y,z coordinates for each). Definition at line 416 of file itkRayCastInterpolateImageFunction.h. |
|
Planes which define the boundary of the volume in mm (six planes and four parameters: Ax+By+Cz+D). Definition at line 414 of file itkRayCastInterpolateImageFunction.h. |
|
The position of the ray. Definition at line 419 of file itkRayCastInterpolateImageFunction.h. |
|
The focal point or position of the ray source. Definition at line 330 of file itkRayCastInterpolateImageFunction.h. |
|
Pointer to the interpolator. Definition at line 425 of file itkRayCastInterpolateImageFunction.h. |
|
The dimension in voxels of the 3D volume in along the x axis. Definition at line 392 of file itkRayCastInterpolateImageFunction.h. |
|
The dimension in voxels of the 3D volume in along the y axis. Definition at line 394 of file itkRayCastInterpolateImageFunction.h. |
|
The dimension in voxels of the 3D volume in along the z axis. Definition at line 396 of file itkRayCastInterpolateImageFunction.h. |
|
The current number of planes of voxels traversed by the ray. Definition at line 379 of file itkRayCastInterpolateImageFunction.h. |
|
The current coordinate on the ray in voxels. NB. Two of the components of this coordinate (i.e. those lying within the planes of voxels being traversed) will be shifted by half a voxel. This enables indices of the neighbouring voxels within the plane to be determined by simply casting to 'int' and optionally adding 1. Definition at line 367 of file itkRayCastInterpolateImageFunction.h. |
|
The direction of the ray. Definition at line 422 of file itkRayCastInterpolateImageFunction.h. |
|
The coordinate of the point at which the ray exits the volume in mm. Definition at line 408 of file itkRayCastInterpolateImageFunction.h. |
|
The voxel coordinate of the bottom-left voxel of the current four voxels surrounding the ray's trajectory. Definition at line 388 of file itkRayCastInterpolateImageFunction.h. |
|
Pointers to the current four voxels surrounding the ray's trajectory. Definition at line 382 of file itkRayCastInterpolateImageFunction.h. |
|
The coordinate of the point at which the ray enters the volume in mm. Definition at line 406 of file itkRayCastInterpolateImageFunction.h. |
|
The end coordinate of the ray in voxels. NB. Two of the components of this coordinate (i.e. those lying within the planes of voxels being traversed) will be shifted by half a voxel. This enables indices of the neighbouring voxels within the plane to be determined by simply casting to 'int' and optionally adding 1. Definition at line 356 of file itkRayCastInterpolateImageFunction.h. |
|
The start position of the ray in voxels. NB. Two of the components of this coordinate (i.e. those lying within the planes of voxels being traversed) will be shifted by half a voxel. This enables indices of the neighbouring voxels within the plane to be determined by simply casting to 'int' and optionally adding 1. Definition at line 346 of file itkRayCastInterpolateImageFunction.h. |
|
The threshold above which voxels along the ray path are integrated. Definition at line 333 of file itkRayCastInterpolateImageFunction.h. |
|
The total number of planes of voxels traversed by the ray. Definition at line 376 of file itkRayCastInterpolateImageFunction.h. |
|
Transformation used to calculate the new focal point position. Definition at line 327 of file itkRayCastInterpolateImageFunction.h. |
|
The direction in which the ray is incremented thorough the volume (x, y or z). Definition at line 373 of file itkRayCastInterpolateImageFunction.h. |
|
Flag indicating whether the current ray is valid. Definition at line 336 of file itkRayCastInterpolateImageFunction.h. |
|
Voxel dimension in x. Definition at line 399 of file itkRayCastInterpolateImageFunction.h. |
|
Voxel dimension in y. Definition at line 401 of file itkRayCastInterpolateImageFunction.h. |
|
Voxel dimension in z. Definition at line 403 of file itkRayCastInterpolateImageFunction.h. |
|
The incremental direction vector of the ray in voxels. Definition at line 370 of file itkRayCastInterpolateImageFunction.h. |