<?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: Neighbor indexing</title>
	<atom:link href="http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/</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>Wed, 01 Feb 2012 13:58:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ferenc</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-24725</link>
		<dc:creator>Ferenc</dc:creator>
		<pubDate>Sun, 04 Dec 2011 13:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-24725</guid>
		<description>Thanks a lot Steve, this was xtremely useful.</description>
		<content:encoded><![CDATA[<p>Thanks a lot Steve, this was xtremely useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23503</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 17 Sep 2010 12:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23503</guid>
		<description>Stefano&#8212;Your code idx(east_neighbors) is a mistake. I didn&#039;t do that in my post, and I&#039;m not sure why you are doing that. You already extracted the east neighbors in the line:

&lt;pre class=&quot;code&quot;&gt;
east_neighbors = B(east_idx)
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Stefano&mdash;Your code idx(east_neighbors) is a mistake. I didn&#8217;t do that in my post, and I&#8217;m not sure why you are doing that. You already extracted the east neighbors in the line:</p>
<pre class="code">
east_neighbors = B(east_idx)
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: stefano</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23499</link>
		<dc:creator>stefano</dc:creator>
		<pubDate>Fri, 17 Sep 2010 06:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23499</guid>
		<description>Steve, I dont think so. I used as you say: B=[0 0 0 0 0;0 24 1 8 0;0 5 7 14 0;0 6 13 20 0;0 0 0 0 0]
east_idx=idx+east_offset 
east_neighbors=B(east_idx) 
but..

&gt;&gt; idx(east_neighbors)
??? Subscript indices must either be real positive integers or logicals. 

I dont know why get that error message.  and the matrix has 
nonzero elements on the borders. what can it be?</description>
		<content:encoded><![CDATA[<p>Steve, I dont think so. I used as you say: B=[0 0 0 0 0;0 24 1 8 0;0 5 7 14 0;0 6 13 20 0;0 0 0 0 0]<br />
east_idx=idx+east_offset<br />
east_neighbors=B(east_idx)<br />
but..</p>
<p>&gt;&gt; idx(east_neighbors)<br />
??? Subscript indices must either be real positive integers or logicals. </p>
<p>I dont know why get that error message.  and the matrix has<br />
nonzero elements on the borders. what can it be?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23480</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 14 Sep 2010 00:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23480</guid>
		<description>Stefano&#8212;It doesn&#039;t have anything to do with whether the matrix is logical or not. It has to do whether it has nonzero elements on the borders. See the &quot;Note&quot; in the next-to-last paragraph.</description>
		<content:encoded><![CDATA[<p>Stefano&mdash;It doesn&#8217;t have anything to do with whether the matrix is logical or not. It has to do whether it has nonzero elements on the borders. See the &#8220;Note&#8221; in the next-to-last paragraph.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stefano</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23479</link>
		<dc:creator>stefano</dc:creator>
		<pubDate>Mon, 13 Sep 2010 22:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-23479</guid>
		<description>when using no logical matrix , it doesnt work. for example A=[17 24 1 8 15;23 5 .....; 11 18 25 2 9]

&gt;&gt;idx(east_neighbors) 

??? Index exceeds matrix dimensions.</description>
		<content:encoded><![CDATA[<p>when using no logical matrix , it doesnt work. for example A=[17 24 1 8 15;23 5 .....; 11 18 25 2 9]</p>
<p>&gt;&gt;idx(east_neighbors) </p>
<p>??? Index exceeds matrix dimensions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neha</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15087</link>
		<dc:creator>Neha</dc:creator>
		<pubDate>Fri, 16 Nov 2007 17:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15087</guid>
		<description>I was trying to find run lengths in diagonal directions, so wanted to use the neighbor offset to find that, but I found another solution, merely logical to it. 
Thanks!</description>
		<content:encoded><![CDATA[<p>I was trying to find run lengths in diagonal directions, so wanted to use the neighbor offset to find that, but I found another solution, merely logical to it.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15076</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 16 Nov 2007 12:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15076</guid>
		<description>Reena&#8212;Use imshow.  Pay attention to data type issues.  For example, it matters whether your data is uint8 or double.  Please read the introductory chapters of the Image Processing Toolbox Users Guide.</description>
		<content:encoded><![CDATA[<p>Reena&mdash;Use imshow.  Pay attention to data type issues.  For example, it matters whether your data is uint8 or double.  Please read the introductory chapters of the Image Processing Toolbox Users Guide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reena</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15074</link>
		<dc:creator>Reena</dc:creator>
		<pubDate>Fri, 16 Nov 2007 10:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15074</guid>
		<description>Hello steave ,

I have follwing image data,How I display image using it?   

&lt;em&gt;[image data deleted from comment by Steve]&lt;/em&gt;

Thank you</description>
		<content:encoded><![CDATA[<p>Hello steave ,</p>
<p>I have follwing image data,How I display image using it?   </p>
<p><em>[image data deleted from comment by Steve]</em></p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15003</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 15 Nov 2007 06:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-15003</guid>
		<description>Neha&#8212;Tell me a little bit more specifically about what you are trying to do, what you have tried, and why it didn&#039;t work.</description>
		<content:encoded><![CDATA[<p>Neha&mdash;Tell me a little bit more specifically about what you are trying to do, what you have tried, and why it didn&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neha</title>
		<link>http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-14989</link>
		<dc:creator>Neha</dc:creator>
		<pubDate>Wed, 14 Nov 2007 21:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2007/03/28/neighbor-indexing/#comment-14989</guid>
		<description>Steve,

I&#039;m facing similar problems. Can you suggest a solution to Xunkai&#039;s problem?

Thanks!</description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>I&#8217;m facing similar problems. Can you suggest a solution to Xunkai&#8217;s problem?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

