[Numpy-discussion] look for value, depending to y position
ioannis syntychakis
ioannis87@gmail....
Wed Apr 14 03:11:38 CDT 2010
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 grayscale depented to the place on th image.
the image is 500 to 500 pixels.
and for example i want that the pixelvalue the program is looking for
decreases in the y direction.
on position y= 0 to 100 the programm is looking for pixelvalues above the
250
on position y= 100 to 200 the programm is looking for pixelvalues above
the 230
on position y= 200 to 300 the programm is looking for pixelvalues above
the 210
on position y= 400 to 500the programm is looking for pixelvalues above the
190
is this possible?
thanks in advance.
greetings, Jannis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100414/35c8547a/attachment.html
More information about the NumPy-Discussion
mailing list