<?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: Filling small holes</title>
	<atom:link href="http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/</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>Fri, 10 Feb 2012 18:55:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Luis</title>
		<link>http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/#comment-24291</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Mon, 27 Jun 2011 15:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/#comment-24291</guid>
		<description>Thanks Steve! A good and easy solution.
Cheers,
Luis</description>
		<content:encoded><![CDATA[<p>Thanks Steve! A good and easy solution.<br />
Cheers,<br />
Luis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/#comment-20976</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 13 Aug 2008 16:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/#comment-20976</guid>
		<description>Sven&#8212;Thanks for the additional tips.</description>
		<content:encoded><![CDATA[<p>Sven&mdash;Thanks for the additional tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven</title>
		<link>http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/#comment-20950</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Wed, 06 Aug 2008 20:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/08/05/filling-small-holes/#comment-20950</guid>
		<description>Hi Steve and all,

Just a little extra in case you want to fill *midsized* holes. The following fits in at Step 3 above, and will fill holes between 80 and 300 pixels in area.

L_candidate_holes = bwlabel(holes);
stats = regionprops(L_candidate_holes, &#039;Area&#039;);
idx = find([stats.Area]&gt;80 &amp; [stats.Area]&lt;300);
midsized_holes = ismember(L_candidate_holes,idx);

Just thought I&#039;d share since I&#039;ve been using this quite a bit recently. Of course, you could add more criteria to the regionprops call, and then select the holes based on more criteria too.

Cheers,
Sven.</description>
		<content:encoded><![CDATA[<p>Hi Steve and all,</p>
<p>Just a little extra in case you want to fill *midsized* holes. The following fits in at Step 3 above, and will fill holes between 80 and 300 pixels in area.</p>
<p>L_candidate_holes = bwlabel(holes);<br />
stats = regionprops(L_candidate_holes, &#8216;Area&#8217;);<br />
idx = find([stats.Area]&gt;80 &amp; [stats.Area]&lt;300);<br />
midsized_holes = ismember(L_candidate_holes,idx);</p>
<p>Just thought I&#8217;d share since I&#8217;ve been using this quite a bit recently. Of course, you could add more criteria to the regionprops call, and then select the holes based on more criteria too.</p>
<p>Cheers,<br />
Sven.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

