RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage > Class Template Reference

#include <rtkTotalVariationDenoisingBPDQImageFilter.h>

+ Inheritance diagram for rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >:
+ Collaboration diagram for rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef MagnitudeThresholdImageFilter< TGradientImage > MagnitudeThresholdFilterType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TotalVariationDenoisingBPDQImageFilter Self
 
typedef rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage > Superclass
 
- Public Types inherited from rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef BackwardDifferenceDivergenceImageFilter< TGradientImage, TOutputImage > DivergenceFilterType
 
typedef ForwardDifferenceGradientImageFilter< TOutputImage, typename TOutputImage::ValueType, typename TOutputImage::ValueType, TGradientImage > GradientFilterType
 
typedef itk::MultiplyImageFilter< TOutputImage > MultiplyFilterType
 
typedef itk::SmartPointer< SelfPointer
 
typedef DenoisingBPDQImageFilter Self
 
typedef itk::SubtractImageFilter< TGradientImage > SubtractGradientFilterType
 
typedef itk::SubtractImageFilter< TOutputImage > SubtractImageFilterType
 
typedef itk::InPlaceImageFilter< TOutputImage, TOutputImage > Superclass
 
typedef itk::InPlaceImageFilter< TGradientImage > ThresholdFilterType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void SetBoundaryConditionToPeriodic ()
 
void SetDimensionsProcessed (bool *arg)
 
- Public Member Functions inherited from rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual double GetGamma ()
 
virtual int GetNumberOfIterations ()
 
virtual void SetGamma (double _arg)
 
virtual void SetNumberOfIterations (int _arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage >
static Pointer New ()
 

Protected Member Functions

void GenerateOutputInformation () override
 
 TotalVariationDenoisingBPDQImageFilter ()
 
virtual ~TotalVariationDenoisingBPDQImageFilter () override
 
- Protected Member Functions inherited from rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage >
 DenoisingBPDQImageFilter ()
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
virtual ~DenoisingBPDQImageFilter () override
 

Private Member Functions

void operator= (const Self &)
 
 TotalVariationDenoisingBPDQImageFilter (const Self &)
 
MagnitudeThresholdFilterType::Pointer m_ThresholdFilter
 
Superclass::ThresholdFilterTypeGetThresholdFilter () override
 

Additional Inherited Members

- Protected Attributes inherited from rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage >
double m_Beta
 
bool m_DimensionsProcessed [TOutputImage::ImageDimension]
 
DivergenceFilterType::Pointer m_DivergenceFilter
 
double m_Gamma
 
GradientFilterType::Pointer m_GradientFilter
 
double m_MinSpacing
 
MultiplyFilterType::Pointer m_MultiplyFilter
 
int m_NumberOfIterations
 
SubtractImageFilterType::Pointer m_SubtractFilter
 
SubtractGradientFilterType::Pointer m_SubtractGradientFilter
 

Detailed Description

template<typename TOutputImage, typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
class rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >

Applies a total variation denoising, only alm_SingularValueThresholdFilterong the dimensions specified, on an image.

This filter finds the minimum of || f - f_0 ||_2^2 + gamma * TV(f) using basis pursuit dequantization, where f is the current image, f_0 the input image, and TV the total variation calculated with only the gradients along the dimensions specified. This filter can be used, for example, to perform 3D total variation denoising on a 4D dataset (by calling SetDimensionsProcessed([true true true false]). More information on the algorithm can be found at http://wiki.epfl.ch/bpdq#download

dot_inline_dotgraph_31.png
Author
Cyril Mory

Definition at line 109 of file rtkTotalVariationDenoisingBPDQImageFilter.h.

Member Typedef Documentation

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
typedef itk::SmartPointer<const Self> rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::ConstPointer

Definition at line 118 of file rtkTotalVariationDenoisingBPDQImageFilter.h.

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
typedef MagnitudeThresholdImageFilter<TGradientImage> rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::MagnitudeThresholdFilterType

Sub filter type definitions

Definition at line 127 of file rtkTotalVariationDenoisingBPDQImageFilter.h.

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
typedef itk::SmartPointer<Self> rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::Pointer

Definition at line 117 of file rtkTotalVariationDenoisingBPDQImageFilter.h.

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
typedef TotalVariationDenoisingBPDQImageFilter rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::Self

Standard class typedefs.

Definition at line 115 of file rtkTotalVariationDenoisingBPDQImageFilter.h.

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
typedef rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage > rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::Superclass

Definition at line 116 of file rtkTotalVariationDenoisingBPDQImageFilter.h.

Constructor & Destructor Documentation

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::TotalVariationDenoisingBPDQImageFilter ( )
protected
template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
virtual rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::~TotalVariationDenoisingBPDQImageFilter ( )
inlineoverrideprotectedvirtual
template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::TotalVariationDenoisingBPDQImageFilter ( const Self )
private

Member Function Documentation

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
virtual::itk::LightObject::Pointer rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::CreateAnother ( ) const
template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
void rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::GenerateOutputInformation ( )
overrideprotected
template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
virtual const char* rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage >.

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
Superclass::ThresholdFilterType* rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::GetThresholdFilter ( )
inlineoverrideprotectedvirtual
template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
static Pointer rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::New ( )
static

Method for creation through the object factory.

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
void rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::operator= ( const Self )
private
template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
void rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::SetBoundaryConditionToPeriodic ( )

In some cases, regularization must use periodic boundary condition

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
void rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::SetDimensionsProcessed ( bool *  arg)

Member Data Documentation

template<typename TOutputImage , typename TGradientImage = itk::Image< itk::CovariantVector < typename TOutputImage::ValueType, TOutputImage::ImageDimension >, TOutputImage::ImageDimension >>
MagnitudeThresholdFilterType::Pointer rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >::m_ThresholdFilter
protected

Sub filter pointers

Definition at line 141 of file rtkTotalVariationDenoisingBPDQImageFilter.h.


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