ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkRegionBasedLevelSetFunctionSharedData.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 68 of file itkRegionBasedLevelSetFunctionSharedData.h.
Public Member Functions | |
void | AllocateListImage (const FeatureImageType *featureImage) |
void | CreateHeavisideFunctionOfLevelSetImage (const unsigned int &j, const InputImageType *image) |
virtual const char * | GetNameOfClass () const |
virtual void | PopulateListImage ()=0 |
void | SetFunctionCount (const unsigned int &n) |
void | SetKdTree (KdTreePointer kdtree) |
void | SetNumberOfNeighbors (const unsigned int &n) |
Public Member Functions inherited from itk::LightObject | |
virtual Pointer | CreateAnother () const |
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 |
Public Attributes | |
unsigned int | m_FunctionCount |
KdTreePointer | m_KdTree |
LevelSetDataPointerVector | m_LevelSetDataPointerVector |
ListImagePointer | m_NearestNeighborListImage |
unsigned int | m_NumberOfNeighbors |
Static Public Attributes | |
static const unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Protected Member Functions | |
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 | |
void | operator= (const Self &) |
RegionBasedLevelSetFunctionSharedData (const Self &) | |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef Vector< float, itkGetStaticConstMacro(ImageDimension) > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::CentroidVectorType |
Definition at line 119 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef SmartPointer< const Self > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ConstPointer |
Definition at line 75 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::ConstPointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImageConstPointer |
Definition at line 95 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::Pointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImagePointer |
Definition at line 94 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef TFeatureImage itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImageType |
Definition at line 93 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::IndexType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureIndexType |
Definition at line 101 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::PixelType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeaturePixelType |
Definition at line 96 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::PointType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeaturePointType |
Definition at line 102 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::RegionType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureRegionType |
Definition at line 97 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::SizeType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSizeType |
Definition at line 98 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureSizeType::SizeValueType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSizeValueType |
Definition at line 99 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef FeatureImageType::SpacingType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSpacingType |
Definition at line 100 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::ConstPointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImageConstPointer |
Definition at line 83 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::Pointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImagePointer |
Definition at line 82 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef TInputImage itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImageType |
Definition at line 79 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::IndexType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputIndexType |
Definition at line 89 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputIndexType::IndexValueType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputIndexValueType |
Definition at line 90 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::PixelType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputPixelType |
Definition at line 84 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::PointType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputPointType |
Definition at line 91 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::RegionType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputRegionType |
Definition at line 85 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::SizeType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSizeType |
Definition at line 86 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputSizeType::SizeValueType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSizeValueType |
Definition at line 87 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef InputImageType::SpacingType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSpacingType |
Definition at line 88 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef TreeType::Pointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::KdTreePointer |
Definition at line 124 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef LevelSetDataType::Pointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointer |
Definition at line 127 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef std::vector< LevelSetDataPointer > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointerVector |
Definition at line 128 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef LevelSetDataPointerVector::iterator itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointerVectorIterator |
Definition at line 129 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef TSingleData itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataType |
Definition at line 126 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListImageType::ConstPointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImageConstPointer |
Definition at line 108 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListImageType::Pointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImagePointer |
Definition at line 107 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef Image< ListPixelType, itkGetStaticConstMacro(ImageDimension) > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImageType |
Definition at line 106 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListImageType::IndexType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIndexType |
Definition at line 113 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListIndexType::IndexValueType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIndexValueType |
Definition at line 114 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ImageRegionIteratorWithIndex< ListImageType > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIteratorType |
Definition at line 116 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef std::list< unsigned int > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListPixelType |
Definition at line 104 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListImageType::PointType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListPointType |
Definition at line 115 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListImageType::RegionType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListRegionType |
Definition at line 109 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListImageType::SizeType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSizeType |
Definition at line 110 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListSizeType::SizeValueType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSizeValueType |
Definition at line 111 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef ListImageType::SpacingType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSpacingType |
Definition at line 112 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef SmartPointer< Self > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Pointer |
Definition at line 74 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef itk::Statistics::ListSample< CentroidVectorType > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::SampleType |
Definition at line 120 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef RegionBasedLevelSetFunctionSharedData itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Self |
Definition at line 72 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef LightObject itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Superclass |
Definition at line 73 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef itk::Statistics::KdTreeGenerator< SampleType > itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreeGeneratorType |
Definition at line 121 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef TreeGeneratorType::Pointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreePointer |
Definition at line 122 of file itkRegionBasedLevelSetFunctionSharedData.h.
typedef TreeGeneratorType::KdTreeType itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreeType |
Definition at line 123 of file itkRegionBasedLevelSetFunctionSharedData.h.
|
inlineprotected |
Definition at line 178 of file itkRegionBasedLevelSetFunctionSharedData.h.
|
inlineprotected |
Definition at line 179 of file itkRegionBasedLevelSetFunctionSharedData.h.
|
private |
|
inline |
|
inline |
Definition at line 150 of file itkRegionBasedLevelSetFunctionSharedData.h.
|
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::LightObject.
Reimplemented in itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >, and itk::UnconstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >.
|
private |
|
pure virtual |
|
inline |
Definition at line 131 of file itkRegionBasedLevelSetFunctionSharedData.h.
References itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_FunctionCount, and itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_LevelSetDataPointerVector.
|
inline |
Definition at line 155 of file itkRegionBasedLevelSetFunctionSharedData.h.
References itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_KdTree.
|
inline |
Definition at line 145 of file itkRegionBasedLevelSetFunctionSharedData.h.
References itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_NumberOfNeighbors.
|
static |
Definition at line 77 of file itkRegionBasedLevelSetFunctionSharedData.h.
unsigned int itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_FunctionCount |
Definition at line 172 of file itkRegionBasedLevelSetFunctionSharedData.h.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), itk::UnconstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::SetFunctionCount().
KdTreePointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_KdTree |
Definition at line 175 of file itkRegionBasedLevelSetFunctionSharedData.h.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::SetKdTree().
LevelSetDataPointerVector itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_LevelSetDataPointerVector |
Definition at line 170 of file itkRegionBasedLevelSetFunctionSharedData.h.
Referenced by itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::CreateHeavisideFunctionOfLevelSetImage(), itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::SetFunctionCount().
ListImagePointer itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_NearestNeighborListImage |
Definition at line 174 of file itkRegionBasedLevelSetFunctionSharedData.h.
Referenced by itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::AllocateListImage(), itk::UnconstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage().
unsigned int itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::m_NumberOfNeighbors |
Definition at line 173 of file itkRegionBasedLevelSetFunctionSharedData.h.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::SetNumberOfNeighbors().