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