18 #ifndef itkScalarChanAndVeseSparseLevelSetImageFilter_h
19 #define itkScalarChanAndVeseSparseLevelSetImageFilter_h
63 template<
typename TInputImage,
typename TFeatureImage,
typename TOutputImage,
64 typename TFunction = ScalarChanAndVeseLevelSetFunction< TInputImage, TFeatureImage >,
65 class TSharedData =
typename TFunction::SharedDataType,
66 typename TIdCell =
unsigned int >
69 TOutputImage, TFunction, TIdCell >
74 TFeatureImage, TOutputImage, TFunction, TIdCell >;
85 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
120 #ifdef ITK_USE_CONCEPT_CHECKING
137 this->SetNumberOfLayers(2);
138 this->m_SharedData = SharedDataType::New();
145 void Initialize()
override;
147 void InitializeIteration()
override;
149 void UpdatePixel(
unsigned int functionIndex,
151 ValueType & newValue,
bool & status)
override;
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkScalarChanAndVeseSparseLevelSetImageFilter.hxx"
typename Superclass::FeatureImagePointer FeatureImagePointer
typename Superclass::TimeStepType TimeStepType
typename InputImageType::ValueType ValueType
typename SharedDataType::Pointer SharedDataPointer
typename Superclass::InputSpacingType InputSpacingType
typename Superclass::InputImageType InputImageType
typename Superclass::InputImagePointer InputImagePointer
virtual void SetFeatureImage(const FeatureImagePointer f)
typename Superclass::IdCellType IdCellType
typename FunctionType::Pointer FunctionPtr
typename Superclass::OutputPixelType OutputPixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SharedDataPointer m_SharedData
Base class for all process objects that output image data.
typename ROIFilterType::Pointer ROIFilterPointer
typename FeatureImageType::IndexType FeatureIndexType
typename Superclass::FeatureRegionType FeatureRegionType
ScalarChanAndVeseSparseLevelSetImageFilter()
Sparse implementation of the Chan and Vese multiphase level set image filter.
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
signed long IndexValueType
typename OutputImageType::IndexType IndexType
TSharedData SharedDataType
typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
typename FeatureImageType::PixelType FeaturePixelType
This class implements a finite difference partial differential equation solver for evolving surfaces ...
typename FeatureIndexType::IndexValueType FeatureIndexValueType
Extract a region of interest from the input image.
~ScalarChanAndVeseSparseLevelSetImageFilter() override
typename Superclass::InputPointType InputPointType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
typename Superclass::FeatureImageType FeatureImageType