<?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: Spatial transformations: Handling noninvertible cases</title>
	<link>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/</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 01:18:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-4117</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 31 Aug 2006 11:59:47 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-4117</guid>
		<description>Jens - I'm sorry, I thought you were asking how to verify that findbounds worked.</description>
		<content:encoded><![CDATA[<p>Jens - I&#8217;m sorry, I thought you were asking how to verify that findbounds worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Michaelis</title>
		<link>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-4116</link>
		<dc:creator>Jens Michaelis</dc:creator>
		<pubDate>Thu, 31 Aug 2006 09:24:09 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-4116</guid>
		<description>It is correct that you can't, however the workaround is fairly easy, just plug the result in and use tforminv:

TFORM = cp2tform(input_points, destination_points,'polynomial',3);         % this should make the transform 
predicted_destinations = tforminv(TFORM,destination_points);               % check how it worked
map_residuals = input_points - predicted_destinations</description>
		<content:encoded><![CDATA[<p>It is correct that you can&#8217;t, however the workaround is fairly easy, just plug the result in and use tforminv:</p>
<p>TFORM = cp2tform(input_points, destination_points,&#8217;polynomial&#8217;,3);         % this should make the transform<br />
predicted_destinations = tforminv(TFORM,destination_points);               % check how it worked<br />
map_residuals = input_points - predicted_destinations</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-3938</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 22 Aug 2006 11:13:16 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-3938</guid>
		<description>Jens - you can't!</description>
		<content:encoded><![CDATA[<p>Jens - you can&#8217;t!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Michaelis</title>
		<link>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-3936</link>
		<dc:creator>Jens Michaelis</dc:creator>
		<pubDate>Tue, 22 Aug 2006 09:29:17 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-3936</guid>
		<description>Thanks for the example. I have a question though: 

if there is no forward function defined, how can one use the tformfwd command to find out how the process worked?

thanks for the help,

jens</description>
		<content:encoded><![CDATA[<p>Thanks for the example. I have a question though: </p>
<p>if there is no forward function defined, how can one use the tformfwd command to find out how the process worked?</p>
<p>thanks for the help,</p>
<p>jens</p>
]]></content:encoded>
	</item>
</channel>
</rss>
