<?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: Spatial transformations: Affine</title>
	<atom:link href="http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/</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: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-24479</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 14 Sep 2011 16:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-24479</guid>
		<description>Tim&#8212;That expression would apply a rotation with R, followed by a scaling with S, followed by a translation with T.</description>
		<content:encoded><![CDATA[<p>Tim&mdash;That expression would apply a rotation with R, followed by a scaling with S, followed by a translation with T.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-24471</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 10 Sep 2011 20:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-24471</guid>
		<description>Hi Steve,
I&#039;m one of those people that&#039;s used to the other form of transformation notation and would like to make sure I&#039;m using the one you show correctly.  If I want to do a composite transformation of a rotation-scaling-translation transformation using the 3x3 affine transformation matrices R, S, T for rotation, scaling, and translation, respectively, is the below correct or do I have to &#039;transpose&#039; the matrix order (or the matrices themselves or something like that?
[x&#039;,y&#039;,1] = [x,y,1]*R*S*T</description>
		<content:encoded><![CDATA[<p>Hi Steve,<br />
I&#8217;m one of those people that&#8217;s used to the other form of transformation notation and would like to make sure I&#8217;m using the one you show correctly.  If I want to do a composite transformation of a rotation-scaling-translation transformation using the 3&#215;3 affine transformation matrices R, S, T for rotation, scaling, and translation, respectively, is the below correct or do I have to &#8216;transpose&#8217; the matrix order (or the matrices themselves or something like that?<br />
[x',y',1] = [x,y,1]*R*S*T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-23022</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 20 Apr 2010 11:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-23022</guid>
		<description>Jules&#8212;There is no function called &lt;tt&gt;affine&lt;/tt&gt; in MATLAB or in the Image Processing Toolbox.</description>
		<content:encoded><![CDATA[<p>Jules&mdash;There is no function called <tt>affine</tt> in MATLAB or in the Image Processing Toolbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jules</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-23021</link>
		<dc:creator>Jules</dc:creator>
		<pubDate>Tue, 20 Apr 2010 09:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-23021</guid>
		<description>I am trying to use the affine function and it is giving me the error

??? Error using ==&gt; mtimes
Integers can only be combined with integers of the same class, or scalar doubles.

Error in ==&gt; affine at 154
  XYZmm = old_R*(XYZvox-1) + repmat(old_T, [1, 8]);

so I changed my tranformation matrix into type double and now it is tranforming my original 3D image into a 2D image with and thie warning comes up

Warning: Matrix is singular to working precision.
  In affine at 231

I&#039;m not quite sure what is going on here.  Any help would be great, thanks!</description>
		<content:encoded><![CDATA[<p>I am trying to use the affine function and it is giving me the error</p>
<p>??? Error using ==&gt; mtimes<br />
Integers can only be combined with integers of the same class, or scalar doubles.</p>
<p>Error in ==&gt; affine at 154<br />
  XYZmm = old_R*(XYZvox-1) + repmat(old_T, [1, 8]);</p>
<p>so I changed my tranformation matrix into type double and now it is tranforming my original 3D image into a 2D image with and thie warning comes up</p>
<p>Warning: Matrix is singular to working precision.<br />
  In affine at 231</p>
<p>I&#8217;m not quite sure what is going on here.  Any help would be great, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-21200</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 29 Oct 2008 23:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-21200</guid>
		<description>Maher&#8212;You might try using &lt;tt&gt;cpselect&lt;/tt&gt; to select pairs of corresponding points, followed by &lt;tt&gt;cp2tform&lt;/tt&gt; to infer an affine transformation.</description>
		<content:encoded><![CDATA[<p>Maher&mdash;You might try using <tt>cpselect</tt> to select pairs of corresponding points, followed by <tt>cp2tform</tt> to infer an affine transformation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maher</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-21184</link>
		<dc:creator>Maher</dc:creator>
		<pubDate>Mon, 27 Oct 2008 09:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-21184</guid>
		<description>Dear Steve,
I am trying to find the similarity degree between historic and modern maps (statistically). I need to convert the coordinates of the modern image to fit that of the old one using Matlab.For example: through affine transformation.
Please, advise so.
Great Thanks for you.</description>
		<content:encoded><![CDATA[<p>Dear Steve,<br />
I am trying to find the similarity degree between historic and modern maps (statistically). I need to convert the coordinates of the modern image to fit that of the old one using Matlab.For example: through affine transformation.<br />
Please, advise so.<br />
Great Thanks for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-12255</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 19 Oct 2007 11:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-12255</guid>
		<description>Eric&#8212;What do you mean?</description>
		<content:encoded><![CDATA[<p>Eric&mdash;What do you mean?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Monse</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-12245</link>
		<dc:creator>Eric Monse</dc:creator>
		<pubDate>Fri, 19 Oct 2007 09:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-12245</guid>
		<description>Can&#039;t wait to see Matlab.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t wait to see Matlab.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-6735</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 30 May 2007 12:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-6735</guid>
		<description>Gleb - I&#039;m glad it worked!</description>
		<content:encoded><![CDATA[<p>Gleb &#8211; I&#8217;m glad it worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb</title>
		<link>http://blogs.mathworks.com/steve/2006/02/07/spatial-transformations-affine/#comment-6734</link>
		<dc:creator>Gleb</dc:creator>
		<pubDate>Tue, 29 May 2007 22:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=35#comment-6734</guid>
		<description>Steve,
it&#039;s exactly what I needed! Thank you again!!!</description>
		<content:encoded><![CDATA[<p>Steve,<br />
it&#8217;s exactly what I needed! Thank you again!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

