Numerical Methods / Image Processing / Numerical Analysis
Image Restoration via Numerical Interpolation.
A numerical computing project exploring image restoration through linear and quadratic interpolation to reconstruct pixels affected by salt-and-pepper noise.
01. Overview
Reconstructing the missing picture
A numerical computing project exploring image restoration through linear and quadratic interpolation to reconstruct pixels affected by salt-and-pepper noise.
Numerical computing study
02. The problem
The problem
Salt-and-pepper noise introduces extreme pixel intensities. Treating these outliers as missing points offers a practical way to explore an image as a discrete two-dimensional intensity function.
03. The approach
The approach
- 01
Simulate configurable salt-and-pepper noise in grayscale images.
- 02
Apply Newton linear interpolation using the nearest horizontal neighbors.
- 03
Use three points and divided differences to construct quadratic approximations horizontally and vertically.
- 04
Average the two quadratic approximations and evaluate reconstruction with Mean Squared Error (MSE).
04. Technical architecture
Technical architecture
- Grayscale image
- Salt-and-pepper noise
- Neighboring clean pixels
- Linear / quadratic interpolation
- Bidirectional quadratic averaging
- MSE evaluation
05. Outcomes & reflection
Results and limitations
The README demonstrates image reconstruction and compares the noisy, linear-restored, and averaged quadratic-restored examples using MSE.
Scope & limitations
This is a numerical analysis demonstration. The README's approximate MSE values describe its demonstrated example, not general performance across images, noise levels, or other restoration methods. The portfolio artwork is conceptual and does not depict experimental output.