{HEAD ~ a comparison module} configured to compare the brightness of {TAIL ~ each pixel} in the local region to determine the darkest pixels in the region; and 
{ HEAD ~ a comparison module } configured to compare the brightness of { TAIL ~ each pixel } in the local region to determine the darkest pixels in the region ; and
HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH OTH TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH