RTK  2.6.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence > Class Template Reference

#include <rtkTotalVariationDenoiseSequenceImageFilter.h>

+ Inheritance diagram for rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >:
+ Collaboration diagram for rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >:

Public Types

using CastFilterType = itk::CastImageFilter< ImageType, TImageSequence >
 
using ConstantImageSourceType = rtk::ConstantImageSource< TImageSequence >
 
using CPUImageSequenceType = typename itk::Image< typename TImageSequence::PixelType, TImageSequence::ImageDimension >
 
using ExtractFilterType = itk::ExtractImageFilter< TImageSequence, ImageType >
 
using ImageType = itk::Image< typename TImageSequence::PixelType, TImageSequence::ImageDimension - 1 >
 
using PasteFilterType = itk::PasteImageFilter< TImageSequence, TImageSequence >
 
using Pointer = itk::SmartPointer< Self >
 
using Self = TotalVariationDenoiseSequenceImageFilter
 
using Superclass = itk::ImageToImageFilter< TImageSequence, TImageSequence >
 
using TVDenoisingFilterType = rtk::TotalVariationDenoisingBPDQImageFilter< ImageType >
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual int GetNumberOfIterations ()
 
void SetDimensionsProcessed (bool *arg)
 
virtual void SetNumberOfIterations (int _arg)
 
virtual const char * GetNameOfClass () const
 
virtual double GetGamma ()
 
virtual void SetGamma (double _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 TotalVariationDenoiseSequenceImageFilter ()
 
 ~TotalVariationDenoiseSequenceImageFilter () override=default
 

Protected Attributes

CastFilterType::Pointer m_CastFilter
 
ConstantImageSourceType::Pointer m_ConstantSource
 
bool m_DimensionsProcessed [ImageType::ImageDimension]
 
TImageSequence::RegionType m_ExtractAndPasteRegion
 
ExtractFilterType::Pointer m_ExtractFilter
 
double m_Gamma { 1. }
 
int m_NumberOfIterations { 1 }
 
PasteFilterType::Pointer m_PasteFilter
 
TVDenoisingFilterType::Pointer m_TVDenoisingFilter
 

Detailed Description

template<typename TImageSequence>
class rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >

Applies 3D total variation denoising to a 3D + time sequence of images.

Most of the work in this filter is performed by the underlying rtkTotalVariationDenoisingBPDQImageFilter or its CUDA version

Test:
rtkfourdroostertest.cxx
Author
Cyril Mory

Definition at line 79 of file rtkTotalVariationDenoiseSequenceImageFilter.h.

Member Typedef Documentation

◆ CastFilterType

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::CastFilterType = itk::CastImageFilter<ImageType, TImageSequence>

◆ ConstantImageSourceType

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::ConstantImageSourceType = rtk::ConstantImageSource<TImageSequence>

◆ CPUImageSequenceType

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::CPUImageSequenceType = typename itk::Image<typename TImageSequence::PixelType, TImageSequence::ImageDimension>

SFINAE type alias, depending on whether a CUDA image is used.

Definition at line 113 of file rtkTotalVariationDenoiseSequenceImageFilter.h.

◆ ExtractFilterType

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::ExtractFilterType = itk::ExtractImageFilter<TImageSequence, ImageType>

◆ ImageType

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::ImageType = itk::Image<typename TImageSequence::PixelType, TImageSequence::ImageDimension - 1>

◆ PasteFilterType

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::PasteFilterType = itk::PasteImageFilter<TImageSequence, TImageSequence>

◆ Pointer

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::Pointer = itk::SmartPointer<Self>

◆ Self

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::Self = TotalVariationDenoiseSequenceImageFilter

Standard class type alias.

Definition at line 86 of file rtkTotalVariationDenoiseSequenceImageFilter.h.

◆ Superclass

template<typename TImageSequence >
using rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::Superclass = itk::ImageToImageFilter<TImageSequence, TImageSequence>

◆ TVDenoisingFilterType

Constructor & Destructor Documentation

◆ TotalVariationDenoiseSequenceImageFilter()

template<typename TImageSequence >
rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::TotalVariationDenoiseSequenceImageFilter ( )
protected

◆ ~TotalVariationDenoiseSequenceImageFilter()

template<typename TImageSequence >
rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::~TotalVariationDenoiseSequenceImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TImageSequence >
virtual::itk::LightObject::Pointer rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ GenerateData()

template<typename TImageSequence >
void rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::GenerateData ( )
overrideprotectedvirtual

Does the real work.

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GenerateInputRequestedRegion()

template<typename TImageSequence >
void rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

template<typename TImageSequence >
void rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::GenerateOutputInformation ( )
overrideprotectedvirtual

Reimplemented from itk::ProcessObject.

◆ GetGamma()

template<typename TImageSequence >
virtual double rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::GetGamma ( )
virtual

◆ GetNameOfClass()

template<typename TImageSequence >
virtual const char* rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GetNumberOfIterations()

template<typename TImageSequence >
virtual int rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::GetNumberOfIterations ( )
virtual

◆ New()

template<typename TImageSequence >
static Pointer rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::New ( )
static

Method for creation through the object factory.

◆ SetDimensionsProcessed()

template<typename TImageSequence >
void rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::SetDimensionsProcessed ( bool *  arg)

◆ SetGamma()

template<typename TImageSequence >
virtual void rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::SetGamma ( double  _arg)
virtual

◆ SetNumberOfIterations()

template<typename TImageSequence >
virtual void rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::SetNumberOfIterations ( int  _arg)
virtual

Member Data Documentation

◆ m_CastFilter

template<typename TImageSequence >
CastFilterType::Pointer rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_CastFilter
protected

◆ m_ConstantSource

template<typename TImageSequence >
ConstantImageSourceType::Pointer rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_ConstantSource
protected

◆ m_DimensionsProcessed

template<typename TImageSequence >
bool rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_DimensionsProcessed[ImageType::ImageDimension]
protected

◆ m_ExtractAndPasteRegion

template<typename TImageSequence >
TImageSequence::RegionType rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_ExtractAndPasteRegion
protected

Extraction regions for both extract filters

Definition at line 152 of file rtkTotalVariationDenoiseSequenceImageFilter.h.

◆ m_ExtractFilter

template<typename TImageSequence >
ExtractFilterType::Pointer rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_ExtractFilter
protected

◆ m_Gamma

template<typename TImageSequence >
double rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_Gamma { 1. }
protected

Information for the total variation denoising filter

Definition at line 155 of file rtkTotalVariationDenoiseSequenceImageFilter.h.

◆ m_NumberOfIterations

template<typename TImageSequence >
int rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_NumberOfIterations { 1 }
protected

◆ m_PasteFilter

template<typename TImageSequence >
PasteFilterType::Pointer rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_PasteFilter
protected

◆ m_TVDenoisingFilter

template<typename TImageSequence >
TVDenoisingFilterType::Pointer rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >::m_TVDenoisingFilter
protected

Member pointers to the filters used internally (for convenience)

Definition at line 145 of file rtkTotalVariationDenoiseSequenceImageFilter.h.


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