<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162086</link>
    <title>MATLAB Central Newsreader - Please Help Urgent ??Error encountered during finding the threshold value</title>
    <description>Feed for thread: Please Help Urgent ??Error encountered during finding the threshold value</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, 16 Jan 2008 05:58:01 -0500</pubDate>
      <title>Please Help Urgent ??Error encountered during finding the threshold value</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162086#409582</link>
      <author>Abhik Lodh</author>
      <description>How to find the threshold?&lt;br&gt;
following lines of code is used as per the help file but it &lt;br&gt;
throws error????????????????&lt;br&gt;
&lt;br&gt;
% Code%&lt;br&gt;
clc;&lt;br&gt;
clear all;&lt;br&gt;
f= imread('2.JPG');&lt;br&gt;
a= rgb2gray(f);&lt;br&gt;
%BW = edge(a,'sobel');%&lt;br&gt;
[BW,thresh] = edge(a,'sobel',...);&lt;br&gt;
&lt;br&gt;
% the error thrown%&lt;br&gt;
??? Error: File: C:\MATLAB6p5\work\em_edge.m Line: 6 &lt;br&gt;
Column: 35&lt;br&gt;
Expected a variable, function, or constant, found "End of &lt;br&gt;
Input".&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 16 Jan 2008 06:23:34 -0500</pubDate>
      <title>Re: Please Help Urgent ??Error encountered during finding the threshold value</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162086#409584</link>
      <author>Vihang Patil</author>
      <description>"Abhik Lodh" &amp;lt;abhik_lodh@sify.com&amp;gt; wrote in message &amp;lt;fmk6d9&lt;br&gt;
$673$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; How to find the threshold?&lt;br&gt;
&amp;gt; following lines of code is used as per the help file but &lt;br&gt;
it &lt;br&gt;
&amp;gt; throws error????????????????&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; % Code%&lt;br&gt;
&amp;gt; clc;&lt;br&gt;
&amp;gt; clear all;&lt;br&gt;
&amp;gt; f= imread('2.JPG');&lt;br&gt;
&amp;gt; a= rgb2gray(f);&lt;br&gt;
&amp;gt; %BW = edge(a,'sobel');%&lt;br&gt;
&amp;gt; [BW,thresh] = edge(a,'sobel',...);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; % the error thrown%&lt;br&gt;
&amp;gt; ??? Error: File: C:\MATLAB6p5\work\em_edge.m Line: 6 &lt;br&gt;
&amp;gt; Column: 35&lt;br&gt;
&amp;gt; Expected a variable, function, or constant, found "End &lt;br&gt;
of &lt;br&gt;
&amp;gt; Input".&lt;br&gt;
&lt;br&gt;
Hello&lt;br&gt;
Remove those dots, you have in&lt;br&gt;
[BW,thresh] = edge(a,'sobel',...);&lt;br&gt;
It should be&lt;br&gt;
[BW,thresh] = edge(a,'sobel');&lt;br&gt;
Vihang&lt;br&gt;
&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
