+ 1) / 2 b , = ( + + 1) / 2 , = ( + + 1) / 2 = ( + + 1) / 2 , = ( + + + + 2) / 4 , = ( + + + + 2) / 4 , = ( + + + + 2) / 4 = ( + + + + 2) / 4 = ( + + + + 2) / 4 = ( + + + + 2) / 4 Ref: Color Mixer http://trycolors.com X A B C D I a b c e d J f g h K i j k l L m n o p X A a b A B A X I X e f X A A B Mode 5: Vert, Right j k c l B C d C D n o g p A B B C h B C C D i X I I J m I J J L
an image is a vector of its partials where: is the derivative with respect to x (gradient in the x direction) is the derivative with respect to y (gradient in the y direction) Ref: https://en.wikipedia.org/wiki/Image_gradient