I am newbie in OpenCV. I need to write a C++ program that loads the tiff image stored in the database. So I read the image as char buffer and I'm not sure how to create Mat object from that buffer.
-
is that buffer a tiff image ( like on disk, with headers and such ) ? or pixels ?berak– berak2014-01-17 12:18:13 +00:00Commented Jan 17, 2014 at 12:18
-
It is image file as such uploaded to the databaseShan– Shan2014-01-17 12:22:47 +00:00Commented Jan 17, 2014 at 12:22
-
Content of char buffer is? And format (RGBRGB...RGB)?herohuyongtao– herohuyongtao2014-01-17 12:23:16 +00:00Commented Jan 17, 2014 at 12:23
-
It is a image file which is uploaded to database as binary data. The C++ program need to read the binary data from the databaseShan– Shan2014-01-17 12:26:00 +00:00Commented Jan 17, 2014 at 12:26
-
1docs.opencv.org/modules/highgui/doc/…berak– berak2014-01-17 12:27:50 +00:00Commented Jan 17, 2014 at 12:27
|
Show 4 more comments