ITK
6.0.0
Insight Toolkit
|
#include <itkRegionBasedLevelSetFunctionData.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 65 of file itkRegionBasedLevelSetFunctionData.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FeatureImageConstPointer = typename FeatureImageType::ConstPointer |
using | FeatureImagePointer = typename FeatureImageType::Pointer |
using | FeatureImageType = TFeatureImage |
using | FeatureIndexType = typename FeatureImageType::IndexType |
using | FeaturePixelType = typename FeatureImageType::PixelType |
using | FeaturePointType = typename FeatureImageType::PointType |
using | FeatureRegionType = typename FeatureImageType::RegionType |
using | FeatureSizeType = typename FeatureImageType::SizeType |
using | FeatureSizeValueType = typename FeatureSizeType::SizeValueType |
using | FeatureSpacingType = typename FeatureImageType::SpacingType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageType = TInputImage |
using | InputIndexType = typename InputImageType::IndexType |
using | InputIndexValueType = typename InputIndexType::IndexValueType |
using | InputPixelType = typename InputImageType::PixelType |
using | InputPointType = typename InputImageType::PointType |
using | InputRegionType = typename InputImageType::RegionType |
using | InputSizeType = typename InputImageType::SizeType |
using | InputSizeValueType = typename InputSizeType::SizeValueType |
using | InputSpacingType = typename InputImageType::SpacingType |
using | Pointer = SmartPointer< Self > |
using | Self = RegionBasedLevelSetFunctionData |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
void | CreateHeavisideFunctionOfLevelSetImage (const InputImageType *image) |
FeatureIndexType | GetFeatureIndex (const InputIndexType &inputIndex) |
InputIndexType | GetIndex (const FeatureIndexType &featureIndex) |
const char * | GetNameOfClass () const override |
template<typename TIndex > | |
bool | VerifyInsideRegion (const TIndex &featureIndex) |
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 () |
Public Attributes | |
InputIndexType | m_End {} |
InputImagePointer | m_HeavisideFunctionOfLevelSetImage {} |
InputIndexType | m_Start {} |
double | m_WeightedNumberOfPixelsInsideLevelSet {} |
double | m_WeightedNumberOfPixelsOutsideLevelSet {} |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Protected Member Functions | |
RegionBasedLevelSetFunctionData () | |
~RegionBasedLevelSetFunctionData () 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 | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 73 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImageConstPointer = typename FeatureImageType::ConstPointer |
Definition at line 96 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImagePointer = typename FeatureImageType::Pointer |
Definition at line 95 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImageType = TFeatureImage |
Definition at line 94 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureIndexType = typename FeatureImageType::IndexType |
Definition at line 102 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeaturePixelType = typename FeatureImageType::PixelType |
Definition at line 97 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeaturePointType = typename FeatureImageType::PointType |
Definition at line 103 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureRegionType = typename FeatureImageType::RegionType |
Definition at line 98 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSizeType = typename FeatureImageType::SizeType |
Definition at line 99 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSizeValueType = typename FeatureSizeType::SizeValueType |
Definition at line 100 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureSpacingType = typename FeatureImageType::SpacingType |
Definition at line 101 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 84 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 83 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputImageType = TInputImage |
Definition at line 82 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputIndexType = typename InputImageType::IndexType |
Definition at line 90 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputIndexValueType = typename InputIndexType::IndexValueType |
Definition at line 91 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputPixelType = typename InputImageType::PixelType |
Definition at line 85 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputPointType = typename InputImageType::PointType |
Definition at line 92 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputRegionType = typename InputImageType::RegionType |
Definition at line 86 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputSizeType = typename InputImageType::SizeType |
Definition at line 87 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputSizeValueType = typename InputSizeType::SizeValueType |
Definition at line 88 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::InputSpacingType = typename InputImageType::SpacingType |
Definition at line 89 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::Pointer = SmartPointer<Self> |
Definition at line 72 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::Self = RegionBasedLevelSetFunctionData |
Definition at line 70 of file itkRegionBasedLevelSetFunctionData.h.
using itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::Superclass = LightObject |
Definition at line 71 of file itkRegionBasedLevelSetFunctionData.h.
|
protected |
|
overrideprotecteddefault |
void itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::CreateHeavisideFunctionOfLevelSetImage | ( | const InputImageType * | image | ) |
FeatureIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::GetFeatureIndex | ( | const InputIndexType & | inputIndex | ) |
InputIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::GetIndex | ( | const FeatureIndexType & | featureIndex | ) |
|
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.
Reimplemented in itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >.
|
static |
Method for creation through the object factory.
|
inline |
Definition at line 114 of file itkRegionBasedLevelSetFunctionData.h.
|
staticconstexpr |
Definition at line 75 of file itkRegionBasedLevelSetFunctionData.h.
InputIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_End {} |
Definition at line 140 of file itkRegionBasedLevelSetFunctionData.h.
InputImagePointer itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_HeavisideFunctionOfLevelSetImage {} |
Definition at line 138 of file itkRegionBasedLevelSetFunctionData.h.
InputIndexType itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_Start {} |
Definition at line 139 of file itkRegionBasedLevelSetFunctionData.h.
double itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedNumberOfPixelsInsideLevelSet {} |
Definition at line 135 of file itkRegionBasedLevelSetFunctionData.h.
double itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedNumberOfPixelsOutsideLevelSet {} |
Definition at line 136 of file itkRegionBasedLevelSetFunctionData.h.