Computer vision
Image Restoration and Inverse Problems
Learn denoising, deblurring, super-resolution, inpainting, reconstruction priors, uncertainty, and task-aware evaluation.
By the end you can
- Formulate restoration as an inverse problem with an observation model
- Compare classical regularization with learned restoration priors
- Explain why plausible detail may not be faithful detail
- Design evaluation for fidelity, uncertainty, and downstream task utility
Visual
The image you observe is the output of a process
Restoration begins by modeling how the latent scene became the measured image.
The chain runs one way. Step 2 destroys information and step 5 cannot put it back. It returns one member of the set of scenes still compatible with the observation. PULSE, a super-resolution method published in 2020 by Menon and four colleagues at Duke, makes that explicit by construction. It does not estimate the lost pixels at all. It searches the latent space of a pretrained StyleGAN for a high-resolution image that downscales back to the low-resolution input. Any candidate that downscales correctly is an acceptable output. Step 3 does not determine step 5. The prior in step 4 does.
1. Latent scene
The unknown radiance, structure, or object state of interest.
2. Forward process
Blur, sampling, optics, motion, noise, compression, or missing measurements.
3. Observation
The finite, noisy image stored by the system.
4. Prior or constraint
Assumptions about smoothness, sparsity, natural images, or training data.
5. Reconstruction
One estimate among potentially many scenes compatible with the observation.
Key idea
Many clean images can explain the same degraded measurement
Downsampling, occlusion, saturation, and blur destroy information. An algorithm can use prior knowledge to choose a plausible reconstruction, but it cannot prove that every invented detail existed.
A leading super-resolution method says so in its own paper. From PULSE's related-work section: “The information required for details is often not present in the LR image and must be ‘imagined’ in.” Not estimated, not recovered: imagined, inside the authors' own quotation marks. The more severe the degradation, the more of the output is that. So when images support scientific, medical, forensic, or legal claims, say how far the result depends on the prior.
Instability is a separate failure mode. In February 2019 Antun and four colleagues reported that “deep learning typically yields unstable methods for image reconstruction”, in three forms. First, “tiny, almost undetectable perturbations, both in the image and sampling domain, may result in severe artefacts in the reconstruction”. Second, “a small structural change, for example a tumour, may not be captured in the reconstructed image”. Third, “(a counterintuitive type of instability) more samples may yield poorer performance”. That last one is counterintuitive because every other part of measurement gets better with more data. The Proceedings of the National Academy of Sciences published the work the following year. It ships a diagnostic rather than only a warning — “Our new stability test with algorithms and easy to use software detects the instability phenomena” — aimed at researchers testing their own networks and at government agencies such as the Food and Drug Administration.
Restoration can increase plausibility faster than evidentiary certainty.
Comparison
Classical constraints and learned priors
Both approaches resolve ambiguity by preferring some solutions over others.
The third column is where the preference becomes visible. In June 2020 a downsampled photograph of Barack Obama went through the PULSE-based Face Depixelizer and came out a white face. The authors answered by adding a Bias section and a model card to their paper: “While we initially chose to demonstrate PULSE using StyleGAN (trained on FFHQ) as the generative model for its impressive image quality, we noticed some bias when evaluated on natural images of faces outside of our test set.” Then they measured it. Success — finding a generator output that downscales back to the input — ran at 79.2% for Black faces on the FairFace dataset, sampling 100 examples per subgroup. It ran at 83.4% for White, 87.0% for East Asian and Middle Eastern, 87.4% for Indian and Southeast Asian, and 90.2% for Latino/Hispanic. They also quoted Salminen and colleagues' finding that 72.6% of StyleGAN's generated pictures represent White people, against 13.8% Asian, 10.1% Black and 3.4% Indian, and concluded that this bias extends to any downstream application of StyleGAN, PULSE included.
So the line below reading “May hallucinate structures” is not a caveat about texture. It is a statement about whose face the prior supplies when the measurement cannot decide.
Model-based restoration
Optimizes an explicit forward model plus regularization.
- Assumptions are visible
- Can exploit calibrated physics
- May miss complex image statistics
- Example: deconvolution
Supervised neural restoration
Learns degraded-to-clean mappings from paired examples.
- Strong domain performance
- Pair generation is critical
- Can inherit synthetic mismatch
- Example: denoising
Generative restoration
Uses a rich image prior to sample or select plausible solutions.
- Produces realistic detail
- Supports multiple hypotheses
- May hallucinate structures
- Example: severe super-resolution
Analogy
Reconstructing a sentence from a torn note
Damaged paper carries the words “Meet at _ight”. Language knowledge suggests “night” or “eight,” but the missing character cannot be recovered from the fragment alone.
A missing letter comes from a short alphabet, while images contain continuous spatial measurements and complex noise. Evidence in the observation and detail supplied by a prior stay distinct in both. And in both, the completed version reads as though nothing was ever missing.
A prior narrows possibilities; it does not recreate lost evidence with certainty.
Example
Restoration tasks differ by what the sensor lost
Treat each degradation as a separate measurement model.
The compression family is not hypothetical. On 2 August 2013 David Kriesel showed that Xerox WorkCentre and ColorQube scanners were silently substituting digits in scanned documents. JBIG2 “Pattern Matching & Substitution” in lossy mode groups visually similar glyph segments and stores only one representative. That representative is then pasted in place of the others. On his WorkCentre 7535 and 7556 test machines a 65 was reproduced as 85, and a 60 as 80, in cleanly rendered type. No blur, no ringing, nothing for a reader to notice. Xerox confirmed the defect across the ColorQube 87XX/89XX/92XX/93XX and WorkCentre 5030, 5050, 51XX, 56XX, 57XX, 58XX, 6400, 7220, 7225, 75XX, 76XX, 77XX and 78XX families, the WorkCentrePro 2XX and BookMark 40/55. Its on-device disclaimer for lower quality settings read: “The normal quality option produces small file sizes by using advanced compression techniques. Image quality is generally acceptable, however, text quality degradation and character substitution errors may occur.” After further testing the company stated that even the factory-default and highest-quality modes did not completely eliminate the substitutions on stress documents. A prior that swaps a real measurement for a plausible substitute leaves no visible sign of having done so.
- Denoising: Remove stochastic sensor variation while preserving weak signals.
- Deblurring: Invert motion or optical spread under an estimated kernel.
- Super-resolution: Infer a higher-resolution image from limited samples.
- Inpainting: Fill regions with no measurements using surrounding context.
- Compression artifact removal: Reduce block or ringing effects without erasing texture, remembering that the compression stage itself may already have substituted content, as JBIG2 Pattern Matching & Substitution did in the Xerox scanners.
- Tomographic reconstruction: Recover an image from indirect projections rather than a degraded photograph.
Pixel fidelity and perceived quality can move in opposite directions
Averaging plausible outputs may improve mean squared error while producing blur; perceptual or adversarial losses can sharpen texture while moving farther from the exact target.
This tension has been proved, not merely observed. In 2017 Blau and Michaeli set out to “prove mathematically that distortion and perceptual quality are at odds with each other”. Take the probability of “correctly discriminating the outputs of an image restoration algorithm from real images”. Their result: “as the mean distortion decreases, this probability must increase (indicating worse perceptual quality)”. And the trade is not an artifact of the metric you happened to choose — “this result holds true for any distortion measure, and is not only a problem of the PSNR or SSIM criteria”. The version published a year later adds that for some measures the effect “is less severe”. Their response was not a better single number but a two-axis evaluation. They “propose a new methodology for evaluating image restoration methods” and use it “to perform an extensive comparison between recent super-resolution algorithms”.
Choose metrics according to the use case. A visually pleasing photograph, a quantitative microscopy measurement, and an OCR preprocessing stage require different evidence. None of them is served by one scalar that has to buy its score on one axis by paying on the other.
A metric rewards a notion of quality; it does not define universal restoration truth.
Steps
Evaluate fidelity under known and unknown degradation
A restoration benchmark should test both reconstruction and decision consequences.
Step 1 is settled by real acquisition data. In 2018 Abdelhamed and two colleagues built the Smartphone Image Denoising Dataset. It holds “~30,000 noisy images from 10 scenes under different lighting conditions using five representative smartphone cameras”. Its ground truth came from “a systematic procedure for estimating ground truth for noisy images”, not from an assumption. Benchmarking on it showed “that CNN-based methods perform better when trained on our high-quality dataset than when trained using alternative strategies, such as low-ISO images used as a proxy for ground truth data”. The proxy was the problem.
Steps 4 and 5 have a benchmark of their own. The 2020 fastMRI challenge distributed 7,299 clinical brain scans from NYU Langone Health and held back the fully sampled data from 894 of them. It received 19 submissions from eight groups. Radiologists reading the reconstructions found anatomy that was not in the patient: a false vessel, a bright line mimicking a cerebrospinal-fluid cleft, a false sulcus. Muckley and colleagues wrote it into the discussion: “Such hallucinatory features are not acceptable and especially problematic if they mimic normal structures that are either not present or actually abnormal. These images had high SSIM scores, indicating that even though these images are considered well-optimized according to this metric, they are not optimized regarding hallucination features.” The metric passed the image. The radiologist did not. Bhadra and colleagues later gave the failure a formal treatment, in 2021, decomposing a reconstruction into generalized measurement and null components and introducing a “hallucination map”.
What a regulator accepted for a learned reconstruction runs in the same order as these five steps. On 10 April 2020 the FDA cleared GE Healthcare's AIR Recon DL on the SIGNA Premier MRI system, under 510(k) K193282, as substantially equivalent. The nonclinical package used a digital reference object and phantom imaging to test SNR, sharpness, low contrast detectability and noise spectral content. It also carried a specific check that the network had not quietly moved the numbers clinicians read off the image: “Analysis was performed to confirm that the feature does not introduce significant bias that might impact quantitative measurements based on signal intensity.” Only then came the downstream test — a blinded radiologist reader study comparing images reconstructed with the algorithm against images reconstructed without it, including shorter-scan versus longer-scan pairs. An independent evaluation two years later, by Zerunian and colleagues on 50 volunteers at Sapienza University of Rome, reported SSFSE T2 SNR of 181.40 ± 135.09 with the algorithm versus 109.79 ± 108.98 without (P = 0.0012). Overall image quality was 4.94 ± 0.23 versus 3.26 ± 0.75 on a five-point Likert scale (P < 0.0001).
1. Validate the forward model
Check whether simulated blur, noise, and compression resemble real acquisition.
2. Use held-out paired data
Measure distortion where trustworthy references exist.
3. Stress mismatch
Vary devices, noise levels, motion, saturation, and unseen degradations.
4. Inspect uncertainty
Compare multiple plausible reconstructions or confidence intervals where available.
5. Test downstream tasks
Measure detection, OCR, measurement, or reviewer decisions on restored outputs.
Key idea
Keep the original measurement
A restored image should not overwrite the raw capture in evidentiary workflows; store the algorithm version, parameters, calibration, uncertainty, and transformation history. That is not this lesson's house preference. It is written into two published standards, and a court has already refused a restored image for exactly these reasons.
On 29 March 2024 King County Superior Court judge Leroy McCullough excluded AI-enhanced video in State of Washington v. Joshua Puloka, a triple-murder case. The defence had upscaled a 10-second bystander smartphone video with Topaz Labs AI and processed it further in an Adobe program. Applying Frye, the court held that the relevant community was the forensic video analysis community. The machine-learning tools had not been peer-reviewed by it, were not reproducible by it and were not generally accepted by it. The state's forensic video analyst testified that the enhancement “added 16 times the number of pixels as existed in the original video” and “added information that was not in the original files”. The order reads: “This Court finds that admission of this AI-enhanced evidence would lead to a confusion of the issues and a muddling of eyewitness testimony, and could lead to a time-consuming trial within a trial about the non-peer-reviewable-process used by the AI model”.
The standards say the same thing in advance. SWGDE's Best Practices for Digital Forensic Video Analysis, in its December 2025 version, requires processing on a working copy, hashed against the original submitted evidence. Its §4.3.3 is explicit: “Any processing performed on the video files should be completed on the working copy and sufficiently documented so that the methods can be reproduced and independently evaluated. This documentation should include the order and settings in which the processes were applied to ensure the integrity and the reproducibility of the results.” ENFSI's Best Practice Manual for Forensic Image and Video Enhancement, from June 2018, defines the output of enhancement as images plus “comprehensive documentation to record what has been done (Audit Trail)”. For adaptive operations such as interpolated enlargement, §5.4.5 requires that “the results must be presented in conjunction with the First Copy Image”.
Reviewers need side-by-side access to the original and the reconstruction. The restoration is an analytical product, not a replacement for the observation.
Reproducibility and provenance are part of restoration quality.
Example
Practice: plan restoration for low-light wildlife footage
Night cameras produce shot noise, motion blur, clipped highlights, and aggressive compression. Plan the evaluation the way the AIR Recon DL clearance did: reference conditions first, a bias check on whatever quantity anyone will read off the image, and a blinded downstream decision test last.
- Write a forward model for the main degradations and note what remains unknown, including what the compression stage may substitute rather than merely smear.
- Choose one fidelity metric and explain its limitation; Blau and Michaeli proved that the axis it does not measure must worsen as it improves.
- Create a real-device test set rather than relying only on synthetic noise, as the Smartphone Image Denoising Dataset did against low-ISO proxy ground truth.
- Define a downstream species-detection check on raw and restored frames, decided by a reviewer who has not seen which is which.
- Specify how uncertain or hallucinated details will be shown to analysts; the fastMRI radiologists found false anatomy in reconstructions with high SSIM scores, so the display, not the score, is what surfaces it.
Key takeaways
- Restoration estimates a latent scene from a degraded measurement and a prior. PULSE searches a StyleGAN latent space for any image that downscales back to the input, so the observation constrains the output without determining it.
- Information destroyed by sampling, blur, occlusion, or saturation cannot be uniquely recovered — detail “must be ‘imagined’ in”, in the words of the method's own authors.
- Classical and neural methods both encode preferences over possible reconstructions. PULSE's FairFace success rates, 79.2% for Black faces against 90.2% for Latino/Hispanic, show whose reconstruction a prior finds easiest.
- Pixel distortion, perceptual quality, and downstream utility can disagree. Blau and Michaeli proved the first two must trade off for any distortion measure, and fastMRI reconstructions carrying hallucinated vessels and sulci still scored high on SSIM.
- Generative restoration requires uncertainty, provenance, and strong warnings in evidentiary settings — in State v. Puloka the court excluded video whose enhancement had “added information that was not in the original files”.
- Raw observations should remain available beside every restored analytical image. SWGDE requires a hashed working copy documented down to the order and settings of the operations; ENFSI requires interpolated results to be shown with the First Copy Image.