![]() |
ETRI IVCL 1.0.0
Acceleration SW Platform for Ondevice
|
Functions | |
| __kernel void | wmf (__global ushort *input, __global ushort *output, int width) |
| __kernel void | weightedMedianFilter (__global ushort *input, __global ushort *output, int width) |
Variables | |
| __constant sampler_t | sampler = CLK_FILTER_NEAREST | CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE |
| __constant float | kernel_wmf [25] |
| Assumes Kernel is 5x5; weighted median; sum = 45. More... | |
| __constant float | kernel_mf [25] |
| Assumes Kernel is 5x5; not a weighted mean filter; sum = 37. More... | |
| __kernel void weightedMedianFilter | ( | __global ushort * | input, |
| __global ushort * | output, | ||
| int | width | ||
| ) |
Weighted Median Filter
perform partial bitonic sort to find current channel median
| __kernel void wmf | ( | __global ushort * | input, |
| __global ushort * | output, | ||
| int | width | ||
| ) |
Weighted Median Filter
| __constant float kernel_mf[25] |
Assumes Kernel is 5x5; not a weighted mean filter; sum = 37.
| __constant float kernel_wmf[25] |
Assumes Kernel is 5x5; weighted median; sum = 45.
| __constant sampler_t sampler = CLK_FILTER_NEAREST | CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE |