ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkLabelImageGaussianInterpolateImageFunction.h>
Interpolation function for multi-label images that implicitly smooths the binary images corresponding to each label and returns the label with largest vote.
This filter is an alternative to nearest neighbor interpolation for multi-label images. Given a multi-label image I
with label set L
, this function returns a label at the non-voxel position I(x)
, based on the following rule
Where is the l-th
binary component of the multilabel image. In other words, each label in the multi-label image is convolved with a Gaussian, and the label for which the response is largest is returned. For sigma=0, this is just nearest neighbor interpolation.
This class defines an N-dimensional Gaussian interpolation function for label images using the vnl error function. The two parameters associated with this function are:
Sigma
- a scalar array of size ImageDimension determining the width of the interpolation function. Alpha
- a scalar specifying the cutoff distance over which the function is calculated.Definition at line 58 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef Superclass::ArrayType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::ArrayType |
Array typedef support
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 93 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef SmartPointer<const Self> itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::ConstPointer |
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 66 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef Superclass::ContinuousIndexType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::ContinuousIndexType |
ContinuousIndex typedef support.
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 90 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef Superclass::IndexType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::IndexType |
Index typedef support.
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 87 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef Superclass::InputImageType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::InputImageType |
InputImageType typedef support.
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 81 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef Superclass::OutputType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::OutputType |
OutputType typedef support.
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 78 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef SmartPointer<Self> itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::Pointer |
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 65 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef Superclass::RealType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::RealType |
RealType typedef support.
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 84 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef LabelImageGaussianInterpolateImageFunction itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::Self |
Standard class typedefs.
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 63 of file itkLabelImageGaussianInterpolateImageFunction.h.
typedef GaussianInterpolateImageFunction<TInputImage, TCoordRep> itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::Superclass |
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 64 of file itkLabelImageGaussianInterpolateImageFunction.h.
itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::LabelImageGaussianInterpolateImageFunction | ( | ) | [protected] |
itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::~LabelImageGaussianInterpolateImageFunction | ( | ) | [inline, protected] |
Definition at line 106 of file itkLabelImageGaussianInterpolateImageFunction.h.
itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::LabelImageGaussianInterpolateImageFunction | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::CreateAnother | ( | void | ) | const [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::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
virtual OutputType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::EvaluateAtContinuousIndex | ( | const ContinuousIndexType & | cindex | ) | const [inline, virtual] |
Evaluate at the given index
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 98 of file itkLabelImageGaussianInterpolateImageFunction.h.
References NULL.
virtual OutputType itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::EvaluateAtContinuousIndex | ( | const ContinuousIndexType & | , |
OutputType * | |||
) | const [private, virtual] |
Evaluate function value at the given index
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
virtual const char* itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
static Pointer itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
void itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
const unsigned int itk::LabelImageGaussianInterpolateImageFunction< TInputImage, TCoordRep, TPixelCompare >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constant
Reimplemented from itk::GaussianInterpolateImageFunction< TInputImage, TCoordRep >.
Definition at line 75 of file itkLabelImageGaussianInterpolateImageFunction.h.