<?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: OpenCV: adding two images</title>
	<atom:link href="http://silveiraneto.net/2009/12/08/opencv-adding-two-images/feed/" rel="self" type="application/rss+xml" />
	<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/</link>
	<description>the world is a pixel</description>
	<lastBuildDate>Wed, 14 Dec 2011 18:31:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Roe</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-11769</link>
		<dc:creator>Roe</dc:creator>
		<pubDate>Tue, 08 Nov 2011 04:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-11769</guid>
		<description>Hello ^^
Do you think it would work for this?

IplImage** images;

i:0→N  
  cvAdd(result, images[i], result, NULL);</description>
		<content:encoded><![CDATA[<p>Hello ^^<br />
Do you think it would work for this?</p>
<p>IplImage** images;</p>
<p>i:0→N<br />
  cvAdd(result, images[i], result, NULL);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-10585</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 07 Oct 2011 20:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-10585</guid>
		<description>Hi,

This post was very useful. I just wanted to know if you have two (or more) images of the moon and you wanted to find the best added average image of it. How would you go about this?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This post was very useful. I just wanted to know if you have two (or more) images of the moon and you wanted to find the best added average image of it. How would you go about this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leslie</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-9880</link>
		<dc:creator>Leslie</dc:creator>
		<pubDate>Tue, 30 Aug 2011 01:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-9880</guid>
		<description>Extremely useful thank you very much</description>
		<content:encoded><![CDATA[<p>Extremely useful thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bastidererste</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-8080</link>
		<dc:creator>bastidererste</dc:creator>
		<pubDate>Sun, 15 May 2011 12:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-8080</guid>
		<description>works fine on static images... but if i use it on a camera image my memory gets filled very fast. any ideas?</description>
		<content:encoded><![CDATA[<p>works fine on static images&#8230; but if i use it on a camera image my memory gets filled very fast. any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis Christie</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-6839</link>
		<dc:creator>Lewis Christie</dc:creator>
		<pubDate>Thu, 10 Feb 2011 12:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-6839</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-6136&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;mashhur:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 what about adding two different sized images?
let’s assume I have 2000×1000 sized a gray scaled image and wanna add 100×200 new image. Could you please solve it?
&lt;/blockquote&gt;
Hi, the way to achieve this is to set the Region of Interest (ROI) of the larger image to a square the size of the smaller image. cvSetImageROI takes two arguments, the first is the image you are chainging the ROI on, the second is a cvRect. When creating a cvRect, the first two arguments are the location of the rectangle and the second two are the dimensions.

So for your situation you would create a cvRect with the dimensions 100x200 and the location you want to add to.

Now that the ROI has been changed, you can add the smaller image to the larger. After adding, just call cvResetImageROI on your large image and you can work with it as normal.</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-6136"><br />
<strong><em>mashhur:</em></strong><br />
</a><br />
 what about adding two different sized images?<br />
let’s assume I have 2000×1000 sized a gray scaled image and wanna add 100×200 new image. Could you please solve it?
</p></blockquote>
<p>Hi, the way to achieve this is to set the Region of Interest (ROI) of the larger image to a square the size of the smaller image. cvSetImageROI takes two arguments, the first is the image you are chainging the ROI on, the second is a cvRect. When creating a cvRect, the first two arguments are the location of the rectangle and the second two are the dimensions.</p>
<p>So for your situation you would create a cvRect with the dimensions 100&#215;200 and the location you want to add to.</p>
<p>Now that the ROI has been changed, you can add the smaller image to the larger. After adding, just call cvResetImageROI on your large image and you can work with it as normal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silveira Neto</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-6137</link>
		<dc:creator>Silveira Neto</dc:creator>
		<pubDate>Mon, 27 Sep 2010 02:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-6137</guid>
		<description>Try putting the small into the biggest.</description>
		<content:encoded><![CDATA[<p>Try putting the small into the biggest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mashhur</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-6136</link>
		<dc:creator>mashhur</dc:creator>
		<pubDate>Mon, 27 Sep 2010 01:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-6136</guid>
		<description>what about adding two different sized images?
let&#039;s assume I have 2000x1000 sized a gray scaled image and wanna add 100x200 new image. Could you please solve it?</description>
		<content:encoded><![CDATA[<p>what about adding two different sized images?<br />
let&#8217;s assume I have 2000&#215;1000 sized a gray scaled image and wanna add 100&#215;200 new image. Could you please solve it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcos</title>
		<link>http://silveiraneto.net/2009/12/08/opencv-adding-two-images/comment-page-1/#comment-5648</link>
		<dc:creator>marcos</dc:creator>
		<pubDate>Wed, 11 Aug 2010 13:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://silveiraneto.net/?p=3013#comment-5648</guid>
		<description>ola num consigo usar de maneira correta o cvAdd
ele compila mas na hora de executar ele trava o executavel...
eu uso o visual 2010
por favor me ajude
:^D</description>
		<content:encoded><![CDATA[<p>ola num consigo usar de maneira correta o cvAdd<br />
ele compila mas na hora de executar ele trava o executavel&#8230;<br />
eu uso o visual 2010<br />
por favor me ajude<br />
:^D</p>
]]></content:encoded>
	</item>
</channel>
</rss>

