Ask Your Question
0

I wonder how to operate opencv

asked 2015-12-09 20:33:26 -0600

iostream1029 gravatar image

Hello :)

Please understand my bad english

I tried to code using opencv on android.

and I measured the execution time between Native-C and opencv library.

( I used "bilateral filter")

If I use bilateral filter library in opencv, the execution time using opencv library is faster than Native-C about 10times.

so I have a question.

do opencv library use SIMD NEON or GPU or others??

Only use CPU??

If you know it, Please teach me

Thanks in advance :)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-12-10 20:25:33 -0600

updated 2015-12-10 20:28:53 -0600

image description

Performance of OpenCL-accelerated code on Intel Iris Graphics and Intel Iris Pro Graphics has been improved by 10%-230%. That includes faster Canny edge detector, Laplacian, StereoBM, BruteForceMatcher, BackgroundSubtractorMOG2, StitchingWarpers etc. New OpenCL kernels were implemented for several functions: HoughLines, HoughLinesP, cvtColor (selected modes), Gemm, DFT. Thanks Alexander Alekhin, Alexander Karsakov, Elena Gvozdeva, Vladimir Bystritsky, Sergey Sivolgin and other guys who did that!

image description

About 40 commonly used image processing functions have been optimized using vector NEON instructions, so OpenCV 3.0 beta should run noticeably faster on modern ARM chips. Big thanks to Ilya Lavrenov for the amazing job!

(as stated on OpenCV Change Logs)

edit flag offensive delete link more

Comments

Thank you for your answer :)

I used to test opencv libraries using opencv 2.4.11.

I have a question one more.

Is Bilateral Filter in opencv 2.4.11 library the funtion using vector NEON instructions?

I tried to check the performance between using OpenCV and OpenCL.

If you have known that, please teach me :)

Thanks in advance!!

iostream1029 gravatar imageiostream1029 ( 2015-12-10 20:47:13 -0600 )edit

i think Yes! take a look the source

sturkmen gravatar imagesturkmen ( 2015-12-10 22:32:06 -0600 )edit

Thank you so much, sturkmen!!! :) Your answer helps to me perfectly!!

iostream1029 gravatar imageiostream1029 ( 2015-12-10 22:35:20 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-12-09 20:33:26 -0600

Seen: 206 times

Last updated: Dec 10 '15