Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Writing my image > Opening my image --> Problems

1 回表示 (過去 30 日間)
SCOTT LIM
SCOTT LIM 2017 年 2 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi All,
I have a problem with saving an array as an image and opening up said image.
The array consists of 8526 x 16384 uint16 data type. I want to save this array as a jpeg and finally open up that jpeg to do image enhancement.
This is the method I have employed:
imwrite(myArray,'myImage.jpg','jpg','BitDepth',16);
I = imread('myImage.jpg');
imagesc(I,[min(I(:)) max(I(:))] );
colormap(gray);
So far, this only works for much smaller sub-images, but the larger images that I try only produce a dark gray box.
Thank you.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by