Forum Discussion
Altera_Forum
Honored Contributor
9 years agoImprovement of self-written OpenCL-Funktion (GaussianBlur)
Hello, I have implemented a Gaussian Filter on the FPGA (Cyclone V SoC) using OpenCL which works ok (2.5 times faster as on the ARM) but i´m not quite sure if it´s optimal for the FPGA. host-co...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Edit @ question 1: my kernel code works, i did a mistake with handling the boarderproblem in the Host-Code :x. But i still think that the sobel.cl file has an error --- Quote End --- They are just setting the output to either 0 or 0xffffff (max value). Since this code works based on threshold, anything above the threshold is seen as an edge and anything below is black. You can change the threshold value to obtain different images and choose the best threshold.