Prev: non-linear differential equations with non-constant coefficient
Next: how to get the name of a variable and assign it to a new variabel as string?
From: ImageAnalyst on 1 Mar 2010 04:18 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 1 Mar 2010 22:59 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 2 Mar 2010 10:02
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. |