On Sep 16, 2009, at 8:22 PM, Gökhan Sever wrote:
Hello all,
I want to be able to count predefined simple rectangle shapes on an
image as shown like in this one: http://img7.imageshack.us/img7/2327/particles.png
Which is in my case to count all the blue pixels (they are ice-snow
flake shadows in reality) in one of the column.
What is the way to automate this task, which library or technique
should I study to tackle it.
You should check out the ndimage subpackage in scipy.
This tutorial should help you get started:
http://docs.scipy.org/doc/scipy/reference/tutorial/ndimage.html
The section on "segmentation and labeling" will be particularly useful
for you.
Best,
-Tony
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users