============================  {  for (c = 0; c < nbyte; c++) Grid[nbyte * (xx + width * y) + c] =  (byte)((ColBeg[c] * (xend - xx) + ColEnd[c] * (xx - xbeg)) / cnt);  Mask.Grid[xx + width * y] = (byte)LabMask;  } 