18 #ifndef itkFiniteDifferenceImageFilter_h
19 #define itkFiniteDifferenceImageFilter_h
131 template<
typename TInputImage,
typename TOutputImage >
152 static constexpr
unsigned int ImageDimension = OutputImageType::ImageDimension;
178 itkGetConstReferenceObjectMacro(DifferenceFunction,
193 itkSetMacro(UseImageSpacing,
bool);
194 itkBooleanMacro(UseImageSpacing);
195 itkGetConstReferenceMacro(UseImageSpacing,
bool);
200 itkSetMacro(MaximumRMSError,
double);
201 itkGetConstReferenceMacro(MaximumRMSError,
double);
206 itkSetMacro(RMSChange,
double);
207 itkGetConstReferenceMacro(RMSChange,
double);
212 itkSetMacro(ManualReinitialization,
bool);
213 itkGetConstReferenceMacro(ManualReinitialization,
bool);
214 itkBooleanMacro(ManualReinitialization);
217 itkSetMacro( IsInitialized,
bool );
218 itkGetMacro( IsInitialized,
bool );
223 #ifdef ITK_USE_CONCEPT_CHECKING
238 void PrintSelf(std::ostream & os,
Indent indent)
const override;
241 virtual void AllocateUpdateBuffer() = 0;
258 virtual void CopyInputToOutput() = 0;
263 void GenerateData()
override;
276 void GenerateInputRequestedRegion()
override;
291 virtual bool ThreadedHalt(
void *itkNotUsed(threadInfo) ) {
return this->Halt(); }
307 { m_DifferenceFunction->InitializeIteration(); }
321 virtual TimeStepType ResolveTimeStep(
const std::vector< TimeStepType >& timeStepList,
322 const std::vector< bool >& valid )
const;
349 void InitializeFunctionCoefficients();
360 #ifndef ITK_MANUAL_INSTANTIATION
361 #include "itkFiniteDifferenceImageFilter.hxx"
virtual bool ThreadedHalt(void *)
typename TSparseOutputImageType::PixelType OutputPixelType
typename FiniteDifferenceFunctionType::NeighborhoodScalesType NeighborhoodScalesType
Light weight base class for most itk classes.
Define numeric traits for std::vector.
typename TInputImageType::PixelType InputPixelType
virtual void Initialize()
OutputPixelType PixelType
TInputImageType InputImageType
void SetStateToInitialized()
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
virtual void InitializeIteration()
A templated class holding a n-Dimensional vector.
typename NumericTraits< InputPixelType >::ValueType InputPixelValueType
SizeValueType IdentifierType
IdentifierType m_NumberOfIterations
TSparseOutputImageType OutputImageType
FiniteDifferenceFunctionType::Pointer m_DifferenceFunction
virtual void PostProcessOutput()
typename NumericTraits< OutputPixelType >::ValueType OutputPixelValueType
IdentifierType m_ElapsedIterations
Control indentation during Print() invocation.
Base class for filters that take an image as input and overwrite that image as the output...
typename FiniteDifferenceFunctionType::RadiusType RadiusType
#define itkConceptMacro(name, concept)
typename FiniteDifferenceFunctionType::TimeStepType TimeStepType
void SetStateToUninitialized()
bool m_ManualReinitialization