ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkGPUImageToImageFilter.h>
class to abstract the behaviour of the GPU filters.
GPUImageToImageFilter is the GPU version of ImageToImageFilter. This class can accept both CPU and GPU image as input and output, and apply filter accordingly. If GPU is available for use, then GPUGenerateData() is called. Otherwise, GenerateData() in the parent class (i.e., ImageToImageFilter) will be called.
Definition at line 40 of file itkGPUImageToImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
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< Self > | Pointer |
typedef GPUImageToImageFilter | Self |
typedef TParentImageFilter | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | GenerateData () override |
virtual bool | GetGPUEnabled () const |
virtual const char * | GetNameOfClass () const |
virtual void | GPUEnabledOff () |
virtual void | GPUEnabledOn () |
virtual void | GraftOutput (DataObject *output) override |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) override |
virtual void | SetGPUEnabled (bool _arg) |
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 () |
GPUImageToImageFilter () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
~GPUImageToImageFilter () | |
Protected Attributes | |
GPUKernelManager::Pointer | m_GPUKernelManager |
Private Member Functions | |
GPUImageToImageFilter (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
Private Attributes | |
bool | m_GPUEnabled |
typedef SmartPointer< const Self > itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::ConstPointer |
Definition at line 47 of file itkGPUImageToImageFilter.h.
typedef Superclass::DataObjectIdentifierType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::DataObjectIdentifierType |
Superclass typedefs.
Definition at line 52 of file itkGPUImageToImageFilter.h.
typedef InputImageType::ConstPointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageConstPointer |
Definition at line 62 of file itkGPUImageToImageFilter.h.
typedef InputImageType::PixelType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePixelType |
Definition at line 64 of file itkGPUImageToImageFilter.h.
typedef InputImageType::Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePointer |
Definition at line 61 of file itkGPUImageToImageFilter.h.
typedef InputImageType::RegionType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageRegionType |
Definition at line 63 of file itkGPUImageToImageFilter.h.
typedef TInputImage itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageType |
Some convenient typedefs.
Definition at line 60 of file itkGPUImageToImageFilter.h.
typedef Superclass::OutputImagePixelType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImagePixelType |
Definition at line 57 of file itkGPUImageToImageFilter.h.
typedef Superclass::OutputImageRegionType itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageRegionType |
Definition at line 56 of file itkGPUImageToImageFilter.h.
typedef SmartPointer< Self > itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Pointer |
Definition at line 46 of file itkGPUImageToImageFilter.h.
typedef GPUImageToImageFilter itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Self |
Standard class typedefs.
Definition at line 44 of file itkGPUImageToImageFilter.h.
typedef TParentImageFilter itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Superclass |
Definition at line 45 of file itkGPUImageToImageFilter.h.
|
protected |
|
protected |
|
private |
virtual::itk::LightObject::Pointer itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::CreateAnother | ( | ) | const |
Reimplemented in itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >, and itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
|
override |
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >, itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >, itk::GPUDenseFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >, itk::GPUGradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >, itk::GPUMeanImageFilter< TInputImage, TOutputImage >, itk::GPUBoxImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >, itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >, itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUAnisotropicDiffusionImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUInPlaceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >.
|
virtual |
|
virtual |
|
inlineprotectedvirtual |
Reimplemented in itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >, itk::GPUFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >, itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction, TParentImageFilter >, itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUMeanImageFilter< TInputImage, TOutputImage >.
Definition at line 88 of file itkGPUImageToImageFilter.h.
|
overridevirtual |
|
overridevirtual |
|
static |
|
private |
|
overrideprotectedvirtual |
Reimplemented in itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >, itk::GPUPDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >, itk::GPUFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUDemonsRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField, TParentImageFilter >, itk::GPUFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, itk::GPUDenseFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >, itk::GPUDenseFiniteDifferenceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, itk::GPUMeanImageFilter< TInputImage, TOutputImage >, itk::GPUBoxImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUInPlaceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, and itk::GPUAnisotropicDiffusionImageFilter< TInputImage, TOutputImage, TParentImageFilter >.
Referenced by itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >::PrintSelf(), and itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::PrintSelf().
|
virtual |
|
static |
ImageDimension constants
Definition at line 67 of file itkGPUImageToImageFilter.h.
|
private |
Definition at line 102 of file itkGPUImageToImageFilter.h.
|
protected |
Definition at line 92 of file itkGPUImageToImageFilter.h.
|
static |
ImageDimension constants
Definition at line 68 of file itkGPUImageToImageFilter.h.