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

1 vue (au cours des 30 derniers jours)
zy
zy le 15 Juil 2014
Commenté : zy le 15 Juil 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 commentaires
zy
zy le 15 Juil 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 le 15 Juil 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by