Loading...
Searching...
No Matches
itkGPURecursiveGaussianImageFilter.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkGPURecursiveGaussianImageFilter_h
#define itkGPURecursiveGaussianImageFilter_h
#include "itkRecursiveGaussianImageFilter.h"
#include "itkGPUInPlaceImageFilter.h"
namespace itk
{
itkGPUKernelClassMacro(GPURecursiveGaussianImageFilterKernel);
template <typename TInputImage, typename TOutputImage>
class ITK_EXPORT GPURecursiveGaussianImageFilter
: public GPUInPlaceImageFilter<TInputImage, TOutputImage, RecursiveGaussianImageFilter<TInputImage, TOutputImage>>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(GPURecursiveGaussianImageFilter);
using Self = GPURecursiveGaussianImageFilter;
using CPUSuperclass = RecursiveGaussianImageFilter<TInputImage, TOutputImage>;
using GPUSuperclass = GPUImageToImageFilter<TInputImage, TOutputImage, CPUSuperclass>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(GPURecursiveGaussianImageFilter, GPUSuperclass);
using OutputImageRegionType = typename GPUSuperclass::OutputImageRegionType;
using OutputImagePixelType = typename GPUSuperclass::OutputImagePixelType;
using ScalarRealType = typename CPUSuperclass::ScalarRealType;
using InputImageType = TInputImage;
using InputImagePointer = typename InputImageType::Pointer;
using InputImageConstPointer = typename InputImageType::ConstPointer;
using InputImageRegionType = typename InputImageType::RegionType;
using InputImagePixelType = typename InputImageType::PixelType;
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension);
protected:
GPURecursiveGaussianImageFilter();
~GPURecursiveGaussianImageFilter() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
void
GPUGenerateData() override;
private:
std::size_t m_FilterGPUKernelHandle{};
std::size_t m_DeviceLocalMemorySize{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPURecursiveGaussianImageFilter.hxx"
#endif
#endif /* itkGPURecursiveGaussianImageFilter_h */
itk::GPUImageToImageFilter
class to abstract the behaviour of the GPU filters.
Definition itkGPUImageToImageFilter.h:66
itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, RecursiveGaussianImageFilter< TInputImage, TOutputImage > >::GPUInPlaceImageFilter
GPUInPlaceImageFilter()=default
itk::GPURecursiveGaussianImageFilter::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
itk::GPURecursiveGaussianImageFilter::CPUSuperclass
RecursiveGaussianImageFilter< TInputImage, TOutputImage > CPUSuperclass
Definition itkGPURecursiveGaussianImageFilter.h:50
itk::GPURecursiveGaussianImageFilter::OutputImagePixelType
typename GPUSuperclass::OutputImagePixelType OutputImagePixelType
Definition itkGPURecursiveGaussianImageFilter.h:63
itk::GPURecursiveGaussianImageFilter::InputImageType
TInputImage InputImageType
Definition itkGPURecursiveGaussianImageFilter.h:67
itk::GPURecursiveGaussianImageFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPURecursiveGaussianImageFilter::ScalarRealType
typename CPUSuperclass::ScalarRealType ScalarRealType
Definition itkGPURecursiveGaussianImageFilter.h:64
itk::GPURecursiveGaussianImageFilter::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPURecursiveGaussianImageFilter.h:53
itk::GPURecursiveGaussianImageFilter::GPURecursiveGaussianImageFilter
GPURecursiveGaussianImageFilter()
itk::GPURecursiveGaussianImageFilter::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(GPURecursiveGaussianImageFilter)
itk::GPURecursiveGaussianImageFilter::m_DeviceLocalMemorySize
std::vcl_size_t m_DeviceLocalMemorySize
Definition itkGPURecursiveGaussianImageFilter.h:89
itk::GPURecursiveGaussianImageFilter::InputImagePointer
typename InputImageType::Pointer InputImagePointer
Definition itkGPURecursiveGaussianImageFilter.h:68
itk::GPURecursiveGaussianImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition itkGPURecursiveGaussianImageFilter.h:70
itk::GPURecursiveGaussianImageFilter::~GPURecursiveGaussianImageFilter
~GPURecursiveGaussianImageFilter() override=default
itk::GPURecursiveGaussianImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition itkGPURecursiveGaussianImageFilter.h:71
itk::GPURecursiveGaussianImageFilter::GPUSuperclass
GPUImageToImageFilter< TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass
Definition itkGPURecursiveGaussianImageFilter.h:51
itk::GPURecursiveGaussianImageFilter::OutputImageRegionType
typename GPUSuperclass::OutputImageRegionType OutputImageRegionType
Definition itkGPURecursiveGaussianImageFilter.h:62
itk::GPURecursiveGaussianImageFilter::Pointer
SmartPointer< Self > Pointer
Definition itkGPURecursiveGaussianImageFilter.h:52
itk::GPURecursiveGaussianImageFilter::InputImageConstPointer
typename InputImageType::ConstPointer InputImageConstPointer
Definition itkGPURecursiveGaussianImageFilter.h:69
itk::GPURecursiveGaussianImageFilter::m_FilterGPUKernelHandle
std::vcl_size_t m_FilterGPUKernelHandle
Definition itkGPURecursiveGaussianImageFilter.h:88
itk::GPURecursiveGaussianImageFilter::GPUGenerateData
void GPUGenerateData() override
itk::GPURecursiveGaussianImageFilter::Self
GPURecursiveGaussianImageFilter Self
Definition itkGPURecursiveGaussianImageFilter.h:49
itk::GPURecursiveGaussianImageFilter::itkStaticConstMacro
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
itkGPUInPlaceImageFilter.h
itk
Definition itkAdvancedImageToImageMetric.h:43
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUBSplineTransformKernel)

Generated on 1768596610 for elastix by 1.15.0 |