ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkScalarChanAndVeseLevelSetFunctionData.h>
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
This class holds cache data used during the computation of the LevelSet updates.
Based on 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 61 of file itkScalarChanAndVeseLevelSetFunctionData.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::FeatureImageConstPointer | FeatureImageConstPointer |
typedef Superclass::FeatureImagePointer | FeatureImagePointer |
typedef TFeatureImage | FeatureImageType |
typedef Superclass::FeatureIndexType | FeatureIndexType |
typedef Superclass::FeaturePixelType | FeaturePixelType |
typedef Superclass::FeaturePointType | FeaturePointType |
typedef Superclass::FeatureRegionType | FeatureRegionType |
typedef Superclass::FeatureSizeType | FeatureSizeType |
typedef Superclass::FeatureSizeValueType | FeatureSizeValueType |
typedef Superclass::FeatureSpacingType | FeatureSpacingType |
typedef Superclass::InputImageConstPointer | InputImageConstPointer |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef Superclass::InputIndexType | InputIndexType |
typedef Superclass::InputIndexValueType | InputIndexValueType |
typedef Superclass::InputPixelType | InputPixelType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputRegionType | InputRegionType |
typedef Superclass::InputSizeType | InputSizeType |
typedef Superclass::InputSizeValueType | InputSizeValueType |
typedef Superclass::InputSpacingType | InputSpacingType |
typedef SmartPointer< Self > | Pointer |
typedef ScalarChanAndVeseLevelSetFunctionData | Self |
typedef RegionBasedLevelSetFunctionData < TInputImage, TFeatureImage > | Superclass |
Public Types inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FeatureImageType::ConstPointer | FeatureImageConstPointer |
typedef FeatureImageType::Pointer | FeatureImagePointer |
typedef TFeatureImage | FeatureImageType |
typedef FeatureImageType::IndexType | FeatureIndexType |
typedef FeatureImageType::PixelType | FeaturePixelType |
typedef FeatureImageType::PointType | FeaturePointType |
typedef FeatureImageType::RegionType | FeatureRegionType |
typedef FeatureImageType::SizeType | FeatureSizeType |
typedef FeatureSizeType::SizeValueType | FeatureSizeValueType |
typedef FeatureImageType::SpacingType | FeatureSpacingType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef InputImageType::IndexType | InputIndexType |
typedef InputIndexType::IndexValueType | InputIndexValueType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::PointType | InputPointType |
typedef InputImageType::RegionType | InputRegionType |
typedef InputImageType::SizeType | InputSizeType |
typedef InputSizeType::SizeValueType | InputSizeValueType |
typedef InputImageType::SpacingType | InputSpacingType |
typedef SmartPointer< Self > | Pointer |
typedef RegionBasedLevelSetFunctionData | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
void | CreateHeavisideFunctionOfLevelSetImage (const InputImageType *image) |
FeatureIndexType | GetFeatureIndex (const InputIndexType &inputIndex) |
InputIndexType | GetIndex (const FeatureIndexType &featureIndex) |
template<typename TIndex > | |
bool | VerifyInsideRegion (const TIndex &featureIndex) |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Public Attributes | |
double | m_BackgroundConstantValues |
double | m_ForegroundConstantValues |
double | m_WeightedSumOfPixelValuesInsideLevelSet |
double | m_WeightedSumOfPixelValuesOutsideLevelSet |
Public Attributes inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
InputIndexType | m_End |
InputImagePointer | m_HeavisideFunctionOfLevelSetImage |
InputIndexType | m_Start |
double | m_WeightedNumberOfPixelsInsideLevelSet |
double | m_WeightedNumberOfPixelsOutsideLevelSet |
Static Public Attributes | |
static const unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Static Public Attributes inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
static const unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Protected Member Functions | |
ScalarChanAndVeseLevelSetFunctionData () | |
virtual | ~ScalarChanAndVeseLevelSetFunctionData () |
Protected Member Functions inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
RegionBasedLevelSetFunctionData () | |
virtual | ~RegionBasedLevelSetFunctionData () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
ScalarChanAndVeseLevelSetFunctionData (const Self &) ITK_DELETE_FUNCTION | |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::ConstPointer |
Definition at line 69 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeatureImageConstPointer itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImageConstPointer |
Definition at line 92 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeatureImagePointer itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImagePointer |
Definition at line 91 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef TFeatureImage itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImageType |
Definition at line 90 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeatureIndexType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureIndexType |
Definition at line 98 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeaturePixelType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeaturePixelType |
Definition at line 93 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeaturePointType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeaturePointType |
Definition at line 99 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeatureRegionType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureRegionType |
Definition at line 94 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeatureSizeType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSizeType |
Definition at line 95 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeatureSizeValueType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSizeValueType |
Definition at line 96 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::FeatureSpacingType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSpacingType |
Definition at line 97 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputImageConstPointer itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputImageConstPointer |
Definition at line 80 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputImagePointer itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputImagePointer |
Definition at line 79 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef TInputImage itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputImageType |
Definition at line 76 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputIndexType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputIndexType |
Definition at line 86 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputIndexValueType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputIndexValueType |
Definition at line 87 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputPixelType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputPixelType |
Definition at line 81 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputPointType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputPointType |
Definition at line 88 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputRegionType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputRegionType |
Definition at line 82 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputSizeType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputSizeType |
Definition at line 83 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputSizeValueType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputSizeValueType |
Definition at line 84 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef Superclass::InputSpacingType itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputSpacingType |
Definition at line 85 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef SmartPointer< Self > itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::Pointer |
Definition at line 68 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef ScalarChanAndVeseLevelSetFunctionData itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::Self |
Definition at line 66 of file itkScalarChanAndVeseLevelSetFunctionData.h.
typedef RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::Superclass |
Definition at line 67 of file itkScalarChanAndVeseLevelSetFunctionData.h.
|
inlineprotected |
Definition at line 107 of file itkScalarChanAndVeseLevelSetFunctionData.h.
References itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_BackgroundConstantValues, itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_ForegroundConstantValues, itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesInsideLevelSet, and itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesOutsideLevelSet.
|
inlineprotectedvirtual |
Definition at line 115 of file itkScalarChanAndVeseLevelSetFunctionData.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::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >.
|
virtual |
Return the name of this class as a string. Used by the object factory (implemented in New()) to instantiate objects of a named type. Also used for debugging and other output information.
Reimplemented from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >.
|
static |
Method for creation through the object factory.
|
private |
|
static |
Definition at line 71 of file itkScalarChanAndVeseLevelSetFunctionData.h.
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_BackgroundConstantValues |
Definition at line 101 of file itkScalarChanAndVeseLevelSetFunctionData.h.
Referenced by itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::ScalarChanAndVeseLevelSetFunctionData().
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_ForegroundConstantValues |
Definition at line 102 of file itkScalarChanAndVeseLevelSetFunctionData.h.
Referenced by itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::ScalarChanAndVeseLevelSetFunctionData().
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesInsideLevelSet |
Definition at line 103 of file itkScalarChanAndVeseLevelSetFunctionData.h.
Referenced by itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::ScalarChanAndVeseLevelSetFunctionData().
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesOutsideLevelSet |
Definition at line 104 of file itkScalarChanAndVeseLevelSetFunctionData.h.
Referenced by itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::ScalarChanAndVeseLevelSetFunctionData().