ITK
5.0.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 | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = typename Superclass::DataObjectIdentifierType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = GPUImageToImageFilter |
using | Superclass = TParentImageFilter |
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 (typename itk::GPUTraits< TOutputImage >::Type *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, typename itk::GPUTraits< TOutputImage >::Type *output) |
virtual void | SetGPUEnabled (bool _arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
virtual void | GPUGenerateData () |
GPUImageToImageFilter () | |
void | GraftOutput (DataObject *output) override |
void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~GPUImageToImageFilter () override | |
Protected Attributes | |
GPUKernelManager::Pointer | m_GPUKernelManager |
Private Attributes | |
bool | m_GPUEnabled |
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::ConstPointer = SmartPointer< const Self > |
Definition at line 49 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::DataObjectIdentifierType = typename Superclass::DataObjectIdentifierType |
Superclass type alias.
Definition at line 57 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 64 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 66 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 63 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 65 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::InputImageType = TInputImage |
Some convenient type alias.
Definition at line 62 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImagePixelType = typename Superclass::OutputImagePixelType |
Definition at line 59 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Definition at line 58 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Pointer = SmartPointer< Self > |
Definition at line 48 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Self = GPUImageToImageFilter |
Standard class type aliases.
Definition at line 46 of file itkGPUImageToImageFilter.h.
using itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::Superclass = TParentImageFilter |
Definition at line 47 of file itkGPUImageToImageFilter.h.
|
protected |
|
overrideprotected |
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::GPUInPlaceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUFiniteDifferenceImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUAnisotropicDiffusionImageFilter< TInputImage, TOutputImage, TParentImageFilter >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUInPlaceImageFilter< TDisplacementField, TDisplacementField, TParentImageFilter >, and itk::GPUFiniteDifferenceImageFilter< 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 89 of file itkGPUImageToImageFilter.h.
|
virtual |
|
virtual |
|
overrideprotected |
|
overrideprotected |
|
static |
|
overrideprotected |
Reimplemented in itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >, and itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
Referenced by itk::GPUBoxImageFilter< TInputImage, TOutputImage, MeanImageFilter< TInputImage, TOutputImage > >::PrintSelf().
|
virtual |
|
static |
ImageDimension constants
Definition at line 69 of file itkGPUImageToImageFilter.h.
|
private |
Definition at line 100 of file itkGPUImageToImageFilter.h.
|
protected |
Definition at line 93 of file itkGPUImageToImageFilter.h.
|
static |
Definition at line 70 of file itkGPUImageToImageFilter.h.