18 #ifndef itkCurvatureFlowFunction_h 19 #define itkCurvatureFlowFunction_h 42 template<
typename TImage >
93 GlobalDataStruct *ans =
new GlobalDataStruct();
104 {
delete (GlobalDataStruct *)GlobalData; }
116 virtual PixelType
ComputeUpdate(
const NeighborhoodType & neighborhood,
127 struct GlobalDataStruct {
133 ~GlobalDataStruct() {}
135 ScalarValueType m_MaxChange;
144 void operator=(
const Self &) ITK_DELETE_FUNCTION;
150 #ifndef ITK_MANUAL_INSTANTIATION 151 #include "itkCurvatureFlowFunction.hxx" Superclass::FloatOffsetType FloatOffsetType
virtual PixelType ComputeUpdate(const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
Superclass::PixelRealType PixelRealType
Superclass::PixelType PixelType
static const unsigned int ImageDimension
Superclass::NeighborhoodScalesType NeighborhoodScalesType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
SmartPointer< Self > Pointer
static const unsigned int ImageDimension
virtual void ReleaseGlobalDataPointer(void *GlobalData) const override
void operator=(const Self &) ITK_DELETE_FUNCTION
Superclass::ImageType ImageType
PixelType ScalarValueType
virtual void * GetGlobalDataPointer() const override
A templated class holding a n-Dimensional vector.
void SetTimeStep(const TimeStepType &t)
ImageType::PixelType PixelType
This class encapsulate the finite difference equation which drives a curvature flow denoising algorit...
CurvatureFlowFunction Self
const TimeStepType & GetTimeStep() const
Superclass::RadiusType RadiusType
Superclass::TimeStepType TimeStepType
FiniteDifferenceFunction< TImage > Superclass
virtual TimeStepType ComputeGlobalTimeStep(void *GlobalData) const override
Superclass::NeighborhoodType NeighborhoodType
SmartPointer< const Self > ConstPointer