NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkUndistortionKernel.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkUndistortionKernel_h
16 #define niftkUndistortionKernel_h
17 
19 #include <driver_types.h>
20 #include <texture_types.h>
21 
22 namespace niftk
23 {
24 
28 void NIFTKCUDAKERNELS_WINEXPORT RunUndistortionKernel(char* outputRGBA, int width, int height, cudaTextureObject_t srcTexture, const float* intrinsic3x3, const float* distortion4, cudaStream_t stream);
29 
30 } // end namespace
31 
32 #endif
#define NIFTKCUDAKERNELS_WINEXPORT
Definition: niftkCUDAKernelsWin32ExportHeader.h:26
GLuint GLuint stream
Definition: glew.h:6079
void NIFTKCUDAKERNELS_WINEXPORT RunUndistortionKernel(char *outputRGBA, int width, int height, cudaTextureObject_t srcTexture, const float *intrinsic3x3, const float *distortion4, cudaStream_t stream)
Provides 2D image undistortion, given a cameras intrinsic and distortion co-efficients.
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
Definition: glew.h:1236
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1236
Definition: niftkExceptionObject.h:21