**The Euler-Lagrange equation for Euler’s Elastica inpainting**

For a gray-scale image on a domain and an inpainting domain , Euler’s elastica energy is given by

where denotes curvature.

Minimizing the functional by the Euler-Lagrange equation leads to the following nonlinear 4th order PDE

together with appropriate boundary conditions.