<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Locating the US continental divide,  part 1 &#8211; Introduction</title>
	<atom:link href="http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/</link>
	<description>Steve Eddins manages the Image &#38; Geospatial development team at The MathWorks and coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.</description>
	<lastBuildDate>Sat, 11 Feb 2012 18:27:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24478</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 14 Sep 2011 12:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24478</guid>
		<description>Matteo&#8212;Use imfill to fill the &quot;holes&quot; (low spots) in the image. Use &gt; to find where the filled image is greater than the unfilled image. Use bwareaopen to eliminate small basins. Add the remaining large basins to the marker used for imimposemin.

I&#039;ll add this to my list of potential topics.</description>
		<content:encoded><![CDATA[<p>Matteo&mdash;Use imfill to fill the &#8220;holes&#8221; (low spots) in the image. Use > to find where the filled image is greater than the unfilled image. Use bwareaopen to eliminate small basins. Add the remaining large basins to the marker used for imimposemin.</p>
<p>I&#8217;ll add this to my list of potential topics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24434</link>
		<dc:creator>Matteo</dc:creator>
		<pubDate>Sun, 21 Aug 2011 03:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24434</guid>
		<description>Hi Steve, 

Thanks for your comment.
I was more thinking along the lines - if there were significant endorheic basins, like the Wyoming bulge in Bit Player&#039;s post, or larger ones, like there are in every continent, e.g.
http://en.wikipedia.org/wiki/File:Ocean_drainage.png
how would you go about keeping them instead of eliminating them using imimposemin (if I understand your reply). 
Any way to do it without having to use a marker?
Thanks a lot. Matteo</description>
		<content:encoded><![CDATA[<p>Hi Steve, </p>
<p>Thanks for your comment.<br />
I was more thinking along the lines &#8211; if there were significant endorheic basins, like the Wyoming bulge in Bit Player&#8217;s post, or larger ones, like there are in every continent, e.g.<br />
<a href="http://en.wikipedia.org/wiki/File:Ocean_drainage.png" rel="nofollow">http://en.wikipedia.org/wiki/File:Ocean_drainage.png</a><br />
how would you go about keeping them instead of eliminating them using imimposemin (if I understand your reply).<br />
Any way to do it without having to use a marker?<br />
Thanks a lot. Matteo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24414</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 17 Aug 2011 02:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24414</guid>
		<description>Matteo&#8212;If I understand your question correctly, then I would say to use imimposemin. This technique is discussed in &lt;a href=&quot;http://blogs.mathworks.com/steve/2009/05/22/continental-divide-5-imposemin/&quot; rel=&quot;nofollow&quot;&gt;part 5&lt;/a&gt; of this series.</description>
		<content:encoded><![CDATA[<p>Matteo&mdash;If I understand your question correctly, then I would say to use imimposemin. This technique is discussed in <a href="http://blogs.mathworks.com/steve/2009/05/22/continental-divide-5-imposemin/" rel="nofollow">part 5</a> of this series.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24411</link>
		<dc:creator>Matteo</dc:creator>
		<pubDate>Tue, 16 Aug 2011 02:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24411</guid>
		<description>Hi Steve

Brian&#039;s blog post on the divide on Bit Player shows that he had to go around endorheic basins (I am not too sure he calls him that - it&#039;s the basins that are not connected to the ocean)
http://en.wikipedia.org/wiki/Endorheic_basin
Have you given any thoughts as to how that could be handled in Matlab?
Thanks
Matteo</description>
		<content:encoded><![CDATA[<p>Hi Steve</p>
<p>Brian&#8217;s blog post on the divide on Bit Player shows that he had to go around endorheic basins (I am not too sure he calls him that &#8211; it&#8217;s the basins that are not connected to the ocean)<br />
<a href="http://en.wikipedia.org/wiki/Endorheic_basin" rel="nofollow">http://en.wikipedia.org/wiki/Endorheic_basin</a><br />
Have you given any thoughts as to how that could be handled in Matlab?<br />
Thanks<br />
Matteo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24335</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 18 Jul 2011 15:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24335</guid>
		<description>Dr. El-Sayed&#8212;You were close:

&lt;pre class=&quot;code&quot;&gt;
I = imread(&#039;http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Dr. El-Sayed&mdash;You were close:</p>
<pre class="code">
I = imread('<a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>');
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr Ihab El-Sayed</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24323</link>
		<dc:creator>Dr Ihab El-Sayed</dc:creator>
		<pubDate>Fri, 15 Jul 2011 15:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-24323</guid>
		<description>Cropping or reading Image from web address
Dear Steve,
I am trying to use &quot;imread&quot; to read image from a local web Address
It appears after calling it like this:
I manage to to get the image I need from the D-Link  IP Camera by :
using the following in Matlab.
web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg
I am trying now to use the command &quot;imread&quot;
I tried the following, as you are aware it is difficult to get consultant in Jazan area in short time.
My question is very simple , I will really appreciate your prompt reply on this issue,
How to read the image in the above web link as a variable &quot;I&quot;?
The following is my guess but it did not succeed. 
Many thanks in advance for your help and support
Ihab

&lt;pre class=&quot;code&quot;&gt;
web http://192.168.1.3/image.jpg
&gt;&gt; web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg
&gt;&gt; ImageURL=web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg
??? ImageURL=web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg
                 &#124;
Error: Unexpected MATLAB expression.

&gt;&gt; ImageURL=[&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;]

ImageURL =

web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg

&gt;&gt; ImageURL=[&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;]

ImageURL =

web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg

&gt;&gt; edit web
&gt;&gt; strmatch(fname, [&#039;netscape&#039;;&#039;Netscape&#039;])
??? Undefined function or variable &#039;fname&#039;.

&gt;&gt; fname=polic11.jpg
??? Undefined variable &quot;polic11&quot; or class &quot;polic11.jpg&quot;.

&gt;&gt; fname=&#039;polic11.jpg&#039;

fname =

polic11.jpg

&gt;&gt; strmatch(fname, [&#039;netscape&#039;;&#039;Netscape&#039;])

ans =

     []

&gt;&gt; strmatch(fname, [&#039;netscape&#039;;&#039;Netscape&#039;])

ans =

     []

&gt;&gt; I=strmatch(fname, [&#039;netscape&#039;;&#039;Netscape&#039;])

I =

     []

&gt;&gt; imshow(I)
&gt;&gt; I=strmatch(fname, [&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;])

I =

     []

&gt;&gt; imshow(I)
&gt;&gt; I=getimage(strmatch(fname,[&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;]))
??? Error using ==&gt; imhandles at 81
The handle must be a valid graphics handle.

Error in ==&gt; getimage&gt;parseInputs at 223
him = imhandles(h);

Error in ==&gt; getimage at 86
him = parseInputs(varargin{:});

&gt;&gt; I=getimage(strmatch(fname,[&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;]))(strmatch(fname,[&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;]))
??? Error: ()-indexing must appear last in an index expression.

&gt;&gt; I=getimage(fname)
??? Error using ==&gt; getimage&gt;parseInputs at 217
GETIMAGE: Invalid handle H.

Error in ==&gt; getimage at 86
him = parseInputs(varargin{:});

&gt;&gt; I =imread([&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;])
??? Error using ==&gt; imread at 293
Can&#039;t read URL &quot;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&quot;.

&gt;&gt; web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg
&gt;&gt; I=imread(&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;)
??? Error using ==&gt; imread at 293
Can&#039;t read URL &quot;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&quot;.

&gt;&gt; I=imread(&#039;web http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;)
&lt;/pre&gt;

 could you please help me to read the image from the browser programmatically and place it as a variable in my workspace.
Many thanks in advance for your understanding and cooperation, I am giving a summer course now to the students and they need to know how to do this. 
Best regards,
Dr . Eng. Ihab El-Sayed 
Assistant Professor Faculty of Engineering
Department of Industrial Engineering</description>
		<content:encoded><![CDATA[<p>Cropping or reading Image from web address<br />
Dear Steve,<br />
I am trying to use &#8220;imread&#8221; to read image from a local web Address<br />
It appears after calling it like this:<br />
I manage to to get the image I need from the D-Link  IP Camera by :<br />
using the following in Matlab.<br />
web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a><br />
I am trying now to use the command &#8220;imread&#8221;<br />
I tried the following, as you are aware it is difficult to get consultant in Jazan area in short time.<br />
My question is very simple , I will really appreciate your prompt reply on this issue,<br />
How to read the image in the above web link as a variable &#8220;I&#8221;?<br />
The following is my guess but it did not succeed.<br />
Many thanks in advance for your help and support<br />
Ihab</p>
<pre class="code">
web <a href="http://192.168.1.3/image.jpg" rel="nofollow">http://192.168.1.3/image.jpg</a>
&gt;&gt; web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>
&gt;&gt; ImageURL=web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>
??? ImageURL=web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>
                 |
Error: Unexpected MATLAB expression.

&gt;&gt; ImageURL=['web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;</a>

ImageURL =

web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>

&gt;&gt; ImageURL=['web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;</a>

ImageURL =

web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>

&gt;&gt; edit web
&gt;&gt; strmatch(fname, ['netscape';'Netscape'])
??? Undefined function or variable 'fname'.

&gt;&gt; fname=polic11.jpg
??? Undefined variable "polic11" or class "polic11.jpg".

&gt;&gt; fname='polic11.jpg'

fname =

polic11.jpg

&gt;&gt; strmatch(fname, ['netscape';'Netscape'])

ans =

     []

&gt;&gt; strmatch(fname, ['netscape';'Netscape'])

ans =

     []

&gt;&gt; I=strmatch(fname, ['netscape';'Netscape'])

I =

     []

&gt;&gt; imshow(I)
&gt;&gt; I=strmatch(fname, ['web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;</a>)

I =

     []

&gt;&gt; imshow(I)
&gt;&gt; I=getimage(strmatch(fname,['web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;</a>))
??? Error using ==&gt; imhandles at 81
The handle must be a valid graphics handle.

Error in ==&gt; getimage&gt;parseInputs at 223
him = imhandles(h);

Error in ==&gt; getimage at 86
him = parseInputs(varargin{:});

&gt;&gt; I=getimage(strmatch(fname,['web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;))(strmatch(fname,&#039;web" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;))(strmatch(fname,&#039;web</a> <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;</a>))
??? Error: ()-indexing must appear last in an index expression.

&gt;&gt; I=getimage(fname)
??? Error using ==&gt; getimage&gt;parseInputs at 217
GETIMAGE: Invalid handle H.

Error in ==&gt; getimage at 86
him = parseInputs(varargin{:});

&gt;&gt; I =imread(['web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg&#039;</a>)
??? Error using ==&gt; imread at 293
Can't read URL "web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>".

&gt;&gt; web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>
&gt;&gt; I=imread('web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>')
??? Error using ==&gt; imread at 293
Can't read URL "web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>".

&gt;&gt; I=imread('web <a href="http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg" rel="nofollow">http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg</a>')
</pre>
<p> could you please help me to read the image from the browser programmatically and place it as a variable in my workspace.<br />
Many thanks in advance for your understanding and cooperation, I am giving a summer course now to the students and they need to know how to do this.<br />
Best regards,<br />
Dr . Eng. Ihab El-Sayed<br />
Assistant Professor Faculty of Engineering<br />
Department of Industrial Engineering</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-23143</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 24 May 2010 15:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-23143</guid>
		<description>Arni&#8212;Thanks for the pointer.</description>
		<content:encoded><![CDATA[<p>Arni&mdash;Thanks for the pointer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arni</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-23139</link>
		<dc:creator>Arni</dc:creator>
		<pubDate>Fri, 21 May 2010 17:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-23139</guid>
		<description>Hi Steve,

I found this interesting blog post on use of watershed for stitching 2 pieces of a panoramic view.
http://www.cb.uu.se/~cris/blog/index.php/archives/76#more-76</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>I found this interesting blog post on use of watershed for stitching 2 pieces of a panoramic view.<br />
<a href="http://www.cb.uu.se/~cris/blog/index.php/archives/76#more-76" rel="nofollow">http://www.cb.uu.se/~cris/blog/index.php/archives/76#more-76</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-22403</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 04 Dec 2009 18:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-22403</guid>
		<description>rzsh5&#8212;You can construct any colormap you like in MATLAB. You are not limited by the colormap functions we provide.  You can even read the exact colormap used to display the images on that web page:

&lt;pre&gt;
[X,map] = imread(&#039;http://www.ngdc.noaa.gov/mgg/topo/img/gtanew.gif&#039;);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>rzsh5&mdash;You can construct any colormap you like in MATLAB. You are not limited by the colormap functions we provide.  You can even read the exact colormap used to display the images on that web page:</p>
<pre>
[X,map] = imread('<a href="http://www.ngdc.noaa.gov/mgg/topo/img/gtanew.gif" rel="nofollow">http://www.ngdc.noaa.gov/mgg/topo/img/gtanew.gif</a>');
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: rzsh5</title>
		<link>http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-22375</link>
		<dc:creator>rzsh5</dc:creator>
		<pubDate>Tue, 24 Nov 2009 09:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/04/24/continental-divide-1-intro/#comment-22375</guid>
		<description>Great job!
I have a question, I tried to plot the data into the same color as the one posted in NGDC gallery (http://www.ngdc.noaa.gov/mgg/topo/gltiles.html), however, I tried all the colomaps in Matlab, I couldn&#039;t get the same color assignment, any one know what kind of colormap should be used? Thank you. rzsh5@hotmail.com</description>
		<content:encoded><![CDATA[<p>Great job!<br />
I have a question, I tried to plot the data into the same color as the one posted in NGDC gallery (<a href="http://www.ngdc.noaa.gov/mgg/topo/gltiles.html" rel="nofollow">http://www.ngdc.noaa.gov/mgg/topo/gltiles.html</a>), however, I tried all the colomaps in Matlab, I couldn&#8217;t get the same color assignment, any one know what kind of colormap should be used? Thank you. <a href="mailto:rzsh5@hotmail.com">rzsh5@hotmail.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

