Filter löschen
Filter löschen

12bit grayscale image acquistion,

5 Ansichten (letzte 30 Tage)
manoj sambasivam
manoj sambasivam am 18 Apr. 2012
I have a new camera which can acquire 12 bit grascale image . But i couldn interface it with maltab imaq. Since it has RGB and UVYY format . In case i get the image from the rgb format and later change the colorspace the image acquited in the format 8 bit grayscale . Can anyone help me out?

Akzeptierte Antwort

Image Analyst
Image Analyst am 20 Apr. 2012
When you run imaqtool, does the hardware browser show a mode that is 16 bits? If it does, why not use it?
  7 Kommentare
manoj sambasivam
manoj sambasivam am 14 Mai 2012
thanks for reply sir. I have a small doubt if i acquire it in uint8class and convert it in uint16 class using Im2uint16, Will be any loss of data?
Walter Roberson
Walter Roberson am 14 Mai 2012
That will not give you a 12 or 16 bit image.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 19 Apr. 2012
rgb2gray() ??
  4 Kommentare
manoj sambasivam
manoj sambasivam am 20 Apr. 2012
I acquire it in Uint8 . In the range of resolution 2748X3840.
I get it in RGB32 am converting it grayscale then become with same resolution but comes it the grayscale of 0-255. I need to get it into GRAY 12 bit from 0-4096 scale.
Walter Roberson
Walter Roberson am 23 Apr. 2012
The RGB32 mode: how many bits each does it allocate for R, G, and B? 32 bits can fit 11 bits each for two of the channels and 10 bits for the third channel, but it cannot fit 12 bits for each of 3 channels.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by