ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkScalarChanAndVeseSparseLevelSetImageFilter.h>
Sparse implementation of the Chan and Vese multiphase level set image filter.
This code was adapted from the paper:
"An active contour model without edges" T. Chan and L. Vese. In Scale-Space Theories in Computer Vision, pages 141-151, 1999.
This code was taken from the Insight Journal paper:
"Cell Tracking using Coupled Active Surfaces for Nuclei and Membranes" http://www.insight-journal.org/browse/publication/642 http://hdl.handle.net/10380/3055
That is based on the papers:
"Level Set Segmentation: Active Contours without edge" http://www.insight-journal.org/browse/publication/322 http://hdl.handle.net/1926/1532
and
"Level set segmentation using coupled active surfaces" http://www.insight-journal.org/browse/publication/323 http://hdl.handle.net/1926/1533
Definition at line 67 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef SmartPointer< const Self > itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ConstPointer |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 76 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FeatureImageType::Pointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureImagePointer |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 95 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef TFeatureImage itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureImageType |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 94 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FeatureImageType::IndexType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureIndexType |
Definition at line 97 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FeatureIndexType::IndexValueType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureIndexValueType |
Definition at line 98 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FeatureImageType::PixelType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeaturePixelType |
Reimplemented from itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 96 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FeatureImageType::RegionType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureRegionType |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 99 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FiniteDifferenceFunctionType |
The value type of the time step. This is distinct from PixelType because PixelType may often be a vector value, while the TimeStep is a scalar value.
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 108 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FunctionType::Pointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FunctionPtr |
Definition at line 113 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef TFunction itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FunctionType |
Definition at line 112 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::IdCellType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::IdCellType |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 110 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef OutputImageType::IndexType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::IndexType |
Definition at line 103 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::InputImagePointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::InputImagePointer |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 89 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::InputImageType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::InputImageType |
Inherited typedef from the superclass.
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 88 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::InputPointType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::InputPointType |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 90 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::InputSpacingType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::InputSpacingType |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 92 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef TOutputImage itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::OutputImageType |
Output image type typedefs
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 102 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef OutputImageType::PixelType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::OutputPixelType |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 104 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef SmartPointer< Self > itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::Pointer |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 75 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef ROIFilterType::Pointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ROIFilterPointer |
Definition at line 119 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef RegionOfInterestImageFilter< FeatureImageType, FeatureImageType > itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ROIFilterType |
Definition at line 118 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef ScalarChanAndVeseSparseLevelSetImageFilter itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::Self |
Standard class typedefs
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 72 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef SharedDataType::Pointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::SharedDataPointer |
Definition at line 116 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef TSharedData itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::SharedDataType |
Definition at line 115 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell > itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::Superclass |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 74 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::TimeStepType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::TimeStepType |
Typedefs from the superclass
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 106 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::ValueType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ValueType |
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 91 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ScalarChanAndVeseSparseLevelSetImageFilter | ( | ) | [inline, protected] |
Definition at line 137 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::~ScalarChanAndVeseSparseLevelSetImageFilter | ( | ) | [inline, protected] |
Definition at line 143 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
virtual::itk::LightObject::Pointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::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::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
virtual const char* itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
virtual void itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::Initialize | ( | ) | [protected, virtual] |
Constructs the sparse field layers and initializes their values.
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
virtual void itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::InitializeIteration | ( | ) | [protected, virtual] |
This method is optionally defined by a subclass and is called immediately prior to each iterative CalculateChange-ApplyUpdate cycle. It can be used to set global variables needed for the next iteration (ie. average gradient magnitude of the image in anisotropic diffusion functions), or otherwise prepare for the next iteration.
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
static Pointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
virtual void itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::SetFeatureImage | ( | const FeatureImagePointer | f | ) | [inline, virtual] |
End concept checking Set/Get the feature image to be used for speed function of the level set equation. Equivalent to calling Set/GetInput(1, ..)
Definition at line 131 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::typedef | ( | Concept::HasNumericTraits< OutputPixelType > | ) |
Begin concept checking This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputPixelType > )
virtual void itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::UpdatePixel | ( | unsigned int | functionIndex, |
unsigned int | idx, | ||
NeighborhoodIterator< InputImageType > & | iterator, | ||
ValueType & | newValue, | ||
bool & | status | ||
) | [protected, virtual] |
const unsigned int itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ImageDimension = TInputImage::ImageDimension [static] |
Dimensionality of input and output data is assumed to be the same.
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
Definition at line 85 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
SharedDataPointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::m_SharedData [protected] |
Definition at line 145 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.