___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hallo everybody
maybe somebody can help with the following:
i'm using numpy and pil to find objects in a grayscale image. I make an
array of the image and then i look for pixels with the value above the 230.
Then i convert the array to image and i see my objects.
What i want is to make the grays
program choose the place! So i want that
the user get a square on his mouseclick en be able to select the square
where python has to calculate the averagepigelvalue.
any ideas how i would do this?
thanks in advance everybody
2010/4/8 Michael Gilbert
> On Thu, 8 Apr 2010 09:06:16 +0200, ioan
anybody knows how you can draw with arrays?
i have two arrays, the x and the y coordinates.
i do:
d.ImageDraw.Draw(im)
d.point(E[0],E[1])
im.show()
i get this error:
only length-1 arrays can be converted to python scalars
2010/4/8 ioannis syntychakis
> thanks for all your answers.
>
) (beginnning from 0)
is this possible? thanks in advance!!!
2010/4/7 Ian Mallett
> On Wed, Apr 7, 2010 at 7:40 AM, ioannis syntychakis
> wrote:
>
>> Hallo Everybody,
>>
>> I am new in this mail list and python. But I am working at something and I
>> need your help.
>
Hallo Everybody,
I am new in this mail list and python. But I am working at something and I
need your help.
I have a very big matrix. What I want is to search in that matrix for values
above the (for example:) 150. If there are values above the 150, I also want
to get their position and value.
I