Project for FytN03 module B.
Restore "graffitied" images with numerical PDEs.
Check requirements.txt
or let pip handle it:
pip install -r requirements.txt
Masks can be loaded as images with: white as saved pixels and black as masked pixels.
The Laplace equation is solved through both FDM and FEM, in SOR.py and FEM.py respectively
FDM_Example.py
FEM_Example.py
In AnisotropicDiffusion.py there is an example of solving the Laplace equation with FEM, followed by anisotropic diffusion.