How to get correct intensity of an image taken under 12-bit but in RGB mode?

1 Ansicht (letzte 30 Tage)
zy
zy am 15 Jul. 2014
Kommentiert: zy am 15 Jul. 2014
I use a high speed camera to take pictures in my test, and all pictures taken by this camera look gray, without other colors except black and white.
The camera takes the pictures in 12-bit, however in the monitor screen it is indicated that the image is being taken in RGB mode.
As I use 'imread' to get the intensity information of the pixels that compose the image, it indicates that most of the pixels' intensity values are 255.(for 8 bit images, the intensity range should be 0~255).
So obviously, the intensity value I got is not correct and should be larger than those I got.
I need to do something on the taken images to get the correct intensity, but I don't know how.
  2 Kommentare
zy
zy am 15 Jul. 2014
For your information, by using 'imread', the matrix format is 1280x800 uint8.
While for real RGB mode images, it should be 1280x800x3 uint8.
zy
zy am 15 Jul. 2014
If I try to add an value of 3041 to each cell of the array, all cells would only be changed to 255.
It seems that the upper limit for the value of each cell is limited to 255.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by