<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/154881</link>
    <title>MATLAB Central Newsreader - image matching</title>
    <description>Feed for thread: image 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>Tue, 21 Aug 2007 13:29:50 -0400</pubDate>
      <title>image matching</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/154881#388583</link>
      <author>Mark Verzeilberg</author>
      <description>for our project we want to know if it is possible to find a&lt;br&gt;
image in another image and find the position of our Blimp.&lt;br&gt;
&lt;br&gt;
We have a Blimp (kind of a zeppelin) in an old gymanium&lt;br&gt;
flying around taking pictures of the ground to find an&lt;br&gt;
object. We have the idea that we can make some kind of&lt;br&gt;
pattern on the ground so that the blimp can make pictures of&lt;br&gt;
the ground and that they can be matched with a computer made&lt;br&gt;
map with the same pattern as on the ground. This way we want&lt;br&gt;
to determine the position of the blimp. Is this possible&lt;br&gt;
with MatLab and can we get an update rate of at least 1&lt;br&gt;
position per second.&lt;br&gt;
&lt;br&gt;
For some more information please ask. The idea is inspired&lt;br&gt;
on DSMAC (Terrain Referenced Navigation).</description>
    </item>
    <item>
      <pubDate>Tue, 21 Aug 2007 21:25:36 -0400</pubDate>
      <title>Re: image matching</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/154881#388656</link>
      <author>Matthew Whitaker</author>
      <description>&quot;Mark Verzeilberg&quot; &amp;lt;nlda@mathwork.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;faepce$o6h$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; for our project we want to know if it is possible to find &lt;br&gt;
a&lt;br&gt;
&amp;gt; image in another image and find the position of our Blimp.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; We have a Blimp (kind of a zeppelin) in an old gymanium&lt;br&gt;
&amp;gt; flying around taking pictures of the ground to find an&lt;br&gt;
&amp;gt; object. We have the idea that we can make some kind of&lt;br&gt;
&amp;gt; pattern on the ground so that the blimp can make pictures &lt;br&gt;
of&lt;br&gt;
&amp;gt; the ground and that they can be matched with a computer &lt;br&gt;
made&lt;br&gt;
&amp;gt; map with the same pattern as on the ground. This way we &lt;br&gt;
want&lt;br&gt;
&amp;gt; to determine the position of the blimp. Is this possible&lt;br&gt;
&amp;gt; with MatLab and can we get an update rate of at least 1&lt;br&gt;
&amp;gt; position per second.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; For some more information please ask. The idea is inspired&lt;br&gt;
&amp;gt; on DSMAC (Terrain Referenced Navigation).&lt;br&gt;
&lt;br&gt;
Wow,&lt;br&gt;
There are a lot of varaiables here. &lt;br&gt;
1) What resolution would the floor map be at and what would &lt;br&gt;
be the overall dimensions in pixels of the floor map.&lt;br&gt;
2) What height would the blimp be at, what would be the &lt;br&gt;
size of it's field of view and what would the resolution of &lt;br&gt;
the blimp camera be.&lt;br&gt;
3) What is the size of the target object. Is it two &lt;br&gt;
dimensional or 3?&lt;br&gt;
4) Are the blimp images fairly stable or is there a lot of &lt;br&gt;
pitch and yaw effects?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I suppose the first thing to look at would be pattern &lt;br&gt;
correlation where you would take the image from the Blimp &lt;br&gt;
camera and correlate it to the known map.  From Gonzalez, &lt;br&gt;
Woods and Eddins - Digital Image Processing using Matlab &lt;br&gt;
they have a small function on page 491 that does this&lt;br&gt;
[M,N] = size(f); %where f would be the map&lt;br&gt;
f = fft2(f);&lt;br&gt;
w = conj(fft2(w,M,N); %where w would be the blimp image&lt;br&gt;
g = real(ifft2(w.*f)); &lt;br&gt;
[I,J] = find(g == max(g(:))); %coordinates of best match&lt;br&gt;
&lt;br&gt;
Good Luck!</description>
    </item>
    <item>
      <pubDate>Wed, 22 Aug 2007 08:55:30 -0400</pubDate>
      <title>Re: image matching</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/154881#388701</link>
      <author>Dave Robinson</author>
      <description>&quot;Matthew Whitaker&quot; &amp;lt;mattlwhitaker@REMOVEgmail.com&amp;gt; wrote in &lt;br&gt;
message &amp;lt;fafl8g$bi7$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Mark Verzeilberg&quot; &amp;lt;nlda@mathwork.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;faepce$o6h$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; for our project we want to know if it is possible to &lt;br&gt;
find &lt;br&gt;
&amp;gt; a&lt;br&gt;
&amp;gt; &amp;gt; image in another image and find the position of our &lt;br&gt;
Blimp.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; We have a Blimp (kind of a zeppelin) in an old gymanium&lt;br&gt;
&amp;gt; &amp;gt; flying around taking pictures of the ground to find an&lt;br&gt;
&amp;gt; &amp;gt; object. We have the idea that we can make some kind of&lt;br&gt;
&amp;gt; &amp;gt; pattern on the ground so that the blimp can make &lt;br&gt;
pictures &lt;br&gt;
&amp;gt; of&lt;br&gt;
&amp;gt; &amp;gt; the ground and that they can be matched with a computer &lt;br&gt;
&amp;gt; made&lt;br&gt;
&amp;gt; &amp;gt; map with the same pattern as on the ground. This way we &lt;br&gt;
&amp;gt; want&lt;br&gt;
&amp;gt; &amp;gt; to determine the position of the blimp. Is this possible&lt;br&gt;
&amp;gt; &amp;gt; with MatLab and can we get an update rate of at least 1&lt;br&gt;
&amp;gt; &amp;gt; position per second.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; For some more information please ask. The idea is &lt;br&gt;
inspired&lt;br&gt;
&amp;gt; &amp;gt; on DSMAC (Terrain Referenced Navigation).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Wow,&lt;br&gt;
&amp;gt; There are a lot of varaiables here. &lt;br&gt;
&amp;gt; 1) What resolution would the floor map be at and what &lt;br&gt;
would &lt;br&gt;
&amp;gt; be the overall dimensions in pixels of the floor map.&lt;br&gt;
&amp;gt; 2) What height would the blimp be at, what would be the &lt;br&gt;
&amp;gt; size of it's field of view and what would the resolution &lt;br&gt;
of &lt;br&gt;
&amp;gt; the blimp camera be.&lt;br&gt;
&amp;gt; 3) What is the size of the target object. Is it two &lt;br&gt;
&amp;gt; dimensional or 3?&lt;br&gt;
&amp;gt; 4) Are the blimp images fairly stable or is there a lot &lt;br&gt;
of &lt;br&gt;
&amp;gt; pitch and yaw effects?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I suppose the first thing to look at would be pattern &lt;br&gt;
&amp;gt; correlation where you would take the image from the Blimp &lt;br&gt;
&amp;gt; camera and correlate it to the known map.  From Gonzalez, &lt;br&gt;
&amp;gt; Woods and Eddins - Digital Image Processing using Matlab &lt;br&gt;
&amp;gt; they have a small function on page 491 that does this&lt;br&gt;
&amp;gt; [M,N] = size(f); %where f would be the map&lt;br&gt;
&amp;gt; f = fft2(f);&lt;br&gt;
&amp;gt; w = conj(fft2(w,M,N); %where w would be the blimp image&lt;br&gt;
&amp;gt; g = real(ifft2(w.*f)); &lt;br&gt;
&amp;gt; [I,J] = find(g == max(g(:))); %coordinates of best match&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Good Luck!&lt;br&gt;
&lt;br&gt;
Trouble with using fast correlation, is that it will only &lt;br&gt;
work if there is no image scaling between the 'map' and the &lt;br&gt;
blimp image AND they are both have exactly the same &lt;br&gt;
orientation.&lt;br&gt;
&lt;br&gt;
I would think that you should read up on image registration &lt;br&gt;
techniques - the IP toolbox has an excellent GUI &lt;br&gt;
demonstration for doing this, however the demonstration &lt;br&gt;
needs manual input to identify matching landmarks on &lt;br&gt;
the 'map' and blimp image. This will provide a &lt;br&gt;
transformation matrix which will allow the blimp image to &lt;br&gt;
be warped to match the 'map', at which point the fast &lt;br&gt;
correlation method can be pushed into action. &lt;br&gt;
&lt;br&gt;
Obviously in practice you can't use the manual landmark &lt;br&gt;
selection technique, else you wouldn't have asked your &lt;br&gt;
question. This means that you will need some form of &lt;br&gt;
automation in selecting said landmarks. However without &lt;br&gt;
seeing the sort of image you have for the 'map' and the &lt;br&gt;
blimp image, it is a little difficult to give any advice &lt;br&gt;
here.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
&lt;br&gt;
Dave Robinson</description>
    </item>
  </channel>
</rss>

