Back to selected work

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.

Numerical computing study

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

  1. 01

    Simulate configurable salt-and-pepper noise in grayscale images.

  2. 02

    Apply Newton linear interpolation using the nearest horizontal neighbors.

  3. 03

    Use three points and divided differences to construct quadratic approximations horizontally and vertically.

  4. 04

    Average the two quadratic approximations and evaluate reconstruction with Mean Squared Error (MSE).

04. Technical architecture

Technical architecture

  1. Grayscale image
  2. Salt-and-pepper noise
  3. Neighboring clean pixels
  4. Linear / quadratic interpolation
  5. Bidirectional quadratic averaging
  6. 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.

Keep exploring

Travel Booking Data Warehouse