Re: [Numpy-discussion] Simple pattern recognition

2009-09-21 Thread Gökhan Sever
I asked this question at http://stackoverflow.com/questions/1449139/simple-object-recognition and get lots of nice feedback, and finally I have managed to implement what I wanted. What I was looking for is named connected component labelling or analysis for my connected component extraction I

Re: [Numpy-discussion] Simple pattern recognition

2009-09-21 Thread René Dudfield
On Mon, Sep 21, 2009 at 6:45 PM, Gökhan Sever gokhanse...@gmail.com wrote: I asked this question at http://stackoverflow.com/questions/1449139/simple-object-recognition and get lots of nice feedback, and finally I have managed to implement what I wanted. What I was looking for is named

Re: [Numpy-discussion] Simple pattern recognition

2009-09-17 Thread Gökhan Sever
On Wed, Sep 16, 2009 at 8:43 PM, David Warde-Farley d...@cs.toronto.eduwrote: On 16-Sep-09, 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:

Re: [Numpy-discussion] Simple pattern recognition

2009-09-17 Thread Gökhan Sever
On Wed, Sep 16, 2009 at 7:53 PM, Alan G Isaac ais...@american.edu wrote: On 9/16/2009 8:22 PM, Gökhan Sever wrote: 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 ch.9 of

Re: [Numpy-discussion] Simple pattern recognition

2009-09-17 Thread Gökhan Sever
On Thu, Sep 17, 2009 at 10:14 AM, Gökhan Sever gokhanse...@gmail.comwrote: I use PIL to read my png file (after cropped the initial image to the column of my interest) Like: from PIL import Image myim = Image('seccol.png) imdata = np.array(myim.getdata()) From this on, I am not sure what

[Numpy-discussion] Simple pattern recognition

2009-09-16 Thread Gökhan Sever
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

Re: [Numpy-discussion] Simple pattern recognition

2009-09-16 Thread Alan G Isaac
On 9/16/2009 8:22 PM, Gökhan Sever wrote: 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 ch.9 of

Re: [Numpy-discussion] Simple pattern recognition

2009-09-16 Thread David Warde-Farley
On 16-Sep-09, 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