<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/167221</link>
    <title>MATLAB Central Newsreader - how to take input image from user</title>
    <description>Feed for thread: how to take input image from user</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 09 Apr 2008 06:44:02 -0400</pubDate>
      <title>how to take input image from user</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/167221#425556</link>
      <author>Amol Deshpande</author>
      <description>how to take input image from user through kerboard for &lt;br&gt;
image processing? as we take value for any variabe say 'x' &lt;br&gt;
from user through command scanf,similarly how to take &lt;br&gt;
image in Matlab.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 09 Apr 2008 07:33:02 -0400</pubDate>
      <title>Re: how to take input image from user</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/167221#425565</link>
      <author>Sven </author>
      <description>"Amol Deshpande" &amp;lt;sdamol@rediffmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fthoji$t6n$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; how to take input image from user through kerboard for &lt;br&gt;
&amp;gt; image processing? as we take value for any variabe say 'x' &lt;br&gt;
&amp;gt; from user through command scanf,similarly how to take &lt;br&gt;
&amp;gt; image in Matlab.&lt;br&gt;
&lt;br&gt;
What exactly do you mean by an image through a keyboard?&lt;br&gt;
&lt;br&gt;
If you mean you ask the user to give matlab an image file&lt;br&gt;
(.gif, .jpg, .bmp etc), then you can use the uigetfile&lt;br&gt;
function to get a file name, and then use imread to load it&lt;br&gt;
into matlab (although this isn't exactly getting the image&lt;br&gt;
"from keyboard").&lt;br&gt;
&lt;br&gt;
If you mean you want the user to somehow "type" the image&lt;br&gt;
with the keyboard... then, other than asking them to type a&lt;br&gt;
series of 1s or 0s, I'm a little lost.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Sven.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 09 Apr 2008 08:52:30 -0400</pubDate>
      <title>Re: how to take input image from user</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/167221#425586</link>
      <author>Yumnam Kirani Singh</author>
      <description>Won't an input box help?&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 09 Apr 2008 08:58:02 -0400</pubDate>
      <title>Re: how to take input image from user</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/167221#425584</link>
      <author>Amol Deshpande</author>
      <description>image through keyboard means, for example if we type 'c' &lt;br&gt;
from keyboard then matlab should take 'cameraman.tif',if &lt;br&gt;
we type 'f' then matlab should take 'football.jpg' etc; &lt;br&gt;
and after taking the image the program should use the &lt;br&gt;
image which we have provided to the program(like here we &lt;br&gt;
have provided 'cameraman.tif').so what is the command or &lt;br&gt;
function which will ask us 'which image you want to &lt;br&gt;
process?' and then we can provide any image of our choice.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 09 Apr 2008 16:15:04 -0400</pubDate>
      <title>Re: how to take input image from user</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/167221#425675</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fti0eq$brs$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Amol Deshpande &amp;lt;sdamol@rediffmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;image through keyboard means, for example if we type 'c' &lt;br&gt;
&amp;gt;from keyboard then matlab should take 'cameraman.tif',if &lt;br&gt;
&amp;gt;we type 'f' then matlab should take 'football.jpg' etc; &lt;br&gt;
&amp;gt;and after taking the image the program should use the &lt;br&gt;
&amp;gt;image which we have provided to the program(like here we &lt;br&gt;
&amp;gt;have provided 'cameraman.tif').so what is the command or &lt;br&gt;
&amp;gt;function which will ask us 'which image you want to &lt;br&gt;
&amp;gt;process?' and then we can provide any image of our choice.&lt;br&gt;
&lt;br&gt;
If your program knows the names of the possible images in advance,&lt;br&gt;
then consider using the menu() function, or the input() function&lt;br&gt;
with the 'string' option.&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;"Beware of bugs in the above code; I have only proved it correct,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;not tried it."                                    -- Donald Knuth&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
