Loading...
Searching...
No Matches
itkGPUBSplineDecompositionImageFilter.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 itkGPUBSplineDecompositionImageFilter_h
#define itkGPUBSplineDecompositionImageFilter_h
#include "itkBSplineDecompositionImageFilter.h"
#include "itkGPUInPlaceImageFilter.h"
namespace itk
{
itkGPUKernelClassMacro(GPUBSplineDecompositionImageFilterKernel);
template <typename TInputImage, typename TOutputImage>
class ITK_TEMPLATE_EXPORT GPUBSplineDecompositionImageFilter
: public GPUImageToImageFilter<TInputImage, TOutputImage, BSplineDecompositionImageFilter<TInputImage, TOutputImage>>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(GPUBSplineDecompositionImageFilter);
using Self = GPUBSplineDecompositionImageFilter;
using CPUSuperclass = BSplineDecompositionImageFilter<TInputImage, TOutputImage>;
using GPUSuperclass = GPUImageToImageFilter<TInputImage, TOutputImage, CPUSuperclass>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(GPUBSplineDecompositionImageFilter, GPUSuperclass);
using OutputImageRegionType = typename GPUSuperclass::OutputImageRegionType;
using OutputImagePixelType = typename GPUSuperclass::OutputImagePixelType;
using SplinePolesVectorType = typename GPUSuperclass::SplinePolesVectorType;
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:
GPUBSplineDecompositionImageFilter();
~GPUBSplineDecompositionImageFilter() {}
void
PrintSelf(std::ostream & os, Indent indent) const override;
virtual void
GPUGenerateData();
private:
std::size_t m_FilterGPUKernelHandle{};
std::size_t m_DeviceLocalMemorySize{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPUBSplineDecompositionImageFilter.hxx"
#endif
#endif /* itkGPUBSplineDecompositionImageFilter_h */
itk::GPUBSplineDecompositionImageFilter::OutputImagePixelType
typename GPUSuperclass::OutputImagePixelType OutputImagePixelType
Definition itkGPUBSplineDecompositionImageFilter.h:62
itk::GPUBSplineDecompositionImageFilter::GPUSuperclass
GPUImageToImageFilter< TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass
Definition itkGPUBSplineDecompositionImageFilter.h:50
itk::GPUBSplineDecompositionImageFilter::GPUGenerateData
virtual void GPUGenerateData()
itk::GPUBSplineDecompositionImageFilter::GPUBSplineDecompositionImageFilter
GPUBSplineDecompositionImageFilter()
itk::GPUBSplineDecompositionImageFilter::Self
GPUBSplineDecompositionImageFilter Self
Definition itkGPUBSplineDecompositionImageFilter.h:48
itk::GPUBSplineDecompositionImageFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUBSplineDecompositionImageFilter::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUBSplineDecompositionImageFilter.h:52
itk::GPUBSplineDecompositionImageFilter::Pointer
SmartPointer< Self > Pointer
Definition itkGPUBSplineDecompositionImageFilter.h:51
itk::GPUBSplineDecompositionImageFilter::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(GPUBSplineDecompositionImageFilter)
itk::GPUBSplineDecompositionImageFilter::InputImageType
TInputImage InputImageType
Definition itkGPUBSplineDecompositionImageFilter.h:66
itk::GPUBSplineDecompositionImageFilter::InputImageConstPointer
typename InputImageType::ConstPointer InputImageConstPointer
Definition itkGPUBSplineDecompositionImageFilter.h:68
itk::GPUBSplineDecompositionImageFilter::OutputImageRegionType
typename GPUSuperclass::OutputImageRegionType OutputImageRegionType
Definition itkGPUBSplineDecompositionImageFilter.h:61
itk::GPUBSplineDecompositionImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition itkGPUBSplineDecompositionImageFilter.h:69
itk::GPUBSplineDecompositionImageFilter::CPUSuperclass
BSplineDecompositionImageFilter< TInputImage, TOutputImage > CPUSuperclass
Definition itkGPUBSplineDecompositionImageFilter.h:49
itk::GPUBSplineDecompositionImageFilter::SplinePolesVectorType
typename GPUSuperclass::SplinePolesVectorType SplinePolesVectorType
Definition itkGPUBSplineDecompositionImageFilter.h:63
itk::GPUBSplineDecompositionImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition itkGPUBSplineDecompositionImageFilter.h:70
itk::GPUBSplineDecompositionImageFilter::itkStaticConstMacro
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
itk::GPUBSplineDecompositionImageFilter::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
itk::GPUBSplineDecompositionImageFilter::InputImagePointer
typename InputImageType::Pointer InputImagePointer
Definition itkGPUBSplineDecompositionImageFilter.h:67
itk::GPUBSplineDecompositionImageFilter::m_FilterGPUKernelHandle
std::vcl_size_t m_FilterGPUKernelHandle
Definition itkGPUBSplineDecompositionImageFilter.h:86
itk::GPUBSplineDecompositionImageFilter::~GPUBSplineDecompositionImageFilter
~GPUBSplineDecompositionImageFilter()
Definition itkGPUBSplineDecompositionImageFilter.h:78
itk::GPUBSplineDecompositionImageFilter::m_DeviceLocalMemorySize
std::vcl_size_t m_DeviceLocalMemorySize
Definition itkGPUBSplineDecompositionImageFilter.h:87
itk::GPUImageToImageFilter< TInputImage, TOutputImage, BSplineDecompositionImageFilter< TInputImage, TOutputImage > >::GPUImageToImageFilter
GPUImageToImageFilter()
itkGPUInPlaceImageFilter.h
itk
Definition itkAdvancedImageToImageMetric.h:43
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUBSplineTransformKernel)

Generated on 1768596610 for elastix by 1.15.0 |