ITK  5.2.0
Insight Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public 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 >:

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 >
 
using ComponentSpaceEnum = PatchBasedDenoisingBaseImageFilterEnums::ComponentSpace
 
using ConstPointer = SmartPointer< const Self >
 
using FilterStateEnum = PatchBasedDenoisingBaseImageFilterEnums::FilterState
 
using InputImagePatchIterator = ConstNeighborhoodIterator< InputImageType, BoundaryConditionType >
 
using InputImageType = TInputImage
 
using InputPixelType = typename InputImageType::PixelType
 
using ListAdaptorType = typename ::itk::Statistics::ImageToNeighborhoodSampleAdaptor< OutputImageType, BoundaryConditionType >
 
using NoiseModelEnum = PatchBasedDenoisingBaseImageFilterEnums::NoiseModel
 
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
 
- Public Member Functions inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
virtual void SetPatchRadius (unsigned int _arg)
 
virtual unsigned int GetPatchRadius () const
 
PatchRadiusType GetPatchRadiusInVoxels () const
 
PatchRadiusType GetPatchDiameterInVoxels () const
 
PatchRadiusType::SizeValueType GetPatchLengthInVoxels () const
 
void SetPatchWeights (const PatchWeightsType &weights)
 
PatchWeightsType GetPatchWeights () const
 
virtual void SetNoiseModel (const NoiseModelEnum _arg)
 
virtual NoiseModelEnum 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 const unsigned int & GetElapsedIterations () const
 
virtual void SetAlwaysTreatComponentsAsEuclidean (bool _arg)
 
virtual void AlwaysTreatComponentsAsEuclideanOn ()
 
virtual void AlwaysTreatComponentsAsEuclideanOff ()
 
virtual bool GetAlwaysTreatComponentsAsEuclidean () const
 
virtual void SetStateToInitialized ()
 
virtual void SetStateToUninitialized ()
 
virtual void SetState (const FilterStateEnum _arg)
 
virtual const FilterStateEnumGetState () 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 DataObjectIdentifierType &key, DataObject *input)
 
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 ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput (unsigned int idx)
 
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 ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
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
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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 noexcept override
 
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::ImageToImageFilter< TInputImage, TOutputImage >
static void SetGlobalDefaultDirectionTolerance (double)
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static double GetGlobalDefaultCoordinateTolerance ()
 
- 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 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
 
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 >
 
static constexpr unsigned int MaxSigmaUpdateIterations = 20
 
std::vector< ThreadDataStructm_ThreadData
 
OutputImageType::Pointer m_UpdateBuffer
 
unsigned int m_NumPixelComponents { 0 }
 
unsigned int m_NumIndependentComponents { 0 }
 
unsigned int m_TotalNumberPixels { 0 }
 
bool m_UseSmoothDiscPatchWeights { true }
 
bool m_UseFastTensorComputations { true }
 
RealArrayType m_KernelBandwidthSigma
 
bool m_KernelBandwidthSigmaIsSet { false }
 
RealArrayType m_IntensityRescaleInvFactor
 
PixelType m_ZeroPixel
 
PixelArrayType m_ImageMin
 
PixelArrayType m_ImageMax
 
double m_KernelBandwidthFractionPixelsForEstimation { 0.20 }
 
bool m_ComputeConditionalDerivatives { false }
 
double m_MinSigma
 
double m_MinProbability
 
unsigned int m_SigmaUpdateDecimationFactor
 
double m_SigmaUpdateConvergenceTolerance { 0.01 }
 
ShortArrayType m_SigmaConverged
 
double m_KernelBandwidthMultiplicationFactor { 1.0 }
 
RealType m_NoiseSigma
 
RealType m_NoiseSigmaSquared
 
bool m_NoiseSigmaIsSet { false }
 
BaseSamplerPointer m_Sampler
 
ListAdaptorType::Pointer m_SearchSpaceList
 
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
 
void SetNoiseSigma (const RealType &sigma)
 
virtual RealType GetNoiseSigma () const
 
virtual void SetSampler (BaseSamplerType *_arg)
 
virtual BaseSamplerTypeGetModifiableSampler ()
 
virtual const BaseSamplerTypeGetSampler () const
 
virtual unsigned int GetNumIndependentComponents () const
 
 PatchBasedDenoisingImageFilter ()
 
 ~PatchBasedDenoisingImageFilter () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void EmptyCaches ()
 
void AllocateUpdateBuffer () override
 
void CopyInputToOutput () override
 
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
 
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
 
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 ComputeDifferenceAndWeightedSquaredNorm (const DiffusionTensor3D< PixelValueType > &a, const DiffusionTensor3D< PixelValueType > &b, const RealArrayType &weight, bool useCachedComputations, SizeValueType cacheIndex, EigenValuesCacheType &eigenValsCache, EigenVectorsCacheType &eigenVecsCache, RealType &diff, RealArrayType &norm)
 
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)
 
RealType AddUpdate (const DiffusionTensor3D< RealValueType > &a, const RealType &b)
 
template<typename RealT >
RealType AddUpdate (const RealT &a, const RealType &b)
 
virtual void EnforceConstraints ()
 
void Initialize () override
 
virtual void InitializeKernelSigma ()
 
void InitializePatchWeights () override
 
virtual void InitializePatchWeightsSmoothDisc ()
 
void InitializeIteration () override
 
void ComputeKernelBandwidthUpdate () override
 
virtual ThreadDataStruct ThreadedComputeSigmaUpdate (const InputImageRegionType &regionToProcess, const int, ThreadDataStruct threadData)
 
virtual RealArrayType ResolveSigmaUpdate ()
 
void ComputeImageUpdate () override
 
virtual ThreadDataStruct ThreadedComputeImageUpdate (const InputImageRegionType &regionToProcess, const int threadId, ThreadDataStruct threadData)
 
virtual RealType ComputeGradientJointEntropy (InstanceIdentifier id, typename ListAdaptorType::Pointer &inList, BaseSamplerPointer &sampler, ThreadDataStruct &threadData)
 
void ApplyUpdate () override
 
virtual void ThreadedApplyUpdate (const InputImageRegionType &regionToProcess, const int)
 
void PostProcessOutput () override
 
virtual void SetThreadData (int threadId, const ThreadDataStruct &data)
 
virtual ThreadDataStruct GetThreadData (int threadId)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ComputeSigmaUpdateThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ComputeImageUpdateThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ApplyUpdateThreaderCallback (void *arg)
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION RiemannianMinMaxThreaderCallback (void *arg)
 
template<typename TInputImageType >
void DispatchedMinMax (const TInputImageType *img)
 
template<typename TInputImageType >
void DispatchedArrayMinMax (const TInputImageType *img)
 
template<typename TInputImageType >
void DispatchedVectorMinMax (const TInputImageType *img)
 
template<typename TInputImageType >
void DispatchedRiemannianMinMax (const TInputImageType *img)
 
ThreadDataStruct ThreadedRiemannianMinMax (const InputImageRegionType &regionToProcess, const int, const InputImageType *img, ThreadDataStruct threadData)
 
virtual void ResolveRiemannianMinMax ()
 
void ComputeSignedEuclideanDifferenceAndWeightedSquaredNorm (const PixelType &a, const PixelType &b, const RealArrayType &weight, bool useCachedComputations, SizeValueType cacheIndex, EigenValuesCacheType &eigenValsCache, EigenVectorsCacheType &eigenVecsCache, RealType &diff, RealArrayType &norm)
 
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)
 
template<typename TensorValueT >
void Compute3x3EigenAnalysis (const DiffusionTensor3D< TensorValueT > &spdMatrix, FixedArray< TensorValueT, 3 > &eigenVals, Matrix< TensorValueT, 3, 3 > &eigenVecs)
 
RealType AddEuclideanUpdate (const RealType &a, const RealType &b)
 
RealType AddExponentialMapUpdate (const DiffusionTensor3D< RealValueType > &spdMatrix, const DiffusionTensor3D< RealValueType > &symMatrix)
 

Additional Inherited Members

- 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 inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
 PatchBasedDenoisingBaseImageFilter ()
 
 ~PatchBasedDenoisingBaseImageFilter () override=default
 
void GenerateData () override
 
virtual void PreProcessInput ()
 
virtual bool Halt ()
 
virtual bool ThreadedHalt (void *)
 
virtual void SetElapsedIterations (unsigned int _arg)
 
ComponentSpaceEnum DetermineComponentSpace (const RGBPixel< PixelValueType > &)
 
ComponentSpaceEnum DetermineComponentSpace (const RGBAPixel< PixelValueType > &)
 
ComponentSpaceEnum DetermineComponentSpace (const DiffusionTensor3D< PixelValueType > &)
 
template<typename PixelT >
ComponentSpaceEnum DetermineComponentSpace (const PixelT &)
 
virtual void SetComponentSpace (const ComponentSpaceEnum _arg)
 
virtual ComponentSpaceEnum GetComponentSpace () const
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override=default
 
void VerifyInputInformation () ITKv5_CONST override
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *input)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
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
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
- 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 ()
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- 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
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

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 62 of file itkPatchBasedDenoisingImageFilter.h.

Member Typedef Documentation

◆ BaseSamplerPointer

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

Definition at line 116 of file itkPatchBasedDenoisingImageFilter.h.

◆ BaseSamplerType

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

Type definitions for delegate classes.

Definition at line 115 of file itkPatchBasedDenoisingImageFilter.h.

◆ ConstPointer

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

Definition at line 73 of file itkPatchBasedDenoisingImageFilter.h.

◆ DisableIfMultiComponent

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 244 of file itkPatchBasedDenoisingImageFilter.h.

◆ EigenValuesArrayType

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 124 of file itkPatchBasedDenoisingImageFilter.h.

◆ EigenValuesCacheType

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

Definition at line 126 of file itkPatchBasedDenoisingImageFilter.h.

◆ EigenVectorsCacheType

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

Definition at line 127 of file itkPatchBasedDenoisingImageFilter.h.

◆ EigenVectorsMatrixType

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

Definition at line 125 of file itkPatchBasedDenoisingImageFilter.h.

◆ EnableIfMultiComponent

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 248 of file itkPatchBasedDenoisingImageFilter.h.

◆ InputImagePatchIterator

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

Definition at line 110 of file itkPatchBasedDenoisingImageFilter.h.

◆ InputImageRegionConstIteratorType

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

Definition at line 94 of file itkPatchBasedDenoisingImageFilter.h.

◆ InputImageRegionType

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 90 of file itkPatchBasedDenoisingImageFilter.h.

◆ InputImageType

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

Type definition for the input image.

Definition at line 83 of file itkPatchBasedDenoisingImageFilter.h.

◆ InstanceIdentifier

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

Definition at line 117 of file itkPatchBasedDenoisingImageFilter.h.

◆ ListAdaptorType

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

Type definition for patch weights type.

Definition at line 108 of file itkPatchBasedDenoisingImageFilter.h.

◆ OutputImagePointer

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

Definition at line 74 of file itkPatchBasedDenoisingImageFilter.h.

◆ OutputImageRegionIteratorType

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

Type definition for the input image region iterator

Definition at line 93 of file itkPatchBasedDenoisingImageFilter.h.

◆ OutputImageType

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

Definition at line 84 of file itkPatchBasedDenoisingImageFilter.h.

◆ PatchRadiusType

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

Definition at line 109 of file itkPatchBasedDenoisingImageFilter.h.

◆ PatchSampleType

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

Definition at line 111 of file itkPatchBasedDenoisingImageFilter.h.

◆ PatchWeightsType

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

Definition at line 112 of file itkPatchBasedDenoisingImageFilter.h.

◆ PixelArrayType

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

Definition at line 103 of file itkPatchBasedDenoisingImageFilter.h.

◆ PixelType

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 98 of file itkPatchBasedDenoisingImageFilter.h.

◆ PixelValueType

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

Definition at line 99 of file itkPatchBasedDenoisingImageFilter.h.

◆ Pointer

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

Definition at line 72 of file itkPatchBasedDenoisingImageFilter.h.

◆ RealArrayType

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

Definition at line 104 of file itkPatchBasedDenoisingImageFilter.h.

◆ RealType

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

Definition at line 101 of file itkPatchBasedDenoisingImageFilter.h.

◆ RealValueType

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

Definition at line 102 of file itkPatchBasedDenoisingImageFilter.h.

◆ Self

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

Standard class type aliases.

Definition at line 70 of file itkPatchBasedDenoisingImageFilter.h.

◆ ShortArrayType

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

Definition at line 105 of file itkPatchBasedDenoisingImageFilter.h.

◆ Superclass

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

Definition at line 71 of file itkPatchBasedDenoisingImageFilter.h.

Constructor & Destructor Documentation

◆ PatchBasedDenoisingImageFilter()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ ~PatchBasedDenoisingImageFilter()

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

Maximum number of Newton-Raphson iterations for sigma update.

Member Function Documentation

◆ AddEuclideanUpdate()

template<typename TInputImage , typename TOutputImage >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AddEuclideanUpdate ( const RealType a,
const RealType b 
)
private

Maximum number of Newton-Raphson iterations for sigma update.

◆ AddExponentialMapUpdate()

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

Returns the Exp map

◆ AddUpdate() [1/2]

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 376 of file itkPatchBasedDenoisingImageFilter.h.

◆ AddUpdate() [2/2]

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 391 of file itkPatchBasedDenoisingImageFilter.h.

◆ AllocateUpdateBuffer()

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 >.

◆ ApplyUpdate()

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

Maximum number of Newton-Raphson iterations for sigma update.

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

◆ ApplyUpdateThreaderCallback()

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.

◆ Compute3x3EigenAnalysis()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ ComputeConditionalDerivativesOff()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ ComputeConditionalDerivativesOn()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ ComputeDifferenceAndWeightedSquaredNorm() [1/2]

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 333 of file itkPatchBasedDenoisingImageFilter.h.

◆ ComputeDifferenceAndWeightedSquaredNorm() [2/2]

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 358 of file itkPatchBasedDenoisingImageFilter.h.

◆ ComputeGradientJointEntropy()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ ComputeImageUpdate()

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

Maximum number of Newton-Raphson iterations for sigma update.

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

◆ ComputeImageUpdateThreaderCallback()

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.

◆ ComputeKernelBandwidthUpdate()

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

Maximum number of Newton-Raphson iterations for sigma update.

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

◆ ComputeLogMapAndWeightedSquaredGeodesicDifference()

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.

◆ ComputeMinMax() [1/3]

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 298 of file itkPatchBasedDenoisingImageFilter.h.

◆ ComputeMinMax() [2/3]

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 312 of file itkPatchBasedDenoisingImageFilter.h.

◆ ComputeMinMax() [3/3]

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 319 of file itkPatchBasedDenoisingImageFilter.h.

◆ ComputeSigmaUpdateThreaderCallback()

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.

◆ ComputeSignedEuclideanDifferenceAndWeightedSquaredNorm()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ CopyInputToOutput()

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

Maximum number of Newton-Raphson iterations for sigma update.

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

◆ CreateAnother()

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.

◆ DispatchedArrayMinMax()

template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedArrayMinMax ( const TInputImageType *  img)
private

Maximum number of Newton-Raphson iterations for sigma update.

◆ DispatchedMinMax()

template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedMinMax ( const TInputImageType *  img)
private

Maximum number of Newton-Raphson iterations for sigma update.

◆ DispatchedRiemannianMinMax()

template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedRiemannianMinMax ( const TInputImageType *  img)
private

Maximum number of Newton-Raphson iterations for sigma update.

◆ DispatchedVectorMinMax()

template<typename TInputImage , typename TOutputImage >
template<typename TInputImageType >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::DispatchedVectorMinMax ( const TInputImageType *  img)
private

Maximum number of Newton-Raphson iterations for sigma update.

◆ EmptyCaches()

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

Clean up Eigensystem caches

◆ EnforceConstraints()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GenerateInputRequestedRegion()

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

Maximum number of Newton-Raphson iterations for sigma update.

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

◆ GetComponent() [1/2]

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 272 of file itkPatchBasedDenoisingImageFilter.h.

◆ GetComponent() [2/2]

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 259 of file itkPatchBasedDenoisingImageFilter.h.

◆ GetComputeConditionalDerivatives()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetKernelBandwidthFractionPixelsForEstimation()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetKernelBandwidthMultiplicationFactor()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetKernelBandwidthSigma()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetModifiableSampler()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetNameOfClass()

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 >.

◆ GetNoiseSigma()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetNumIndependentComponents()

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

Get the number of independent components of the input.

◆ GetSampler()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetThreadData()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetUseFastTensorComputations()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ GetUseSmoothDiscPatchWeights()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ Initialize()

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

Maximum number of Newton-Raphson iterations for sigma update.

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

◆ InitializeIteration()

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

Maximum number of Newton-Raphson iterations for sigma update.

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

◆ InitializeKernelSigma()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ InitializePatchWeights()

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

Maximum number of Newton-Raphson iterations for sigma update.

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

◆ InitializePatchWeightsSmoothDisc()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ New()

template<typename TInputImage , typename TOutputImage >
static Pointer itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

◆ PostProcessOutput()

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

Maximum number of Newton-Raphson iterations for sigma update.

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

◆ PrintSelf()

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

Maximum number of Newton-Raphson iterations for sigma update.

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

◆ ResolveRiemannianMinMax()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ ResolveSigmaUpdate()

template<typename TInputImage , typename TOutputImage >
virtual RealArrayType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ResolveSigmaUpdate ( )
protectedvirtual

Maximum number of Newton-Raphson iterations for sigma update.

◆ RiemannianMinMaxThreaderCallback()

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.

◆ SetComponent() [1/2]

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 289 of file itkPatchBasedDenoisingImageFilter.h.

◆ SetComponent() [2/2]

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 280 of file itkPatchBasedDenoisingImageFilter.h.

◆ SetComputeConditionalDerivatives()

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.

◆ SetKernelBandwidthFractionPixelsForEstimation()

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.

◆ SetKernelBandwidthMultiplicationFactor()

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.

◆ SetKernelBandwidthSigma()

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.

◆ SetNoiseSigma()

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

◆ SetSampler()

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.

◆ SetThreadData()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ SetUseFastTensorComputations()

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 analysis 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.

◆ SetUseSmoothDiscPatchWeights()

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.

◆ ThreadedApplyUpdate()

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedApplyUpdate ( const InputImageRegionType regionToProcess,
const int   
)
protectedvirtual

Maximum number of Newton-Raphson iterations for sigma update.

◆ ThreadedComputeImageUpdate()

template<typename TInputImage , typename TOutputImage >
virtual ThreadDataStruct itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedComputeImageUpdate ( const InputImageRegionType regionToProcess,
const int  threadId,
ThreadDataStruct  threadData 
)
protectedvirtual

Maximum number of Newton-Raphson iterations for sigma update.

◆ ThreadedComputeSigmaUpdate()

template<typename TInputImage , typename TOutputImage >
virtual ThreadDataStruct itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedComputeSigmaUpdate ( const InputImageRegionType regionToProcess,
const int  ,
ThreadDataStruct  threadData 
)
protectedvirtual

Maximum number of Newton-Raphson iterations for sigma update.

◆ ThreadedRiemannianMinMax()

template<typename TInputImage , typename TOutputImage >
ThreadDataStruct itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ThreadedRiemannianMinMax ( const InputImageRegionType regionToProcess,
const int  ,
const InputImageType img,
ThreadDataStruct  threadData 
)
private

Maximum number of Newton-Raphson iterations for sigma update.

◆ UseFastTensorComputationsOff()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ UseFastTensorComputationsOn()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ UseSmoothDiscPatchWeightsOff()

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

Maximum number of Newton-Raphson iterations for sigma update.

◆ UseSmoothDiscPatchWeightsOn()

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

Maximum number of Newton-Raphson iterations for sigma update.

Member Data Documentation

◆ ImageDimension

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

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

Definition at line 87 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_ComputeConditionalDerivatives

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 565 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_ImageMax

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 563 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_ImageMin

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 562 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_IntensityRescaleInvFactor

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 560 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_KernelBandwidthFractionPixelsForEstimation

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 564 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_KernelBandwidthMultiplicationFactor

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 571 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_KernelBandwidthSigma

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 558 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_KernelBandwidthSigmaIsSet

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 559 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_MinProbability

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 567 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_MinSigma

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 566 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_NoiseSigma

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 573 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_NoiseSigmaIsSet

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 575 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_NoiseSigmaSquared

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 574 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_NumIndependentComponents

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 551 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_NumPixelComponents

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 550 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_Sampler

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 577 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_SearchSpaceList

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 578 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_SigmaConverged

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 570 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_SigmaUpdateConvergenceTolerance

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 569 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_SigmaUpdateDecimationFactor

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 568 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_ThreadData

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 545 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_TotalNumberPixels

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 552 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_UpdateBuffer

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 548 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_UseFastTensorComputations

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 556 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_UseSmoothDiscPatchWeights

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 554 of file itkPatchBasedDenoisingImageFilter.h.

◆ m_ZeroPixel

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 561 of file itkPatchBasedDenoisingImageFilter.h.

◆ MaxSigmaUpdateIterations

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

Maximum number of Newton-Raphson iterations for sigma update.

Definition at line 194 of file itkPatchBasedDenoisingImageFilter.h.


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