ITK
6.0.0
Insight 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" 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 itkScalarChanAndVeseLevelSetFunctionData.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FeatureImageType = TFeatureImage |
using | InputImageType = TInputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ScalarChanAndVeseLevelSetFunctionData |
using | Superclass = RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > |
Public Types inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
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 | |
const char * | GetNameOfClass () const override |
Public Member Functions inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
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::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 constexpr unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Static Public Attributes inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
static constexpr unsigned int | ImageDimension = TFeatureImage::ImageDimension |
Protected Member Functions | |
ScalarChanAndVeseLevelSetFunctionData () | |
~ScalarChanAndVeseLevelSetFunctionData () override=default | |
Protected Member Functions inherited from itk::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage > | |
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::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 67 of file itkScalarChanAndVeseLevelSetFunctionData.h.
using itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::FeatureImageType = TFeatureImage |
Definition at line 88 of file itkScalarChanAndVeseLevelSetFunctionData.h.
using itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::InputImageType = TInputImage |
Definition at line 76 of file itkScalarChanAndVeseLevelSetFunctionData.h.
using itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::Pointer = SmartPointer<Self> |
Definition at line 66 of file itkScalarChanAndVeseLevelSetFunctionData.h.
using itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::Self = ScalarChanAndVeseLevelSetFunctionData |
Definition at line 64 of file itkScalarChanAndVeseLevelSetFunctionData.h.
using itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::Superclass = RegionBasedLevelSetFunctionData<TInputImage, TFeatureImage> |
Definition at line 65 of file itkScalarChanAndVeseLevelSetFunctionData.h.
|
inlineprotected |
Definition at line 105 of file itkScalarChanAndVeseLevelSetFunctionData.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::RegionBasedLevelSetFunctionData< TInputImage, TFeatureImage >.
|
static |
Method for creation through the object factory.
|
staticconstexpr |
Definition at line 69 of file itkScalarChanAndVeseLevelSetFunctionData.h.
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_BackgroundConstantValues {} |
Definition at line 99 of file itkScalarChanAndVeseLevelSetFunctionData.h.
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_ForegroundConstantValues {} |
Definition at line 100 of file itkScalarChanAndVeseLevelSetFunctionData.h.
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesInsideLevelSet {} |
Definition at line 101 of file itkScalarChanAndVeseLevelSetFunctionData.h.
double itk::ScalarChanAndVeseLevelSetFunctionData< TInputImage, TFeatureImage >::m_WeightedSumOfPixelValuesOutsideLevelSet {} |
Definition at line 102 of file itkScalarChanAndVeseLevelSetFunctionData.h.