ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::GPUMeanImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkGPUMeanImageFilter.h>

+ Inheritance diagram for itk::GPUMeanImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::GPUMeanImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
typedef SmartPointer< SelfPointer
typedef GPUMeanImageFilter Self
typedef GPUImageToImageFilter
< TInputImage, TOutputImage,
MeanImageFilter< TInputImage,
TOutputImage > > 
Superclass
- Public Types inherited from itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >
typedef MeanImageFilter
< TInputImage, TOutputImage > 
CPUSuperclass
typedef GPUImageToImageFilter
< TInputImage, TOutputImage,
MeanImageFilter< TInputImage,
TOutputImage > > 
GPUSuperclass
typedef CPUSuperclass::IndexType IndexType
typedef TInputImage::PixelType InputPixelType
typedef CPUSuperclass::OffsetType OffsetType
typedef TOutputImage OutputImageType
typedef OutputImageType::PixelType OutputPixelType
typedef CPUSuperclass::RegionType RegionType
typedef CPUSuperclass::SizeType SizeType
typedef CPUSuperclass::SizeType RadiusType
typedef
InputImageType::SizeValueType 
RadiusValueType
- Public Types inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
- Public Types inherited from itk::MeanImageFilter< TInputImage, TOutputImage >
typedef NumericTraits
< InputPixelType >::RealType 
InputRealType
typedef InputImageType::SizeType InputSizeType
- Public Types inherited from itk::BoxImageFilter< TInputImage, TOutputImage >
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef DataObject::Pointer DataObjectPointer
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
typedef OutputImageType::Pointer OutputImagePointer
- Public Types inherited from itk::ProcessObject
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 itkGetOpenCLSourceFromKernelMacro (GPUMeanImageFilterKernel)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension

Protected Member Functions

virtual void GPUGenerateData ()
 GPUMeanImageFilter ()
virtual void PrintSelf (std::ostream &os, Indent indent) const
 ~GPUMeanImageFilter ()
 GPUBoxImageFilter ()
 ~GPUBoxImageFilter ()
- Protected Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >
 GPUImageToImageFilter ()
 ~GPUImageToImageFilter ()
- Protected Member Functions inherited from itk::MeanImageFilter< TInputImage, TOutputImage >
 MeanImageFilter ()
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
virtual ~MeanImageFilter ()
- Protected Member Functions inherited from itk::BoxImageFilter< TInputImage, TOutputImage >
 BoxImageFilter ()
 ~BoxImageFilter ()
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 ImageToImageFilter ()
virtual void VerifyInputInformation ()
 ~ImageToImageFilter ()
void PushBackInput (const DataObject *input)
void PushFrontInput (const DataObject *input)
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
virtual void AllocateOutputs ()
virtual void BeforeThreadedGenerateData ()
 ImageSource ()
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion)
virtual ~ImageSource ()
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void ReleaseInputs ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryOutput (DataObject *output)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

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

Private Attributes

int m_MeanFilterGPUKernelHandle

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::GPUMeanImageFilter< TInputImage, TOutputImage >

GPU-enabled implementation of the MeanImageFilter.

Current GPU mean filter reads in neighborhood pixels from global memory.

Definition at line 42 of file itkGPUMeanImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::GPUMeanImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::ConstPointer itk::GPUMeanImageFilter< TInputImage, TOutputImage >::InputImageConstPointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::PixelType itk::GPUMeanImageFilter< TInputImage, TOutputImage >::InputImagePixelType
template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer itk::GPUMeanImageFilter< TInputImage, TOutputImage >::InputImagePointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::GPUMeanImageFilter< TInputImage, TOutputImage >::InputImageRegionType
template<class TInputImage , class TOutputImage >
typedef TInputImage itk::GPUMeanImageFilter< TInputImage, TOutputImage >::InputImageType
template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImagePixelType itk::GPUMeanImageFilter< TInputImage, TOutputImage >::OutputImagePixelType
template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImageRegionType itk::GPUMeanImageFilter< TInputImage, TOutputImage >::OutputImageRegionType
template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::GPUMeanImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef GPUMeanImageFilter itk::GPUMeanImageFilter< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage >
typedef GPUImageToImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > > itk::GPUMeanImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::GPUMeanImageFilter< TInputImage, TOutputImage >::GPUMeanImageFilter ( )
protected
template<class TInputImage , class TOutputImage >
itk::GPUMeanImageFilter< TInputImage, TOutputImage >::~GPUMeanImageFilter ( )
protected
template<class TInputImage , class TOutputImage >
itk::GPUMeanImageFilter< TInputImage, TOutputImage >::GPUMeanImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::GPUMeanImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >.

template<class TInputImage , class TOutputImage >
virtual const char* itk::GPUMeanImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >.

template<class TInputImage , class TOutputImage >
virtual void itk::GPUMeanImageFilter< TInputImage, TOutputImage >::GPUGenerateData ( )
protectedvirtual
template<class TInputImage , class TOutputImage >
itk::GPUMeanImageFilter< TInputImage, TOutputImage >::itkGetOpenCLSourceFromKernelMacro ( GPUMeanImageFilterKernel  )

Get OpenCL Kernel source as a string, creates a GetOpenCLSource method

template<class TInputImage , class TOutputImage >
static Pointer itk::GPUMeanImageFilter< TInputImage, TOutputImage >::New ( void  )
static
template<class TInputImage , class TOutputImage >
void itk::GPUMeanImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >.

template<class TInputImage , class TOutputImage >
virtual void itk::GPUMeanImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >.


Member Data Documentation

template<class TInputImage , class TOutputImage >
const unsigned int itk::GPUMeanImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension
static
template<class TInputImage , class TOutputImage >
int itk::GPUMeanImageFilter< TInputImage, TOutputImage >::m_MeanFilterGPUKernelHandle
private

Definition at line 93 of file itkGPUMeanImageFilter.h.

template<class TInputImage , class TOutputImage >
const unsigned int itk::GPUMeanImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
static

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