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::LaplacianImageFilter< TOutputImage, TGradientImage > Class Template Reference

#include <rtkLaplacianImageFilter.h>

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

Public Types

using DivergenceFilterType = rtk::BackwardDifferenceDivergenceImageFilter< TGradientImage, TOutputImage >
 
using GradientFilterType = rtk::ForwardDifferenceGradientImageFilter< TOutputImage, typename TOutputImage::ValueType, typename TOutputImage::ValueType, TGradientImage >
 
using MultiplyImageFilterType = itk::MultiplyImageFilter< TGradientImage, TOutputImage >
 
using OutputImagePointer = typename TOutputImage::Pointer
 
using Pointer = itk::SmartPointer< Self >
 
using Self = LaplacianImageFilter
 
using Superclass = itk::ImageToImageFilter< TOutputImage, TOutputImage >
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
TOutputImage::ConstPointer GetWeights ()
 
void SetWeights (const TOutputImage *weights)
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
void GenerateOutputInformation () override
 
 LaplacianImageFilter ()
 
 ~LaplacianImageFilter () override=default
 

Protected Attributes

DivergenceFilterType::Pointer m_Divergence
 
GradientFilterType::Pointer m_Gradient
 
MultiplyImageFilterType::Pointer m_Multiply
 

Detailed Description

template<typename TOutputImage, typename TGradientImage>
class rtk::LaplacianImageFilter< TOutputImage, TGradientImage >

Computes the laplacian of the input image.

Computes the gradient of the input image, then the divergence of this gradient. The exact definition of the gradient and divergence filters can be found in Chambolle, Antonin. "An Algorithm for Total Variation Minimization and Applications." J. Math. Imaging Vis. 20, no. 1-2 (January 2004): 89-97. The border conditions are described there.

Definition at line 42 of file rtkLaplacianImageFilter.h.

Member Typedef Documentation

◆ DivergenceFilterType

template<typename TOutputImage , typename TGradientImage >
using rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::DivergenceFilterType = rtk::BackwardDifferenceDivergenceImageFilter<TGradientImage, TOutputImage>

Definition at line 56 of file rtkLaplacianImageFilter.h.

◆ GradientFilterType

template<typename TOutputImage , typename TGradientImage >
using rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::GradientFilterType = rtk::ForwardDifferenceGradientImageFilter<TOutputImage, typename TOutputImage::ValueType, typename TOutputImage::ValueType, TGradientImage>

Definition at line 55 of file rtkLaplacianImageFilter.h.

◆ MultiplyImageFilterType

template<typename TOutputImage , typename TGradientImage >
using rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::MultiplyImageFilterType = itk::MultiplyImageFilter<TGradientImage, TOutputImage>

Definition at line 57 of file rtkLaplacianImageFilter.h.

◆ OutputImagePointer

template<typename TOutputImage , typename TGradientImage >
using rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::OutputImagePointer = typename TOutputImage::Pointer

Definition at line 51 of file rtkLaplacianImageFilter.h.

◆ Pointer

template<typename TOutputImage , typename TGradientImage >
using rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::Pointer = itk::SmartPointer<Self>

Definition at line 50 of file rtkLaplacianImageFilter.h.

◆ Self

template<typename TOutputImage , typename TGradientImage >
using rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::Self = LaplacianImageFilter

Standard class type alias.

Definition at line 48 of file rtkLaplacianImageFilter.h.

◆ Superclass

template<typename TOutputImage , typename TGradientImage >
using rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::Superclass = itk::ImageToImageFilter<TOutputImage, TOutputImage>

Definition at line 49 of file rtkLaplacianImageFilter.h.

Constructor & Destructor Documentation

◆ LaplacianImageFilter()

template<typename TOutputImage , typename TGradientImage >
rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::LaplacianImageFilter ( )
protected

◆ ~LaplacianImageFilter()

template<typename TOutputImage , typename TGradientImage >
rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::~LaplacianImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TOutputImage , typename TGradientImage >
virtual::itk::LightObject::Pointer rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ GenerateData()

template<typename TOutputImage , typename TGradientImage >
void rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::GenerateData ( )
overrideprotectedvirtual

Does the real work.

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GenerateOutputInformation()

template<typename TOutputImage , typename TGradientImage >
void rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::GenerateOutputInformation ( )
overrideprotectedvirtual

Handle regions

Reimplemented from itk::ProcessObject.

◆ GetNameOfClass()

template<typename TOutputImage , typename TGradientImage >
virtual const char* rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GetWeights()

template<typename TOutputImage , typename TGradientImage >
TOutputImage::ConstPointer rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::GetWeights ( )

◆ New()

template<typename TOutputImage , typename TGradientImage >
static Pointer rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::New ( )
static

Method for creation through the object factory.

◆ SetWeights()

template<typename TOutputImage , typename TGradientImage >
void rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::SetWeights ( const TOutputImage *  weights)

Member Data Documentation

◆ m_Divergence

template<typename TOutputImage , typename TGradientImage >
DivergenceFilterType::Pointer rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::m_Divergence
protected

Definition at line 88 of file rtkLaplacianImageFilter.h.

◆ m_Gradient

template<typename TOutputImage , typename TGradientImage >
GradientFilterType::Pointer rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::m_Gradient
protected

Definition at line 87 of file rtkLaplacianImageFilter.h.

◆ m_Multiply

template<typename TOutputImage , typename TGradientImage >
MultiplyImageFilterType::Pointer rtk::LaplacianImageFilter< TOutputImage, TGradientImage >::m_Multiply
protected

Definition at line 89 of file rtkLaplacianImageFilter.h.


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