why does matlab take it upon itself to move the origin to the upper
left corner of an image when you display it? Why does it reverse the
y direction as well?
I have used the command 'axis xy' to make it revert to the
traditional origin an y direction but it turns my images upside down.
I can then rotate the image to make it look right, but is there a
simpler solution? It's silly!
Regards,
Jonathan Lane
I don't know the answer to this one.
> I have used the command 'axis xy' to make it revert to the
> traditional origin an y direction but it turns my images upside down.
> I can then rotate the image to make it look right, but is there a
> simpler solution? It's silly!
set(HandleToImage,'CData',flipud(get(HandleToImage, 'CData'))) should do it.
--
Steve Lord
sl...@mathworks.com