The result picture of cv_stitching can not be shown directly. (Bug #1264)


Added by p x over 13 years ago. Updated over 13 years ago.


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

0%

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

Description

I tried cv_stitching of the least SVN version yesterday.
I found out that, in main.cpp, cv::Mat result is a copy of blender->dst_ ,and dst_ is been created as CV_16SC3 in blender.cpp .
result can not be shown correctly using imshow, it has the type value of 19.
But I opened result.jpg, it's OK, its type value is 16.
So it's very inconvient for me to do an additional step of cv::Mat::convertTo in order to show the picture.
Thank you.


History

Updated by Vadim Pisarevsky over 13 years ago

  • Status deleted (Open)

Updated by Anonymous over 13 years ago

This inconvenience is because of performed memory optimization in opencv_stitching. I don't see any issues because opencv_stitching is an application, not library and it's aimed to be used from console only.

  • Status set to Done
  • (deleted custom field) set to wontfix

Also available in: Atom PDF