 An overlay with the same picture looks like an S-curve.formula_5

where "a" is the base layer value and "b" is the top layer value.Depending on the value "a" of the base layer, one gets a linear interpolation between black ("a"=0), the top layer ("a"=0.5), and white ("a"=1).