[Numpy-discussion] look for value, depending to y position
Wed Apr 14 03:11:38 CDT 2010
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
on position y= 100 to 200 the programm is looking for pixelvalues above
on position y= 200 to 300 the programm is looking for pixelvalues above
on position y= 400 to 500the programm is looking for pixelvalues above the
is this possible?
thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion