display a 16-bit grayscale images from a thermal camera in QT5
-
Hi Guys, I am struggling to display a 16-bit grayscale images from a FLIR tau 2 thermal camera in QT5. I tried different images' encoding and format but the best what I get is like in the right picture and how it should be like in the left one. A part of my code looks like this:
I appreciate any help -
Hi and welcome to the forums.
Maybe you could convert it to 8bit with opencv ?
https://stackoverflow.com/questions/52188100/read-opencv-mat-16bit-to-qimage-8bit-greyscale
The
cv::normalize(I,I,0.,255.,cv::NORM_MINMAX,CV_8U);
part. -
Hi Guys, I am struggling to display a 16-bit grayscale images from a FLIR tau 2 thermal camera in QT5. I tried different images' encoding and format but the best what I get is like in the right picture and how it should be like in the left one. A part of my code looks like this:
I appreciate any help