48 bit per pixel image

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

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)

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.

Asked:

on 2 May 2011

Community Treasure Hunt

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

Start Hunting!