Home > Back-end >  16 bit single channel grayscale RGB pseudo color chart
16 bit single channel grayscale RGB pseudo color chart

Time:11-18

Turn 16 bit single channel grayscale RGB pseudo color figure to do? 16 bit greyscale image from the original image of the infrared camera, please give directions

CodePudding user response:

See about blogs are eight grayscale directly RGB figure, I now is a 16-bit single channel grayscale image, grayscale values between 30000 ~ 60000, want to nondestructive into RGB image, didn't find related information, so ask you

CodePudding user response:

High precision turned low accuracy condition is impossible

CodePudding user response:

16 common also have two formats, 555, 565, after also is RGB, respectively, the bit number, refer to the following
//555:0 x7c00, 0 x03e0, 0 x001f
X07e0 xf800//565:0, 0, 0 x001f
# define BM565TOCOLOR _word RGB ((_word & gt;> 11 & lt; <3), (_word & lt; <5> 10 & lt; <2), (_word & lt; <11 & gt;> 3))
# define BM555TOCOLOR _word RGB ((_word & gt;> 10 & lt; <3), (_word & lt; <6 & gt;> 10 & lt; <2), (_word & lt; <11 & gt;> 3))
  • Related