惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
P
Proofpoint News Feed
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
A
About on SuperTechFans
T
Tenable Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
I
Intezer
D
DataBreaches.Net
爱范儿
爱范儿
T
Threatpost
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
K
Kaspersky official blog
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Y
Y Combinator Blog
Cyberwarzone
Cyberwarzone
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
AWS News Blog
AWS News Blog
博客园 - 聂微东
C
Check Point Blog
S
Securelist
有赞技术团队
有赞技术团队
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
D
Docker
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tailwind CSS Blog
L
Lohrmann on Cybersecurity
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog

博客园 - Cynthia_W

aravis开源库-kylinv10编译 GIGE相机连接不上或采集不到图像的原因分析 QDataStream中写入的数据比QByteArray多了4个byte QT中英文翻译 SUSE 15 SP7系统安装QT SUSE 15 SP7下载安装 相机 - 量子效率(QE) 相机 - 增益 读出噪声的计算 Tango10.0.2升级Tango10.1.1 Tango9.4.2升级Tango10.0.2 Tango9.4.2环境搭建 VMware 共享文件夹(大文件拷贝) VMware 清理虚拟机临时文件(无法写入本地文件,正在取消文件复制操作) VS 2022离线安装包制作 Tango控制系统 windows驱动程序编程 PRNU光响应非均匀性 禁用容错堆 QT相关资料 socket相关资料
暗场校正(Dark Correction)
Cynthia_W · 2026-02-24 · via 博客园 - Cynthia_W

一、先拍暗场图 Dark Frame

条件:

  • 盖上镜头 / 遮住镜头,完全无光
  • 和正式拍摄完全一样的参数:
    • 相同曝光时间
    • 相同增益 / ISO
    • 相同温度(制冷相机尤其重要)
  • 拍 N 张(比如 10~50 张)求平均 → 得到 平均暗场 Dark_Avg

为什么平均?
为了压低随机噪声,只保留稳定的暗电流和固定噪声。


二、校正公式(超简单)

最终图像 = 原始图像 − 平均暗场

Image_Corrected[y][x] = Image_Raw[y][x] - Dark_Avg[y][x]


三、你会得到什么效果?

  • 去掉每个像素固定的偏置
  • 去掉暗电流背景
  • 去掉竖线、横线、固定噪点
  • 保留:光信号 + 光散粒噪声 + 读出噪声 + 暗噪声(随机部分)

四、工程上 3 个关键点

  1. 参数必须一致
    曝光、增益、温度一变,暗场立刻失效,要重拍。

  2. 暗场要平均多张
    平均越多,暗场越干净。

  3. 注意不要减成负数 
    图像是无符号类型(uint8/uint16),直接减会下溢。

    diff = raw - dark;
    if (diff < 0) diff = 0;

posted on 2026-02-24 16:56  Cynthia_W  阅读(61)  评论(0)    收藏  举报