how optimize kaze descriptor

asked 2015-11-17 00:39:15 -0600

charge gravatar image

in opencv3 kaze/akaze descriptor is taking large time for execution? how to optimize this & reduce the execution time.

edit retag flag offensive close merge delete

Comments

How big is your image?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-11-17 05:52:59 -0600 )edit
2

Guess the best way to reduce execution time is to create its OpenCL version (afaik there is only CPU version of algorithm). KAZE by its nature is parallel so performance could be boosted by OpenCL approach.

Vit gravatar imageVit ( 2015-11-17 08:41:24 -0600 )edit

@thdrksdfthmn, image size is 1280x1024. and KAZE takes ard 900ms to execute & my target 100ms.

@Vit: how to create OpenCL version of KAZE? I am using opencv 3.0 on ubuntu 14.04 & using Qt 5.4.1 .

charge gravatar imagecharge ( 2015-11-23 06:10:16 -0600 )edit

I mean 'create' not 'use' since afaik no OpenCL AKAZE in OpenCV yet.

Vit gravatar imageVit ( 2015-11-23 06:16:40 -0600 )edit

have you tried to use smaller images (using a resize)? Do you really need that resolution?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-11-23 07:21:07 -0600 )edit