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

#include <rtkMagnitudeThresholdImageFilter.h>

+ Inheritance diagram for rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >:
+ Collaboration diagram for rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef TInputImage::PixelType InputPixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef TOutputImage::PixelType OutputPixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TRealType RealType
 
typedef itk::Image< RealVectorType, TInputImage::ImageDimension > RealVectorImageType
 
typedef itk::Vector< TRealType, InputPixelType::DimensionRealVectorType
 
typedef MagnitudeThresholdImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual TRealType GetThreshold ()
 
virtual void SetThreshold (TRealType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TOutputImage::ImageDimension
 
static const unsigned int VectorDimension = InputPixelType::Dimension
 

Protected Member Functions

 MagnitudeThresholdImageFilter ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
virtual ~MagnitudeThresholdImageFilter () override
 

Private Member Functions

 MagnitudeThresholdImageFilter (const Self &)
 
void operator= (const Self &)
 

Private Attributes

TRealType m_Threshold
 

Detailed Description

template<typename TInputImage, typename TRealType = float, typename TOutputImage = TInputImage>
class rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >

Performs thresholding on the norm of each vector-valued input pixel.

If the norm of a vector is higher than the threshold, divides the components of the vector by norm / threshold. Mathematically, it amounts to projecting onto the L_2 ball of radius m_Threshold

Author
Cyril Mory

Definition at line 42 of file rtkMagnitudeThresholdImageFilter.h.

Member Typedef Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::SmartPointer< const Self > rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::ConstPointer

Definition at line 51 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef InputImageType::Pointer rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputImagePointer

Definition at line 67 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TInputImage rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputImageType

Image typedef support

Definition at line 65 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TInputImage::PixelType rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputPixelType

Definition at line 62 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef OutputImageType::Pointer rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImagePointer

Definition at line 68 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef Superclass::OutputImageRegionType rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImageRegionType

Superclass typedefs.

Definition at line 84 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TOutputImage rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImageType

Definition at line 66 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TOutputImage::PixelType rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputPixelType

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Definition at line 57 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::SmartPointer< Self > rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Pointer

Definition at line 50 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TRealType rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealType

Define the data type and the vector of data type used in calculations.

Definition at line 79 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::Image< RealVectorType, TInputImage::ImageDimension > rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealVectorImageType

Definition at line 81 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::Vector< TRealType, InputPixelType::Dimension > rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealVectorType

Definition at line 80 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef MagnitudeThresholdImageFilter rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Self

Standard class typedefs.

Definition at line 48 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Superclass

Definition at line 49 of file rtkMagnitudeThresholdImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::MagnitudeThresholdImageFilter ( )
protected
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::~MagnitudeThresholdImageFilter ( )
inlineoverrideprotectedvirtual

Definition at line 101 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::MagnitudeThresholdImageFilter ( const Self )
private

Member Function Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual::itk::LightObject::Pointer rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::CreateAnother ( ) const
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual const char* rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

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

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual TRealType rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::GetThreshold ( )
virtual

Begin concept checking End concept checking

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
static Pointer rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
void rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::operator= ( const Self )
private
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual void rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::SetThreshold ( TRealType  _arg)
virtual
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
void rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Member Data Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
const unsigned int rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::ImageDimension = TOutputImage::ImageDimension
static

The dimensionality of the input and output images.

Definition at line 72 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
TRealType rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::m_Threshold
private

Definition at line 111 of file rtkMagnitudeThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
const unsigned int rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >::VectorDimension = InputPixelType::Dimension
static

Length of the vector pixel type of the input image.

Definition at line 76 of file rtkMagnitudeThresholdImageFilter.h.


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