ETRI IVCL 1.0.0
Acceleration SW Platform for Ondevice
Macros | Functions | Variables
initialSurfel.cl File Reference

Macros

#define INITIAL_OPTION   1
 

Functions

__kernel void initialSurfels (__global short *idx_sel, __global float *cost_min, __global uchar *m_occupancy, __global float *m_min, __global int *m_N, __global float *m_v, __global float *m_P, __global int *nor, int numCam, int m_width, int m_height, int m_nbin, int m_numSurfel, float m_dx, __global int *nor_sel, __global float *cost_sel, __global int *cam_sel, __global int *numNormal, __global float *d_X)
 

Variables

__constant float normal [18]
 

Macro Definition Documentation

◆ INITIAL_OPTION

#define INITIAL_OPTION   1

Function Documentation

◆ initialSurfels()

__kernel void initialSurfels ( __global short *  idx_sel,
__global float *  cost_min,
__global uchar *  m_occupancy,
__global float *  m_min,
__global int *  m_N,
__global float *  m_v,
__global float *  m_P,
__global int *  nor,
int  numCam,
int  m_width,
int  m_height,
int  m_nbin,
int  m_numSurfel,
float  m_dx,
__global int *  nor_sel,
__global float *  cost_sel,
__global int *  cam_sel,
__global int *  numNormal,
__global float *  d_X 
)

Construct initial surfers

Parameters
idx_selnumCam * m_width * m_height
cost_minnumCam * m_width * m_height
m_occupancym_N[0] * m_N[1] * m_N[2]
m_min3
m_N3
m_vnumCam * 3
m_PnumCam * 12
nornumCam * m_N[0] * m_N[1] * m_N[2] // etc // func.setArg(__local(sizeof(int)*numCam))
numCam
m_widthimage width
m_heightimage height
m_nbin
m_numSurfel
m_dx
nor_selm_N[0] * m_N[1] * m_N[2]
cost_selm_N[0] * m_N[1] * m_N[2]
cam_selm_N[0] * m_N[1] * m_N[2]
numNormal6 * (m_N[0] * m_N[1] * m_N[2])
d_X3 * m_N[0] * m_N[1] * m_N[2]

Variable Documentation

◆ normal

__constant float normal[18]
Initial value:
= { -1.f, 0.f, 0.f,
1.f, 0.f, 0.f,
0.f, -1.f, 0.f,
0.f, 1.f, 0.f,
0.f, 0.f, -1.f,
0.f, 0.f, 1.f }