Ask Your Question

p4nd4ur4's profile - activity

2016-02-18 10:28:32 -0600 asked a question imwrite image is darker than ofstream version

I have the following code

http://pastebin.com/W9hqfF39

and

http://pastebin.com/W9hqfF39

both are getting an image from a thermal imaging camera; one is saving the image using ofstream and the other with opencv. The opencv image is a lot darker, almost black. Any idea what I'm doing wrong?

Thanks