<?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: Controlling the input and output grids with imtransform</title>
	<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/</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:00:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Vitaliy</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21856</link>
		<dc:creator>Vitaliy</dc:creator>
		<pubDate>Fri, 12 Jun 2009 10:29:26 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21856</guid>
		<description>I thank! Probably it will help to solve a problem.</description>
		<content:encoded><![CDATA[<p>I thank! Probably it will help to solve a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21837</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 08 Jun 2009 14:13:25 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21837</guid>
		<description>Vitaliy&#8212;I'm not familiar with techniques for doing that. I did come across an article that might be helpful to you: "Decomposing a Matrix into Simple Transformation," by Spencer W. Thomas, in Graphics Gems II, edited by James Arvo, Morgan Kaufman, 1991.</description>
		<content:encoded><![CDATA[<p>Vitaliy&mdash;I&#8217;m not familiar with techniques for doing that. I did come across an article that might be helpful to you: &#8220;Decomposing a Matrix into Simple Transformation,&#8221; by Spencer W. Thomas, in Graphics Gems II, edited by James Arvo, Morgan Kaufman, 1991.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitaliy</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21819</link>
		<dc:creator>Vitaliy</dc:creator>
		<pubDate>Mon, 01 Jun 2009 21:24:37 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21819</guid>
		<description>Hi, Steve!

I have such quastion: how to recover scale, rotation, shear from projective t-matrix? For example: 
    0.1038   -0.1363   -0.0007
    0.0270    0.6553    0.0001
  292.3112   70.3536    1.0000	
	
Thank you
Vitaliy</description>
		<content:encoded><![CDATA[<p>Hi, Steve!</p>
<p>I have such quastion: how to recover scale, rotation, shear from projective t-matrix? For example:<br />
    0.1038   -0.1363   -0.0007<br />
    0.0270    0.6553    0.0001<br />
  292.3112   70.3536    1.0000	</p>
<p>Thank you<br />
Vitaliy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21344</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 29 Dec 2008 16:08:08 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21344</guid>
		<description>Adrian&#8212;Basically, &lt;tt&gt;imtransform&lt;/tt&gt; uses inverse mapping to find the input-space location corresponding to each output-space pixel, and then uses interpolation in input space.  My &lt;a href="http://blogs.mathworks.com/steve/category/spatial-transforms/" rel="nofollow"&gt;spatial transforms series&lt;/a&gt; includes some algorithm information.</description>
		<content:encoded><![CDATA[<p>Adrian&mdash;Basically, <tt>imtransform</tt> uses inverse mapping to find the input-space location corresponding to each output-space pixel, and then uses interpolation in input space.  My <a href="http://blogs.mathworks.com/steve/category/spatial-transforms/" rel="nofollow">spatial transforms series</a> includes some algorithm information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrian david</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21343</link>
		<dc:creator>adrian david</dc:creator>
		<pubDate>Sun, 28 Dec 2008 13:35:53 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-21343</guid>
		<description>Hello!
I am trying to find the algorithm inside imtrasform! I need an algorithm which rotates a colour image around its center with any angle, but without using predefined matlab functions(imtransform).Can you help me, please?..thanks</description>
		<content:encoded><![CDATA[<p>Hello!<br />
I am trying to find the algorithm inside imtrasform! I need an algorithm which rotates a colour image around its center with any angle, but without using predefined matlab functions(imtransform).Can you help me, please?..thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20778</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 05 Jun 2008 19:01:24 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20778</guid>
		<description>Sara&#8212;You shuold take a close look at your transformation.  Using &lt;tt&gt;tformfwd&lt;/tt&gt;, I can see that your transformation maps the point (1,1) to (-0.004209131281674, -0.004605571052168), and it maps the point (256,256) to (-0.004192049430379, -0.004589211830939). Given that, it's not too surprising that your output image is very small!</description>
		<content:encoded><![CDATA[<p>Sara&mdash;You shuold take a close look at your transformation.  Using <tt>tformfwd</tt>, I can see that your transformation maps the point (1,1) to (-0.004209131281674, -0.004605571052168), and it maps the point (256,256) to (-0.004192049430379, -0.004589211830939). Given that, it&#8217;s not too surprising that your output image is very small!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20776</link>
		<dc:creator>Sara</dc:creator>
		<pubDate>Thu, 05 Jun 2008 14:37:07 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20776</guid>
		<description>Thanks steve, but we tried this and the result was a Black image and the image became so small
this is our code
Homog =

   -0.5909   -0.0619  126.8663
    0.0030   -0.5817   13.3776
   -0.0003   -0.0000   -0.5001

t_proj = maketform('projective',Homog);   
I_projective = imtransform(I,t_proj,'FillValues',.3);
subplot(334);
imshow(I_projective);
title('projective');</description>
		<content:encoded><![CDATA[<p>Thanks steve, but we tried this and the result was a Black image and the image became so small<br />
this is our code<br />
Homog =</p>
<p>   -0.5909   -0.0619  126.8663<br />
    0.0030   -0.5817   13.3776<br />
   -0.0003   -0.0000   -0.5001</p>
<p>t_proj = maketform(&#8217;projective&#8217;,Homog);<br />
I_projective = imtransform(I,t_proj,&#8217;FillValues&#8217;,.3);<br />
subplot(334);<br />
imshow(I_projective);<br />
title(&#8217;projective&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20775</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 05 Jun 2008 12:53:53 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20775</guid>
		<description>Sara&#8212;&lt;tt&gt;maketform&lt;/tt&gt; and &lt;tt&gt;imtransform&lt;/tt&gt;.</description>
		<content:encoded><![CDATA[<p>Sara&mdash;<tt>maketform</tt> and <tt>imtransform</tt>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20774</link>
		<dc:creator>Sara</dc:creator>
		<pubDate>Thu, 05 Jun 2008 12:28:41 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20774</guid>
		<description>Dear Steve,
if we already have a 3x3 homography transformation matrix and we want to transform an image using this matrix,can you tell me which function to use that takes this homography matrix and applies it to a specific image??
thanks in advance</description>
		<content:encoded><![CDATA[<p>Dear Steve,<br />
if we already have a 3&#215;3 homography transformation matrix and we want to transform an image using this matrix,can you tell me which function to use that takes this homography matrix and applies it to a specific image??<br />
thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20526</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 27 Mar 2008 21:16:59 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2006/08/01/spatial-transformations-controlling-the-input-and-output-grids-with-imtransform/#comment-20526</guid>
		<description>Yuan-Lian&#8212;I didn't remember this, but there's code in &lt;tt&gt;imtransform&lt;/tt&gt; that modifies the width and height of the output pixels to cut down on the output image size, unless you specify the XYScale parameter explicitly.  I see that our documentation is incorrect on this point, since it currently says that the scale of the input pixels is used for XYScale. You can get the result you expect by passing in ..., 'XYScale', 1, ... in your input argument list, and I'll request that the doc be corrected.</description>
		<content:encoded><![CDATA[<p>Yuan-Lian&mdash;I didn&#8217;t remember this, but there&#8217;s code in <tt>imtransform</tt> that modifies the width and height of the output pixels to cut down on the output image size, unless you specify the XYScale parameter explicitly.  I see that our documentation is incorrect on this point, since it currently says that the scale of the input pixels is used for XYScale. You can get the result you expect by passing in &#8230;, &#8216;XYScale&#8217;, 1, &#8230; in your input argument list, and I&#8217;ll request that the doc be corrected.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
