Varsha Purohit wrote: > Yes i am getting this but i was confused why i am getting 3 values for > count, extrema.. and dats y i couldn't figure out how to find area of > those pixels......
From the docs: "The following attributes contain a sequence with one element for each layer in the image. " So the three values are for the red, green and blue components (assuming you have an RGB image). What pixels do you want the area of? Wouldn't that just be the pixel count times the pixel size (which you would have to know independently from the geometry of the camera and scene)? Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor