How do you get your data into your program? Is it saved in files and do you read them with cv::imread()
? What's the Mat::type()
then?
The best seems to scale the 14-bit data to 16-bit by simply multipling it with 4. So you can store it in an CV_16U Mat.