Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Structured edge detection performance

Hi, I'm using the StructuredEdgeDetection algorithm of the ximgproc module. Reading the according paper I was under the impression, that it would be a fast algorithm suitbale for realtime purposes.

However, it's taking 5.4 secs on my i7 MacBook Pro to process a 2592x1944 image. Is this resolution just too high or what could I do to improve the speed? I saw that parts of the code are supposed to make use of OpenMP. Since I'm targeting mobile devices (iOS, Android), I built OpenCV 3.2 with TBB support so far. Would you suggest modifying the code to make use of TBB instead of OpenMP in my situation or are there other things that I could try?

Thanks for your support!

Structured edge detection performance

Hi, I'm using the StructuredEdgeDetection algorithm of the ximgproc module. Reading the according paper I was under the impression, impression that it would be a fast algorithm suitbale suitable for realtime purposes.

However, it's taking 5.4 secs on my i7 MacBook Pro to process a 2592x1944 image. Is this resolution just too high or what could I do to improve the speed? I saw that parts of the code are supposed to make use of OpenMP. Since I'm targeting mobile devices (iOS, Android), I built OpenCV 3.2 with TBB support so far. Would you suggest modifying the code to make use of TBB instead of OpenMP in my situation or are there other things that I could try?

Thanks for your support!