ITK
5.2.0
Insight Toolkit
|
#include <itkFiniteDifferenceImageFilter.h>
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = OutputImageType::ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
bool | m_IsInitialized |
IdentifierType | m_NumberOfIterations |
IdentifierType | m_ElapsedIterations |
bool | m_ManualReinitialization |
double | m_RMSChange |
double | m_MaximumRMSError |
bool | m_UseImageSpacing |
FiniteDifferenceFunctionType::Pointer | m_DifferenceFunction |
virtual void | SetNumberOfIterations (IdentifierType _arg) |
virtual const IdentifierType & | GetNumberOfIterations () const |
virtual void | SetUseImageSpacing (bool _arg) |
virtual void | UseImageSpacingOn () |
virtual void | UseImageSpacingOff () |
virtual const bool & | GetUseImageSpacing () const |
virtual void | SetMaximumRMSError (double _arg) |
virtual const double & | GetMaximumRMSError () const |
virtual void | SetRMSChange (double _arg) |
virtual const double & | GetRMSChange () const |
virtual void | SetManualReinitialization (bool _arg) |
virtual const bool & | GetManualReinitialization () const |
virtual void | ManualReinitializationOn () |
virtual void | ManualReinitializationOff () |
virtual void | SetIsInitialized (bool _arg) |
virtual bool | GetIsInitialized () |
void | SetStateToUninitialized () |
void | SetStateToInitialized () |
FiniteDifferenceImageFilter () | |
~FiniteDifferenceImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | AllocateUpdateBuffer ()=0 |
virtual void | ApplyUpdate (const TimeStepType &dt)=0 |
virtual TimeStepType | CalculateChange ()=0 |
virtual void | CopyInputToOutput ()=0 |
void | GenerateData () override |
void | GenerateInputRequestedRegion () override |
virtual bool | Halt () |
virtual bool | ThreadedHalt (void *) |
virtual void | Initialize () |
virtual void | InitializeIteration () |
virtual TimeStepType | ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const |
virtual void | SetElapsedIterations (IdentifierType _arg) |
virtual void | PostProcessOutput () |
void | InitializeFunctionCoefficients () |
For example, anisotropic diffusion filters are created by plugging anisotropic diffusion functions into the DenseFiniteDifferenceImageFilter.
The separation between function object and solver object allows us to create, for example, sparse-field, dense-field, and narrow-band implementations of a level-set surface evolution filter can all be constructed by plugging the same function object into three different, specialized solvers.
Definition at line 132 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 141 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::FiniteDifferenceFunctionType = FiniteDifferenceFunction<TOutputImage> |
The value type of the time step. This is distinct from PixelType because PixelType may often be a vector value, while the TimeStep is a scalar value.
Definition at line 165 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Input and output image types.
Definition at line 147 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::InputPixelType = typename TInputImage::PixelType |
Definition at line 155 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::InputPixelValueType = typename NumericTraits<InputPixelType>::ValueType |
Definition at line 160 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType |
Definition at line 169 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 148 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
The pixel type of the output image will be used in computations.
Definition at line 154 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::OutputPixelValueType = typename NumericTraits<OutputPixelType>::ValueType |
Extract value type in case the pixel is of vector type
Definition at line 159 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::PixelType = OutputPixelType |
Definition at line 156 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 140 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::RadiusType = typename FiniteDifferenceFunctionType::RadiusType |
Definition at line 168 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::Self = FiniteDifferenceImageFilter |
Standard class type aliases.
Definition at line 138 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::Superclass = InPlaceImageFilter<TInputImage, TOutputImage> |
Definition at line 139 of file itkFiniteDifferenceImageFilter.h.
using itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType |
Definition at line 166 of file itkFiniteDifferenceImageFilter.h.
|
protected |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
overrideprotecteddefault |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
protectedpure virtual |
This method allocates a temporary update container in the subclass.
Implemented in itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage >, itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >, itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >, and itk::FiniteDifferenceSparseImageFilter< TInputImage, TSparseOutputImage >.
|
protectedpure virtual |
This method is defined by a subclass to apply changes to the output from an update buffer and a time step value "dt".
dt | Time step value. |
Implemented in itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::FiniteDifferenceSparseImageFilter< TInputImage, TSparseOutputImage >, itk::SymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, and itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >.
|
protectedpure virtual |
This method is defined by a subclass to populate an update buffer with changes for the pixels in the output. It returns a time step value to be used for the update.
Implemented in itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >, itk::FiniteDifferenceSparseImageFilter< TInputImage, TSparseOutputImage >, itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage >, and itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >.
|
protectedpure virtual |
This method can be defined in subclasses as needed to copy the input to the output. See DenseFiniteDifferenceImageFilter for an implementation.
Implemented in itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >, itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage >, and itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >.
|
overrideprotectedvirtual |
This is the default, high-level algorithm for calculating finite difference solutions. It calls virtual methods in its subclasses to implement the major steps of the algorithm.
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >, itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, and itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
FiniteDifferenceImageFilter needs a larger input requested region than the output requested region. As such, we need to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >.
|
virtual |
This method returns a pointer to a FiniteDifferenceFunction object that will be used by the filter to calculate updates at image pixels.
|
virtual |
Get the number of elapsed iterations of the filter.
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >, itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::NarrowBandCurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::NarrowBandThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >, itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >, itk::SymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage >, itk::VectorCurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >, itk::DenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::DemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >, itk::FiniteDifferenceSparseImageFilter< TInputImage, TSparseOutputImage >, itk::VectorGradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >, itk::CurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >, and itk::GradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >.
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Reimplemented in itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::SymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, and itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >.
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
protectedvirtual |
This method returns true when the current iterative solution of the equation has met the criteria to stop solving. Defined by a subclass.
Reimplemented in itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
|
inlineprotectedvirtual |
This method is optionally defined by a subclass and is called before the loop of iterations of calculate_change & update. It does the global initialization, i.e. in the SparseFieldLevelSetImageFilter, initialize the list of layers.
Reimplemented in itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::CurvatureRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TImageForceFunction >, itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >, itk::FiniteDifferenceSparseImageFilter< TInputImageType, TSparseOutputImageType >, and itk::FiniteDifferenceSparseImageFilter< TInputImage, TSparseOutputImage >.
Definition at line 315 of file itkFiniteDifferenceImageFilter.h.
|
private |
Initialize the values of the Function coefficients. This function will also take care of checking whether the image spacing should be taken into account or not.
|
inlineprotectedvirtual |
This method is optionally defined by a subclass and is called immediately prior to each iterative CalculateChange-ApplyUpdate cycle. It can be used to set global variables needed for the next iteration (ie. average gradient magnitude of the image in anisotropic diffusion functions), or otherwise prepare for the next iteration.
Reimplemented in itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >, itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::LevelSetMotionRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >, itk::FastSymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::SymmetricForcesDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::DemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::VectorCurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >, and itk::CurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >.
Definition at line 325 of file itkFiniteDifferenceImageFilter.h.
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
inlineprotectedvirtual |
This method is called after the solution has been generated to allow subclasses to apply some further processing to the output.
Reimplemented in itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >, and itk::ImplicitManifoldNormalVectorFilter< TInputImage, TSparseOutputImage >.
Definition at line 351 of file itkFiniteDifferenceImageFilter.h.
|
overrideprotectedvirtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >, itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::ParallelSparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >, itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, TOutputImage >, itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::CurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >, itk::MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::BinaryMinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::FiniteDifferenceSparseImageFilter< TInputImage, TSparseOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
Virtual method for resolving a single time step from a set of time steps returned from processing threads.
timeStepList | The set of time changes compiled from all the threaded calls to ThreadedGenerateData. |
valid | The set of flags indicating which of "list" elements are valid |
The default is to return the minimum value in the list.
|
virtual |
This method sets the pointer to a FiniteDifferenceFunction object that will be used by the filter to calculate updates at image pixels.
Referenced by itk::CurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::CurvatureAnisotropicDiffusionImageFilter(), itk::VectorCurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::VectorCurvatureAnisotropicDiffusionImageFilter(), and itk::VectorGradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::VectorGradientAnisotropicDiffusionImageFilter().
|
protectedvirtual |
Set the number of elapsed iterations of the filter.
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
virtual |
Require the filter to be manually reinitialized (by calling SetStateToUninitialized()
|
virtual |
Set/Get the maximum error allowed in the solution. This may not be defined for all solvers and its meaning may change with the application.
Reimplemented in itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, TOutputImage >, and itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >.
|
virtual |
Set/Get the number of iterations that the filter will run.
|
virtual |
Set/Get the root mean squared change of the previous iteration. May not be used by all solvers.
|
inline |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Definition at line 224 of file itkFiniteDifferenceImageFilter.h.
|
inline |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Definition at line 219 of file itkFiniteDifferenceImageFilter.h.
|
virtual |
Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn.
|
inlineprotectedvirtual |
This method is similar to Halt(), and its default implementation in this class is simply to call Halt(). However, this method takes as a parameter a void pointer to the MultiThreaderBase::WorkUnitInfo structure. If you override this method instead of overriding Halt, you will be able to get the current thread ID and handle the Halt method accordingly. This is useful if you are doing a lot of processing in Halt that you don't want parallelized. Notice that ThreadedHalt is only called by the multithreaded filters, so you still should implement Halt, just in case a non-threaded filter is used.
Definition at line 304 of file itkFiniteDifferenceImageFilter.h.
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
virtual |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
|
staticconstexpr |
Dimensionality of input and output data is assumed to be the same.
Definition at line 151 of file itkFiniteDifferenceImageFilter.h.
|
private |
The function that will be used in calculating updates for each pixel.
Definition at line 380 of file itkFiniteDifferenceImageFilter.h.
|
protected |
A counter for keeping track of the number of elapsed iterations during filtering.
Definition at line 359 of file itkFiniteDifferenceImageFilter.h.
|
protected |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Definition at line 240 of file itkFiniteDifferenceImageFilter.h.
|
protected |
Indicates whether the filter automatically resets to UNINITIALIZED state after completing, or whether filter must be manually reset
Definition at line 363 of file itkFiniteDifferenceImageFilter.h.
|
protected |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Definition at line 366 of file itkFiniteDifferenceImageFilter.h.
|
protected |
The maximum number of iterations this filter will run
Definition at line 355 of file itkFiniteDifferenceImageFilter.h.
|
protected |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Definition at line 365 of file itkFiniteDifferenceImageFilter.h.
|
private |
Control whether derivatives use spacing of the input image in its calculation.
Definition at line 377 of file itkFiniteDifferenceImageFilter.h.