ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkFiniteDifferenceSparseImageFunction.h>
This is the base class for function classes that can be used with filters derived from FiniteDifferenceSparseImageFilter.
Definition at line 47 of file itkFiniteDifferenceSparseImageFunction.h.
typedef SmartPointer< const Self > itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::ConstPointer |
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 56 of file itkFiniteDifferenceSparseImageFunction.h.
typedef Superclass::FloatOffsetType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::FloatOffsetType |
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 69 of file itkFiniteDifferenceSparseImageFunction.h.
typedef SparseImageType::IndexType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::IndexType |
The index type for the sparse image.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 73 of file itkFiniteDifferenceSparseImageFunction.h.
typedef Superclass::NeighborhoodType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::NeighborhoodType |
The type of data structure that is passed to this function object to evaluate at a pixel that does not lie on a data set boundary.
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 68 of file itkFiniteDifferenceSparseImageFunction.h.
typedef NodeType::NodeDataType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::NodeDataType |
The type for the variables of NodeType. Scalar or vector.
Definition at line 79 of file itkFiniteDifferenceSparseImageFunction.h.
typedef SparseImageType::NodeType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::NodeType |
The actual type of nodes stored the sparse image.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 76 of file itkFiniteDifferenceSparseImageFunction.h.
typedef Superclass::PixelType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::PixelType |
Typedefs from the superclass.
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Definition at line 65 of file itkFiniteDifferenceSparseImageFunction.h.
typedef SmartPointer< Self > itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::Pointer |
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 55 of file itkFiniteDifferenceSparseImageFunction.h.
typedef Superclass::RadiusType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::RadiusType |
Neighborhood radius type
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 67 of file itkFiniteDifferenceSparseImageFunction.h.
typedef FiniteDifferenceSparseImageFunction itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::Self |
Standard class typedef.
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 53 of file itkFiniteDifferenceSparseImageFunction.h.
typedef Superclass::ImageType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::SparseImageType |
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 70 of file itkFiniteDifferenceSparseImageFunction.h.
typedef FiniteDifferenceFunction< TSparseImageType > itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::Superclass |
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 54 of file itkFiniteDifferenceSparseImageFunction.h.
typedef Superclass::TimeStepType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::TimeStepType |
Define the TimeStepType to always be double.
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 66 of file itkFiniteDifferenceSparseImageFunction.h.
itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::FiniteDifferenceSparseImageFunction | ( | ) | [inline, protected] |
This function provides support for a 2 step update computation that avoids repetitive computation. FiniteDifferenceSparseImageFilter first calls this function for all active pixels in the SparseImage class, then calls ComputeSparseUpdate for the same set of pixels. This is used in NormalVectorDiffusionFunction to calculate flux variables which are then used to compute the updates. Intermediate variables such as the flux in the above examples are stored in the nodes of the SparseImage itself. Therefore, this function will have to know about the NodeType it is dealing with. This function does nothing by default.
Definition at line 111 of file itkFiniteDifferenceSparseImageFunction.h.
itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::~FiniteDifferenceSparseImageFunction | ( | ) | [inline, protected] |
This function provides support for a 2 step update computation that avoids repetitive computation. FiniteDifferenceSparseImageFilter first calls this function for all active pixels in the SparseImage class, then calls ComputeSparseUpdate for the same set of pixels. This is used in NormalVectorDiffusionFunction to calculate flux variables which are then used to compute the updates. Intermediate variables such as the flux in the above examples are stored in the nodes of the SparseImage itself. Therefore, this function will have to know about the NodeType it is dealing with. This function does nothing by default.
Definition at line 112 of file itkFiniteDifferenceSparseImageFunction.h.
itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::FiniteDifferenceSparseImageFunction | ( | const Self & | ) | [private] |
virtual NodeDataType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::ComputeSparseUpdate | ( | NeighborhoodType & | neighborhood, |
void * | globalData, | ||
const FloatOffsetType & | offset = FloatOffsetType(0.0) |
||
) | const [pure virtual] |
The update called from the FiniteDifferenceSparseImageFilter. This function replaces the ComputeUpdate function.
Implemented in itk::NormalVectorDiffusionFunction< TSparseImageType >.
virtual PixelType itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::ComputeUpdate | ( | const NeighborhoodType & | , |
void * | , | ||
const FloatOffsetType & | |||
) | [inline, virtual] |
This function is not called from the FiniteDifferenceSparseImageFilter class because we need to work with neighborhoods of pointers to data variables instead of neighborhoods of data directly. This function is replaced by the ComputeSparseUpdate function.
Implements itk::FiniteDifferenceFunction< TSparseImageType >.
Definition at line 85 of file itkFiniteDifferenceSparseImageFunction.h.
virtual const char* itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods)
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
void itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
virtual void itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::PrecomputeSparseUpdate | ( | NeighborhoodType & | ) | const [inline, virtual] |
This function provides support for a 2 step update computation that avoids repetitive computation. FiniteDifferenceSparseImageFilter first calls this function for all active pixels in the SparseImage class, then calls ComputeSparseUpdate for the same set of pixels. This is used in NormalVectorDiffusionFunction to calculate flux variables which are then used to compute the updates. Intermediate variables such as the flux in the above examples are stored in the nodes of the SparseImage itself. Therefore, this function will have to know about the NodeType it is dealing with. This function does nothing by default.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >.
Definition at line 109 of file itkFiniteDifferenceSparseImageFunction.h.
void itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
This function provides support for a 2 step update computation that avoids repetitive computation. FiniteDifferenceSparseImageFilter first calls this function for all active pixels in the SparseImage class, then calls ComputeSparseUpdate for the same set of pixels. This is used in NormalVectorDiffusionFunction to calculate flux variables which are then used to compute the updates. Intermediate variables such as the flux in the above examples are stored in the nodes of the SparseImage itself. Therefore, this function will have to know about the NodeType it is dealing with. This function does nothing by default.
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
const unsigned int itk::FiniteDifferenceSparseImageFunction< TSparseImageType >::ImageDimension = Superclass::ImageDimension [static] |
The image dimension.
Reimplemented from itk::FiniteDifferenceFunction< TSparseImageType >.
Reimplemented in itk::NormalVectorDiffusionFunction< TSparseImageType >, and itk::NormalVectorFunctionBase< TSparseImageType >.
Definition at line 62 of file itkFiniteDifferenceSparseImageFunction.h.