Ask Your Question
0

Why Stitcher module don't use TBB (@OpenCV 243+TBB)

asked 2013-02-22 10:28:11 -0600

nikkadim gravatar image

I have OpenCV 2.43 compiled with TBB support: image description but when I run simple code

[..]
Stitcher stitcher = Stitcher::createDefault(true);
Stitcher::Status status = stitcher.stitch(imgs, pano);
[..]

for large images, I can see load only one core of 8 (@Core i7). Why?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-02-22 12:08:24 -0600

  1. Only some parts of Matcher class are paralleled with TBB. You path true to Stitcher::createDefault() factory, it means that some parts of algorithm will work on GPU. So, in many cases you do not see usage of multiple CPU cores.

  2. OpenCV is open source project and you can contribute your optimizations. The best way for it is pull request via Github.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-22 10:28:11 -0600

Seen: 314 times

Last updated: Feb 22 '13