By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,922 Members | 1,207 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,922 IT Pros & Developers. It's quick & easy.

Image recognition

P: 15
Hi,
Can anyone please tell me how I can write a program to identify an image pattern? Say, I want to identify a black circle in a large .bmp? Are there any general ways of doing that? And if you can offer few helpful links I'd be greatful. Thanks!
Mar 23 '07 #1
Share this Question
Share on Google+
1 Reply


Roonie
P: 99
well, image recognition is certainly a very complex undertaking. (nothing that i would consider myself . . . unless i was being paid well for it, of course.)

but i would say, as a place to begin, you would want to scan through the image pixel by pixel and store the locations of any contrast points . . . like when a black pixel is right next to a white pixel, store the location and then you can come back later and try to correlate contrast points with geometrical shapes.

if youre looking specifically for a circle (and theres nothing else in the way) you can search horizontally (or vertically) for the longest distance between contrast points. this would give you the diameter as well as the coordinates of the origin.

but itll be much, much, much, much tougher if there as any noise at all in the picture.

(and sorry, i dont know any links - google it.)
Mar 24 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.