Adjoint of a discrete forward gradient

ID: adjoint-of-a-discrete-forward-gradient

On an -pixel line with last forward difference zero, has first entry , interior entries , and last entry , with for . On a square grid add these expressions along rows and columns. Unused last-edge components contribute nothing. The identity fixes every boundary sign. On the unscaled square grid, for .

New to topics? Read the docs here!