Add new comment

Question for accessing raw pixels intensity

Good day to all,
I hope you guys can help me with this question:
-Is there a way to access the pixel intensity in a raw image? (14bit/channel)

For details:
I could do it easily with .jpg through opencv by: reading the image to a matrix, then access the matrix element: image.at(row,column). However, it is a 8bit/channel image, therefore the intensity is compressed in the range of [0,255].
I would want to access the intensity of raw data (in my case 14bit/channel), is there a way to do that with LibRaw?

Thank you very much for your kind support!

Forums: