Skip to content

jhultman/image-inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image inpainting

Here we use convex optimization to inpaint missing pixels in corrupted images. We find the discrete gradient and minimize its l1 norm under the constraint that the recovered image must match the corrupt image at those indices where the pixels are valid. I first saw this problem in a lecture by Stephen Boyd and Steven Diamond (Stanford).

Examples

  1. Text removal. Text

  2. Extreme sparsity (90% missing data). Noise

  3. Using crude heuristic for identifying bad pixels. Watermark

Releases

No releases published

Packages

No packages published

Languages