<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cuvilib.com/index.php?action=history&amp;feed=atom&amp;title=Function%3AWarpAffineBack</id>
	<title>Function:WarpAffineBack - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cuvilib.com/index.php?action=history&amp;feed=atom&amp;title=Function%3AWarpAffineBack"/>
	<link rel="alternate" type="text/html" href="https://wiki.cuvilib.com/index.php?title=Function:WarpAffineBack&amp;action=history"/>
	<updated>2026-08-12T08:00:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.cuvilib.com/index.php?title=Function:WarpAffineBack&amp;diff=809&amp;oldid=prev</id>
		<title>Ghazanfar: Created page with &quot;__NOTOC__ Applies inverse affine transformation to an image. ===Function=== {| |style=&quot;font-size:150%;&quot;| &lt;syntaxhighlight lang=&quot;cpp&quot;&gt; CuviStatus warpAffineBack(const CuviImage...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cuvilib.com/index.php?title=Function:WarpAffineBack&amp;diff=809&amp;oldid=prev"/>
		<updated>2014-06-13T10:07:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ Applies inverse affine transformation to an image. ===Function=== {| |style=&amp;quot;font-size:150%;&amp;quot;| &amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt; CuviStatus warpAffineBack(const CuviImage...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
Applies inverse affine transformation to an image.&lt;br /&gt;
===Function===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;font-size:150%;&amp;quot;|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
CuviStatus warpAffineBack(const CuviImage&amp;amp; src,&lt;br /&gt;
                          CuviImage&amp;amp; dst,&lt;br /&gt;
                          Cuvi64f coeffs[2][3],&lt;br /&gt;
                          const CuviStream&amp;amp; stream = CuviStream());&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name	&lt;br /&gt;
! Type	&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| src&lt;br /&gt;
| const CuviImage&amp;amp;&lt;br /&gt;
| Input Image&lt;br /&gt;
|-&lt;br /&gt;
| dst&lt;br /&gt;
| CuviImage&amp;amp;&lt;br /&gt;
| Output Image&lt;br /&gt;
|-&lt;br /&gt;
| coeffs&lt;br /&gt;
| Cuvi64f [2][3]&lt;br /&gt;
| 2 x 3 affine transformation matrix&lt;br /&gt;
|-&lt;br /&gt;
| stream&lt;br /&gt;
| const CuviStream&amp;amp;&lt;br /&gt;
| GPU stream ID for execution&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Image Type Support===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Input&lt;br /&gt;
! Output&lt;br /&gt;
|-&lt;br /&gt;
| 8uC1&lt;br /&gt;
| 8uC1&lt;br /&gt;
|-&lt;br /&gt;
| 8uC3&lt;br /&gt;
| 8uC3&lt;br /&gt;
|-&lt;br /&gt;
| 16uC1&lt;br /&gt;
| 16uC1&lt;br /&gt;
|-&lt;br /&gt;
| 16uC3&lt;br /&gt;
| 16uC3&lt;br /&gt;
|-&lt;br /&gt;
| 32fC1&lt;br /&gt;
| 32fC1&lt;br /&gt;
|-&lt;br /&gt;
| 32fC3&lt;br /&gt;
| 32fC3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Samples===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;font-size:150%;&amp;quot;|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CuviImage input = cuvi::io::loadImage(path), output;&lt;br /&gt;
&lt;br /&gt;
//Set affine transformation matrix&lt;br /&gt;
Cuvi64f coeffs[2][3] = { &lt;br /&gt;
                         {0.5, 0.0, 0.0}, &lt;br /&gt;
                         {0.0, 0.5, 0.0} &lt;br /&gt;
                       };&lt;br /&gt;
&lt;br /&gt;
//Apply inverse affine transformation&lt;br /&gt;
cuvi::geometryTransforms::warpAffineBack(input,output, coeffs);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ghazanfar</name></author>
	</entry>
</feed>