ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkVectorCentralDifferenceImageFunction.h>
Static Public Member Functions | |
static Pointer | New () |
Private Member Functions | |
void | operator= (const Self &) |
VectorCentralDifferenceImageFunction (const Self &) |
Private Attributes | |
bool | m_UseImageDirection |
virtual void | SetUseImageDirection (bool _arg) |
virtual bool | GetUseImageDirection () const |
virtual void | UseImageDirectionOn () |
virtual void | UseImageDirectionOff () |
VectorCentralDifferenceImageFunction () | |
~VectorCentralDifferenceImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Calculate the derivative by central differencing.
This class is templated over the input image type and the coordinate representation type (e.g. float or double).
Possible improvements:
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/510
Definition at line 60 of file itkVectorCentralDifferenceImageFunction.h.
typedef SmartPointer< const Self > itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::ConstPointer |
Standard class typedefs.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 85 of file itkVectorCentralDifferenceImageFunction.h.
typedef Superclass::ContinuousIndexType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::ContinuousIndexType |
ContinuousIndex typedef support.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 104 of file itkVectorCentralDifferenceImageFunction.h.
typedef Superclass::IndexType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::IndexType |
Index typedef support.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 101 of file itkVectorCentralDifferenceImageFunction.h.
typedef TInputImage itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::InputImageType |
InputImageType typedef support.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 92 of file itkVectorCentralDifferenceImageFunction.h.
typedef TInputImage::PixelType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::InputPixelType |
InputPixel typedef support
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 68 of file itkVectorCentralDifferenceImageFunction.h.
typedef Superclass::OutputType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::OutputType |
OutputType typdef support.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 98 of file itkVectorCentralDifferenceImageFunction.h.
typedef SmartPointer< Self > itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::Pointer |
Standard class typedefs.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 84 of file itkVectorCentralDifferenceImageFunction.h.
typedef Superclass::PointType itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::PointType |
Point typedef support.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 107 of file itkVectorCentralDifferenceImageFunction.h.
typedef VectorCentralDifferenceImageFunction itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::Self |
Standard class typedefs.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 79 of file itkVectorCentralDifferenceImageFunction.h.
typedef ImageFunction< TInputImage, Matrix< double, itkGetStaticConstMacro(Dimension), itkGetStaticConstMacro(ImageDimension) >, TCoordRep > itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >::Superclass |
Standard class typedefs.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 83 of file itkVectorCentralDifferenceImageFunction.h.
|
protected |
The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
|
inlineprotected |
The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
Definition at line 158 of file itkVectorCentralDifferenceImageFunction.h.
|
private |
|
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::Object.
|
inlinevirtual |
Evalulate the image derivative by central differencing at non-integer positions.
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.
Definition at line 126 of file itkVectorCentralDifferenceImageFunction.h.
|
inlinevirtual |
Definition at line 134 of file itkVectorCentralDifferenceImageFunction.h.
|
virtual |
Evalulate the image derivative by central differencing at specified index.
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
|
virtual |
The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
private |
Mutex lock to protect modification to the reference count
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
|
protectedvirtual |
The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
|
virtual |
The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
|
virtual |
The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
|
virtual |
The UseImageDirection flag determines whether image derivatives are computed with respect to the image grid or with respect to the physical space. When this flag is ON the derivatives are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
|
static |
Extract the vector dimension from the pixel template parameter.
Definition at line 72 of file itkVectorCentralDifferenceImageFunction.h.
|
static |
Dimension underlying input image.
Reimplemented from itk::ImageFunction< TInputImage, Matrix< double,::itk::GetDimension< TInputImage::PixelType >::Dimension,::itk::GetImageDimension< TInputImage >::ImageDimension >, TCoordRep >.
Definition at line 76 of file itkVectorCentralDifferenceImageFunction.h.
|
private |
Definition at line 170 of file itkVectorCentralDifferenceImageFunction.h.