Text this: Block-segment search of local extrema of images based on analysis of brightnesses of related pixels and areas