AI Photo Restorer
A master-retoucher's eight-stage darkroom pipeline for faded, scratched and damaged old photos — free, private, and entirely in your browser.
以资深修图师的八阶段暗房管线,修复褪色、划痕与破损的老照片——免费、隐私安全,全程在浏览器本地完成。
Private by design — your photo is processed locally and never uploaded.Drop a photo here, or click to browse
Supported formats: JPG, PNG, WebP, GIF, BMP
Drag to compare
Tip: upload the largest scan you have — bigger input gives better results.
How It Works
The AI Photo Restorer runs a professional eight-stage darkroom pipeline — the same decision order a master retoucher would follow — built entirely from local image-science algorithms. Every stage executes on your own device using Float32-precision Canvas processing; your photo is never uploaded, stored, or seen by anyone.
The eight stages:
1 · Photo diagnosis
The photo is measured for color cast, fade, dynamic range, black/white points and grain level. Every later stage is driven by these readings, so each photo gets its own prescription.
2 · Expert white balance
A shades-of-gray illuminant estimate, fused with a highlight patch and skin-tone protection, lifts yellowed age stains without turning faces gray or pink.
3 · Scratch & dust repair
Scratches and dust are detected line-by-line with median evidence, then interpolated from their surroundings. A repeating-texture veto protects fabric weaves, hair, text strokes and fine detail from being erased.
4 · Edge-aware denoise
Chroma noise is cleaned separately from luma; grain is removed only in flat regions and preserved across edges. Denoise strength is automatically raised when a faded photo is about to be contrast-stretched.
5 · Tone curve with protected endpoints
Black and white points are set from deep percentiles and mapped through a gentle S-curve. Outputs never hit pure 0 or 255, so shadows keep depth and highlights retain texture — no crushed blacks or blown whites.
6 · Clarity & local contrast
A large-radius, low-amount local contrast stage opens hazy midtones and adds dimensionality, while a flat-region mask keeps skies and smooth skin clean.
7 · Natural vibrance
Faded low-saturation colors are boosted more than already-rich ones, with skin-tone damping. Colors come back believable instead of plastic; black-and-white photos skip this stage automatically.
8 · Smart sharpen & grain
Luma-only sharpening fires above a noise-adaptive threshold and is reduced in shadows where grain hides, so grain is never re-edged into halos. An optional unifying film-grain finish is available.
An honest note on "AI": because PhotoRevive AI runs entirely in your browser with no server and no API, this is a real, automatic image-science pipeline — but it cannot reconstruct a missing face or invent detail that was never captured. For severely damaged faces, start from a high-resolution scan and pair this tool with careful manual touch-up.
AI Photo Restorer 运行的是一套专业的八阶段暗房管线——与资深修图师的决策顺序一致——全部由本地图像科学算法构成。每一阶段都在你自己的设备上以 Float32 精度完成;照片永远不会被上传、存储或被人看到。
八个阶段:
1 · 照片诊断
先测量照片的色偏、褪色程度、动态范围、黑白场与颗粒水平。后续每个阶段都依据这些读数驱动,因此每张照片都会得到专属处方。
2 · 专业白平衡
采用灰影(shades-of-gray)光源估计,融合高光采样并带肤色保护,在去除岁月黄渍的同时,不会把人脸修成灰脸或粉脸。
3 · 划痕与尘点修复
以中值证据逐线检测划痕与尘点,再从周围像素插值修复。重复纹理否决机制可保护织物纹理、头发、文字笔画等细节不被误删。
4 · 保边降噪
色度噪点与亮度噪点分开处理;只在平坦区域去除颗粒,边缘处完整保留。当褪色照片即将被拉伸对比时,降噪强度会自动联动加深。
5 · 端点保护影调曲线
根据深层百分位设定黑白场,再通过柔和 S 曲线映射。输出永不到达纯 0 或纯 255,暗部保留层次、高光保留质感——不死黑、不惨白。
6 · 清晰度与局部对比
大半径、低强度的局部对比阶段,打通发灰的中间调、增强立体感;平坦区掩膜确保天空与光滑皮肤依然干净。
7 · 自然鲜艳度
对褪色的低饱和颜色增强更多、对已浓郁的颜色增强更少,并对肤色衰减处理。颜色回归真实而非塑料感;黑白照片会自动跳过此阶段。
8 · 智能锐化与颗粒
仅作用于亮度通道,在噪声自适应阈值之上触发,并在颗粒藏身的暗部自动减弱,绝不把颗粒重新勾边成光晕。另可选统一质感的胶片颗粒收尾。
关于「AI」的诚实说明:由于 PhotoRevive AI 完全在浏览器本地运行、没有服务器也不调用任何 API,它是真正全自动的图像科学管线——但无法重建缺失的人脸,也无法虚构从未被拍下的细节。严重破损的人脸请先准备高分辨率扫描件,再配合细致的手工精修。
How to Use
- Upload the best scan you haveDrag the photo into the box or click to browse. JPG, PNG, WebP, GIF and BMP are supported — a 300–600 DPI scan gives noticeably better results than a phone photo of a print.
- Read the diagnosis, pick a prescriptionAfter loading, the photo is automatically diagnosed (cast, fade, grain, exposure) and the Smart Restore settings are applied. Use the prescription buttons for heavily faded, scratched or grainy photos.
- Fine-tune by stageThe sliders mirror the pipeline: raise "Scratches & spots" for damaged prints, "Noise reduction" for grainy scans, "Tone restore" for fade, and dial "Smart sharpen" down if edges look crunchy.
- Download your restored photoExport as PNG for the highest quality archive copy, JPG for sharing, or WebP for the smallest file size.
- 上传你手上最好的扫描件将照片拖入或点击选择。支持 JPG、PNG、WebP、GIF、BMP——300–600 DPI 的扫描件效果明显好于翻拍照片。
- 看诊断、选处方照片加载后会自动诊断(色偏、褪色、颗粒、曝光)并应用智能修复参数。褪色、划痕、噪点重的照片可直接点对应的处方按钮。
- 按阶段微调滑杆与修复管线一一对应:破损严重调「划痕与尘点」,颗粒重调「降噪」,发灰调「影调恢复」,边缘发硬就降低「智能锐化」。
- 下载修复结果存档建议导出 PNG(质量最高),分享用 JPG,追求小体积用 WebP。
Who this is for — and what it will not do
This is the tool to open first when a box of family photographs has been inherited and there is no time to tune sliders one image at a time. It is built for people who want a sensible automatic result in one click, and who are willing to check it before printing.
- Inherited albums and shoeboxes. Mixed generations of prints where some are faded, some are grainy and none are catalogued yet.
- One-click users. People who would rather press Auto and compare before/after than learn six sliders.
- Gift and memorial projects. Preparing a clean version of a portrait for a frame, a slideshow or a printed card.
Mistakes that ruin the result, and the fix for each
- Expecting faces to be rebuilt. The pipeline repairs tone, colour and texture that exists in the scan. It cannot reconstruct detail that was never captured — for that, a professional retoucher is the honest answer.
- Restoring an already-edited JPEG. Every previous save has thrown away data. Work from the original scan whenever you still have it.
- Judging at preview scale. The preview is capped for speed; open the exported file at 100% before you decide the result is clean.
这个工具适合谁——以及它做不到什么
当你继承了一整箱家庭老照片、又没时间一张张调滑杆时,这是应该第一个打开的工具。它面向想要「一键得到合理结果」的人,但前提是你愿意在打印前先检查一遍。
- 继承的相册与鞋盒照片。跨越几代人的混装照片:有的褪色、有的粗糙,且完全没整理过。
- 「一键党」。比起学六个滑杆,更愿意点「自动」然后看前后对比的人。
- 礼物与纪念项目。为相框、幻灯片或纪念卡片准备一张干净的人像版本。
毁掉效果的常见错误,以及各自的解法
- 期待「重建人脸」。这条管线修复的是扫描件里已有的影调、色彩与纹理,无法重建从未被记录下的细节——那种情况应交给专业修图师。
- 拿已经被编辑过的 JPEG 再修复。之前每一次保存都丢掉了一部分数据。只要原始扫描件还在,就应当从原图开始。
- 只看预览就下结论。为速度考虑,预览有尺寸上限;请把导出的文件放大到 100% 再判断是否干净。
Field Notes: Settings That Actually Work
Concrete starting values taken from the tool's own parameters, plus what to change when the first result is not right.
A photo restorer earns its place when the print is the only copy left. The classic job is a 1970s or 1980s colour print that has yellowed, flattened and gathered dust, with faces that still matter. Because nobody can re-shoot it, the work is subtractive: pull the age stain back toward neutral, stop the contrast stretch from amplifying grain, and leave the faces alone. Nine sliders look intimidating, but each one feeds one fixed stage of a fixed pipeline — white balance, scratch repair, denoise, tone curve, clarity, post-denoise, vibrance, sharpening, grain — and no slider can reorder that sequence. Read the diagnosis chips, find the matching row below, then move one slider at a time and drag the compare handle.
| What you see | Start here | Why it works | If it is still wrong |
|---|---|---|---|
| Diagnosis chip reads "Yellowed cast" and the whites look cream | White balance 76 · Tone restore 80 · Vibrance 46 | The automatic value is 58 + cast magnitude × 1.7, clamped to 45–92. Skin pixels that sit in the reddish band are corrected only 72% of the way, so the paper stain lifts without turning faces grey. | Still cream, cheeks turning grey: raise White balance to 86 in steps of 4, or load the Heavily faded prescription, which adds another +10 white balance and +12 tone on top. |
| Grain shows on every flat surface; chip reads "Heavy grain / noise" | Noise reduction 60 · Scratches & spots 62 · Smart sharpen 34 | The prescription is 26 + measured noise × 5.2, and the engine adds up to 38 more when the tone curve is about to stretch hard. The sharpening threshold rises with measured noise (3 + noise × 0.55), so grain is never re-edged into halos. | Skin goes waxy: drop Noise reduction to 48 — the separate chroma pass only switches on at 55. If grain still shimmers, raise Scratches & spots to 70 before touching sharpening. |
| A white crease line runs across a dark jacket or sleeve | Scratches & spots 92 · Clarity / dehaze 32 · Smart sharpen 28 | The detection threshold is 52 − 0.38 × amount, and a ridge counts only where the pixels three across agree while the centre deviates. Repaired tracks are masked, so clarity and sharpening cannot re-edge the fold. | The line is wider than about 3 px, so the fold test fails: stop at 92 and finish it in Scratch & Spot Remover. Keeping sharpening under 24 stops the repair looking carved. |
| Colour is right but the print is flat and slightly dark (median brightness under 82) | Tone restore 62 · Exposure +12 · Clarity / dehaze 40 · Film grain 8 | Automatic exposure is (132 − brightness) × 0.4, which gives +12 at a median of 102. Grain at 8–12 hides the smoother tracks left by defect repair, so repaired areas stop reading as plastic patches. | Highlights lose texture: Exposure +6 and Tone restore 70. Grain above 15 reads as digital noise rather than film, so stay near 10. |
Half the time the right answer is a smaller tool. If grain is the only problem, Photo Denoiser is faster and has no contrast stage to amplify it first. If the marks are wider than a few pixels, Scratch & Spot Remover exposes the radius and sensitivity this pipeline keeps internal. If the veil is even and the tones are merely compressed, Faded Photo Fixer runs its four steps without touching detail at all. Once the picture is clean, Photo Sharpener lets you set amount and radius separately; finish an archive copy with Black & White Converter or Sepia & Vintage Tone.
What it cannot do is invent. There is no inpainting here: a torn corner, a missing eye or a stain covering a whole cheek simply stays. The fold pass looks for continuous multi-row ridges, so a wide torn gap never registers as damage, and grain removal is deliberately capped so edges survive — which means a genuinely out-of-focus face stays soft. The working preview is capped at 2000 px on the long side; the HD export re-runs the identical pipeline at the natural size up to 6000 px, so dust you cannot see at preview scale is still repaired in the file you download.
Sources & further reading
只有一张照片能留下来的时候,修复工具才真正派得上用场。最常见的活是 1970–1980 年代洗出来的彩色照片:泛黄、发灰、落了尘,但人脸仍然重要。这种情形没法重拍,所以修复本质上是「减法」——把岁月留下的偏色拉回中性,别让对比度拉伸把颗粒一起放大,然后放过人脸。九个滑杆看着吓人,但每一个只负责固定管线里的一个固定环节:白平衡 → 划痕修复 → 降噪 → 影调曲线 → 清晰度 → 二次降噪 → 自然鲜艳度 → 锐化 → 颗粒,任何滑杆都不会改动这个顺序。先读顶部的诊断标签,在下表找到对应的那一行,然后一次只动一个滑杆,拖动对比手柄看效果。
| 看到什么 | 从这里开始 | 为什么有效 | 还是不对怎么办 |
|---|---|---|---|
| 诊断标签写着「泛黄偏色」,白色部分变成奶油色 | 白平衡 76 · 影调恢复 80 · 自然鲜艳度 46 | 自动值是 58 + 偏色强度 × 1.7,并限制在 45–92。落在偏红区间的肤色只被修正 72%,所以纸基黄渍被拉掉,人脸却不会变成灰脸。 | 仍然发黄、脸颊发灰:以 4 为步长把白平衡加到 86;或者直接点「褪色严重」处方,它会再叠加 +10 白平衡与 +12 影调。 |
| 每块平坦区域都是颗粒,标签写着「颗粒 / 噪点重」 | 降噪 60 · 划痕与尘点 62 · 智能锐化 34 | 处方算法是 26 + 实测噪点 × 5.2;当影调曲线要大幅拉伸时,引擎会再加最多 38。锐化阈值随噪点升高(3 + 噪点 × 0.55),所以颗粒不会被重新勾边成光晕。 | 皮肤像蜡:把降噪降到 48——独立的色度降噪只在 55 以上才启动。颗粒仍在闪,就先把「划痕与尘点」提到 70,再考虑动锐化。 |
| 深色衣服或袖子上横着一道白色折痕 | 划痕与尘点 92 · 清晰度 / 去雾 32 · 智能锐化 28 | 检测阈值是 52 − 0.38 × 强度;只有在中心偏离、而上下三像素又互相吻合的位置才算折痕。修过的轨迹会被遮罩,清晰度与锐化无法再把它勾回来。 | 折痕宽于 3 个像素,折痕检测就不成立:停在 92,转到 划痕与尘点修复 收尾。锐化保持在 24 以下,修补处才不会显得生硬。 |
| 颜色已经准了,但画面发平、略暗(亮度中位数低于 82) | 影调恢复 62 · 曝光 +12 · 清晰度 / 去雾 40 · 胶片颗粒 8 | 自动曝光是(132 − 亮度中位数)× 0.4,中位数 102 时正好是 +12。颗粒给到 8–12,可以掩盖尘点修复留下的平滑轨迹,修补区不再像一块塑料。 | 高光没了质感:曝光回到 +6,影调恢复到 70。颗粒超过 15 就像数码噪点而不是胶片,留在 10 附近更稳妥。 |
有一半情况,正确的答案是换一个更小的工具。如果只有颗粒问题,照片降噪 更快,而且它没有会先把颗粒拉起来的对比度环节。如果痕迹比几个像素宽,划痕与尘点修复 直接把本管线内部使用的半径与敏感度交给你。如果只是整体蒙了一层均匀的灰黄、影调被压缩,褪色修复 跑完四步却完全不碰细节。等画面干净了,再交给 照片锐化,强度与半径可以分开调;要留档的副本则用 黑白转换 或 褐色怀旧调 收尾。
它做不到的是「无中生有」。这里没有内容补全模型:撕掉的角、缺失的眼睛、盖住半张脸的污渍,都还会留在那里。折痕检测找的是连续多行的脊状结构,一条宽的撕裂缺口不会被判定为损伤;降噪强度是刻意限制的,以保住边缘——所以真正脱焦的脸依然发软。工作预览最长边被限制在 2000 像素;HD 导出会以原始尺寸(最长边上限 6000 像素)重跑同一套管线,预览里看不见的细尘,在下载的文件里同样会被修掉。
参考来源与延伸阅读
FAQ
Is my photo uploaded to a server?
Can it restore torn or missing parts of a photo?
Why does my result look soft?
Is it really free and unlimited?
What is the best format to download?
我的照片会被上传到服务器吗?
它能修复照片上撕裂、缺失的部分吗?
为什么我的结果看起来发虚?
真的免费且不限次数吗?
下载时选什么格式最好?
Related Tools
Faded Photo Fixer
Revive washed-out colors and low contrast in decades-old prints.
恢复数十年老照片中褪去的色彩与对比度。
Scratch & Spot Remover
Smooth away scratches, dust and stains with smart local smoothing.
用智能局部平滑消除划痕、灰尘与污渍。
Photo Denoiser
Remove film grain and digital noise while keeping real detail.
去除胶片颗粒与数码噪点,同时保留真实细节。
Photo Sharpener
Recover crisp edge detail from soft, out-of-focus old photos.
从发虚失焦的老照片中恢复清晰锐利的边缘细节。
Red Eye Remover
Fix red eyes in old flash photos with a single click on the eye.
点击眼睛即可修复老式闪光灯照片中的红眼。
Black & White Converter
Beautiful monochrome conversion with full channel control.
带完整通道控制的优美黑白转换。
Related Guides
How to Restore Old Photos of Your Grandparents
A complete step-by-step guide to reviving family portraits.
修复祖辈肖像照的完整分步指南。
Faded Photo Restoration: Color & Contrast
Understand why photos fade and how to bring color back safely.
理解照片褪色的原因,以及如何安全地恢复色彩。
Scanning Old Photos: Best Settings & Prep
Get the best digital copy possible before you start restoring.
在开始修复前,先获得最好的数字拷贝。
10 Photo Care Tips to Preserve Memories
Keep your physical and digital photos safe for the next generation.
让纸质与数字照片世代相传的保养技巧。