RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rtk::ConstantImageSource< TOutputImage > Class Template Reference

#include <rtkConstantImageSource.h>

+ Inheritance diagram for rtk::ConstantImageSource< TOutputImage >:
+ Collaboration diagram for rtk::ConstantImageSource< TOutputImage >:

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using DirectionType = typename TOutputImage::DirectionType
 
using IndexType = typename TOutputImage::IndexType
 
using OutputImagePixelType = typename TOutputImage::PixelType
 
using OutputImageRegionType = typename TOutputImage::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = itk::SmartPointer< Self >
 
using PointType = typename TOutputImage::PointType
 
typedef PointValueType PointValueArrayType[TOutputImage::ImageDimension]
 
using PointValueType = typename TOutputImage::PointValueType
 
using Self = ConstantImageSource
 
using SizeType = typename TOutputImage::SizeType
 
typedef SizeValueType SizeValueArrayType[TOutputImage::ImageDimension]
 
using SizeValueType = typename SizeType::SizeValueType
 
using SpacingType = typename TOutputImage::SpacingType
 
typedef SpacingValueType SpacingValueArrayType[TOutputImage::ImageDimension]
 
using SpacingValueType = typename TOutputImage::SpacingValueType
 
using Superclass = itk::ImageSource< TOutputImage >
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void SetInformationFromImage (const itk::ImageBase< TOutputImage::ImageDimension > *image)
 
virtual void SetSize (SizeType _arg)
 
virtual SizeType GetSize ()
 
virtual void SetSize (SizeValueArrayType sizeArray)
 
virtual const SizeValueTypeGetSize () const
 
virtual void SetSpacing (SpacingType _arg)
 
virtual SpacingType GetSpacing ()
 
virtual void SetOrigin (PointType _arg)
 
virtual PointType GetOrigin ()
 
virtual void SetDirection (DirectionType _arg)
 
virtual DirectionType GetDirection ()
 
virtual void SetIndex (IndexType _arg)
 
virtual IndexType GetIndex ()
 
virtual void SetConstant (OutputImagePixelType _arg)
 
virtual OutputImagePixelType GetConstant () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ConstantImageSource ()
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
 
 ~ConstantImageSource () override
 

Protected Attributes

OutputImagePixelType m_Constant
 
DirectionType m_Direction
 
IndexType m_Index
 
PointType m_Origin
 
SizeType m_Size
 
SpacingType m_Spacing
 

Detailed Description

template<typename TOutputImage>
class rtk::ConstantImageSource< TOutputImage >

Generate an n-dimensional image with constant pixel values.

ConstantImageSource generates an image with constant value. The filter is useful to allow streaming of large images with a constant source, e.g., a tomography reconstructed with a filtered backprojection algorithm.

Test:
rtkRaycastInterpolatorForwardProjectionTest.cxx, rtkprojectgeometricphantomtest.cxx, rtkfdktest.cxx, rtksarttest.cxx, rtkrampfiltertest.cxx, rtkamsterdamshroudtest.cxx, rtkdrawgeometricphantomtest.cxx, rtkmotioncompensatedfdktest.cxx, rtkfovtest.cxx, rtkforwardprojectiontest.cxx, rtkdisplaceddetectortest.cxx, rtkshortscantest.cxx
Author
Simon Rit

Definition at line 51 of file rtkConstantImageSource.h.

Member Typedef Documentation

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::ConstPointer = itk::SmartPointer<const Self>

Definition at line 60 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::DirectionType = typename TOutputImage::DirectionType

Definition at line 88 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::IndexType = typename TOutputImage::IndexType

Definition at line 79 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::OutputImagePixelType = typename TOutputImage::PixelType

Typedefs for the output image PixelType.

Definition at line 66 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::OutputImageRegionType = typename TOutputImage::RegionType

Typedef to describe the output image region type.

Definition at line 69 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::OutputImageType = TOutputImage

Typedef for the output image type.

Definition at line 63 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::Pointer = itk::SmartPointer<Self>

Definition at line 59 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::PointType = typename TOutputImage::PointType

Definition at line 81 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef PointValueType rtk::ConstantImageSource< TOutputImage >::PointValueArrayType[TOutputImage::ImageDimension]

Definition at line 87 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::PointValueType = typename TOutputImage::PointValueType

Definition at line 86 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::Self = ConstantImageSource

Standard class type alias.

Definition at line 57 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::SizeType = typename TOutputImage::SizeType

Basic types from the OutputImageType

Definition at line 78 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef SizeValueType rtk::ConstantImageSource< TOutputImage >::SizeValueArrayType[TOutputImage::ImageDimension]

Definition at line 83 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::SizeValueType = typename SizeType::SizeValueType

Definition at line 82 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::SpacingType = typename TOutputImage::SpacingType

Definition at line 80 of file rtkConstantImageSource.h.

template<typename TOutputImage >
typedef SpacingValueType rtk::ConstantImageSource< TOutputImage >::SpacingValueArrayType[TOutputImage::ImageDimension]

Definition at line 85 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::SpacingValueType = typename TOutputImage::SpacingValueType

Definition at line 84 of file rtkConstantImageSource.h.

template<typename TOutputImage >
using rtk::ConstantImageSource< TOutputImage >::Superclass = itk::ImageSource<TOutputImage>

Definition at line 58 of file rtkConstantImageSource.h.

Constructor & Destructor Documentation

template<typename TOutputImage >
rtk::ConstantImageSource< TOutputImage >::ConstantImageSource ( )
protected
template<typename TOutputImage >
rtk::ConstantImageSource< TOutputImage >::~ConstantImageSource ( )
overrideprotected

Member Function Documentation

template<typename TOutputImage >
virtual::itk::LightObject::Pointer rtk::ConstantImageSource< TOutputImage >::CreateAnother ( ) const
template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::GenerateOutputInformation ( )
overrideprotected
template<typename TOutputImage >
virtual OutputImagePixelType rtk::ConstantImageSource< TOutputImage >::GetConstant ( ) const
virtual

Set/Get the pixel value of output

template<typename TOutputImage >
virtual DirectionType rtk::ConstantImageSource< TOutputImage >::GetDirection ( )
virtual

Set/Get direction of the output image

template<typename TOutputImage >
virtual IndexType rtk::ConstantImageSource< TOutputImage >::GetIndex ( )
virtual

Set/Get index of the output image's largest possible region

template<typename TOutputImage >
virtual const char* rtk::ConstantImageSource< TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TOutputImage >
virtual PointType rtk::ConstantImageSource< TOutputImage >::GetOrigin ( )
virtual

Set/Get origin of the output image

template<typename TOutputImage >
virtual SizeType rtk::ConstantImageSource< TOutputImage >::GetSize ( )
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual const SizeValueType* rtk::ConstantImageSource< TOutputImage >::GetSize ( ) const
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual SpacingType rtk::ConstantImageSource< TOutputImage >::GetSpacing ( )
virtual

Set/Get spacing of the output image

template<typename TOutputImage >
static Pointer rtk::ConstantImageSource< TOutputImage >::New ( )
static

Method for creation through the object factory.

template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected
template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetConstant ( OutputImagePixelType  _arg)
virtual

Set/Get the pixel value of output

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetDirection ( DirectionType  _arg)
virtual

Set/Get direction of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetIndex ( IndexType  _arg)
virtual

Set/Get index of the output image's largest possible region

template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::SetInformationFromImage ( const itk::ImageBase< TOutputImage::ImageDimension > *  image)

Set output image information from an existing image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetOrigin ( PointType  _arg)
virtual

Set/Get origin of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetSize ( SizeType  _arg)
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetSize ( SizeValueArrayType  sizeArray)
virtual

Set/Get size of the output image

template<typename TOutputImage >
virtual void rtk::ConstantImageSource< TOutputImage >::SetSpacing ( SpacingType  _arg)
virtual

Set/Get spacing of the output image

template<typename TOutputImage >
void rtk::ConstantImageSource< TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
overrideprotected

Member Data Documentation

template<typename TOutputImage >
OutputImagePixelType rtk::ConstantImageSource< TOutputImage >::m_Constant
protected

Definition at line 144 of file rtkConstantImageSource.h.

template<typename TOutputImage >
DirectionType rtk::ConstantImageSource< TOutputImage >::m_Direction
protected

Definition at line 141 of file rtkConstantImageSource.h.

template<typename TOutputImage >
IndexType rtk::ConstantImageSource< TOutputImage >::m_Index
protected

Definition at line 142 of file rtkConstantImageSource.h.

template<typename TOutputImage >
PointType rtk::ConstantImageSource< TOutputImage >::m_Origin
protected

Definition at line 140 of file rtkConstantImageSource.h.

template<typename TOutputImage >
SizeType rtk::ConstantImageSource< TOutputImage >::m_Size
protected

Definition at line 138 of file rtkConstantImageSource.h.

template<typename TOutputImage >
SpacingType rtk::ConstantImageSource< TOutputImage >::m_Spacing
protected

Definition at line 139 of file rtkConstantImageSource.h.


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