ITK
5.2.0
Insight Toolkit
|
#include <itkGPUNeighborhoodOperatorImageFilter.h>
Public Types | |
using | ComputingPixelType = typename NumericTraits< OutputPixelType >::RealType |
using | ConstPointer = SmartPointer< const Self > |
using | CPUSuperclass = TParentImageFilter |
using | DefaultBoundaryCondition = ZeroFluxNeumannBoundaryCondition< InputImageType > |
using | GPUSuperclass = GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > |
using | ImageBoundaryConditionPointerType = ImageBoundaryCondition< InputImageType > * |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageType = TInputImage |
using | InputInternalPixelType = typename TInputImage::InternalPixelType |
using | InputPixelType = typename TInputImage::PixelType |
using | InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType |
using | NeighborhoodGPUBufferType = GPUImage< TOperatorValueType, Self::ImageDimension > |
using | OperatorValueType = TOperatorValueType |
using | OutputImageRegionType = typename GPUSuperclass::OutputImageRegionType |
using | OutputImageType = TOutputImage |
using | OutputInternalPixelType = typename TOutputImage::InternalPixelType |
using | OutputNeighborhoodType = Neighborhood< OperatorValueType, Self::ImageDimension > |
using | OutputPixelType = typename TOutputImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = GPUNeighborhoodOperatorImageFilter |
Public Types inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
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 |
virtual const char * | GetNameOfClass () const |
itkGetOpenCLSourceFromKernelMacro (GPUNeighborhoodOperatorImageFilterKernel) | |
void | SetOperator (const OutputNeighborhoodType &p) |
Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | GenerateData () override |
virtual bool | GetGPUEnabled () const |
virtual void | GPUEnabledOff () |
virtual void | GPUEnabledOn () |
virtual void | GraftOutput (const DataObjectIdentifierType &key, typename itk::GPUTraits< TOutputImage >::Type *output) |
virtual void | GraftOutput (typename itk::GPUTraits< TOutputImage >::Type *output) |
virtual void | SetGPUEnabled (bool _arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
void | GPUGenerateData () override |
GPUNeighborhoodOperatorImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~GPUNeighborhoodOperatorImageFilter () override=default | |
Protected Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
GPUImageToImageFilter () | |
void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) override |
void | GraftOutput (DataObject *output) override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~GPUImageToImageFilter () override | |
Private Attributes | |
NeighborhoodGPUBufferType::Pointer | m_NeighborhoodGPUBuffer |
int | m_NeighborhoodOperatorFilterGPUKernelHandle |
Additional Inherited Members | |
Protected Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
GPUKernelManager::Pointer | m_GPUKernelManager |
Applies a single NeighborhoodOperator to an image region using the GPU.
This GPU filter calculates successive inner products between a single NeighborhoodOperator and a NeighborhoodIterator, which is swept across every pixel in an image region.
Definition at line 50 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::ComputingPixelType = typename NumericTraits<OutputPixelType>::RealType |
Definition at line 78 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::ConstPointer = SmartPointer<const Self> |
Definition at line 61 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::CPUSuperclass = TParentImageFilter |
Definition at line 58 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::DefaultBoundaryCondition = ZeroFluxNeumannBoundaryCondition<InputImageType> |
Typedef for the default boundary condition
Definition at line 96 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::GPUSuperclass = GPUImageToImageFilter<TInputImage, TOutputImage, TParentImageFilter> |
Definition at line 59 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::ImageBoundaryConditionPointerType = ImageBoundaryCondition<InputImageType> * |
Typedef for generic boundary condition pointer.
Definition at line 93 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 90 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::InputImageType = TInputImage |
Image type alias support
Definition at line 88 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::InputInternalPixelType = typename TInputImage::InternalPixelType |
Definition at line 74 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::InputPixelType = typename TInputImage::PixelType |
Definition at line 73 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::InputPixelValueType = typename NumericTraits<InputPixelType>::ValueType |
Definition at line 77 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::NeighborhoodGPUBufferType = GPUImage<TOperatorValueType, Self::ImageDimension> |
Definition at line 80 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::OperatorValueType = TOperatorValueType |
Definition at line 75 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::OutputImageRegionType = typename GPUSuperclass::OutputImageRegionType |
Superclass type alias.
Definition at line 99 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::OutputImageType = TOutputImage |
Definition at line 89 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::OutputInternalPixelType = typename TOutputImage::InternalPixelType |
Definition at line 72 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::OutputNeighborhoodType = Neighborhood<OperatorValueType, Self::ImageDimension> |
Neighborhood types
Definition at line 102 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::OutputPixelType = typename TOutputImage::PixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 71 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::Pointer = SmartPointer<Self> |
Definition at line 60 of file itkGPUNeighborhoodOperatorImageFilter.h.
using itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::Self = GPUNeighborhoodOperatorImageFilter |
Standard "Self" & Superclass type alias.
Definition at line 57 of file itkGPUNeighborhoodOperatorImageFilter.h.
|
protected |
Get the operator that is used to filter the image. const OutputNeighborhoodType & GetOperator() const { return m_Operator; } Allows a user to override the internal boundary condition. Care should be be taken to ensure that the overriding boundary condition is a persistent object during the time it is referenced. The overriding condition can be of a different type than the default type as long as it is a subclass of ImageBoundaryCondition. void OverrideBoundaryCondition(const ImageBoundaryConditionPointerType i) { m_BoundsCondition = i; } Get the boundary condition specified ImageBoundaryConditionPointerType GetBoundaryCondition() { return m_BoundsCondition; } NeighborhoodOperatorImageFilter needs a larger input requested region than the output requested region. As such, NeighborhoodOperatorImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
|
overrideprotecteddefault |
virtual::itk::LightObject::Pointer itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::CreateAnother | ( | ) | const |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >.
|
overrideprotectedvirtual |
NeighborhoodOperatorImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >.
itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::itkGetOpenCLSourceFromKernelMacro | ( | GPUNeighborhoodOperatorImageFilterKernel | ) |
Get OpenCL Kernel source as a string, creates a GetOpenCLSource method
|
static |
Method for creation through the object factory.
|
inlineoverrideprotected |
Definition at line 175 of file itkGPUNeighborhoodOperatorImageFilter.h.
void itk::GPUNeighborhoodOperatorImageFilter< TInputImage, TOutputImage, TOperatorValueType, TParentImageFilter >::SetOperator | ( | const OutputNeighborhoodType & | p | ) |
Sets the operator that is used to filter the image. Note that the operator is stored as an internal COPY (it is not part of the pipeline).
|
staticconstexpr |
ImageDimension constants
Definition at line 83 of file itkGPUNeighborhoodOperatorImageFilter.h.
|
staticconstexpr |
Definition at line 84 of file itkGPUNeighborhoodOperatorImageFilter.h.
|
private |
Definition at line 193 of file itkGPUNeighborhoodOperatorImageFilter.h.
|
private |
Internal operator used to filter the image. OutputNeighborhoodType m_Operator; Pointer to a persistent boundary condition object used for the image iterator. ImageBoundaryConditionPointerType m_BoundsCondition; Default boundary condition DefaultBoundaryCondition m_DefaultBoundaryCondition;
Definition at line 191 of file itkGPUNeighborhoodOperatorImageFilter.h.
|
staticconstexpr |
Definition at line 85 of file itkGPUNeighborhoodOperatorImageFilter.h.