ITK
4.4.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.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell > | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell > | |
static const unsigned int | ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TFeatureImage, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TFeatureImage, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
SharedDataPointer | m_SharedData |
Protected Attributes inherited from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell > | |
ValueType | m_BackgroundValue |
bool | m_InterpolateSurfaceLocation |
ValueType | m_IsoSurfaceValue |
NeighborListType | m_NeighborList |
unsigned int | m_NumberOfLayers |
std::vector< ValueType > | m_PixelDistance |
std::vector< SparseDataStruct * > | m_SparseData |
Protected Attributes inherited from itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell > | |
std::vector < FiniteDifferenceFunctionPointer > | m_DifferenceFunctions |
unsigned int | m_ElapsedIterations |
IdCellType | m_FunctionCount |
KdTreePointer | m_KdTree |
std::vector< InputImagePointer > | m_LevelSet |
VectorIdCellType | m_Lookup |
double | m_MaximumRMSError |
unsigned int | m_NumberOfIterations |
double | m_RMSChange |
bool | m_UseImageSpacing |
typedef SmartPointer< const Self > itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ConstPointer |
Definition at line 76 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FeatureImageType::Pointer itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureImagePointer |
Definition at line 95 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef TFeatureImage itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureImageType |
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 |
Definition at line 96 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef FeatureImageType::RegionType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FeatureRegionType |
Definition at line 99 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::FiniteDifferenceFunctionType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::FiniteDifferenceFunctionType |
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 |
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 |
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.
Definition at line 88 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::InputPointType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::InputPointType |
Definition at line 90 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::InputSpacingType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::InputSpacingType |
Definition at line 92 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef TOutputImage itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::OutputImageType |
Output image type typedefs
Definition at line 102 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef OutputImageType::PixelType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::OutputPixelType |
Definition at line 104 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef SmartPointer< Self > itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::Pointer |
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 |
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 |
Definition at line 74 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::TimeStepType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::TimeStepType |
Definition at line 106 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
typedef Superclass::ValueType itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >::ValueType |
Definition at line 91 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
|
inlineprotected |
Definition at line 137 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
|
inlineprotected |
Definition at line 143 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
|
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 |
Run-time type information (and related methods).
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
|
protectedvirtual |
Constructs the sparse field layers and initializes their values.
Reimplemented from itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >.
|
protectedvirtual |
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 |
Method for creation through the object factory.
|
inlinevirtual |
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 > )
|
protectedvirtual |
|
static |
Definition at line 85 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.
|
protected |
Definition at line 145 of file itkScalarChanAndVeseSparseLevelSetImageFilter.h.