Where the upper channel is brighter than 50% (32768), contrast is increased. Where the upper channel is darker than 50%, contrast is inverted.
Where the higher layer is partially transparent, the result is mixed with the lower layer composite in a manner proportional to the amount of transparency.
Please consider supporting my iToolBox development efforts with a small PayPal donation. |