clip overlay to image region
clip input values to output lut
clip overlay to image region
fix overlay origin
correct calculation of embedded overlay dimensions