HoughlinesP with openCL is not as fast as HoughLines

asked 2015-04-15 03:42:35 -0600

Eniac gravatar image

I use openCL modules and find Houghlines with openCL is about 10 times faster than that with CPU, but HoughLinesP with openCL is only 2 times faster. Is there any people test HoughLineP with openCL

edit retag flag offensive close merge delete

Comments

Did you measure the calculation time of HoughLines against HoughLinesP on CPU and GPU? The more the code of a function can be parallelisized the more you benefit from GPU calculation. So I guess that the HoughLinesP can't be calculated parallel that much than HoughLines can.

matman gravatar imagematman ( 2015-04-20 14:29:55 -0600 )edit