lookup "connected component labeling" in a machine vision book.
On Thu, Apr 8, 2010 at 9:57 AM, Chris Hulan <chris.hu...@gmail.com> wrote: > On Apr 8, 9:17 am, Jannis Syntychakis <ioan...@live.nl> wrote: >> Hallo Everybody, >> >> Maybe you can help me with this: >> >> i have a picture. The picture is black, with some white objects. >> >> Is there any way i can detect the automatically? Something like: >> if there white objects bigger than 3 pixels draw a box there or get >> their >> position! >> >> getting their position is more important for me. >> >> One more question:" >> >> can i let the user tell the software there the white object is? like a >> square >> this moves with the mouse and the user will be able to click on the >> white objects. >> >> Maybe somebosy could help? with an example maybe? >> >> Thank you very much in advance!!!! >> >> Ioannis > > Sounds like a job for an image lib, like say Camellia (http:// > camellia.sourceforge.net/index.html) > Their info Mentions a Ruby interface, so a python interface should be > fairly easy > > cheers > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list