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

#include <rtkMultiplyByVectorImageFilter.h>

+ Inheritance diagram for rtk::MultiplyByVectorImageFilter< TInputImage >:
+ Collaboration diagram for rtk::MultiplyByVectorImageFilter< TInputImage >:

Public Types

using Pointer = itk::SmartPointer< Self >
 
using Self = MultiplyByVectorImageFilter
 
using Superclass = itk::ImageToImageFilter< TInputImage, TInputImage >
 
- Public Types inherited from ImageSource< TInputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DataObjectIdentifierType DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef typename OutputImageType::PixelType OutputImagePixelType
 
typedef typename OutputImageType::Pointer OutputImagePointer
 
typedef typename OutputImageType::RegionType OutputImageRegionType
 
typedef TInputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void SetVector (std::vector< float > vect)
 
- Public Member Functions inherited from ImageSource< TInputImage >
OutputImageTypeGetOutput ()
 
OutputImageTypeGetOutput (unsigned int idx)
 
const OutputImageTypeGetOutput () const
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MultiplyByVectorImageFilter ()
 
 ~MultiplyByVectorImageFilter () override=default
 
void ThreadedGenerateData (const typename TInputImage::RegionType &outputRegionForThread, itk::ThreadIdType) override
 
- Protected Member Functions inherited from ImageSource< TInputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void DynamicMultiThreadingOff ()
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
void GenerateData () override
 
virtual bool GetDynamicMultiThreading () const
 
virtual const ImageRegionSplitterBase * GetImageRegionSplitter () const
 
 ImageSource ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
 ~ImageSource () override=default
 

Private Attributes

std::vector< float > m_Vector
 

Additional Inherited Members

- Static Public Attributes inherited from ImageSource< TInputImage >
static constexpr unsigned int OutputImageDimension
 
- Static Protected Member Functions inherited from ImageSource< TInputImage >
static const ImageRegionSplitterBase * GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Protected Attributes inherited from ImageSource< TInputImage >
bool m_DynamicMultiThreading
 

Detailed Description

template<class TInputImage>
class rtk::MultiplyByVectorImageFilter< TInputImage >

Multiplies each (n-1) dimension image by the corresponding element in a vector.

This filter takes in input a n-D image and a vector. It multiplies each (n-1) dimension image by the corresponding element in the vector. The image's size along the last dimension must be equal to vector's size.

Author
Cyril Mory

Definition at line 40 of file rtkMultiplyByVectorImageFilter.h.

Member Typedef Documentation

template<class TInputImage >
using rtk::MultiplyByVectorImageFilter< TInputImage >::Pointer = itk::SmartPointer< Self >

Definition at line 48 of file rtkMultiplyByVectorImageFilter.h.

template<class TInputImage >
using rtk::MultiplyByVectorImageFilter< TInputImage >::Self = MultiplyByVectorImageFilter

Standard class type alias.

Definition at line 46 of file rtkMultiplyByVectorImageFilter.h.

template<class TInputImage >
using rtk::MultiplyByVectorImageFilter< TInputImage >::Superclass = itk::ImageToImageFilter<TInputImage, TInputImage>

Definition at line 47 of file rtkMultiplyByVectorImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage >
rtk::MultiplyByVectorImageFilter< TInputImage >::MultiplyByVectorImageFilter ( )
protected
template<class TInputImage >
rtk::MultiplyByVectorImageFilter< TInputImage >::~MultiplyByVectorImageFilter ( )
overrideprotecteddefault

Member Function Documentation

template<class TInputImage >
virtual::itk::LightObject::Pointer rtk::MultiplyByVectorImageFilter< TInputImage >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

template<class TInputImage >
virtual const char* rtk::MultiplyByVectorImageFilter< TInputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage >
static Pointer rtk::MultiplyByVectorImageFilter< TInputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage >
void rtk::MultiplyByVectorImageFilter< TInputImage >::SetVector ( std::vector< float >  vect)

The image containing the weights applied to the temporal components

template<class TInputImage >
void rtk::MultiplyByVectorImageFilter< TInputImage >::ThreadedGenerateData ( const typename TInputImage::RegionType outputRegionForThread,
itk::ThreadIdType   
)
overrideprotected

Does the real work.

Member Data Documentation

template<class TInputImage >
std::vector<float> rtk::MultiplyByVectorImageFilter< TInputImage >::m_Vector
private

Definition at line 72 of file rtkMultiplyByVectorImageFilter.h.


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