I am trying to derive numerical scheme for optical flow
In Euler-Lagrange equations i obtain following term
$div(\psi(x, y)\nabla(u(x, y)))$ where $\psi, u : R^2 \rightarrow R$, $div(u)$ denotes divergence of $u$
I want to obtain system of linear equation from my Euler-Lagrange equations
In Horn-Schunck work term $div(\nabla(u(x, y)))$ was transformed into $A(u(x, y)) - u(x, y)$ where $A(u(x, y))$ - weighted sum of neighbours of $u(x)$
Is there similiar transformation of $div(\psi(x, y)\nabla(u(x, y)))$ ?
PS Sorry for my poor English and math skills