The focus of many non-parametric image registration algorithms lies on the solution of non-linear partial differential equations. We offer a simple solution procedure therefor based on discrete Fourier transform. Boundary conditions can strongly influence the result of the registration. The issue is investigated on the example of non-linear curvature-based registration.