superspike (spike + super-): An algorithm for image segmentation that averages pixels based on the peaks in a histogram