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

#include <rtkAverageOutOfROIImageFilter.h>

+ Inheritance diagram for rtk::AverageOutOfROIImageFilter< TInputImage, TROI >:
+ Collaboration diagram for rtk::AverageOutOfROIImageFilter< TInputImage, TROI >:

Public Types

typedef itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension-1 > LowerDimImage
 
typedef itk::SmartPointer< SelfPointer
 
typedef AverageOutOfROIImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TInputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void SetROI (const TROI *Map)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 AverageOutOfROIImageFilter ()
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
const itk::ImageRegionSplitterBaseGetImageRegionSplitter (void) const override
 
TROI::Pointer GetROI ()
 
void ThreadedGenerateData (const typename TInputImage::RegionType &outputRegionForThread, itk::ThreadIdType) override
 
virtual ~AverageOutOfROIImageFilter () override
 

Protected Attributes

itk::ImageRegionSplitterDirection::Pointer m_Splitter
 

Private Member Functions

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

Detailed Description

template<class TInputImage, class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
class rtk::AverageOutOfROIImageFilter< TInputImage, TROI >

Averages along the last dimension if the pixel is outside ROI.

This filter takes in input a n-D image and an (n-1)D binary image representing a region of interest (1 inside the ROI, 0 outside). The filter walks through the ROI image, and :

This filter is used in rtk4DROOSTERConeBeamReconstructionFilter in order to average along time between phases, everywhere except where movement is expected to occur.

Test:
rtkfourdroostertest.cxx
Author
Cyril Mory

Definition at line 53 of file rtkAverageOutOfROIImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
typedef itk::Image<typename TInputImage::PixelType, TInputImage::ImageDimension - 1> rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::LowerDimImage

Definition at line 60 of file rtkAverageOutOfROIImageFilter.h.

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
typedef itk::SmartPointer< Self > rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::Pointer

Definition at line 59 of file rtkAverageOutOfROIImageFilter.h.

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
typedef AverageOutOfROIImageFilter rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::Self

Standard class typedefs.

Definition at line 57 of file rtkAverageOutOfROIImageFilter.h.

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
typedef itk::ImageToImageFilter<TInputImage, TInputImage> rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::Superclass

Definition at line 58 of file rtkAverageOutOfROIImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::AverageOutOfROIImageFilter ( )
protected
template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
virtual rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::~AverageOutOfROIImageFilter ( )
inlineoverrideprotectedvirtual
template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::AverageOutOfROIImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
virtual::itk::LightObject::Pointer rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::CreateAnother ( ) const
template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
void rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::GenerateInputRequestedRegion ( )
overrideprotected
template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
void rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::GenerateOutputInformation ( )
overrideprotected
template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
const itk::ImageRegionSplitterBase* rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::GetImageRegionSplitter ( void  ) const
overrideprotected

Splits the OutputRequestedRegion along the first direction, not the last

Referenced by rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::~AverageOutOfROIImageFilter().

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
virtual const char* rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
TROI::Pointer rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::GetROI ( )
protected
template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
static Pointer rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
void rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::operator= ( const Self )
private
template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
void rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::SetROI ( const TROI *  Map)

The image containing the weights applied to the temporal components

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
void rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::ThreadedGenerateData ( const typename TInputImage::RegionType &  outputRegionForThread,
itk::ThreadIdType   
)
overrideprotected

Member Data Documentation

template<class TInputImage , class TROI = itk::Image< typename TInputImage::PixelType, TInputImage::ImageDimension -1 >>
itk::ImageRegionSplitterDirection::Pointer rtk::AverageOutOfROIImageFilter< TInputImage, TROI >::m_Splitter
protected

Definition at line 85 of file rtkAverageOutOfROIImageFilter.h.


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