I have a raw image with only one channel (b/w) of 10-bit per pixel.
I need to convert the raw data to 16-bit per pixel.
Can I use a linear conversion or shall I use any formula to do that?
What I'm doing now is a linear conversion. OUT = IN * 65535/1023.