ITK  5.0.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkPatchBasedDenoisingImageFilter.h>

+ Inheritance diagram for itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >:

Detailed Description

template<typename TInputImage, typename TOutputImage>
class itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >

Derived class implementing a specific patch-based denoising algorithm, as detailed below.

This class is derived from the base class PatchBasedDenoisingBaseImageFilter; please refer to the documentation of the base class first. This class implements a denoising filter that uses iterative non-local, or semi-local, weighted averaging of image patches for image denoising. The intensity at each pixel 'p' gets updated as a weighted average of intensities of a chosen subset of pixels from the image.

This class implements the denoising algorithm using a Gaussian kernel function for nonparametric density estimation. The class implements a scheme to automatically estimated the kernel bandwidth parameter (namely, sigma) using leave-one-out cross validation. It implements schemes for random sampling of patches non-locally (from the entire image) as well as semi-locally (from the spatial proximity of the pixel being denoised at the specific point in time). It implements a specific scheme for defining patch weights (mask) as described in Awate and Whitaker 2005 IEEE CVPR and 2006 IEEE TPAMI.

See Also
PatchBasedDenoisingBaseImageFilter

Definition at line 60 of file itkPatchBasedDenoisingImageFilter.h.

Classes

struct  ThreadDataStruct
 
struct  ThreadFilterStruct
 

Public Types

using BaseSamplerPointer = typename BaseSamplerType::Pointer
 
using BaseSamplerType = itk::Statistics::RegionConstrainedSubsampler< PatchSampleType, InputImageRegionType >
 
using ConstPointer = SmartPointer< const Self >
 
using EigenValuesArrayType = FixedArray< PixelValueType, 3 >
 
using EigenValuesCacheType = std::vector< EigenValuesArrayType >
 
using EigenVectorsCacheType = std::vector< EigenVectorsMatrixType >
 
using EigenVectorsMatrixType = Matrix< PixelValueType, 3, 3 >
 
using InputImagePatchIterator = typename Superclass::InputImagePatchIterator
 
using InputImageRegionConstIteratorType = ImageRegionConstIterator< InputImageType >
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = typename Superclass::InputImageType
 
using InstanceIdentifier = typename BaseSamplerType::InstanceIdentifier
 
using ListAdaptorType = typename Superclass::ListAdaptorType
 
using OutputImagePointer = typename Superclass::OutputImagePointer
 
using OutputImageRegionIteratorType = ImageRegionIterator< OutputImageType >
 
using OutputImageType = typename Superclass::OutputImageType
 
using PatchRadiusType = typename Superclass::PatchRadiusType
 
using PatchSampleType = ListAdaptorType
 
using PatchWeightsType = typename Superclass::PatchWeightsType
 
using PixelArrayType = Array< PixelValueType >
 
using PixelType = typename Superclass::PixelType
 
using PixelValueType = typename Superclass::PixelValueType
 
using Pointer = SmartPointer< Self >
 
using RealArrayType = Array< RealValueType >
 
using RealType = typename NumericTraits< PixelType >::RealType
 
using RealValueType = typename NumericTraits< PixelValueType >::RealType
 
using Self = PatchBasedDenoisingImageFilter
 
using ShortArrayType = Array< unsigned short >
 
using Superclass = PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
 
- Public Types inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
using BoundaryConditionType = ZeroFluxNeumannBoundaryCondition< OutputImageType >
 
enum  ComponentSpaceType {
  EUCLIDEAN = 0,
  RIEMANNIAN = 1
}
 
using ConstPointer = SmartPointer< const Self >
 
enum  FilterStateType {
  UNINITIALIZED = 0,
  INITIALIZED = 1
}
 
using InputImagePatchIterator = ConstNeighborhoodIterator< InputImageType, BoundaryConditionType >
 
using InputImageType = TInputImage
 
using InputPixelType = typename InputImageType::PixelType
 
using ListAdaptorType = typename::itk::Statistics::ImageToNeighborhoodSampleAdaptor< OutputImageType, BoundaryConditionType >
 
enum  NoiseModelType {
  NOMODEL = 0,
  GAUSSIAN = 1,
  RICIAN = 2,
  POISSON = 3
}
 
using OutputImageType = TOutputImage
 
using OutputPixelType = typename OutputImageType::PixelType
 
using PatchRadiusType = typename ListAdaptorType::NeighborhoodRadiusType
 
using PatchWeightsType = Array< float >
 
using PixelType = OutputPixelType
 
using PixelValueType = typename NumericTraits< PixelType >::ValueType
 
using Pointer = SmartPointer< Self >
 
using Self = PatchBasedDenoisingBaseImageFilter
 
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TOutputImage >
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual RealType GetNoiseSigma () const
 
virtual unsigned int GetNumIndependentComponents () const
 
void SetNoiseSigma (const RealType &sigma)
 
virtual void SetUseSmoothDiscPatchWeights (bool _arg)
 
virtual void UseSmoothDiscPatchWeightsOn ()
 
virtual void UseSmoothDiscPatchWeightsOff ()
 
virtual bool GetUseSmoothDiscPatchWeights () const
 
void SetKernelBandwidthSigma (const RealArrayType &kernelSigma)
 
virtual RealArrayType GetKernelBandwidthSigma () const
 
virtual void SetKernelBandwidthFractionPixelsForEstimation (double _arg)
 
virtual const double & GetKernelBandwidthFractionPixelsForEstimation () const
 
virtual void SetComputeConditionalDerivatives (bool _arg)
 
virtual void ComputeConditionalDerivativesOn ()
 
virtual void ComputeConditionalDerivativesOff ()
 
virtual bool GetComputeConditionalDerivatives () const
 
virtual void SetUseFastTensorComputations (bool _arg)
 
virtual void UseFastTensorComputationsOn ()
 
virtual void UseFastTensorComputationsOff ()
 
virtual bool GetUseFastTensorComputations () const
 
virtual void SetKernelBandwidthMultiplicationFactor (double _arg)
 
virtual const double & GetKernelBandwidthMultiplicationFactor () const
 
virtual void SetSampler (BaseSamplerType *_arg)
 
virtual BaseSamplerTypeGetModifiableSampler ()
 
virtual const BaseSamplerTypeGetSampler () const
 
- Public Member Functions inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
virtual const unsigned int & GetElapsedIterations () const
 
PatchRadiusType GetPatchDiameterInVoxels () const
 
PatchRadiusType::SizeValueType GetPatchLengthInVoxels () const
 
PatchRadiusType GetPatchRadiusInVoxels () const
 
PatchWeightsType GetPatchWeights () const
 
void SetPatchWeights (const PatchWeightsType &weights)
 
virtual void SetStateToInitialized ()
 
virtual void SetStateToUninitialized ()
 
virtual void SetPatchRadius (unsigned int _arg)
 
virtual unsigned int GetPatchRadius () const
 
virtual void SetNoiseModel (NoiseModelType _arg)
 
virtual NoiseModelType GetNoiseModel () const
 
virtual void SetSmoothingWeight (double _arg)
 
virtual double GetSmoothingWeight () const
 
virtual void SetNoiseModelFidelityWeight (double _arg)
 
virtual double GetNoiseModelFidelityWeight () const
 
virtual void SetKernelBandwidthEstimation (bool _arg)
 
virtual void KernelBandwidthEstimationOn ()
 
virtual void KernelBandwidthEstimationOff ()
 
virtual bool GetKernelBandwidthEstimation () const
 
virtual void SetKernelBandwidthUpdateFrequency (unsigned int _arg)
 
virtual unsigned int GetKernelBandwidthUpdateFrequency () const
 
virtual void SetNumberOfIterations (unsigned int _arg)
 
virtual const unsigned int & GetNumberOfIterations () const
 
virtual void SetAlwaysTreatComponentsAsEuclidean (bool _arg)
 
virtual void AlwaysTreatComponentsAsEuclideanOn ()
 
virtual void AlwaysTreatComponentsAsEuclideanOff ()
 
virtual bool GetAlwaysTreatComponentsAsEuclidean () const
 
virtual void SetState (FilterStateType _arg)
 
virtual const FilterStateTypeGetState () const
 
virtual void SetManualReinitialization (bool _arg)
 
virtual const bool & GetManualReinitialization () const
 
virtual void ManualReinitializationOn ()
 
virtual void ManualReinitializationOff ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = Superclass::ImageDimension
 
static constexpr unsigned int MaxSigmaUpdateIterations = 20
 
- Static Public Attributes inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int ImageDimension = InputImageType::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
 

Protected Types

template<typename T , typename U = void>
using DisableIfMultiComponent = typename std::enable_if< std::is_same< T, typename NumericTraits< T >::ValueType >::value, U >
 
template<typename T , typename U = void>
using EnableIfMultiComponent = typename std::enable_if<!std::is_same< T, typename NumericTraits< T >::ValueType >::value, U >
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 

Protected Member Functions

template<typename RealT >
RealType AddUpdate (const RealT &a, const RealType &b)
 
void AllocateUpdateBuffer () override
 
void ApplyUpdate () override
 
template<typename PixelT >
void ComputeDifferenceAndWeightedSquaredNorm (const PixelT &a, const PixelT &b, const RealArrayType &weight, bool useCachedComputations, SizeValueType cacheIndex, EigenValuesCacheType &eigenValsCache, EigenVectorsCacheType &eigenVecsCache, RealType &diff, RealArrayType &norm)
 
virtual RealType ComputeGradientJointEntropy (InstanceIdentifier id, typename ListAdaptorType::Pointer &inList, BaseSamplerPointer &sampler, ThreadDataStruct &threadData)
 
void ComputeImageUpdate () override
 
void ComputeKernelBandwidthUpdate () override
 
void ComputeMinMax (const Image< DiffusionTensor3D< PixelValueType >, ImageDimension > *img)
 
template<typename TImageType >
DisableIfMultiComponent
< typename
TImageType::PixelType >::type 
ComputeMinMax (const TImageType *img)
 
template<typename TImageType >
EnableIfMultiComponent
< typename
TImageType::PixelType >::type 
ComputeMinMax (const TImageType *img)
 
void CopyInputToOutput () override
 
virtual void EmptyCaches ()
 
virtual void EnforceConstraints ()
 
void GenerateInputRequestedRegion () override
 
template<typename T >
DisableIfMultiComponent< T, T >
::type 
GetComponent (const T pix, unsigned int) const
 
template<typename T >
EnableIfMultiComponent< T,
typename NumericTraits< T >
::ValueType >::type 
GetComponent (const T &pix, unsigned int idx) const
 
virtual ThreadDataStruct GetThreadData (int threadId)
 
void Initialize () override
 
void InitializeIteration () override
 
virtual void InitializeKernelSigma ()
 
void InitializePatchWeights () override
 
virtual void InitializePatchWeightsSmoothDisc ()
 
 PatchBasedDenoisingImageFilter ()
 
void PostProcessOutput () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual RealArrayType ResolveSigmaUpdate ()
 
template<typename T >
void SetComponent (T &pix, unsigned int, typename DisableIfMultiComponent< T, RealValueType >::type val) const
 
template<typename T >
void SetComponent (T &pix, unsigned int idx, typename EnableIfMultiComponent< T, RealValueType >::type val) const
 
virtual void SetThreadData (int threadId, const ThreadDataStruct &data)
 
virtual void ThreadedApplyUpdate (const InputImageRegionType &regionToProcess, const int)
 
virtual ThreadDataStruct ThreadedComputeImageUpdate (const InputImageRegionType &regionToProcess, const int threadId, ThreadDataStruct threadData)
 
virtual ThreadDataStruct ThreadedComputeSigmaUpdate (const InputImageRegionType &regionToProcess, const int, ThreadDataStruct threadData)
 
 ~PatchBasedDenoisingImageFilter () override
 
void ComputeDifferenceAndWeightedSquaredNorm (const DiffusionTensor3D< PixelValueType > &a, const DiffusionTensor3D< PixelValueType > &b, const RealArrayType &weight, bool useCachedComputations, SizeValueType cacheIndex, EigenValuesCacheType &eigenValsCache, EigenVectorsCacheType &eigenVecsCache, RealType &diff, RealArrayType &norm)
 
RealType AddUpdate (const DiffusionTensor3D< RealValueType > &a, const RealType &b)
 
- Protected Member Functions inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
ComponentSpaceType DetermineComponentSpace (const RGBPixel< PixelValueType > &)
 
ComponentSpaceType DetermineComponentSpace (const RGBAPixel< PixelValueType > &)
 
ComponentSpaceType DetermineComponentSpace (const DiffusionTensor3D< PixelValueType > &)
 
template<typename PixelT >
ComponentSpaceType DetermineComponentSpace (const PixelT &)
 
void GenerateData () override
 
virtual bool Halt ()
 
 PatchBasedDenoisingBaseImageFilter ()
 
virtual void PreProcessInput ()
 
virtual void SetElapsedIterations (unsigned int _arg)
 
virtual bool ThreadedHalt (void *)
 
 ~PatchBasedDenoisingBaseImageFilter () override=default
 
virtual void SetComponentSpace (ComponentSpaceType _arg)
 
virtual ComponentSpaceType GetComponentSpace () const
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
void VerifyInputInformation () ITKv5_CONST override
 
 ~ImageToImageFilter () override
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

RealType AddEuclideanUpdate (const RealType &a, const RealType &b)
 
RealType AddExponentialMapUpdate (const DiffusionTensor3D< RealValueType > &spdMatrix, const DiffusionTensor3D< RealValueType > &symMatrix)
 
template<typename TensorValueT >
void Compute3x3EigenAnalysis (const DiffusionTensor3D< TensorValueT > &spdMatrix, FixedArray< TensorValueT, 3 > &eigenVals, Matrix< TensorValueT, 3, 3 > &eigenVecs)
 
void ComputeLogMapAndWeightedSquaredGeodesicDifference (const DiffusionTensor3D< PixelValueType > &spdMatrixA, const DiffusionTensor3D< PixelValueType > &spdMatrixB, const RealArrayType &weight, bool useCachedComputations, SizeValueType cacheIndex, EigenValuesCacheType &eigenValsCache, EigenVectorsCacheType &eigenVecsCache, RealType &symMatrixLogMap, RealArrayType &geodesicDist)
 
void ComputeSignedEuclideanDifferenceAndWeightedSquaredNorm (const PixelType &a, const PixelType &b, const RealArrayType &weight, bool useCachedComputations, SizeValueType cacheIndex, EigenValuesCacheType &eigenValsCache, EigenVectorsCacheType &eigenVecsCache, RealType &diff, RealArrayType &norm)
 
template<typename TInputImageType >
void DispatchedArrayMinMax (const TInputImageType *img)
 
template<typename TInputImageType >
void DispatchedMinMax (const TInputImageType *img)
 
template<typename TInputImageType >
void DispatchedRiemannianMinMax (const TInputImageType *img)
 
template<typename TInputImageType >
void DispatchedVectorMinMax (const TInputImageType *img)
 
virtual void ResolveRiemannianMinMax ()
 
ThreadDataStruct ThreadedRiemannianMinMax (const InputImageRegionType &regionToProcess, const int, const InputImageType *img, ThreadDataStruct threadData)
 

Static Private Member Functions

static
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION 
ApplyUpdateThreaderCallback (void *arg)
 
static
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION 
ComputeImageUpdateThreaderCallback (void *arg)
 
static
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION 
ComputeSigmaUpdateThreaderCallback (void *arg)
 
static
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION 
RiemannianMinMaxThreaderCallback (void *arg)
 

Private Attributes

bool m_ComputeConditionalDerivatives { false }
 
PixelArrayType m_ImageMax
 
PixelArrayType m_ImageMin
 
RealArrayType m_IntensityRescaleInvFactor
 
double m_KernelBandwidthFractionPixelsForEstimation { 0.20 }
 
double m_KernelBandwidthMultiplicationFactor { 1.0 }
 
RealArrayType m_KernelBandwidthSigma
 
bool m_KernelBandwidthSigmaIsSet { false }
 
double m_MinProbability
 
double m_MinSigma
 
RealType m_NoiseSigma
 
bool m_NoiseSigmaIsSet { false }
 
RealType m_NoiseSigmaSquared
 
unsigned int m_NumIndependentComponents { 0 }
 
unsigned int m_NumPixelComponents { 0 }
 
BaseSamplerPointer m_Sampler
 
ListAdaptorType::Pointer m_SearchSpaceList
 
ShortArrayType m_SigmaConverged
 
double m_SigmaUpdateConvergenceTolerance { 0.01 }
 
unsigned int m_SigmaUpdateDecimationFactor
 
std::vector< ThreadDataStructm_ThreadData
 
unsigned int m_TotalNumberPixels { 0 }
 
OutputImageType::Pointer m_UpdateBuffer
 
bool m_UseFastTensorComputations { true }
 
bool m_UseSmoothDiscPatchWeights { true }
 
PixelType m_ZeroPixel
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION 
ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
const InputImageTypem_InputImage
 
OutputImageTypem_OutputImage
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::BaseSamplerPointer = typename BaseSamplerType::Pointer

Definition at line 115 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::BaseSamplerType = itk::Statistics::RegionConstrainedSubsampler< PatchSampleType, InputImageRegionType >

Type definitions for delegate classes.

Definition at line 114 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self>

Definition at line 70 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename T , typename U = void>
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DisableIfMultiComponent = typename std::enable_if<std::is_same<T, typename NumericTraits<T>::ValueType>::value, U >
protected

Definition at line 235 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EigenValuesArrayType = FixedArray< PixelValueType, 3 >

Type definitions for Riemannian LogMap Eigensystem. Since the LogMap computations are only valid for DiffusionTensor3D pixels right now which always have a dimension of 3x3.

Definition at line 123 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EigenValuesCacheType = std::vector<EigenValuesArrayType>

Definition at line 125 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EigenVectorsCacheType = std::vector<EigenVectorsMatrixType>

Definition at line 126 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EigenVectorsMatrixType = Matrix< PixelValueType, 3, 3 >

Definition at line 124 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename T , typename U = void>
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EnableIfMultiComponent = typename std::enable_if<!std::is_same<T, typename NumericTraits<T>::ValueType>::value, U >
protected

Definition at line 238 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InputImagePatchIterator = typename Superclass::InputImagePatchIterator

Definition at line 108 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InputImageRegionConstIteratorType = ImageRegionConstIterator<InputImageType>

Definition at line 92 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType

Type definition for the input image region and size type.

Definition at line 88 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InputImageType = typename Superclass::InputImageType

Type definition for the input image.

Definition at line 81 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InstanceIdentifier = typename BaseSamplerType::InstanceIdentifier

Definition at line 116 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ListAdaptorType = typename Superclass::ListAdaptorType

Type definition for patch weights type.

Definition at line 106 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename Superclass::OutputImagePointer

Definition at line 71 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::OutputImageRegionIteratorType = ImageRegionIterator<OutputImageType>

Type definition for the input image region iterator

Definition at line 91 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::OutputImageType = typename Superclass::OutputImageType

Definition at line 82 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PatchRadiusType = typename Superclass::PatchRadiusType

Definition at line 107 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PatchSampleType = ListAdaptorType

Definition at line 109 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PatchWeightsType = typename Superclass::PatchWeightsType

Definition at line 110 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PixelArrayType = Array<PixelValueType>

Definition at line 101 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PixelType = typename Superclass::PixelType

Type definition for the input and output pixel types. Output pixel type will be used in computations.

Definition at line 96 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PixelValueType = typename Superclass::PixelValueType

Definition at line 97 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self>

Definition at line 69 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::RealArrayType = Array<RealValueType>

Definition at line 102 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::RealType = typename NumericTraits< PixelType >::RealType

Definition at line 99 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::RealValueType = typename NumericTraits< PixelValueType >::RealType

Definition at line 100 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::Self = PatchBasedDenoisingImageFilter

Standard class type aliases.

Definition at line 67 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ShortArrayType = Array<unsigned short>

Definition at line 103 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
using itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::Superclass = PatchBasedDenoisingBaseImageFilter<TInputImage, TOutputImage>

Definition at line 68 of file itkPatchBasedDenoisingImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TOutputImage >
itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PatchBasedDenoisingImageFilter ( )
protected
template<typename TInputImage , typename TOutputImage >
itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::~PatchBasedDenoisingImageFilter ( )
overrideprotected

Member Function Documentation

template<typename TInputImage , typename TOutputImage >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AddEuclideanUpdate ( const RealType a,
const RealType b 
)
private
template<typename TInputImage , typename TOutputImage >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AddExponentialMapUpdate ( const DiffusionTensor3D< RealValueType > &  spdMatrix,
const DiffusionTensor3D< RealValueType > &  symMatrix 
)
private

Returns the Exp map

template<typename TInputImage , typename TOutputImage >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AddUpdate ( const DiffusionTensor3D< RealValueType > &  a,
const RealType b 
)
inlineprotected

Update a by adding b. In Riemannian space, b is in the tangent space of a.

Definition at line 370 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename RealT >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AddUpdate ( const RealT &  a,
const RealType b 
)
inlineprotected

Definition at line 385 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AllocateUpdateBuffer ( )
overrideprotectedvirtual

Allocate memory for a temporary update container in the subclass

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ApplyUpdate ( )
overrideprotectedvirtual
template<typename TInputImage , typename TOutputImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ApplyUpdateThreaderCallback ( void *  arg)
staticprivate

This callback method uses ImageSource::SplitRequestedRegion to acquire a region which it then passes to ThreadedApplyUpdate for processing.

template<typename TInputImage , typename TOutputImage >
template<typename TensorValueT >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::Compute3x3EigenAnalysis ( const DiffusionTensor3D< TensorValueT > &  spdMatrix,
FixedArray< TensorValueT, 3 > &  eigenVals,
Matrix< TensorValueT, 3, 3 > &  eigenVecs 
)
private
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeConditionalDerivativesOff ( )
virtual

Set/Get flag indicating whether conditional derivatives should be used estimating sigma.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeConditionalDerivativesOn ( )
virtual

Set/Get flag indicating whether conditional derivatives should be used estimating sigma.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeDifferenceAndWeightedSquaredNorm ( const DiffusionTensor3D< PixelValueType > &  a,
const DiffusionTensor3D< PixelValueType > &  b,
const RealArrayType weight,
bool  useCachedComputations,
SizeValueType  cacheIndex,
EigenValuesCacheType eigenValsCache,
EigenVectorsCacheType eigenVecsCache,
RealType diff,
RealArrayType norm 
)
inlineprotected

Compute the signed difference a-b and the weighted squared distance between a and b. Do the computation in either Euclidean or Riemannian space depending on pixel type. The cache is used when the first argument is repeatedly passed into ComputeLogMap since the eigen analysis will already have been computed for that pixel.

Definition at line 325 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename PixelT >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeDifferenceAndWeightedSquaredNorm ( const PixelT &  a,
const PixelT &  b,
const RealArrayType weight,
bool  useCachedComputations,
SizeValueType  cacheIndex,
EigenValuesCacheType eigenValsCache,
EigenVectorsCacheType eigenVecsCache,
RealType diff,
RealArrayType norm 
)
inlineprotected

Definition at line 352 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
virtual RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeGradientJointEntropy ( InstanceIdentifier  id,
typename ListAdaptorType::Pointer &  inList,
BaseSamplerPointer sampler,
ThreadDataStruct threadData 
)
protectedvirtual
template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeImageUpdate ( )
overrideprotectedvirtual

Perform one iteration of image denoising.

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeImageUpdateThreaderCallback ( void *  arg)
staticprivate

This callback method uses ImageSource::SplitRequestedRegion to acquire a region which it then passes to ComputeImageUpdate for processing.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeKernelBandwidthUpdate ( )
overrideprotectedvirtual

Automatically estimate kernel bandwidth from the image data.

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeLogMapAndWeightedSquaredGeodesicDifference ( const DiffusionTensor3D< PixelValueType > &  spdMatrixA,
const DiffusionTensor3D< PixelValueType > &  spdMatrixB,
const RealArrayType weight,
bool  useCachedComputations,
SizeValueType  cacheIndex,
EigenValuesCacheType eigenValsCache,
EigenVectorsCacheType eigenVecsCache,
RealType symMatrixLogMap,
RealArrayType geodesicDist 
)
private

Returns the Log map in the tangent space of spdMatrixA.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeMinMax ( const Image< DiffusionTensor3D< PixelValueType >, ImageDimension > *  img)
inlineprotected

Compute the Minimum and Maximum pixel in the image for each independent component

Definition at line 291 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename TImageType >
DisableIfMultiComponent<typename TImageType::PixelType>::type itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeMinMax ( const TImageType *  img)
inlineprotected

Definition at line 305 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename TImageType >
EnableIfMultiComponent<typename TImageType::PixelType>::type itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeMinMax ( const TImageType *  img)
inlineprotected

Definition at line 312 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeSigmaUpdateThreaderCallback ( void *  arg)
staticprivate

This callback method uses ImageSource::SplitRequestedRegion to acquire an output region that it passes to ComputeSigma for processing.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeSignedEuclideanDifferenceAndWeightedSquaredNorm ( const PixelType a,
const PixelType b,
const RealArrayType weight,
bool  useCachedComputations,
SizeValueType  cacheIndex,
EigenValuesCacheType eigenValsCache,
EigenVectorsCacheType eigenVecsCache,
RealType diff,
RealArrayType norm 
)
private
template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::CopyInputToOutput ( )
overrideprotectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual::itk::LightObject::Pointer itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedArrayMinMax ( const TInputImageType *  img)
private
template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedMinMax ( const TInputImageType *  img)
private
template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedRiemannianMinMax ( const TInputImageType *  img)
private
template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedVectorMinMax ( const TInputImageType *  img)
private
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EmptyCaches ( )
protectedvirtual

Clean up Eigensystem caches

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EnforceConstraints ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierarchy. Up till now, the base assumption has been that the largest possible region will be requested of the input.

This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.

See Also
ProcessObject::GenerateInputRequestedRegion(), ImageSource::GenerateInputRequestedRegion()

Reimplemented from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
template<typename T >
DisableIfMultiComponent<T, T>::type itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetComponent ( const T  pix,
unsigned  int 
) const
inlineprotected

A method to generically get a component.

The same function name can be used to generically access for scalars and array-like types. For scalar types the idx parameter is ignored.

Definition at line 249 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename T >
EnableIfMultiComponent<T, typename NumericTraits<T>::ValueType>::type itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetComponent ( const T &  pix,
unsigned int  idx 
) const
inlineprotected

Definition at line 263 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
virtual bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetComputeConditionalDerivatives ( ) const
virtual

Set/Get flag indicating whether conditional derivatives should be used estimating sigma.

template<typename TInputImage , typename TOutputImage >
virtual const double& itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetKernelBandwidthFractionPixelsForEstimation ( ) const
virtual

Set/Get the fraction of the image to use for kernel bandwidth sigma estimation. To reduce the computational burden for computing sigma, a small random fraction of the image pixels can be used.

template<typename TInputImage , typename TOutputImage >
virtual const double& itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetKernelBandwidthMultiplicationFactor ( ) const
virtual

Set/Get the kernel bandwidth sigma multiplication factor used to modify the automatically-estimated kernel bandwidth sigma. At times, it may be desirable to modify the value of the automatically-estimated sigma. Typically, this number isn't very far from 1. Note: This is used only when KernelBandwidthEstimation is True/On.

template<typename TInputImage , typename TOutputImage >
virtual RealArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetKernelBandwidthSigma ( ) const
virtual

Set/Get initial kernel bandwidth estimate. To prevent the class from automatically modifying this estimate, set KernelBandwidthEstimation to false in the base class.

template<typename TInputImage , typename TOutputImage >
virtual BaseSamplerType* itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetModifiableSampler ( )
virtual

Set/Get the class used for creating a subsample of patches.

template<typename TInputImage , typename TOutputImage >
virtual const char* itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
virtual RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetNoiseSigma ( ) const
virtual
template<typename TInputImage , typename TOutputImage >
virtual unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetNumIndependentComponents ( ) const
virtual

Get the number of independent components of the input.

template<typename TInputImage , typename TOutputImage >
virtual const BaseSamplerType* itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetSampler ( ) const
virtual

Set/Get the class used for creating a subsample of patches.

template<typename TInputImage , typename TOutputImage >
virtual ThreadDataStruct itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetThreadData ( int  threadId)
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetUseFastTensorComputations ( ) const
virtual

Set/Get flag indicating whether the fast algorithm for tensor computations should be used.

 Specifically, when this flag is true (default) or On, a faster implementation of the 3x3
 symmetric positive-definite eigensystem analysys will be used. See
 Hasan KM, Basser PJ, Parker DL, Alexander AL.
 Analytical computation of the eigenvalues and eigenvectors in DT-MRI.
 J Magn Reson 2001; 152: 41-47.
 This faster algorithm may be slightly less accurate and possibly less stable in the presence
 of noise.  So far in practice it has been shown to work well.

 However, you may want to turn this option off if you have concerns about numerical
 performance.
template<typename TInputImage , typename TOutputImage >
virtual bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetUseSmoothDiscPatchWeights ( ) const
virtual

Set/Get flag indicating whether smooth-disc patch weights should be used. If this flag is true, the smooth-disc patch weights will override any weights provided via the SetPatchWeights method.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::Initialize ( )
overrideprotectedvirtual
template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializeIteration ( )
overrideprotectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializeKernelSigma ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializePatchWeights ( )
overrideprotectedvirtual

Allocate memory and initialize patch weights.

Reimplemented from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializePatchWeightsSmoothDisc ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
static Pointer itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PostProcessOutput ( )
overrideprotectedvirtual
template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ResolveRiemannianMinMax ( )
privatevirtual
template<typename TInputImage , typename TOutputImage >
virtual RealArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ResolveSigmaUpdate ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::RiemannianMinMaxThreaderCallback ( void *  arg)
staticprivate

This callback method uses ImageSource::SplitRequestedRegion to acquire a region which it then passes to ThreadedRiemannianMinMax for processing.

template<typename TInputImage , typename TOutputImage >
template<typename T >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetComponent ( T &  pix,
unsigned  int,
typename DisableIfMultiComponent< T, RealValueType >::type  val 
) const
inlineprotected

A method to generically set a component.

Definition at line 272 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename T >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetComponent ( T &  pix,
unsigned int  idx,
typename EnableIfMultiComponent< T, RealValueType >::type  val 
) const
inlineprotected

Definition at line 281 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetComputeConditionalDerivatives ( bool  _arg)
virtual

Set/Get flag indicating whether conditional derivatives should be used estimating sigma.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetKernelBandwidthFractionPixelsForEstimation ( double  _arg)
virtual

Set/Get the fraction of the image to use for kernel bandwidth sigma estimation. To reduce the computational burden for computing sigma, a small random fraction of the image pixels can be used.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetKernelBandwidthMultiplicationFactor ( double  _arg)
virtual

Set/Get the kernel bandwidth sigma multiplication factor used to modify the automatically-estimated kernel bandwidth sigma. At times, it may be desirable to modify the value of the automatically-estimated sigma. Typically, this number isn't very far from 1. Note: This is used only when KernelBandwidthEstimation is True/On.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetKernelBandwidthSigma ( const RealArrayType kernelSigma)

Set/Get initial kernel bandwidth estimate. To prevent the class from automatically modifying this estimate, set KernelBandwidthEstimation to false in the base class.

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetNoiseSigma ( const RealType sigma)

Set/Get the noise sigma. Used by the noise model where appropriate, defaults to 5% of the image intensity range

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetSampler ( BaseSamplerType _arg)
virtual

Set/Get the class used for creating a subsample of patches.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetThreadData ( int  threadId,
const ThreadDataStruct data 
)
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetUseFastTensorComputations ( bool  _arg)
virtual

Set/Get flag indicating whether the fast algorithm for tensor computations should be used.

 Specifically, when this flag is true (default) or On, a faster implementation of the 3x3
 symmetric positive-definite eigensystem analysys will be used. See
 Hasan KM, Basser PJ, Parker DL, Alexander AL.
 Analytical computation of the eigenvalues and eigenvectors in DT-MRI.
 J Magn Reson 2001; 152: 41-47.
 This faster algorithm may be slightly less accurate and possibly less stable in the presence
 of noise.  So far in practice it has been shown to work well.

 However, you may want to turn this option off if you have concerns about numerical
 performance.
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetUseSmoothDiscPatchWeights ( bool  _arg)
virtual

Set/Get flag indicating whether smooth-disc patch weights should be used. If this flag is true, the smooth-disc patch weights will override any weights provided via the SetPatchWeights method.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedApplyUpdate ( const InputImageRegionType regionToProcess,
const int   
)
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual ThreadDataStruct itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedComputeImageUpdate ( const InputImageRegionType regionToProcess,
const int  threadId,
ThreadDataStruct  threadData 
)
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual ThreadDataStruct itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedComputeSigmaUpdate ( const InputImageRegionType regionToProcess,
const int  ,
ThreadDataStruct  threadData 
)
protectedvirtual
template<typename TInputImage , typename TOutputImage >
ThreadDataStruct itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedRiemannianMinMax ( const InputImageRegionType regionToProcess,
const int  ,
const InputImageType img,
ThreadDataStruct  threadData 
)
private
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::UseFastTensorComputationsOff ( )
virtual

Set/Get flag indicating whether the fast algorithm for tensor computations should be used.

 Specifically, when this flag is true (default) or On, a faster implementation of the 3x3
 symmetric positive-definite eigensystem analysys will be used. See
 Hasan KM, Basser PJ, Parker DL, Alexander AL.
 Analytical computation of the eigenvalues and eigenvectors in DT-MRI.
 J Magn Reson 2001; 152: 41-47.
 This faster algorithm may be slightly less accurate and possibly less stable in the presence
 of noise.  So far in practice it has been shown to work well.

 However, you may want to turn this option off if you have concerns about numerical
 performance.
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::UseFastTensorComputationsOn ( )
virtual

Set/Get flag indicating whether the fast algorithm for tensor computations should be used.

 Specifically, when this flag is true (default) or On, a faster implementation of the 3x3
 symmetric positive-definite eigensystem analysys will be used. See
 Hasan KM, Basser PJ, Parker DL, Alexander AL.
 Analytical computation of the eigenvalues and eigenvectors in DT-MRI.
 J Magn Reson 2001; 152: 41-47.
 This faster algorithm may be slightly less accurate and possibly less stable in the presence
 of noise.  So far in practice it has been shown to work well.

 However, you may want to turn this option off if you have concerns about numerical
 performance.
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::UseSmoothDiscPatchWeightsOff ( )
virtual

Set/Get flag indicating whether smooth-disc patch weights should be used. If this flag is true, the smooth-disc patch weights will override any weights provided via the SetPatchWeights method.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::UseSmoothDiscPatchWeightsOn ( )
virtual

Set/Get flag indicating whether smooth-disc patch weights should be used. If this flag is true, the smooth-disc patch weights will override any weights provided via the SetPatchWeights method.

Member Data Documentation

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ImageDimension = Superclass::ImageDimension
static

Image dimension, assumed to be the same for input and output data

Definition at line 85 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_ComputeConditionalDerivatives { false }
private

Definition at line 526 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
PixelArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_ImageMax
private

Definition at line 524 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
PixelArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_ImageMin
private

Definition at line 523 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
RealArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_IntensityRescaleInvFactor
private

Definition at line 521 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_KernelBandwidthFractionPixelsForEstimation { 0.20 }
private

Definition at line 525 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_KernelBandwidthMultiplicationFactor { 1.0 }
private

Definition at line 532 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
RealArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_KernelBandwidthSigma
private

Definition at line 519 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_KernelBandwidthSigmaIsSet { false }
private

Definition at line 520 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_MinProbability
private

Definition at line 528 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_MinSigma
private

Definition at line 527 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NoiseSigma
private

Definition at line 534 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NoiseSigmaIsSet { false }
private

Definition at line 536 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NoiseSigmaSquared
private

Definition at line 535 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NumIndependentComponents { 0 }
private

Definition at line 512 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NumPixelComponents { 0 }
private

Definition at line 511 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
BaseSamplerPointer itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_Sampler
private

Definition at line 538 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
ListAdaptorType::Pointer itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_SearchSpaceList
private

Definition at line 539 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
ShortArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_SigmaConverged
private

Definition at line 531 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_SigmaUpdateConvergenceTolerance { 0.01 }
private

Definition at line 530 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_SigmaUpdateDecimationFactor
private

Definition at line 529 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
std::vector<ThreadDataStruct> itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_ThreadData
private

Definition at line 506 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_TotalNumberPixels { 0 }
private

Definition at line 513 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
OutputImageType::Pointer itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_UpdateBuffer
private

The buffer that holds the updates for an iteration of the algorithm.

Definition at line 509 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_UseFastTensorComputations { true }
private

Definition at line 517 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_UseSmoothDiscPatchWeights { true }
private

Definition at line 515 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
PixelType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_ZeroPixel
private

Definition at line 522 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::MaxSigmaUpdateIterations = 20
static

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 192 of file itkPatchBasedDenoisingImageFilter.h.


The documentation for this class was generated from the following file: