18#ifndef itkScalarChanAndVeseLevelSetFunctionData_h
19#define itkScalarChanAndVeseLevelSetFunctionData_h
57template <
typename TInputImage,
typename TFeatureImage>
69 static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension;
77 using typename Superclass::InputImagePointer;
78 using typename Superclass::InputImageConstPointer;
79 using typename Superclass::InputPixelType;
80 using typename Superclass::InputRegionType;
81 using typename Superclass::InputSizeType;
82 using typename Superclass::InputSizeValueType;
83 using typename Superclass::InputSpacingType;
84 using typename Superclass::InputIndexType;
85 using typename Superclass::InputIndexValueType;
86 using typename Superclass::InputPointType;
89 using typename Superclass::FeatureImagePointer;
90 using typename Superclass::FeatureImageConstPointer;
91 using typename Superclass::FeaturePixelType;
92 using typename Superclass::FeatureRegionType;
93 using typename Superclass::FeatureSizeType;
94 using typename Superclass::FeatureSizeValueType;
95 using typename Superclass::FeatureSpacingType;
96 using typename Superclass::FeatureIndexType;
97 using typename Superclass::FeaturePointType;
99 double m_BackgroundConstantValues{};
100 double m_ForegroundConstantValues{};
101 double m_WeightedSumOfPixelValuesInsideLevelSet{};
102 double m_WeightedSumOfPixelValuesOutsideLevelSet{};
108 m_BackgroundConstantValues = 0.;
109 m_ForegroundConstantValues = 0.;
110 m_WeightedSumOfPixelValuesInsideLevelSet = 0.;
111 m_WeightedSumOfPixelValuesOutsideLevelSet = 0.;
Light weight base class for most itk classes.
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
TFeatureImage FeatureImageType
TInputImage InputImageType
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
ScalarChanAndVeseLevelSetFunctionData()
~ScalarChanAndVeseLevelSetFunctionData() override=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....