<?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: Viewing output-space coordinates for a transformed image</title>
	<atom:link href="http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/</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: Markus</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21492</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 18 Feb 2009 15:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21492</guid>
		<description>Hi Steve,
thanks, you are right, I don´t need all this machinery. I solved it like this:
-shift the contour to the center (1,1) since the centroid of the contour was calculated,
-scaling
-shifting back
T-Matrix: this was just a typo :)

markus</description>
		<content:encoded><![CDATA[<p>Hi Steve,<br />
thanks, you are right, I don´t need all this machinery. I solved it like this:<br />
-shift the contour to the center (1,1) since the centroid of the contour was calculated,<br />
-scaling<br />
-shifting back<br />
T-Matrix: this was just a typo :)</p>
<p>markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21488</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 18 Feb 2009 02:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21488</guid>
		<description>Markus&#8212;Your description of what you were trying to accomplish and what you actually did is a bit vague.  My only suggestion is that you apply a &quot;sanity check&quot; to your &lt;tt&gt;tform&lt;/tt&gt; struct.  Use &lt;tt&gt;tformfwd&lt;/tt&gt; to transform a few points, and make sure that the points transform to the locations you expect.  Also, make sure you are using the correct transform matrix for scaling - the scale factors should be on the diagonal.  (I&#039;m not sure whether your misplaced sy factor was just a typo.)  Finally, do you really need all this machinery, anyway?  Why don&#039;t you just scale and shift the contour locations yourself?  It might be a lot simpler.</description>
		<content:encoded><![CDATA[<p>Markus&mdash;Your description of what you were trying to accomplish and what you actually did is a bit vague.  My only suggestion is that you apply a &#8220;sanity check&#8221; to your <tt>tform</tt> struct.  Use <tt>tformfwd</tt> to transform a few points, and make sure that the points transform to the locations you expect.  Also, make sure you are using the correct transform matrix for scaling &#8211; the scale factors should be on the diagonal.  (I&#8217;m not sure whether your misplaced sy factor was just a typo.)  Finally, do you really need all this machinery, anyway?  Why don&#8217;t you just scale and shift the contour locations yourself?  It might be a lot simpler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21483</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 18 Feb 2009 01:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21483</guid>
		<description>Swetha&#8212;How about Paul Heckbert&#039;s Master&#039;s thesis, &quot;Fundamentals of Texture Mapping and Image Warping.&quot;  It&#039;s available &lt;a href=&quot;http://www.cs.cmu.edu/~ph/&quot; rel=&quot;nofollow&quot;&gt;his web site&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Swetha&mdash;How about Paul Heckbert&#8217;s Master&#8217;s thesis, &#8220;Fundamentals of Texture Mapping and Image Warping.&#8221;  It&#8217;s available <a href="http://www.cs.cmu.edu/~ph/" rel="nofollow">his web site</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21477</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Mon, 16 Feb 2009 13:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21477</guid>
		<description>Hi Steve,

I am trying to apply &quot;tformfwd&quot; with the 
following T-matrix [sx 0 0 ; sy 0 0 ; 0 0 1]
in order to shrink a 2D contour.
I understood that the images gets scaled 
with respect of the image origin (1,1). So 
I need to supply the origion of the contour
to the &quot;tformfwd&quot; function.
I calculated the origin of the contour by using &quot;regionprops.centroid&quot; and added the coordinates to each pixel of my contour, afterwards I applied the transformation. By it only gave reasonable results for scaling factor 1/2 and I don´t know why?
Do you have any suggestions?

Thank you
markus</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>I am trying to apply &#8220;tformfwd&#8221; with the<br />
following T-matrix [sx 0 0 ; sy 0 0 ; 0 0 1]<br />
in order to shrink a 2D contour.<br />
I understood that the images gets scaled<br />
with respect of the image origin (1,1). So<br />
I need to supply the origion of the contour<br />
to the &#8220;tformfwd&#8221; function.<br />
I calculated the origin of the contour by using &#8220;regionprops.centroid&#8221; and added the coordinates to each pixel of my contour, afterwards I applied the transformation. By it only gave reasonable results for scaling factor 1/2 and I don´t know why?<br />
Do you have any suggestions?</p>
<p>Thank you<br />
markus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swetha</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21459</link>
		<dc:creator>swetha</dc:creator>
		<pubDate>Wed, 11 Feb 2009 10:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21459</guid>
		<description>Hello Steve,

    Thankyou very much for these blogs,they have been very helpful in my projects. I understand how imtransform work,but i want to know how exactly the transformation takes place,like how we place the input image pixels after transformation  in the output space. In short i want to do the transformation without using any matlab function. I just want to know which book to refer.
Thankyou
swetha</description>
		<content:encoded><![CDATA[<p>Hello Steve,</p>
<p>    Thankyou very much for these blogs,they have been very helpful in my projects. I understand how imtransform work,but i want to know how exactly the transformation takes place,like how we place the input image pixels after transformation  in the output space. In short i want to do the transformation without using any matlab function. I just want to know which book to refer.<br />
Thankyou<br />
swetha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikr</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21016</link>
		<dc:creator>Mikr</dc:creator>
		<pubDate>Thu, 28 Aug 2008 14:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21016</guid>
		<description>I look for answers before asking people...

&quot;But we still can&#039;t see the coordinates! That&#039;s because imshow turns the axis display off. That brings us to step 3: Turn on the axis box and tick labels&quot;

but actually how to save those coordinates I have seen using your article.
imwrite makes an image
save does not support images... 
thanks</description>
		<content:encoded><![CDATA[<p>I look for answers before asking people&#8230;</p>
<p>&#8220;But we still can&#8217;t see the coordinates! That&#8217;s because imshow turns the axis display off. That brings us to step 3: Turn on the axis box and tick labels&#8221;</p>
<p>but actually how to save those coordinates I have seen using your article.<br />
imwrite makes an image<br />
save does not support images&#8230;<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21015</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 28 Aug 2008 12:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21015</guid>
		<description>Mikr&#8212;You might want to take a look at the Getting Started section of the MATLAB documentation in order to become familiar with MATLAB usage and capabilities.</description>
		<content:encoded><![CDATA[<p>Mikr&mdash;You might want to take a look at the Getting Started section of the MATLAB documentation in order to become familiar with MATLAB usage and capabilities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikr</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21014</link>
		<dc:creator>Mikr</dc:creator>
		<pubDate>Thu, 28 Aug 2008 12:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21014</guid>
		<description>thanks
but is it possible to see and write to file (Excel ?) that matrix of pixel coordinates ? 
instead of exporting one image format to another 
is that matrix which I see after command  imread without semicolon ?</description>
		<content:encoded><![CDATA[<p>thanks<br />
but is it possible to see and write to file (Excel ?) that matrix of pixel coordinates ?<br />
instead of exporting one image format to another<br />
is that matrix which I see after command  imread without semicolon ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21013</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 28 Aug 2008 10:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21013</guid>
		<description>Mikr&#8212;An image in MATLAB is simply a matrix of pixel values.  It can be saved (exported) to several common image file formats using &lt;tt&gt;imwrite&lt;/tt&gt;.</description>
		<content:encoded><![CDATA[<p>Mikr&mdash;An image in MATLAB is simply a matrix of pixel values.  It can be saved (exported) to several common image file formats using <tt>imwrite</tt>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikr</title>
		<link>http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21012</link>
		<dc:creator>Mikr</dc:creator>
		<pubDate>Thu, 28 Aug 2008 06:30:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/2008/03/31/output-space-coordinates/#comment-21012</guid>
		<description>thanks, Steve
just started to learn matlab
and to clarify 
matlab saves image files as a matrix of pixel coordinates
matrix can be seen by imread without semicolon
is this related to my previous question ? and does it make sence to export matrix from matlab ?</description>
		<content:encoded><![CDATA[<p>thanks, Steve<br />
just started to learn matlab<br />
and to clarify<br />
matlab saves image files as a matrix of pixel coordinates<br />
matrix can be seen by imread without semicolon<br />
is this related to my previous question ? and does it make sence to export matrix from matlab ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

