March 2020
Intermediate to advanced
366 pages
9h 8m
English
Dodging decreases the exposure for areas of the image that we wish to make lighter (than before) in an image, A. In image processing, we usually select or specify areas of the image that need to be altered using masks. A mask, B, is an array of the same dimensions as the image on which it can be applied (think of it as a sheet of paper you use to cover the image that has holes in it). "Holes" in the sheet of paper are represented with 255 (or ones if we are working on the 0-1 range) in an opaque region with zeros.
In modern image editing tools, such as Photoshop, the color dodging of the image A with the mask B is implemented by using the following ternary statement that acts ...