<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/248248</link>
    <title>MATLAB Central Newsreader - image correlation matching</title>
    <description>Feed for thread: image correlation matching</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 03 Apr 2009 13:15:03 -0400</pubDate>
      <title>image correlation matching</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/248248#640013</link>
      <author>Eihab </author>
      <description>i try to perform matching correlation in the frequency domain between two images(date base images of road  &amp; stop sign template ) &lt;br&gt;
i try to find the location  of the 'stop sign template' inside the database images using FFT's.&lt;br&gt;
This is my code : &lt;br&gt;
stop = imread('stop2.jpg');&lt;br&gt;
imshow(stop)&lt;br&gt;
st1 = rgb2gray(stop);&lt;br&gt;
figure,imshow(st1)&lt;br&gt;
temp1 = st1(299:376,110:177);&lt;br&gt;
figure,imshow(temp1);&lt;br&gt;
[m,n]=size(st1)&lt;br&gt;
C = real(ifft2(fft2(double(st1)) .* fft2(rot90(double(temp1),2),m,n)));&lt;br&gt;
figure,imshow(C,[])&lt;br&gt;
mx=max(C(:))&lt;br&gt;
thresh = mx-10&lt;br&gt;
figure,imshow(C&amp;gt; thresh)&lt;br&gt;
% End of the code .&lt;br&gt;
anybody help me &amp; tell me the correct way to use fft2 function to make correlation between two images ?!&lt;br&gt;
&lt;br&gt;
&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Mon, 20 Apr 2009 18:07:20 -0400</pubDate>
      <title>Re: image correlation matching</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/248248#644092</link>
      <author>J.Meyer</author>
      <description>On Apr 3, 9:15=A0am, &quot;Eihab &quot; &amp;lt;Eihaab1...@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; i try to perform matching correlation in the frequency domain between two=&lt;br&gt;
&amp;nbsp;images(date base images of road =A0&amp; stop sign template )&lt;br&gt;
&amp;gt; i try to find the location =A0of the 'stop sign template' inside the data=&lt;br&gt;
base images using FFT's.&lt;br&gt;
&amp;gt; This is my code :&lt;br&gt;
&amp;gt; stop =3D imread('stop2.jpg');&lt;br&gt;
&amp;gt; imshow(stop)&lt;br&gt;
&amp;gt; st1 =3D rgb2gray(stop);&lt;br&gt;
&amp;gt; figure,imshow(st1)&lt;br&gt;
&amp;gt; temp1 =3D st1(299:376,110:177);&lt;br&gt;
&amp;gt; figure,imshow(temp1);&lt;br&gt;
&amp;gt; [m,n]=3Dsize(st1)&lt;br&gt;
&amp;gt; C =3D real(ifft2(fft2(double(st1)) .* fft2(rot90(double(temp1),2),m,n)));&lt;br&gt;
&amp;gt; figure,imshow(C,[])&lt;br&gt;
&amp;gt; mx=3Dmax(C(:))&lt;br&gt;
&amp;gt; thresh =3D mx-10&lt;br&gt;
&amp;gt; figure,imshow(C&amp;gt; thresh)&lt;br&gt;
&amp;gt; % End of the code .&lt;br&gt;
&amp;gt; anybody help me &amp; tell me the correct way to use fft2 function to make co=&lt;br&gt;
rrelation between two images ?!&lt;br&gt;
&lt;br&gt;
Any responses to this?  I am in a similar situation.</description>
    </item>
    <item>
      <pubDate>Mon, 09 Nov 2009 11:37:02 -0500</pubDate>
      <title>Re: image correlation matching</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/248248#693181</link>
      <author>Prasanna </author>
      <description>I'm also in this situation.But i am having binary image and binary template. Please reply to this.</description>
    </item>
  </channel>
</rss>

