ITK
6.0.0
Insight 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" https://doi.org/10.54294/wvwmf8
That is based on the papers:
"Level Set Segmentation: Active Contours without edge" https://doi.org/10.54294/8jk6oy and "Level set segmentation using coupled active surfaces" https://doi.org/10.54294/23ugmy
Definition at line 58 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
Public Member Functions | |
const char * | GetNameOfClass () const override |
void | PopulateListImage () override |
Public Member Functions inherited from itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > | |
void | AllocateListImage (const FeatureImageType *featureImage) |
void | CreateHeavisideFunctionOfLevelSetImage (const unsigned int j, const InputImageType *image) |
const char * | GetNameOfClass () const override |
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 | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
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::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Static Public Attributes inherited from itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > | |
static constexpr unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Protected Member Functions | |
ConstrainedRegionBasedLevelSetFunctionSharedData () | |
~ConstrainedRegionBasedLevelSetFunctionSharedData () override=default | |
Protected Member Functions inherited from itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData > | |
RegionBasedLevelSetFunctionSharedData () | |
~RegionBasedLevelSetFunctionSharedData () override=default | |
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 () |
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 { 6 } |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::CentroidVectorType = Vector<float, Self::ImageDimension> |
Definition at line 115 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ConstPointer = SmartPointer<const Self> |
Definition at line 67 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImageConstPointer = typename FeatureImageType::ConstPointer |
Definition at line 93 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImagePointer = typename FeatureImageType::Pointer |
Definition at line 92 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureImageType = TFeatureImage |
Definition at line 88 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureIndexType = typename FeatureImageType::IndexType |
Definition at line 99 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeaturePixelType = typename FeatureImageType::PixelType |
Definition at line 94 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeaturePointType = typename FeatureImageType::PointType |
Definition at line 100 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureRegionType = typename FeatureImageType::RegionType |
Definition at line 95 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSizeType = typename FeatureImageType::SizeType |
Definition at line 96 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSizeValueType = typename FeatureSizeType::SizeValueType |
Definition at line 97 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::FeatureSpacingType = typename FeatureImageType::SpacingType |
Definition at line 98 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 81 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 80 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputImageType = TInputImage |
Definition at line 76 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputIndexType = typename InputImageType::IndexType |
Definition at line 87 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputIndexValueType = typename InputIndexType::IndexValueType |
Definition at line 88 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputPixelType = typename InputImageType::PixelType |
Definition at line 82 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputPointType = typename InputImageType::PointType |
Definition at line 89 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputRegionType = typename InputImageType::RegionType |
Definition at line 83 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSizeType = typename InputImageType::SizeType |
Definition at line 84 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSizeValueType = typename InputSizeType::SizeValueType |
Definition at line 85 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::InputSpacingType = typename InputImageType::SpacingType |
Definition at line 86 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::KdTreePointer = typename TreeType::Pointer |
Definition at line 120 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointer = typename LevelSetDataType::Pointer |
Definition at line 123 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointerVector = std::vector<LevelSetDataPointer> |
Definition at line 124 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataPointerVectorIterator = typename LevelSetDataPointerVector::iterator |
Definition at line 125 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::LevelSetDataType = TSingleData |
Definition at line 119 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImageConstPointer = typename ListImageType::ConstPointer |
Definition at line 105 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImagePointer = typename ListImageType::Pointer |
Definition at line 104 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListImageType = Image<ListPixelType, Self::ImageDimension> |
Definition at line 103 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIndexType = typename ListImageType::IndexType |
Definition at line 110 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIndexValueType = typename ListIndexType::IndexValueType |
Definition at line 111 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListIteratorType = ImageRegionIteratorWithIndex<ListImageType> |
Definition at line 113 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListPixelType = std::list<unsigned int> |
Definition at line 102 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListPointType = typename ListImageType::PointType |
Definition at line 112 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListRegionType = typename ListImageType::RegionType |
Definition at line 106 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSizeType = typename ListImageType::SizeType |
Definition at line 107 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSizeValueType = typename ListSizeType::SizeValueType |
Definition at line 108 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ListSpacingType = typename ListImageType::SpacingType |
Definition at line 109 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Pointer = SmartPointer<Self> |
Definition at line 66 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::SampleType = itk::Statistics::ListSample<CentroidVectorType> |
Definition at line 116 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Self = ConstrainedRegionBasedLevelSetFunctionSharedData |
Definition at line 64 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
using itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::Superclass = RegionBasedLevelSetFunctionSharedData<TInputImage, TFeatureImage, TSingleData> |
Definition at line 65 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreeGeneratorType = itk::Statistics::KdTreeGenerator<SampleType> |
Definition at line 117 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreePointer = typename TreeGeneratorType::Pointer |
Definition at line 118 of file itkRegionBasedLevelSetFunctionSharedData.h.
using itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::TreeType = typename TreeGeneratorType::KdTreeType |
Definition at line 119 of file itkRegionBasedLevelSetFunctionSharedData.h.
|
inlineprotected |
Definition at line 178 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
|
overrideprotecteddefault |
|
overridevirtual |
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.
|
static |
Method for creation through the object factory.
|
inlineoverridevirtual |
Implements itk::RegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >.
Definition at line 125 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
References itk::ImageConstIteratorWithIndex< TImage >::GetIndex(), itk::ImageConstIteratorWithIndex< TImage >::GoToBegin(), itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::ImageDimension, itk::ImageConstIteratorWithIndex< TImage >::IsAtEnd(), 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().
|
staticconstexpr |
Definition at line 69 of file itkConstrainedRegionBasedLevelSetFunctionSharedData.h.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage().