|
|
a65c86bb24
|
改进阴影检测:用原始灰度值判断而非仅依赖背景估计
背景估计受大核模糊影响,阴影处的值可能被周围亮区域拉高。
改为同时检测原始灰度和背景估计,低于中位数45%/50%的区域
识别为阴影,并用渐变过渡避免硬边。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-19 16:36:56 +08:00 |
|
|
|
2dcfcda850
|
修复文档边缘阴影变纯黑的问题
通过背景亮度中位数计算阴影阈值,背景估计值低于中位数60%的区域
识别为拍照阴影,直接输出白色而非当作墨迹处理成黑色。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-19 16:34:37 +08:00 |
|
|
|
7352f55e9e
|
初次完美版
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-19 16:33:38 +08:00 |
|
|
|
28847c0a62
|
Add .gitignore
|
2026-03-19 14:43:04 +08:00 |
|
|
|
af37c2e1e8
|
Initial commit
|
2026-03-19 14:43:04 +08:00 |
|