ITK  4.6.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | 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 61 of file itkPatchBasedDenoisingImageFilter.h.

Classes

struct  ThreadDataStruct
 
struct  ThreadFilterStruct
 

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual RealType GetNoiseSigma () 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 (void) const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
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)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput (void)
 
const OutputImageTypeGetOutput (void) const
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
NameArray GetInputNames () const
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
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)
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArray GetOutputs ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
void SetProgress (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 SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () 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 (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
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 const unsigned int ImageDimension = Superclass::ImageDimension
 
static const unsigned int MaxSigmaUpdateIterations = 20
 
- Static Public Attributes inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
static const unsigned int ImageDimension = InputImageType::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

template<typename RealT >
RealType AddUpdate (const RealT &a, const RealType &b)
 
virtual void AllocateUpdateBuffer ()
 
virtual void ApplyUpdate ()
 
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)
 
virtual void ComputeImageUpdate ()
 
virtual void ComputeKernelBandwidthUpdate ()
 
void ComputeMinMax (const Image< DiffusionTensor3D< PixelValueType >, ImageDimension > *img)
 
template<typename TImageType >
EnableIfC< IsSame< typename
TImageType::PixelType,
typename NumericTraits
< typename
TImageType::PixelType >
::ValueType >::Value >::Type 
ComputeMinMax (const TImageType *img)
 
template<typename TImageType >
DisableIfC< IsSame< typename
TImageType::PixelType,
typename NumericTraits
< typename
TImageType::PixelType >
::ValueType >::Value >::Type 
ComputeMinMax (const TImageType *img)
 
virtual void CopyInputToOutput ()
 
virtual void EmptyCaches ()
 
virtual void EnforceConstraints ()
 
virtual void GenerateInputRequestedRegion ()
 
template<typename T >
EnableIfC< IsSame< T, typename
NumericTraits< T >::ValueType >
::Value, T >::Type 
GetComponent (const T pix, unsigned int) const
 
template<typename T >
DisableIfC< IsSame< T,
typename NumericTraits< T >
::ValueType >::Value, typename
NumericTraits< T >::ValueType >
::Type 
GetComponent (const T &pix, unsigned int idx) const
 
virtual ThreadDataStruct GetThreadData (int threadId)
 
virtual void Initialize ()
 
virtual void InitializeIteration ()
 
virtual void InitializeKernelSigma ()
 
virtual void InitializePatchWeights ()
 
virtual void InitializePatchWeightsSmoothDisc ()
 
 PatchBasedDenoisingImageFilter ()
 
virtual void PostProcessOutput ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual RealArrayType ResolveSigmaUpdate ()
 
template<typename T >
void SetComponent (T &pix, unsigned int, typename EnableIfC< IsSame< T, typename NumericTraits< T >::ValueType >::Value, RealValueType >::Type val) const
 
template<typename T >
void SetComponent (T &pix, unsigned int idx, typename DisableIfC< IsSame< T, typename NumericTraits< T >::ValueType >::Value, 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 ()
 
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 &)
 
virtual void GenerateData ()
 
virtual bool Halt ()
 
 PatchBasedDenoisingBaseImageFilter ()
 
virtual void PreProcessInput ()
 
virtual void SetElapsedIterations (unsigned int _arg)
 
virtual bool ThreadedHalt (void *)
 
 ~PatchBasedDenoisingBaseImageFilter ()
 
- 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 ()
 
virtual void VerifyInputInformation ()
 
 ~ImageToImageFilter ()
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
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)
 
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 SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) 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)
 
virtual ~Object ()
 
- 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 ()
 

Protected Attributes

bool m_ComputeConditionalDerivatives
 
PixelArrayType m_ImageMax
 
PixelArrayType m_ImageMin
 
RealArrayType m_IntensityRescaleInvFactor
 
double m_KernelBandwidthFractionPixelsForEstimation
 
double m_KernelBandwidthMultiplicationFactor
 
RealArrayType m_KernelBandwidthSigma
 
bool m_KernelBandwidthSigmaIsSet
 
double m_MinProbability
 
double m_MinSigma
 
RealType m_NoiseSigma
 
bool m_NoiseSigmaIsSet
 
RealType m_NoiseSigmaSquared
 
unsigned int m_NumIndependentComponents
 
unsigned int m_NumPixelComponents
 
BaseSamplerPointer m_Sampler
 
ListAdaptorType::Pointer m_SearchSpaceList
 
ShortArrayType m_SigmaConverged
 
double m_SigmaUpdateConvergenceTolerance
 
unsigned int m_SigmaUpdateDecimationFactor
 
std::vector< ThreadDataStructm_ThreadData
 
unsigned int m_TotalNumberPixels
 
OutputImageType::Pointer m_UpdateBuffer
 
bool m_UseFastTensorComputations
 
bool m_UseSmoothDiscPatchWeights
 
PixelType m_ZeroPixel
 
- Protected Attributes inherited from itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >
bool m_AlwaysTreatComponentsAsEuclidean
 
ComponentSpaceType m_ComponentSpace
 
unsigned int m_ElapsedIterations
 
const InputImageTypem_InputImage
 
bool m_KernelBandwidthEstimation
 
unsigned int m_KernelBandwidthUpdateFrequency
 
bool m_ManualReinitialization
 
NoiseModelType m_NoiseModel
 
double m_NoiseModelFidelityWeight
 
unsigned int m_NumberOfIterations
 
OutputImageTypem_OutputImage
 
unsigned int m_PatchRadius
 
PatchWeightsType m_PatchWeights
 
double m_SmoothingWeight
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

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)
 
void operator= (const Self &)
 
 PatchBasedDenoisingImageFilter (const Self &)
 
virtual void ResolveRiemannianMinMax ()
 
ThreadDataStruct ThreadedRiemannianMinMax (const InputImageRegionType &regionToProcess, const int, const InputImageType *img, ThreadDataStruct threadData)
 

Static Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 

Member Typedef Documentation

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

Definition at line 114 of file itkPatchBasedDenoisingImageFilter.h.

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

Type definitions for delegate classes.

Definition at line 113 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 69 of file itkPatchBasedDenoisingImageFilter.h.

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

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

template<typename TInputImage , typename TOutputImage >
typedef std::vector<EigenValuesArrayType*> itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EigenValuesCacheType

Definition at line 124 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef std::vector<EigenVectorsMatrixType*> itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::EigenVectorsCacheType

Definition at line 125 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 123 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 107 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 91 of file itkPatchBasedDenoisingImageFilter.h.

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

Type definition for the input image region and size type.

Definition at line 87 of file itkPatchBasedDenoisingImageFilter.h.

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

Type definition for the input image.

Definition at line 76 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 115 of file itkPatchBasedDenoisingImageFilter.h.

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

Type definition for patch weights type.

Definition at line 105 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 70 of file itkPatchBasedDenoisingImageFilter.h.

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

Type definition for the input image region iterator

Definition at line 90 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 80 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 106 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 108 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 109 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 100 of file itkPatchBasedDenoisingImageFilter.h.

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

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

Definition at line 95 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 96 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 68 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 101 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 98 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 99 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef PatchBasedDenoisingImageFilter itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 66 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 102 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 67 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 ( )
protected
template<typename TInputImage , typename TOutputImage >
itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PatchBasedDenoisingImageFilter ( const Self )
private

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
template<typename TInputImage , typename TOutputImage >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AddUpdate ( const DiffusionTensor3D< RealValueType > &  a,
const RealType b 
)
inlineprotected
template<typename TInputImage , typename TOutputImage >
template<typename RealT >
RealType itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AddUpdate ( const RealT &  a,
const RealType b 
)
inlineprotected
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::AllocateUpdateBuffer ( )
protectedvirtual

Allocate memory for a temporary update container in the subclass

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ApplyUpdate ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
static ITK_THREAD_RETURN_TYPE 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 326 of file itkPatchBasedDenoisingImageFilter.h.

References itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeLogMapAndWeightedSquaredGeodesicDifference(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeSignedEuclideanDifferenceAndWeightedSquaredNorm(), itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >::m_ComponentSpace, and itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >::RIEMANNIAN.

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
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 >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeImageUpdate ( )
protectedvirtual

Perform one iteration of image denoising.

Implements itk::PatchBasedDenoisingBaseImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
static ITK_THREAD_RETURN_TYPE 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 >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeKernelBandwidthUpdate ( )
protectedvirtual

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.

Referenced by itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeDifferenceAndWeightedSquaredNorm().

template<typename TInputImage , typename TOutputImage >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeMinMax ( const Image< DiffusionTensor3D< PixelValueType >, ImageDimension > *  img)
inlineprotected
template<typename TInputImage , typename TOutputImage >
template<typename TImageType >
EnableIfC< IsSame<typename TImageType::PixelType, typename NumericTraits<typename TImageType::PixelType>::ValueType>::Value >::Type itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeMinMax ( const TImageType *  img)
inlineprotected
template<typename TInputImage , typename TOutputImage >
template<typename TImageType >
DisableIfC< IsSame<typename TImageType::PixelType, typename NumericTraits<typename TImageType::PixelType>::ValueType>::Value >::Type itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::ComputeMinMax ( const TImageType *  img)
inlineprotected
template<typename TInputImage , typename TOutputImage >
static ITK_THREAD_RETURN_TYPE 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 >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::CopyInputToOutput ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual::itk::LightObject::Pointer itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) 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 >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
protectedvirtual

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 >
EnableIfC< IsSame<T, typename NumericTraits<T>::ValueType>::Value, 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 241 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename T >
DisableIfC< IsSame<T, typename NumericTraits<T>::ValueType>::Value, typename NumericTraits<T>::ValueType>::Type itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::GetComponent ( const T &  pix,
unsigned int  idx 
) const
inlineprotected

Definition at line 257 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 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 >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::Initialize ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializeIteration ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializeKernelSigma ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::InitializePatchWeights ( )
protectedvirtual

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 >::operator= ( const Self )
private
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PostProcessOutput ( )
protectedvirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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_TYPE 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 EnableIfC< IsSame< T, typename NumericTraits< T >::ValueType >::Value, RealValueType >::Type  val 
) const
inlineprotected

A method to generically set a component.

Definition at line 266 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
template<typename T >
void itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::SetComponent ( T &  pix,
unsigned int  idx,
typename DisableIfC< IsSame< T, typename NumericTraits< T >::ValueType >::Value, RealValueType >::Type  val 
) const
inlineprotected

Definition at line 276 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 >
const 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 84 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_ComputeConditionalDerivatives
protected

Definition at line 456 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 454 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 453 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 451 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_KernelBandwidthFractionPixelsForEstimation
protected

Definition at line 455 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_KernelBandwidthMultiplicationFactor
protected

Definition at line 462 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 449 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_KernelBandwidthSigmaIsSet
protected

Definition at line 450 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 458 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 457 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 464 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NoiseSigmaIsSet
protected

Definition at line 466 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 465 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NumIndependentComponents
protected

Definition at line 442 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_NumPixelComponents
protected

Definition at line 441 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 468 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 469 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 461 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_SigmaUpdateConvergenceTolerance
protected

Definition at line 460 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 459 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 436 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_TotalNumberPixels
protected

Definition at line 443 of file itkPatchBasedDenoisingImageFilter.h.

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

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

Definition at line 439 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_UseFastTensorComputations
protected

Definition at line 447 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
bool itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::m_UseSmoothDiscPatchWeights
protected

Definition at line 445 of file itkPatchBasedDenoisingImageFilter.h.

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

Definition at line 452 of file itkPatchBasedDenoisingImageFilter.h.

template<typename TInputImage , typename TOutputImage >
const 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: