18#ifndef itkScalarChanAndVeseLevelSetFunction_h
19#define itkScalarChanAndVeseLevelSetFunction_h
72template <
typename TInputImage,
73 typename TFeatureImage,
74 typename TSharedData = ConstrainedRegionBasedLevelSetFunctionSharedData<
95 static constexpr unsigned int ImageDimension = TFeatureImage::ImageDimension;
119 using typename Superclass::GlobalDataStruct;
143 ComputeParameters()
override;
146 UpdateSharedDataParameters()
override;
149 ComputeInternalTerm(
const FeaturePixelType & iValue,
const FeatureIndexType & iIdx)
override;
152 ComputeExternalTerm(
const FeaturePixelType & iValue,
const FeatureIndexType & iIdx)
override;
155 UpdateSharedDataInsideParameters(
const unsigned int & iId,
156 const FeaturePixelType & iVal,
157 const ScalarValueType & iChange)
override;
160 UpdateSharedDataOutsideParameters(
const unsigned int & iId,
161 const FeaturePixelType & iVal,
162 const ScalarValueType & iChange)
override;
166#ifndef ITK_MANUAL_INSTANTIATION
167# include "itkScalarChanAndVeseLevelSetFunction.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ImageType::PixelType PixelType
typename ConstNeighborhoodIterator< TInputImage >::RadiusType RadiusType
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
A multi-dimensional iterator templated over image type that walks a region of pixels.
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
Templated n-dimensional image class.
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
typename InputImageType::IndexValueType InputIndexValueType
PixelType ScalarValueType
typename InputImageType::PointType InputPointType
typename FeatureImageType::OffsetType FeatureOffsetType
Helper class used to share data in the ScalarChanAndVeseLevelSetFunction.
LevelSet function that computes a speed image based on regional integrals of probabilities.
typename FeatureImageType::ConstPointer FeatureImageConstPointer
TFeatureImage FeatureImageType
TInputImage InputImageType
LevelSet function that computes a speed image based on regional integrals.
typename ListPixelType::iterator ListPixelIterator
std::list< unsigned int > ListPixelType
typename ListPixelType::const_iterator ListPixelConstIterator
A templated class holding a n-Dimensional vector.
SmartPointer< const Self > ConstPointer
ImageBaseType::SpacingType VectorType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....