C Board  

Go Back   C Board > Cprogramming.com and AIHorizon.com's Artificial Intelligence Boards > General AI Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-21-2009, 01:08 AM   #1
Registered User
 
Join Date: Aug 2007
Posts: 268
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?
taurus is offline   Reply With Quote
Old 09-22-2009, 08:46 AM   #2
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 2,924
Classify the objects in Image 1, and keep a time/pattern history of the objects seen.
__________________
He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet
abachler is offline   Reply With Quote
Old 09-22-2009, 12:28 PM   #3
Registered User
 
Join Date: Aug 2007
Posts: 268
What do you mean by that? What pattern? and by time do you mean position?
taurus is offline   Reply With Quote
Old 09-22-2009, 12:38 PM   #4
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 2,924
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.
__________________
He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet
abachler is offline   Reply With Quote
Old 09-24-2009, 02:46 PM   #5
Registered User
 
Join Date: Aug 2007
Posts: 268
How would you use a histogram to compare objects?
taurus is offline   Reply With Quote
Old 09-25-2009, 11:19 AM   #6
Registered User
 
yann's Avatar
 
Join Date: Sep 2009
Location: Zagreb, Croatia
Posts: 179
Maybe you need associative memory, it is very cool, similar to "handwriten letter recognizing system" that I built...?
__________________
"Hackers build things, crackers destroy them."
I am an 13 year old wannabe AI programmer.
For now I am programing with perceptrons.
yann is offline   Reply With Quote
Old 09-25-2009, 09:53 PM   #7
Registered User
 
Join Date: Aug 2007
Posts: 268
Could be interesting, Do you have a simple version I could implement?
taurus is offline   Reply With Quote
Old 09-25-2009, 10:17 PM   #8
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 2,924
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.
Quote:
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.
__________________
He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet

Last edited by abachler; 09-25-2009 at 10:23 PM.
abachler is offline   Reply With Quote
Old 09-26-2009, 02:57 AM   #9
Registered User
 
yann's Avatar
 
Join Date: Sep 2009
Location: Zagreb, Croatia
Posts: 179
Yes, but with associative memory you could even compare two objects if they were rotated ^^, ANYTHING you want.
__________________
"Hackers build things, crackers destroy them."
I am an 13 year old wannabe AI programmer.
For now I am programing with perceptrons.
yann is offline   Reply With Quote
Old 09-26-2009, 06:41 AM   #10
Registered User
 
Join Date: Aug 2007
Posts: 268
COuld you explain how I can do it then Yann please?
taurus is offline   Reply With Quote
Old 09-26-2009, 08:23 AM   #11
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 2,924
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
Attached Images
 
__________________
He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet

Last edited by abachler; 09-26-2009 at 08:32 AM.
abachler is offline   Reply With Quote
Old 09-27-2009, 12:25 PM   #12
Registered User
 
yann's Avatar
 
Join Date: Sep 2009
Location: Zagreb, Croatia
Posts: 179
Whops, sorry
__________________
"Hackers build things, crackers destroy them."
I am an 13 year old wannabe AI programmer.
For now I am programing with perceptrons.
yann is offline   Reply With Quote
Old 09-27-2009, 10:44 PM   #13
Registered User
 
Join Date: Aug 2007
Posts: 268
so i could still do with a simple basic idea to compare two objects?
taurus is offline   Reply With Quote
Old 09-28-2009, 04:02 AM   #14
+++ OK NO CARRIER
 
quzah's Avatar
 
Join Date: Oct 2001
Posts: 10,259
You should really post some kind of warning when you include terrible images in your threads.


Quzah.
__________________
Hundreds of thousands of dipshits can't be wrong.


Are you up for the suck?
quzah is offline   Reply With Quote
Old 09-28-2009, 04:22 AM   #15
Dae
Deprecated
 
Dae's Avatar
 
Join Date: Oct 2004
Location: Canada
Posts: 944
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.0 (lambda branch), Boost 1.40.0, Code::Blocks 8.02, Ubuntu 9.04 010001000110000101100101
Dae is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What about the problem of "no matching symbolic information found"in this function? gjgcstick C Programming 5 06-01-2009 07:54 PM
circular doubly linked list help gunnerz C++ Programming 5 04-28-2007 08:38 PM
Question on l-values. Hulag C++ Programming 6 10-13-2005 04:33 PM
A question about constructors... Wolve C++ Programming 9 05-04-2005 04:24 PM
Going out of scope nickname_changed C++ Programming 9 10-12-2003 06:27 PM


All times are GMT -6. The time now is 11:42 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22