48 bit per pixel image

1 view (last 30 days)
Zakir
Zakir on 2 May 2011
May any one Explame with referance of matlab:
PNG with a bitdepth of 16 (per channel) and passing a 3 channel uint16 matrix, resulting in a 48 bit per pixel image.
how to do this matlab.
I shell be thankful to you. Thanks
  1 Comment
Sean de Wolski
Sean de Wolski on 2 May 2011
What is your question? How to read one in? How to convert to this? How to convert from this to something else? Be specific, we can't answer a non-question.

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 2 May 2011
IMG = uint16(2^16 * rand(768,480,3));
imwrite(IMG, 'test48.png','png');
  1 Comment
Zakir
Zakir on 3 May 2011
If I hava 3 matric(R,G,B) of uint16 then hw to cmbine them in a image.
How to Show this Image?

Sign in to comment.


Sean de Wolski
Sean de Wolski on 3 May 2011
I = cat(3,r,g,b);
imshow(I)

Community Treasure Hunt

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

Start Hunting!