|
On Mar 15, 12:54=A0pm, "Jan Sieh" <corone...@gmx.de> wrote:
> Hey @ all,
>
> I converted a color(rgb) *.jpg image into a gray image. When
> I want to show the image in a axes in the gui, it looks like
> a rainbow. I saved the converted image and its pefect gray.
> Why does the axes couldn?t display gray images??
>
> Hope you can help me.
>
> Greetings Jan
------------------------------------
Jan:
Check the color map. Make sure you're using a gray color map. Maybe
it got assigned to something else prior to you stuffing the gray scale
image in there. Something like
imshow(myGrayScaleImageArray, []);
colormap('gray');
Regards,
ImageAnalyst
|