|
"Amol Deshpande" <sdamol@rediffmail.com> wrote in message
<fthoji$t6n$1@fred.mathworks.com>...
> how to take input image from user through kerboard for
> image processing? as we take value for any variabe say 'x'
> from user through command scanf,similarly how to take
> image in Matlab.
What exactly do you mean by an image through a keyboard?
If you mean you ask the user to give matlab an image file
(.gif, .jpg, .bmp etc), then you can use the uigetfile
function to get a file name, and then use imread to load it
into matlab (although this isn't exactly getting the image
"from keyboard").
If you mean you want the user to somehow "type" the image
with the keyboard... then, other than asking them to type a
series of 1s or 0s, I'm a little lost.
Thanks,
Sven.
|