Saving a 16-bit image in PNG produces 8-bit :(

Ask questions on using Emgu CV with C++

Saving a 16-bit image in PNG produces 8-bit :(

Postby lordserega » Tue Jul 27, 2010 2:55 pm

when I create an image using Emgu style:

Code: Select all
Emgu::CV::Image<Gray,UInt16>^imageGrab=gcnew Emgu::CV::Image<Gray,UInt16>(320,240);

//get the image

imageGrab->Save("image.png");


I get a 8-bit depth file on the disk, although if I do it using regular OpenCV procedure I am able to get 16-bit image. Is that a bug or I missed something?
lordserega
 
Posts: 2
Joined: Tue Jul 27, 2010 2:39 pm

Return to C++ Help

Who is online

Users browsing this forum: No registered users and 1 guest