<?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: POLY2MASK and ROIPOLY - Part 1</title>
	<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/</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>Mon, 23 Nov 2009 00:00:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-21928</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 01 Jul 2009 13:12:02 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-21928</guid>
		<description>MoHDa&#8212;It might be possible. You'll need to use one of the options that produces closed edge contours, or work out some way of closing them yourself.</description>
		<content:encoded><![CDATA[<p>MoHDa&mdash;It might be possible. You&#8217;ll need to use one of the options that produces closed edge contours, or work out some way of closing them yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MoHDa</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-21927</link>
		<dc:creator>MoHDa</dc:creator>
		<pubDate>Tue, 30 Jun 2009 20:09:41 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-21927</guid>
		<description>I have one question about the ROIPOLY:

I have an image with stripes, I use the "edge" command for finding the edges, is it possible to use the output of edge as input to ROIPOLY and just extract the information that is included in the edges lines?</description>
		<content:encoded><![CDATA[<p>I have one question about the ROIPOLY:</p>
<p>I have an image with stripes, I use the &#8220;edge&#8221; command for finding the edges, is it possible to use the output of edge as input to ROIPOLY and just extract the information that is included in the edges lines?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-10588</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 25 Sep 2007 13:18:23 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-10588</guid>
		<description>Sridharan&#8212;Use your polygon vertices to create a patch object that is superimposed over the image.  Then you can adjust the transparency of the patch.</description>
		<content:encoded><![CDATA[<p>Sridharan&mdash;Use your polygon vertices to create a patch object that is superimposed over the image.  Then you can adjust the transparency of the patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sridharan Kamalakannan</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-9820</link>
		<dc:creator>Sridharan Kamalakannan</dc:creator>
		<pubDate>Wed, 19 Sep 2007 04:05:17 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-9820</guid>
		<description>Hi Steve,

I have a polygon which i coverted to a mask by using poly2mask command. Now i have to color the mask by using patch, i.e. i want to superimpose a color mask on an image such that I can adjust the transparency of the mask.

 In short I would like to know if there is some command to fill specific pixels with a color such that its transparency can be adjusted.</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>I have a polygon which i coverted to a mask by using poly2mask command. Now i have to color the mask by using patch, i.e. i want to superimpose a color mask on an image such that I can adjust the transparency of the mask.</p>
<p> In short I would like to know if there is some command to fill specific pixels with a color such that its transparency can be adjusted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6626</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 28 Mar 2007 19:58:03 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6626</guid>
		<description>Olivier - I don't have a polygon vertex reduction function to offer you, but I'll add it to my list of possible blog topics. Fortunately, for the output of bwboundaries or bwtraceboundary, the vertices all lie on a regular axes-oriented grid, so there are no numerical problems with determining colinearity.  I think you might be able to eliminate vertices efficiently in iterations in which you alternate between considering odd-numbered and even-numbered vertices.</description>
		<content:encoded><![CDATA[<p>Olivier - I don&#8217;t have a polygon vertex reduction function to offer you, but I&#8217;ll add it to my list of possible blog topics. Fortunately, for the output of bwboundaries or bwtraceboundary, the vertices all lie on a regular axes-oriented grid, so there are no numerical problems with determining colinearity.  I think you might be able to eliminate vertices efficiently in iterations in which you alternate between considering odd-numbered and even-numbered vertices.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6595</link>
		<dc:creator>Olivier</dc:creator>
		<pubDate>Wed, 21 Mar 2007 16:11:55 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6595</guid>
		<description>Steve,

Thanks for the advice, but I think I need a vertex reduction script now. Any advice on that?

Thanks again,

Olivier.</description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>Thanks for the advice, but I think I need a vertex reduction script now. Any advice on that?</p>
<p>Thanks again,</p>
<p>Olivier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6593</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 21 Mar 2007 12:13:50 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6593</guid>
		<description>Olivier - look at &lt;tt&gt;bwboundaries&lt;/tt&gt; and &lt;tt&gt;bwtraceboundary&lt;/tt&gt; in the Image Processing Toolbox.</description>
		<content:encoded><![CDATA[<p>Olivier - look at <tt>bwboundaries</tt> and <tt>bwtraceboundary</tt> in the Image Processing Toolbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6592</link>
		<dc:creator>Olivier</dc:creator>
		<pubDate>Wed, 21 Mar 2007 10:38:15 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6592</guid>
		<description>Dear Steve,

I am actually looking for an algorithm that does the reverse of this script; a mask2poly so to speak. So, the input is a mask and the output a number of vertices. Would you know if there is any script in Matlab that does this?

Regards,

Olivier.</description>
		<content:encoded><![CDATA[<p>Dear Steve,</p>
<p>I am actually looking for an algorithm that does the reverse of this script; a mask2poly so to speak. So, the input is a mask and the output a number of vertices. Would you know if there is any script in Matlab that does this?</p>
<p>Regards,</p>
<p>Olivier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6402</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 08 Dec 2006 14:36:27 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6402</guid>
		<description>Andy - The output values are computed as the nearest distance between the element center and the idealized line segment.  I couldn't find this anywhere in the doc, so we'll make a note to add this information in a future release.</description>
		<content:encoded><![CDATA[<p>Andy - The output values are computed as the nearest distance between the element center and the idealized line segment.  I couldn&#8217;t find this anywhere in the doc, so we&#8217;ll make a note to add this information in a future release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6389</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 07 Dec 2006 06:31:38 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/12/05/poly2mask-and-roipoly-part-1/#comment-6389</guid>
		<description>Dear Steve,

I have a question smiliar to deciding the mask values along the edge. I hope it's okay to ask here. How is the motion blur (obtained by fspecial('motion',len,theta)) actually defined? I couldn't find the formula in the Uers' Guide. Thanks.

Andy</description>
		<content:encoded><![CDATA[<p>Dear Steve,</p>
<p>I have a question smiliar to deciding the mask values along the edge. I hope it&#8217;s okay to ask here. How is the motion blur (obtained by fspecial(&#8217;motion&#8217;,len,theta)) actually defined? I couldn&#8217;t find the formula in the Uers&#8217; Guide. Thanks.</p>
<p>Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
