ITK
6.0.0
Insight Toolkit
|
#include <itkGPUNeighborhoodOperatorImageFilter.h>
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.
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, NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType > > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType > | |
static constexpr unsigned int | ImageDimension |
static constexpr unsigned int | InputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
NeighborhoodGPUBufferType::Pointer | m_NeighborhoodGPUBuffer {} |
int | m_NeighborhoodOperatorFilterGPUKernelHandle {} |
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 |
|
overridevirtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
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, NeighborhoodOperatorImageFilter< TInputImage, TOutputImage, typename TOutputImage::PixelType > >.
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.
|
inlineoverrideprotectedvirtual |
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::ImageToImageFilter< TInputImage, TOutputImage >.
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.