![]() |
ETRI IVCL 1.0.0
Acceleration SW Platform for Ondevice
|
#include "Constant.h"Functions | |
| __kernel void | ASW_Disparity (__global uchar *left, __global uchar *right, __global float *datacost, int width, int height, int dispRange, int mSize) |
| __kernel void | ASW_Disparity_image (const int with_gaussian, __read_only image2d_t left, __read_only image2d_t right, __global float *datacost, int dispRange, int mSize) |
Variables | |
| __constant sampler_t | sampler = CLK_NORMALIZED_COORDS_TRUE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_LINEAR |
| __kernel void ASW_Disparity | ( | __global uchar * | left, |
| __global uchar * | right, | ||
| __global float * | datacost, | ||
| int | width, | ||
| int | height, | ||
| int | dispRange, | ||
| int | mSize | ||
| ) |
Compute stereo datacost using a window of Adaptive Support Weight (ASW)
| left | Left input image |
| right | Right input image |
| datacost | The initial 3D cost |
| width | The image width |
| height | The image height |
| dispRange | The stereo disparity search range |
| mSize | The local window size |
| __kernel void ASW_Disparity_image | ( | const int | with_gaussian, |
| __read_only image2d_t | left, | ||
| __read_only image2d_t | right, | ||
| __global float * | datacost, | ||
| int | dispRange, | ||
| int | mSize | ||
| ) |
Compute stereo datacost using a window of Adaptive Support Weight (ASW)
using image2d
| with_gaussian | whether to process Gaussian or not; true = 1, false = 0 |
| left | Left input image; with gaussian : float4 image2d, without gaussian : uint4 image2d |
| right | Right input image; with gaussian : float4 image2d, without gaussian : uint4 image2d |
| datacost | The initial 3D cost |
| dispRange | The stereo disparity search range |
| mSize | The local window size |
| __constant sampler_t sampler = CLK_NORMALIZED_COORDS_TRUE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_LINEAR |