Ask Your Question

Revision history [back]

How to find center pixel of a group of pixels.

I have a group of pixels and I'd like to find the middle pixel found in the pixels group. Not centroid that generates a new pixel, but a pixel out of all which resembles the "middle" one amongst them.

Thanks.