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