Thread: Object matching

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    270

    Object matching

    Say i have 2 grayscale images.
    IMAGE 1: 2 objects
    IMAGE 2: 1 object

    Now I have worked out the position of the objects.
    How could i check in image2 whether any of the objects have been seen in image1?

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Classify the objects in Image 1, and keep a time/pattern history of the objects seen.

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    270
    What do you mean by that? What pattern? and by time do you mean position?

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by taurus View Post
    What do you mean by that? What pattern? and by time do you mean position?
    Image Classification

    Keep track of the objects you have seen in Image 1 and the time they were seen.

    After a set time limit discard the records.

    For each object seen in Image 2, check the list of objects seen in Image 1 for matches.

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    270
    How would you use a histogram to compare objects?

  6. #6
    Registered User yann's Avatar
    Join Date
    Sep 2009
    Location
    Zagreb, Croatia
    Posts
    186
    Maybe you need associative memory, it is very cool, similar to "handwriten letter recognizing system" that I built...?
    Arduino rocks!

  7. #7
    Registered User
    Join Date
    Aug 2007
    Posts
    270
    Could be interesting, Do you have a simple version I could implement?

  8. #8
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by yann View Post
    Maybe you need associative memory, it is very cool, similar to "handwriten letter recognizing system" that I built...?
    You need to fix your signature, more than about 3-5 lines is considered spammy. I's actually so bad it makes your post difficult to read.
    If all you know how to use is a hammer, every problem looks like a nail.



    Quote Originally Posted by taurus View Post
    How would you use a histogram to compare objects?
    That depends on what data the histogram is mapping and how you want to compare the two. I wouldn't suggest a histogram for the problem you posted though, suggest a FIFO queue that keeps track of the objects seen in each picture over time. Keep separate lists for each picture, and compare the two lists to see if an object in picture 1 is latter seen in picture two, or if it was in picture 2 first.
    Last edited by abachler; 09-25-2009 at 10:23 PM.

  9. #9
    Registered User yann's Avatar
    Join Date
    Sep 2009
    Location
    Zagreb, Croatia
    Posts
    186
    Yes, but with associative memory you could even compare two objects if they were rotated ^^, ANYTHING you want.
    Arduino rocks!

  10. #10
    Registered User
    Join Date
    Aug 2007
    Posts
    270
    COuld you explain how I can do it then Yann please?

  11. #11
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by yann View Post
    Yes, but with associative memory you could even compare two objects if they were rotated ^^, ANYTHING you want.
    perceptrons cannot do that yann. Stop preaching hype that you read on some web page and perhaps pick up a serious text on the subject, here are some of the ones in my library that I found useful -

    Artificial Intelligence, A Modern Approach ISBN 0-13-790395-2
    Neural Networks, A Comprehensive Foundation, ISBN 0-13-273350-1
    Neural Networks for Pattern Recognition, ISBN 978-0-19-853864-6
    Biophysics of Computation, Information porcessing in single neurons, ISBN 978-0-19-518199-9
    Theoretical Neuroscience, Computational and Mathematical Modelling of Neural Systems, ISBN 978-0-262-54185-5
    C++ Neural Networks & Fuzzy Logic, ISBN 1-55851-552-6
    Last edited by abachler; 09-26-2009 at 08:32 AM.

  12. #12
    Registered User yann's Avatar
    Join Date
    Sep 2009
    Location
    Zagreb, Croatia
    Posts
    186
    Whops, sorry
    Arduino rocks!

  13. #13
    Registered User
    Join Date
    Aug 2007
    Posts
    270
    so i could still do with a simple basic idea to compare two objects?

  14. #14
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    You should really post some kind of warning when you include terrible images in your threads.


    Quzah.
    Hope is the first step on the road to disappointment.

  15. #15
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Put a shirt on abachler

    You should post your address so we can send you some clothes. Jeez.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 06-01-2009, 07:54 PM
  2. circular doubly linked list help
    By gunnerz in forum C++ Programming
    Replies: 5
    Last Post: 04-28-2007, 08:38 PM
  3. Question on l-values.
    By Hulag in forum C++ Programming
    Replies: 6
    Last Post: 10-13-2005, 04:33 PM
  4. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 04:24 PM
  5. Going out of scope
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 10-12-2003, 06:27 PM