ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkConstrainedRegionBasedLevelSetFunctionSharedData.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 itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | PopulateListImage () |
Public Member Functions inherited from itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > | |
void | AllocateListImage (const FeatureImageType *featureImage) |
void | CreateHeavisideFunctionOfLevelSetImage (const unsigned int &j, const InputImageType *image) |
void | SetFunctionCount (const unsigned int &n) |
void | SetKdTree (KdTreePointer kdtree) |
void | SetNumberOfNeighbors (const unsigned int &n) |
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 |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Static Public Attributes inherited from itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > | |
static const unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Protected Member Functions | |
ConstrainedRegionBasedLevelSetFunctionSharedData () | |
~ConstrainedRegionBasedLevelSetFunctionSharedData () | |
Protected Member Functions inherited from itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > | |
RegionBasedLevelSetFunctionSharedData () | |
~RegionBasedLevelSetFunctionSharedData () | |
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 | |
ConstrainedRegionBasedLevelSetFunctionSharedData (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Public Attributes inherited from itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > | |
unsigned int | m_FunctionCount |
KdTreePointer | m_KdTree |
LevelSetDataPointerVector | m_LevelSetDataPointerVector |
ListImagePointer | m_NearestNeighborListImage |
unsigned int | m_NumberOfNeighbors |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef Superclass::CentroidVectorType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::CentroidVectorType |
Definition at line 115 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef SmartPointer< const Self > itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ConstPointer |
Definition at line 70 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeatureImageConstPointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImageConstPointer |
Definition at line 93 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeatureImagePointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImagePointer |
Definition at line 92 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef TFeatureImage itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImageType |
Definition at line 91 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeatureIndexType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureIndexType |
Definition at line 99 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeaturePixelType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeaturePixelType |
Definition at line 94 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeaturePointType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeaturePointType |
Definition at line 100 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeatureRegionType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureRegionType |
Definition at line 95 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeatureSizeType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSizeType |
Definition at line 96 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeatureSizeValueType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSizeValueType |
Definition at line 97 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::FeatureSpacingType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSpacingType |
Definition at line 98 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputImageConstPointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImageConstPointer |
Definition at line 81 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputImagePointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImagePointer |
Definition at line 80 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef TInputImage itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImageType |
Definition at line 77 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputIndexType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputIndexType |
Definition at line 87 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputIndexValueType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputIndexValueType |
Definition at line 88 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputPixelType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputPixelType |
Definition at line 82 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputPointType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputPointType |
Definition at line 89 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputRegionType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputRegionType |
Definition at line 83 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputSizeType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSizeType |
Definition at line 84 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputSizeValueType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSizeValueType |
Definition at line 85 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::InputSpacingType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSpacingType |
Definition at line 86 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::KdTreePointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::KdTreePointer |
Definition at line 120 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::LevelSetDataPointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointer |
Definition at line 123 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::LevelSetDataPointerVector itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointerVector |
Definition at line 124 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::LevelSetDataPointerVectorIterator itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointerVectorIterator |
Definition at line 125 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef TSingleData itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataType |
Definition at line 122 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListImageConstPointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImageConstPointer |
Definition at line 105 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListImagePointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImagePointer |
Definition at line 104 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListImageType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImageType |
Definition at line 103 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListIndexType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIndexType |
Definition at line 110 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListIndexValueType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIndexValueType |
Definition at line 111 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListIteratorType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIteratorType |
Definition at line 113 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListPixelType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListPixelType |
Definition at line 102 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListPointType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListPointType |
Definition at line 112 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListRegionType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListRegionType |
Definition at line 106 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListSizeType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSizeType |
Definition at line 107 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListSizeValueType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSizeValueType |
Definition at line 108 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::ListSpacingType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSpacingType |
Definition at line 109 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef SmartPointer< Self > itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Pointer |
Definition at line 69 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::SampleType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::SampleType |
Definition at line 116 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef ConstrainedRegionBasedLevelSetFunctionSharedData itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Self |
Definition at line 66 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Superclass |
Definition at line 68 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::TreeGeneratorType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreeGeneratorType |
Definition at line 117 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::TreePointer itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreePointer |
Definition at line 118 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
typedef Superclass::TreeType itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreeType |
Definition at line 119 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
|
inlineprotected |
Definition at line 180 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
|
inlineprotected |
Definition at line 181 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.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::LightObject.
|
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::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >.
|
static |
Method for creation through the object factory.
|
private |
|
inlinevirtual |
Implements itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >.
Definition at line 127 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
References itk::ImageConstIteratorWithIndex< TImage >::GetIndex(), itk::ImageConstIteratorWithIndex< TImage >::GoToBegin(), itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ImageDimension, itk::ImageConstIteratorWithIndex< TImage >::IsAtEnd(), itk::SmartPointer< TObjectType >::IsNotNull(), itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_FunctionCount, itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_KdTree, itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_LevelSetDataPointerVector, itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_NearestNeighborListImage, itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_NumberOfNeighbors, and itk::ImageRegionIteratorWithIndex< TImage >::Set().
|
static |
Definition at line 72 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage().