Ask Your Question

Revision history [back]

What I ended up doing is dropping the 4 least significant bits of each pixel (I don't need that much precision) when reading the file into a vector. That way I can load the image using CV_8UC1.