18 #ifndef itkFiniteDifferenceImageFilter_h 19 #define itkFiniteDifferenceImageFilter_h 131 template<
typename TInputImage,
typename TOutputImage >
151 itkStaticConstMacro(
ImageDimension,
unsigned int, OutputImageType::ImageDimension);
177 itkGetConstReferenceObjectMacro(DifferenceFunction,
178 FiniteDifferenceFunctionType);
183 itkSetObjectMacro(DifferenceFunction, FiniteDifferenceFunctionType);
192 itkSetMacro(UseImageSpacing,
bool);
193 itkBooleanMacro(UseImageSpacing);
194 itkGetConstReferenceMacro(UseImageSpacing,
bool);
199 itkSetMacro(MaximumRMSError,
double);
200 itkGetConstReferenceMacro(MaximumRMSError,
double);
205 itkSetMacro(RMSChange,
double);
206 itkGetConstReferenceMacro(RMSChange,
double);
211 itkSetMacro(ManualReinitialization,
bool);
212 itkGetConstReferenceMacro(ManualReinitialization,
bool);
213 itkBooleanMacro(ManualReinitialization);
216 itkSetMacro( IsInitialized,
bool );
217 itkGetMacro( IsInitialized,
bool );
222 #ifdef ITK_USE_STRICT_CONCEPT_CHECKING 245 virtual void ApplyUpdate(
const TimeStepType& dt) = 0;
320 virtual TimeStepType
ResolveTimeStep(
const std::vector< TimeStepType >& timeStepList,
321 const std::vector< bool >& valid )
const;
346 void operator=(const Self &) ITK_DELETE_FUNCTION;
362 #ifndef ITK_MANUAL_INSTANTIATION 363 #include "itkFiniteDifferenceImageFilter.hxx" virtual bool ThreadedHalt(void *)
SmartPointer< const Self > ConstPointer
NumericTraits< InputPixelType >::ValueType InputPixelValueType
virtual void ApplyUpdate(const TimeStepType &dt)=0
virtual void CopyInputToOutput()=0
TOutputImage OutputImageType
virtual void GenerateInputRequestedRegion() override
SmartPointer< Self > Pointer
virtual void Initialize()
OutputPixelType PixelType
virtual ~FiniteDifferenceImageFilter()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
virtual void GenerateData() override
TInputImage InputImageType
void SetStateToInitialized()
SizeValueType IdentifierType
FiniteDifferenceFunctionType::NeighborhoodScalesType NeighborhoodScalesType
NumericTraits< OutputPixelType >::ValueType OutputPixelValueType
void InitializeFunctionCoefficients()
virtual void InitializeIteration()
A templated class holding a n-Dimensional vector.
FiniteDifferenceFunctionType::RadiusType RadiusType
IdentifierType m_NumberOfIterations
TInputImage::PixelType InputPixelType
virtual void SetIsInitialized(bool _arg)
FiniteDifferenceFunctionType::Pointer m_DifferenceFunction
FiniteDifferenceFunctionType::TimeStepType TimeStepType
virtual TimeStepType ResolveTimeStep(const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const
virtual void PostProcessOutput()
IdentifierType m_ElapsedIterations
FiniteDifferenceImageFilter()
virtual TimeStepType CalculateChange()=0
Control indentation during Print() invocation.
virtual void AllocateUpdateBuffer()=0
FiniteDifferenceFunction< TOutputImage > FiniteDifferenceFunctionType
void PrintSelf(std::ostream &os, Indent indent) const override
Define additional traits for native types such as int or float.
Base class for filters that take an image as input and overwrite that image as the output...
TOutputImage::PixelType OutputPixelType
static const unsigned int ImageDimension
#define itkConceptMacro(name, concept)
FiniteDifferenceImageFilter Self
void SetStateToUninitialized()
bool m_ManualReinitialization