calculating gray level data of {HEAD ~ each pixel} in {TAIL ~ the right area} 
calculating gray level data of { HEAD ~ each pixel } in { TAIL ~ the right area }
OTH OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD REL TAIL TAIL TAIL TAIL TAIL TAIL TAIL