<?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: Handling noninvertible cases</title>
	<atom:link href="http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/feed/" rel="self" type="application/rss+xml" />
	<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 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/07/27/spatial-transformations-handling-noninvertible-cases/#comment-22788</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 02 Mar 2010 13:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=73#comment-22788</guid>
		<description>Ashvini&#8212;Because you are using a spatial transform that isn&#039;t invertible, findbounds at best can only do an approximation.  If you have other information about your problem that tells you where the output image should be, then use that information to explicitly control the output grid instead of relying on the automatic, findbounds-based behavior.</description>
		<content:encoded><![CDATA[<p>Ashvini&mdash;Because you are using a spatial transform that isn&#8217;t invertible, findbounds at best can only do an approximation.  If you have other information about your problem that tells you where the output image should be, then use that information to explicitly control the output grid instead of relying on the automatic, findbounds-based behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashvini</title>
		<link>http://blogs.mathworks.com/steve/2006/07/27/spatial-transformations-handling-noninvertible-cases/#comment-22769</link>
		<dc:creator>Ashvini</dc:creator>
		<pubDate>Fri, 26 Feb 2010 19:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/steve/?p=73#comment-22769</guid>
		<description>Is there a way to work around the findbound failure? I do a polynomial transformation on an image and findbound fails do to which a small portion of the image is cropped from the left and an extra blank portion is added on the right.</description>
		<content:encoded><![CDATA[<p>Is there a way to work around the findbound failure? I do a polynomial transformation on an image and findbound fails do to which a small portion of the image is cropped from the left and an extra blank portion is added on the right.</p>
]]></content:encoded>
	</item>
	<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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=73#comment-4117</guid>
		<description>Jens - I&#039;m sorry, I thought you were asking how to verify that findbounds worked.</description>
		<content:encoded><![CDATA[<p>Jens &#8211; 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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=73#comment-4116</guid>
		<description>It is correct that you can&#039;t, however the workaround is fairly easy, just plug the result in and use tforminv:

TFORM = cp2tform(input_points, destination_points,&#039;polynomial&#039;,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 &#8211; 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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=73#comment-3938</guid>
		<description>Jens - you can&#039;t!</description>
		<content:encoded><![CDATA[<p>Jens &#8211; 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 isPermaLink="false">http://blogs.mathworks.com/steve/?p=73#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>

