Loading...
Searching...
No Matches
itkGPUInPlaceImageFilter.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.
*
*=========================================================================*/
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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 itkGPUInPlaceImageFilter_h
#define itkGPUInPlaceImageFilter_h
#include "itkInPlaceImageFilter.h"
#include "itkGPUImageToImageFilter.h"
namespace itk
{
template <typename TInputImage,
typename TOutputImage = TInputImage,
typename TParentImageFilter = InPlaceImageFilter<TInputImage, TOutputImage>>
class ITK_TEMPLATE_EXPORT ITKOpenCL_EXPORT GPUInPlaceImageFilter
: public GPUImageToImageFilter<TInputImage, TOutputImage, TParentImageFilter>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(GPUInPlaceImageFilter);
using Self = GPUInPlaceImageFilter;
using GPUSuperclass = GPUImageToImageFilter<TInputImage, TOutputImage, TParentImageFilter>;
using CPUSuperclass = TParentImageFilter;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkTypeMacro(GPUInPlaceImageFilter, GPUImageToImageFilter);
using OutputImageType = typename GPUSuperclass::OutputImageType;
using OutputImagePointer = typename GPUSuperclass::OutputImagePointer;
using OutputImageRegionType = typename GPUSuperclass::OutputImageRegionType;
using OutputImagePixelType = typename GPUSuperclass::OutputImagePixelType;
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension);
using InputImageType = TInputImage;
using InputImagePointer = typename InputImageType::Pointer;
using InputImageConstPointer = typename InputImageType::ConstPointer;
using InputImageRegionType = typename InputImageType::RegionType;
using InputImagePixelType = typename InputImageType::PixelType;
protected:
GPUInPlaceImageFilter() = default;
~GPUInPlaceImageFilter() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
void
AllocateOutputs() override;
void
ReleaseInputs() override;
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPUInPlaceImageFilter.hxx"
#endif
#endif
itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >::OutputImageType
TOutputImage OutputImageType
Definition itkGPUImageToImageFilter.h:93
itk::GPUImageToImageFilter::GPUImageToImageFilter
GPUImageToImageFilter()
itk::GPUInPlaceImageFilter::OutputImagePixelType
typename GPUSuperclass::OutputImagePixelType OutputImagePixelType
Definition itkGPUInPlaceImageFilter.h:82
itk::GPUInPlaceImageFilter::Self
GPUInPlaceImageFilter Self
Definition itkGPUInPlaceImageFilter.h:69
itk::GPUInPlaceImageFilter::~GPUInPlaceImageFilter
~GPUInPlaceImageFilter() override=default
itk::GPUInPlaceImageFilter::GPUInPlaceImageFilter
GPUInPlaceImageFilter()=default
itk::GPUInPlaceImageFilter::Pointer
SmartPointer< Self > Pointer
Definition itkGPUInPlaceImageFilter.h:72
itk::GPUInPlaceImageFilter::ReleaseInputs
void ReleaseInputs() override
itk::GPUInPlaceImageFilter::GPUSuperclass
GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > GPUSuperclass
Definition itkGPUInPlaceImageFilter.h:70
itk::GPUInPlaceImageFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUInPlaceImageFilter::AllocateOutputs
void AllocateOutputs() override
itk::GPUInPlaceImageFilter::OutputImageType
typename GPUSuperclass::OutputImageType OutputImageType
Definition itkGPUInPlaceImageFilter.h:79
itk::GPUInPlaceImageFilter::OutputImagePointer
typename GPUSuperclass::OutputImagePointer OutputImagePointer
Definition itkGPUInPlaceImageFilter.h:80
itk::GPUInPlaceImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition itkGPUInPlaceImageFilter.h:93
itk::GPUInPlaceImageFilter::InputImagePointer
typename InputImageType::Pointer InputImagePointer
Definition itkGPUInPlaceImageFilter.h:90
itk::GPUInPlaceImageFilter::itkStaticConstMacro
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
itk::GPUInPlaceImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition itkGPUInPlaceImageFilter.h:92
itk::GPUInPlaceImageFilter::InputImageType
TInputImage InputImageType
Definition itkGPUInPlaceImageFilter.h:89
itk::GPUInPlaceImageFilter::InputImageConstPointer
typename InputImageType::ConstPointer InputImageConstPointer
Definition itkGPUInPlaceImageFilter.h:91
itk::GPUInPlaceImageFilter::itkStaticConstMacro
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
itk::GPUInPlaceImageFilter::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUInPlaceImageFilter.h:73
itk::GPUInPlaceImageFilter::OutputImageRegionType
typename GPUSuperclass::OutputImageRegionType OutputImageRegionType
Definition itkGPUInPlaceImageFilter.h:81
itk::GPUInPlaceImageFilter::CPUSuperclass
TParentImageFilter CPUSuperclass
Definition itkGPUInPlaceImageFilter.h:71
itk::GPUInPlaceImageFilter::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(GPUInPlaceImageFilter)
itkGPUImageToImageFilter.h
ITKOpenCL_EXPORT
#define ITKOpenCL_EXPORT
Definition itkOpenCLExport.h:33
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |