Loading...
Searching...
No Matches
itkGPUNearestNeighborInterpolateImageFunction.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 itkGPUNearestNeighborInterpolateImageFunction_h
#define itkGPUNearestNeighborInterpolateImageFunction_h
#include "itkNearestNeighborInterpolateImageFunction.h"
#include "itkVersion.h"
#include "itkImage.h"
#include "itkGPUInterpolateImageFunction.h"
namespace itk
{
itkGPUKernelClassMacro(GPUNearestNeighborInterpolateImageFunctionKernel);
template <typename TInputImage, typename TCoordRep = float>
class ITK_TEMPLATE_EXPORT GPUNearestNeighborInterpolateImageFunction
: public GPUInterpolateImageFunction<TInputImage,
TCoordRep,
NearestNeighborInterpolateImageFunction<TInputImage, TCoordRep>>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(GPUNearestNeighborInterpolateImageFunction);
using Self = GPUNearestNeighborInterpolateImageFunction;
using CPUSuperclass = NearestNeighborInterpolateImageFunction<TInputImage, TCoordRep>;
using GPUSuperclass = GPUInterpolateImageFunction<TInputImage, TCoordRep, CPUSuperclass>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(GPUNearestNeighborInterpolateImageFunction, GPUSuperclass);
protected:
GPUNearestNeighborInterpolateImageFunction();
~GPUNearestNeighborInterpolateImageFunction() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
bool
GetSourceCode(std::string & source) const override;
private:
std::vector<std::string> m_Sources{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPUNearestNeighborInterpolateImageFunction.hxx"
#endif
#endif /* itkGPUNearestNeighborInterpolateImageFunction_h */
itk::GPUInterpolateImageFunction< TInputImage, float, NearestNeighborInterpolateImageFunction< TInputImage, float > >::GPUInterpolateImageFunction
GPUInterpolateImageFunction()
itk::GPUNearestNeighborInterpolateImageFunction::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUNearestNeighborInterpolateImageFunction::Self
GPUNearestNeighborInterpolateImageFunction Self
Definition itkGPUNearestNeighborInterpolateImageFunction.h:53
itk::GPUNearestNeighborInterpolateImageFunction::Pointer
SmartPointer< Self > Pointer
Definition itkGPUNearestNeighborInterpolateImageFunction.h:56
itk::GPUNearestNeighborInterpolateImageFunction::m_Sources
std::vector< std::string > m_Sources
Definition itkGPUNearestNeighborInterpolateImageFunction.h:77
itk::GPUNearestNeighborInterpolateImageFunction::GPUSuperclass
GPUInterpolateImageFunction< TInputImage, TCoordRep, CPUSuperclass > GPUSuperclass
Definition itkGPUNearestNeighborInterpolateImageFunction.h:55
itk::GPUNearestNeighborInterpolateImageFunction::GPUNearestNeighborInterpolateImageFunction
GPUNearestNeighborInterpolateImageFunction()
itk::GPUNearestNeighborInterpolateImageFunction::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(GPUNearestNeighborInterpolateImageFunction)
itk::GPUNearestNeighborInterpolateImageFunction::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUNearestNeighborInterpolateImageFunction.h:57
itk::GPUNearestNeighborInterpolateImageFunction::GetSourceCode
bool GetSourceCode(std::string &source) const override
itk::GPUNearestNeighborInterpolateImageFunction::~GPUNearestNeighborInterpolateImageFunction
~GPUNearestNeighborInterpolateImageFunction() override=default
itk::GPUNearestNeighborInterpolateImageFunction::CPUSuperclass
NearestNeighborInterpolateImageFunction< TInputImage, TCoordRep > CPUSuperclass
Definition itkGPUNearestNeighborInterpolateImageFunction.h:54
itkGPUInterpolateImageFunction.h
itk
Definition itkAdvancedImageToImageMetric.h:43
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUBSplineTransformKernel)

Generated on 1768596610 for elastix by 1.15.0 |