#include <itkImageFunction.h>
Inheritance diagram for itk::ImageFunction< TInputImage, TOutput, TCoordRep >:
Public Types | |
typedef ImageFunction | Self |
typedef FunctionBase< Point< TCoordRep, itkGetStaticConstMacro(ImageDimension)>, TOutput | Superclass ) |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef TOutput | OutputType |
typedef TCoordRep | CoordRepType |
typedef InputImageType::IndexType | IndexType |
typedef ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) | ContinuousIndexType ) |
typedef Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) | PointType ) |
Public Member Functions | |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
virtual const char * | GetNameOfClass () const |
virtual void | SetInputImage (const InputImageType *ptr) |
const InputImageType * | GetInputImage () const |
virtual TOutput | Evaluate (const PointType &point) const=0 |
virtual TOutput | EvaluateAtIndex (const IndexType &index) const=0 |
virtual TOutput | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const=0 |
virtual const IndexType & | GetStartIndex () |
virtual const IndexType & | GetEndIndex () |
virtual const ContinuousIndexType & | GetStartContinuousIndex () |
virtual const ContinuousIndexType & | GetEndContinuousIndex () |
virtual bool | IsInsideBuffer (const IndexType &index) const |
virtual bool | IsInsideBuffer (const ContinuousIndexType &index) const |
virtual bool | IsInsideBuffer (const PointType &point) const |
void | ConvertPointToNearestIndex (const PointType &point, IndexType &index) const |
void | ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const |
Protected Member Functions | |
ImageFunction () | |
~ImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
InputImageConstPointer | m_Image |
IndexType | m_StartIndex |
IndexType | m_EndIndex |
ContinuousIndexType | m_StartContinuousIndex |
ContinuousIndexType | m_EndContinuousIndex |
ImageFunction is a baseclass for all objects that evaluates a function of an image at index, continuous index or point. This class is templated over the input image type, the type of the function output and the coordinate representation type (e.g. float or double).
The input image is set via method SetInputImage(). Methods Evaluate, EvaluateAtIndex and EvaluateAtContinuousIndex respectively evaluates the function at an geometric point, image index and continuous image index.
Definition at line 60 of file itkImageFunction.h.
|
|
|
CoordRepType typedef support. Reimplemented in itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >, and itk::VectorInterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 94 of file itkImageFunction.h. |
|
|
InputImagePointer typedef support Definition at line 88 of file itkImageFunction.h. |
|
|
InputPixel typedef support Reimplemented in itk::GaussianBlurImageFunction< TInputImage, TOutput >, itk::GaussianDerivativeImageFunction< TInputImage, TOutput >, itk::MedianImageFunction< TInputImage, TCoordRep >, and itk::NeighborhoodOperatorImageFunction< TInputImage, TOutput >. Definition at line 85 of file itkImageFunction.h. |
|
|
|
|
|
|
|
|
Definition at line 196 of file itkImageFunction.h. |
|
Convert continuous index to nearest index. Definition at line 179 of file itkImageFunction.h. |
|
Convert point to nearest index. Definition at line 169 of file itkImageFunction.h. |
|
|
|
|
|
|
|
|
Get the input image. Definition at line 113 of file itkImageFunction.h. |
|
|
|
|
|
|
Check if a point is inside the image buffer.
Reimplemented in itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 160 of file itkImageFunction.h. |
|
Check if a continuous index is inside the image buffer.
Reimplemented in itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 146 of file itkImageFunction.h. |
|
Check if an index is inside the image buffer.
Reimplemented in itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >. Definition at line 132 of file itkImageFunction.h. |
|
Dimension underlying input image. Reimplemented in itk::CentralDifferenceImageFunction< TInputImage, TCoordRep >, itk::VectorInterpolateImageFunction< TInputImage, TCoordRep, TPixelType >, and itk::VectorInterpolateImageFunction< TInputImage, TCoordRep >. |
|
|
Set the input image.
Reimplemented in itk::GaussianBlurImageFunction< TInputImage, TOutput >, and itk::GaussianDerivativeImageFunction< TInputImage, TOutput >. |
|
Definition at line 206 of file itkImageFunction.h. |
|
Definition at line 204 of file itkImageFunction.h. |
|
Const pointer to the input image. Definition at line 200 of file itkImageFunction.h. |
|
Definition at line 205 of file itkImageFunction.h. |
|
Cache some values for testing if indices are inside buffered region. Definition at line 203 of file itkImageFunction.h. |