Optimization

Reconstructing the Missing: PDEs, Harmonic Functions, and Building an Inpainting Solver from Scratch
Reconstructing the …

🧮🖼 What should happen inside a missing region of an image?

Not “fill it with AI.”

Not “call a library.”

But mathematically — what should the pixel values be?

I wanted to answer that question from first principles.


The Physics Inspiration

In physics, the Laplace equation

$$ \nabla^2 u = 0 $$ …