The Incredible Math Behind the “Divide” Blend Mode

Unmesh Dinda explains the math behind Photoshop’s Divide blend mode, and how to use it to correct the color cast of your images/photos.