<?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 6 &#8211; Final computation and visualization</title>
	<atom:link href="http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/</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: Arni</title>
		<link>http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-23028</link>
		<dc:creator>Arni</dc:creator>
		<pubDate>Wed, 21 Apr 2010 15:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-23028</guid>
		<description>Wow, that&#039;s a great idea. I think mine is implementable but very circuitous. yours is sharp to the point. Thanks Steve!</description>
		<content:encoded><![CDATA[<p>Wow, that&#8217;s a great idea. I think mine is implementable but very circuitous. yours is sharp to the point. Thanks Steve!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-23014</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 19 Apr 2010 18:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-23014</guid>
		<description>Arni&#8212;If you can zero-out the segmented center pixels, they will become &quot;holes&quot; in the cells.  A cell with two holes has a different Euler number than a cell with only one hole.  So try using &lt;tt&gt;regionprops&lt;/tt&gt; to get the Euler number of each segmented cell.</description>
		<content:encoded><![CDATA[<p>Arni&mdash;If you can zero-out the segmented center pixels, they will become &#8220;holes&#8221; in the cells.  A cell with two holes has a different Euler number than a cell with only one hole.  So try using <tt>regionprops</tt> to get the Euler number of each segmented cell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arni</title>
		<link>http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-22960</link>
		<dc:creator>Arni</dc:creator>
		<pubDate>Thu, 08 Apr 2010 23:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-22960</guid>
		<description>Hi Steve,

I left it to stew for a couple of days and think I found a possible solution for step 2.

I could create two separate images using the second otsu class- the green one in my second image, and the highest class, the one with the maxima.
Then I could use the technique you suggested in your post on corresponding labeled objects in two images to find only those cells that have two corresponding highs from the second image. 

Makes sense?

I&#039;d still like your comments on my strategy as a whole if you had a chance. Thank you very much. Arni</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>I left it to stew for a couple of days and think I found a possible solution for step 2.</p>
<p>I could create two separate images using the second otsu class- the green one in my second image, and the highest class, the one with the maxima.<br />
Then I could use the technique you suggested in your post on corresponding labeled objects in two images to find only those cells that have two corresponding highs from the second image. </p>
<p>Makes sense?</p>
<p>I&#8217;d still like your comments on my strategy as a whole if you had a chance. Thank you very much. Arni</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arni</title>
		<link>http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-22957</link>
		<dc:creator>Arni</dc:creator>
		<pubDate>Tue, 06 Apr 2010 19:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-22957</guid>
		<description>Hello Steve,

I was inspired by this great post and by your cell segmentation post to try something.

I have a number of images that have features very similar to those cells. They are not cells but the analogy is helpful so i will call them so. 

All &quot;cells&quot; have a nucleus, but some cells are isolated, some are partially joined.

I have an example &lt;a href=&quot;http://179642495632689835-a-1802744773732722657-s-sites.googlegroups.com/site/arnigoli82/raw_image.jpg?attachauth=ANoY7cr4UyyuWkFh4vT8weqQfCDJaEy5Zv524z5a_72dlEJdiJgpTlOcBhoKMZXI5pCQrU6ToyxBQYcEaCpcDbcHD5nm2FxV7HICwAn0SSnvAMNDveITdjDN8aJ9q3dpBjy6ez0S06zGucWAuxWM8x3y2ZJjIVSOrnZd4-WvAdDum0ur2PFTbuREbDkndBN6Dk_5d4DPVy2J&amp;attredirects=0&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.


What I would like to do is write code to automatically relabel and separate cells with 2 nuclei from ones with only one nucleus. Then only on the former perform watershed and also use bwboundaries to trace the edge as you do in this post.

I developed a strategy but I am stack with one of the steps.

here&#039;s what i&#039;d do:
1 Perform multiclass Otsu  segmentation to label image 
2  Relabel differently cells with 2 centers from ones with one centre
3  Convert nucleus of isolated cells to hole and use flood fill operation so they become background 
4  Perform watershed (or maybe use distance function) on complement of joined cells (hopefully the only ones left)so that nuclei are minima and cell body is maxima. 
5) use bwboundaries to trace the edge

I have below an example result of the Otsu multiclass segmentation  from step 1 and it looks promising.

Step 3-5 in theory are not difficult to implement.

But I am really stuck with step 2. Do you have any recommendation/suggestion as to the approach I might use?

Or can you think of a simpler solution altogether.

Thank you very much.

Arni
 
&lt;a href=&quot;http://179642495632689835-a-1802744773732722657-s-sites.googlegroups.com/site/arnigoli82/otsu_segmented.jpg?attachauth=ANoY7crl3zvCfPbXov9XWmCZ6faoxTg8dsm6g1ObLURG6RGB8Qo8VWczzdF_6I_gaNoEWCRMPOygSt3p5lW2AaYFl0VRb0H28WuagzA72f28kfkzQ_RU3Gx_nkIcXDHVx0Qm9EGStkysVc6cB81lZLxW2THxoE-ayI5hDt151pR1Y9Ygrmp6hEBva_tr9ipzs-YMIbhOggw4R1SHr_t86Vuwzz2ALKdNVw%3D%3D&amp;attredirects=0&quot; rel=&quot;nofollow&quot;&gt;Otsu segmented image&lt;/a&gt;
</description>
		<content:encoded><![CDATA[<p>Hello Steve,</p>
<p>I was inspired by this great post and by your cell segmentation post to try something.</p>
<p>I have a number of images that have features very similar to those cells. They are not cells but the analogy is helpful so i will call them so. </p>
<p>All &#8220;cells&#8221; have a nucleus, but some cells are isolated, some are partially joined.</p>
<p>I have an example <a href="http://179642495632689835-a-1802744773732722657-s-sites.googlegroups.com/site/arnigoli82/raw_image.jpg?attachauth=ANoY7cr4UyyuWkFh4vT8weqQfCDJaEy5Zv524z5a_72dlEJdiJgpTlOcBhoKMZXI5pCQrU6ToyxBQYcEaCpcDbcHD5nm2FxV7HICwAn0SSnvAMNDveITdjDN8aJ9q3dpBjy6ez0S06zGucWAuxWM8x3y2ZJjIVSOrnZd4-WvAdDum0ur2PFTbuREbDkndBN6Dk_5d4DPVy2J&amp;attredirects=0" rel="nofollow">here</a>.</p>
<p>What I would like to do is write code to automatically relabel and separate cells with 2 nuclei from ones with only one nucleus. Then only on the former perform watershed and also use bwboundaries to trace the edge as you do in this post.</p>
<p>I developed a strategy but I am stack with one of the steps.</p>
<p>here&#8217;s what i&#8217;d do:<br />
1 Perform multiclass Otsu  segmentation to label image<br />
2  Relabel differently cells with 2 centers from ones with one centre<br />
3  Convert nucleus of isolated cells to hole and use flood fill operation so they become background<br />
4  Perform watershed (or maybe use distance function) on complement of joined cells (hopefully the only ones left)so that nuclei are minima and cell body is maxima.<br />
5) use bwboundaries to trace the edge</p>
<p>I have below an example result of the Otsu multiclass segmentation  from step 1 and it looks promising.</p>
<p>Step 3-5 in theory are not difficult to implement.</p>
<p>But I am really stuck with step 2. Do you have any recommendation/suggestion as to the approach I might use?</p>
<p>Or can you think of a simpler solution altogether.</p>
<p>Thank you very much.</p>
<p>Arni</p>
<p><a href="http://179642495632689835-a-1802744773732722657-s-sites.googlegroups.com/site/arnigoli82/otsu_segmented.jpg?attachauth=ANoY7crl3zvCfPbXov9XWmCZ6faoxTg8dsm6g1ObLURG6RGB8Qo8VWczzdF_6I_gaNoEWCRMPOygSt3p5lW2AaYFl0VRb0H28WuagzA72f28kfkzQ_RU3Gx_nkIcXDHVx0Qm9EGStkysVc6cB81lZLxW2THxoE-ayI5hDt151pR1Y9Ygrmp6hEBva_tr9ipzs-YMIbhOggw4R1SHr_t86Vuwzz2ALKdNVw%3D%3D&amp;attredirects=0" rel="nofollow">Otsu segmented image</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-21839</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 08 Jun 2009 14:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-21839</guid>
		<description>Zhenghui&#8212;I&#039;ve written about image display using transparency at least a couple of times.  See my &lt;a href=&quot;http://blogs.mathworks.com/steve/2009/02/18/image-overlay-using-transparency/&quot; rel=&quot;nofollow&quot;&gt;18-Feb-2009 post&lt;/a&gt; and my &lt;a href=&quot;http://blogs.mathworks.com/steve/2008/08/20/image-visualization-using-transparency/&quot; rel=&quot;nofollow&quot;&gt;20-Aug-2008 post&lt;/a&gt;. I also noticed that the &quot;Statistical Overlays&quot; page you explains that its overlay method is based Matthew Brett&#039;s &quot;Slice Overlay&quot; MATLAB routines, and it gives a link.</description>
		<content:encoded><![CDATA[<p>Zhenghui&mdash;I&#8217;ve written about image display using transparency at least a couple of times.  See my <a href="http://blogs.mathworks.com/steve/2009/02/18/image-overlay-using-transparency/" rel="nofollow">18-Feb-2009 post</a> and my <a href="http://blogs.mathworks.com/steve/2008/08/20/image-visualization-using-transparency/" rel="nofollow">20-Aug-2008 post</a>. I also noticed that the &#8220;Statistical Overlays&#8221; page you explains that its overlay method is based Matthew Brett&#8217;s &#8220;Slice Overlay&#8221; MATLAB routines, and it gives a link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zhenghui hu</title>
		<link>http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-21828</link>
		<dc:creator>zhenghui hu</dc:creator>
		<pubDate>Thu, 04 Jun 2009 15:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2009/05/29/continental-divide-6-watershed/#comment-21828</guid>
		<description>Dear Steve

could you tell me how can construct with the image overlay, which is widely
used, e.g. in fMRI. Please have a look at these examples,

 http://www.sph.sc.edu/comd/rorden/overlay.html

The color areas are the activated areas determined from other images
acquired during activation and these areas are overlaid to gray
images (background).

thank you very much.</description>
		<content:encoded><![CDATA[<p>Dear Steve</p>
<p>could you tell me how can construct with the image overlay, which is widely<br />
used, e.g. in fMRI. Please have a look at these examples,</p>
<p> <a href="http://www.sph.sc.edu/comd/rorden/overlay.html" rel="nofollow">http://www.sph.sc.edu/comd/rorden/overlay.html</a></p>
<p>The color areas are the activated areas determined from other images<br />
acquired during activation and these areas are overlaid to gray<br />
images (background).</p>
<p>thank you very much.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

