<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Connected component labeling - Part 6</title>
	<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/</link>
	<description>Steve Eddins manages the Image &#38; Geospatial development team at &#60;a href="http://www.mathworks.com/"&#62;The MathWorks&#60;/a&#62; and coauthored &#60;a href="http://www.mathworks.com/support/books/book5291.html?category=-1&#38;language=-1"&#62;Digital Image Processing Using MATLAB&#60;/a&#62;. He writes here about image processing concepts, algorithm implementations, and MATLAB.&#60;br&#62;&#60;br&#62;&#60;img&#62;</description>
	<pubDate>Sun, 08 Nov 2009 04:27:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-22000</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 24 Jul 2009 00:36:22 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-22000</guid>
		<description>Anand&#8212;Connected-component labeling will probably be useful to you, but you don't need to implement the algorithm yourself.  Just use &lt;tt&gt;bwlabel&lt;/tt&gt; (or &lt;tt&gt;bwconncomp&lt;/tt&gt; if you already have the R2009a release) from the Image Processing Toolbox.</description>
		<content:encoded><![CDATA[<p>Anand&mdash;Connected-component labeling will probably be useful to you, but you don&#8217;t need to implement the algorithm yourself.  Just use <tt>bwlabel</tt> (or <tt>bwconncomp</tt> if you already have the R2009a release) from the Image Processing Toolbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anand</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-21988</link>
		<dc:creator>anand</dc:creator>
		<pubDate>Tue, 21 Jul 2009 11:02:11 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-21988</guid>
		<description>Hi,
  I need to detect text (font) region in a image (a high resolution text imgae).. I just want to know , will this algo help me out?

thanks
Anand</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  I need to detect text (font) region in a image (a high resolution text imgae).. I just want to know , will this algo help me out?</p>
<p>thanks<br />
Anand</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-21915</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 25 Jun 2009 15:03:36 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-21915</guid>
		<description>Ardy&#8212;There is a lot information available online about the union find algorithm.  I can also recommend Sedgewick, Algorithms in C, 3rd ed, Parts 1-4, pp. 10-23.</description>
		<content:encoded><![CDATA[<p>Ardy&mdash;There is a lot information available online about the union find algorithm.  I can also recommend Sedgewick, Algorithms in C, 3rd ed, Parts 1-4, pp. 10-23.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ardy</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-21914</link>
		<dc:creator>Ardy</dc:creator>
		<pubDate>Thu, 25 Jun 2009 14:49:23 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-21914</guid>
		<description>Hi, i would like to know more details about union find.

like in an image, may be: 

note 1 can be connected to 2, 3, 5
note 2 can connect to 4, 6
note 3 can connect to 2, 6

how u put all the linked note together effectively?</description>
		<content:encoded><![CDATA[<p>Hi, i would like to know more details about union find.</p>
<p>like in an image, may be: </p>
<p>note 1 can be connected to 2, 3, 5<br />
note 2 can connect to 4, 6<br />
note 3 can connect to 2, 6</p>
<p>how u put all the linked note together effectively?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20872</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 14 Jul 2008 12:49:43 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20872</guid>
		<description>Shannon&#8212;No, &lt;tt&gt;bwlabel&lt;/tt&gt; and &lt;tt&gt;bwlabeln&lt;/tt&gt; compute the connected components of &lt;em&gt;pixels&lt;/em&gt;, not cells.  If cells are touching in the output of your segmentation step, then &lt;tt&gt;bwlabel&lt;/tt&gt; will consider them to be part of the same object.

You can count background pixels in a binary image &lt;tt&gt;bw&lt;/tt&gt; with something like this:

&lt;pre&gt;
sum(~bw(:))
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Shannon&mdash;No, <tt>bwlabel</tt> and <tt>bwlabeln</tt> compute the connected components of <em>pixels</em>, not cells.  If cells are touching in the output of your segmentation step, then <tt>bwlabel</tt> will consider them to be part of the same object.</p>
<p>You can count background pixels in a binary image <tt>bw</tt> with something like this:</p>
<pre>
sum(~bw(:))
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shannon</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20870</link>
		<dc:creator>Shannon</dc:creator>
		<pubDate>Mon, 14 Jul 2008 07:55:14 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20870</guid>
		<description>just to clarify, this can be used to represent cell connectivity, after you have segmented an image? like you have an image of red blood cells or something and want to figure out how many cells each cell is in contact with... bwlabeln will do it? this might just solve my problems.

and i'm also doing porosity of a foam. after i do bwlabel and segmentation and all that, how can i subtract the area of the cells (L, right?) from the "nothing" black background to get the dead space/air/pores?

if you can help or suggest any other code to help, that would be wonderful!</description>
		<content:encoded><![CDATA[<p>just to clarify, this can be used to represent cell connectivity, after you have segmented an image? like you have an image of red blood cells or something and want to figure out how many cells each cell is in contact with&#8230; bwlabeln will do it? this might just solve my problems.</p>
<p>and i&#8217;m also doing porosity of a foam. after i do bwlabel and segmentation and all that, how can i subtract the area of the cells (L, right?) from the &#8220;nothing&#8221; black background to get the dead space/air/pores?</p>
<p>if you can help or suggest any other code to help, that would be wonderful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20848</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:19:54 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20848</guid>
		<description>Jackey&#8212;See &lt;em&gt;Algorithms in C&lt;/em&gt; by Sedgewick, 3rd edition, pp. 18&#8211;21.</description>
		<content:encoded><![CDATA[<p>Jackey&mdash;See <em>Algorithms in C</em> by Sedgewick, 3rd edition, pp. 18&ndash;21.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackey</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20822</link>
		<dc:creator>Jackey</dc:creator>
		<pubDate>Thu, 26 Jun 2008 15:47:59 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-20822</guid>
		<description>hello man, i am chinese, i just want to know some detail about the algorithm of the path compression by halving in C,thanks!</description>
		<content:encoded><![CDATA[<p>hello man, i am chinese, i just want to know some detail about the algorithm of the path compression by halving in C,thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-11831</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 15 Oct 2007 15:29:57 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-11831</guid>
		<description>Ashish&#8212;&lt;tt&gt;bwlabel&lt;/tt&gt; scans image pixels columnwise, since that's the way matrix elements are stored in memory.  If you want a different order, you could transpose your matrix, or you could sort based on some other criterion.  To sort by a different criterion, create a vector containing the values to be sorted, sort them and capture the 2nd output of the sort, and then use the 2nd output to rearrange your cell array.</description>
		<content:encoded><![CDATA[<p>Ashish&mdash;<tt>bwlabel</tt> scans image pixels columnwise, since that&#8217;s the way matrix elements are stored in memory.  If you want a different order, you could transpose your matrix, or you could sort based on some other criterion.  To sort by a different criterion, create a vector containing the values to be sorted, sort them and capture the 2nd output of the sort, and then use the 2nd output to rearrange your cell array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish Anant Saxena</title>
		<link>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-11434</link>
		<dc:creator>Ashish Anant Saxena</dc:creator>
		<pubDate>Sat, 06 Oct 2007 16:08:44 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/05/25/connected-component-labeling-part-6/#comment-11434</guid>
		<description>correction in previous comment.......line 4th "one at the top right corner as the last component"</description>
		<content:encoded><![CDATA[<p>correction in previous comment&#8230;&#8230;.line 4th &#8220;one at the top right corner as the last component&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
