RTK  2.6.0
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
 
void SetVector (std::vector< float > vect)
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from ImageSource< TInputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput ()
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void DynamicThreadedGenerateData (const typename TInputImage::RegionType &outputRegionForThread) override
 
 MultiplyByVectorImageFilter ()
 
 ~MultiplyByVectorImageFilter () override=default
 
- Protected Member Functions inherited from ImageSource< TInputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
void GenerateData () override
 
virtual bool GetDynamicMultiThreading () const
 
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 void SetDynamicMultiThreading (bool _arg)
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, 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

◆ Pointer

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

Definition at line 48 of file rtkMultiplyByVectorImageFilter.h.

◆ Self

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

Standard class type alias.

Definition at line 46 of file rtkMultiplyByVectorImageFilter.h.

◆ Superclass

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

Definition at line 47 of file rtkMultiplyByVectorImageFilter.h.

Constructor & Destructor Documentation

◆ MultiplyByVectorImageFilter()

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

◆ ~MultiplyByVectorImageFilter()

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

Member Function Documentation

◆ CreateAnother()

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

Reimplemented from itk::Object.

◆ DynamicThreadedGenerateData()

template<class TInputImage >
void rtk::MultiplyByVectorImageFilter< TInputImage >::DynamicThreadedGenerateData ( const typename TInputImage::RegionType outputRegionForThread)
overrideprotected

Does the real work.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

◆ New()

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

Method for creation through the object factory.

◆ SetVector()

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

The image containing the weights applied to the temporal components

Member Data Documentation

◆ m_Vector

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

Definition at line 74 of file rtkMultiplyByVectorImageFilter.h.


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