18#ifndef itkScalarChanAndVeseLevelSetFunction_h
19#define itkScalarChanAndVeseLevelSetFunction_h
63template <
typename TInputImage,
64 typename TFeatureImage,
86 static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension;
110 using typename Superclass::GlobalDataStruct;
147 const FeaturePixelType & iVal,
148 const ScalarValueType & iChange)
override;
152 const FeaturePixelType & iVal,
153 const ScalarValueType & iChange)
override;
157#ifndef ITK_MANUAL_INSTANTIATION
158# include "itkScalarChanAndVeseLevelSetFunction.hxx"
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
ConstNeighborhoodIterator< TImageType, DefaultBoundaryConditionType > NeighborhoodType
Vector< float, Self::ImageDimension > FloatOffsetType
typename ImageType::PixelType PixelType
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
typename InputImageType::SizeType InputSizeType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::PixelType InputPixelType
typename InputImageType::RegionType InputRegionType
TSharedData SharedDataType
typename InputImageType::Pointer InputImagePointer
typename FeatureImageType::PixelType FeaturePixelType
typename FeatureImageType::IndexType FeatureIndexType
typename InputImageType::SizeValueType InputSizeValueType
typename SharedDataType::Pointer SharedDataPointer
typename InputImageType::IndexType InputIndexType
FixedArray< ScalarValueType, Self::ImageDimension > VectorType
typename InputImageType::IndexValueType InputIndexValueType
PixelType ScalarValueType
typename InputImageType::PointType InputPointType
typename FeatureImageType::OffsetType FeatureOffsetType
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
void ComputeParameters() override
void UpdateSharedDataInsideParameters(const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange) override
SmartPointer< const Self > ConstPointer
static constexpr unsigned int ImageDimension
ScalarChanAndVeseLevelSetFunction Self
typename FeatureImageType::ConstPointer FeatureImageConstPointer
TFeatureImage FeatureImageType
ScalarRegionBasedLevelSetFunction< TInputImage, TFeatureImage, TSharedData > Superclass
~ScalarChanAndVeseLevelSetFunction() override=default
ScalarChanAndVeseLevelSetFunction()
void UpdateSharedDataOutsideParameters(const unsigned int &iId, const FeaturePixelType &iVal, const ScalarValueType &iChange) override
ScalarValueType ComputeInternalTerm(const FeaturePixelType &iValue, const FeatureIndexType &iIdx) override
TInputImage InputImageType
ScalarValueType ComputeExternalTerm(const FeaturePixelType &iValue, const FeatureIndexType &iIdx) override
void UpdateSharedDataParameters() override
SmartPointer< Self > Pointer
LevelSet function that computes a speed image based on regional integrals.
ImageRegionConstIteratorWithIndex< InputImageType > ConstImageIteratorType
ImageRegionConstIterator< FeatureImageType > ConstFeatureIteratorType
ImageRegionIteratorWithIndex< FeatureImageType > FeatureImageIteratorType
ImageRegionIteratorWithIndex< InputImageType > ImageIteratorType
typename ListPixelType::iterator ListPixelIterator
std::list< unsigned int > ListPixelType
typename ListPixelType::const_iterator ListPixelConstIterator
Image< ListPixelType, Self::ImageDimension > ListImageType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....