From: ImageAnalyst on
That's because you're saving the figure not the image so you're saving
a screenshot of the figure window. First scale your image array, a,
to be in the range 0-255

normalized_a = uint8(255 * (a-minValue) / (maxValue - minValue));

Then save it with imwrite
imwrite(normalized_a, fullFileName);

From: Diyana Zaki on
Ok, thank you. I've normalized it but, the image are not clearly captured. I'll send you email with the .mat file.

thanks,
diane


ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <e7203442-8907-421f-973e-80d5561ea48d(a)e23g2000yqd.googlegroups.com>...
> That's because you're saving the figure not the image so you're saving
> a screenshot of the figure window. First scale your image array, a,
> to be in the range 0-255
>
> normalized_a = uint8(255 * (a-minValue) / (maxValue - minValue));
>
> Then save it with imwrite
> imwrite(normalized_a, fullFileName);
From: ImageAnalyst on
On Mar 1, 10:59 pm, "Diyana Zaki" <L_C...(a)yahoo.com> wrote:
> Ok, thank you. I've normalized it but, the image are not clearly captured.. I'll send you email with the .mat file.
>
> thanks,
> diane
-----------------------------------------------------------
Post it online somewhere. I can't accept attachments or reply from
this email.