imread takes 2 times longer (Bug #1196)


Added by Emmanuel Battesti over 13 years ago. Updated over 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:highgui-images
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

the function imread for png 3-channel color image seems to take 2 times longer on average with opencv2.3 than opencv2.2... I didn't check with other image format.


Associated revisions

Revision 4fb2e9a8
Added by Roman Donchenko over 11 years ago

Merge pull request #1196 from rdm12:bugfix_3121_cvtcolor

History

Updated by Vadim Pisarevsky over 13 years ago

I can not reproduce the problem. On my machine 7mp png is loaded in 0.34-0.35sec both in 2.2 and 2.3. Looking a the png codec, there has been just 1 change in 2.3, which only affects RGB to grayscale conversion, when you call cv::imread(<color image file name>, 0).

It must be some other differences, in compiler flags or somewhere else.

  • Status changed from Open to Done
  • (deleted custom field) set to worksforme

Also available in: Atom PDF