24#ifndef itkLinearAnisotropicDiffusionLBRImageFilter_h
25#define itkLinearAnisotropicDiffusionLBRImageFilter_h
47template <typename TImage, typename TScalar = typename NumericTraits<typename TImage::PixelType>::RealType>
87 itkGetConstMacro(MaxNumberOfTimeSteps,
int);
94 itkGetConstMacro(EffectiveNumberOfTimeSteps,
int);
100 typename ImageType::ConstPointer
127 using StencilType = std::pair<StencilBufferIndicesType, StencilCoefficientsType>;
161 struct StencilFunctor;
171#ifndef ITK_MANUAL_INSTANTIATION
172# include "itkLinearAnisotropicDiffusionLBRImageFilter.hxx"
An image region represents a structured region of data.
Templated n-dimensional image class.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
LinearAnisotropicDiffusionLBRImageFilter Self
int m_MaxNumberOfTimeSteps
ScalarType m_DiffusionTime
LinearAnisotropicDiffusionLBRImageFilter()
SmartPointer< Self > Pointer
static constexpr ImageDimensionType ImageDimension
Vector< OffsetType, HalfStencilSize > StencilOffsetsType
SymmetricSecondRankTensor< ScalarType, ImageDimension > TensorType
ScalarType m_EffectiveDiffusionTime
ImageType::ConstPointer GetInputImage()
InternalSizeT OutsideBufferIndex() const
ImageRegion< ImageDimension > RegionType
virtual RegionType GetRequestedRegion()
Offset< ImageDimension > OffsetType
ScalarImageType::Pointer m_DiagonalCoefficients
Image< ScalarType, ImageDimension > ScalarImageType
Vector< ScalarType, HalfStencilSize > StencilCoefficientsType
void SetMaxDiffusionTime(ScalarType time)
static ScalarType ScalarProduct(const TensorType &, const VectorType &, const VectorType &)
TensorImageType::ConstPointer GetInputTensor()
void SetInputTensor(const TensorImageType *tensorImage)
void SetRatioToMaxStableTimeStep(ScalarType ratio)
StencilImageType::Pointer m_StencilImage
virtual void ImageUpdate(ScalarType delta)
virtual void GenerateStencils()
Image< StencilType, ImageDimension > StencilImageType
ImageType::Pointer m_PreviousImage
void SetMaxNumberOfTimeSteps(int n)
Index< ImageDimension > IndexType
ImageToImageFilter< ImageType, ImageType > Superclass
SmartPointer< const Self > ConstPointer
virtual ScalarType MaxStableTimeStep()
~LinearAnisotropicDiffusionLBRImageFilter() override=default
Image< TensorType, ImageDimension > TensorImageType
void SetInputImage(const ImageType *image)
int m_EffectiveNumberOfTimeSteps
static const unsigned int HalfStencilSize
virtual void ImageUpdateLoop()
Automatically called by GenerateData.
ImageType::Pointer m_NextImage
std::pair< StencilBufferIndicesType, StencilCoefficientsType > StencilType
Vector< InternalSizeT, StencilSize > StencilBufferIndicesType
void GenerateData() override
typename ImageType::ImageDimensionType ImageDimensionType
static const unsigned int StencilSize
ScalarType m_RatioToMaxStableTimeStep
typename ImageType::PixelType PixelType
Vector< ScalarType, ImageDimension > VectorType
static constexpr T max(const T &)
Implements transparent reference counting.
Represent a symmetric tensor of second rank.
A templated class holding a n-Dimensional vector.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional index in a n-dimensional image.
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image.