用户反馈"这个 App 拍出来的照片和官方软件还是有区别",即将提供两张对照照片。 先把这个工具准备好,文件到手即可定位差异出在哪一层,而不是凭肉眼猜。 按三层从外到内报告: 1. 容器层:是否厂商 MDT(JPEG + DDT 块 + 尾)、有哪些块、各多大、RENDER 参数 (翻转/旋转)——先排除结构性差异;校准文件(magic 5AA5000x)会被识别并说明 它描述的是传感器而非场景。 2. 数据层:FRAME(原始测量帧)与 NUC 块的 min/mean/max/spread。**这一层若不同, 差异来自采集(传感器状态/FFC/标定),不是我们的配色映射**。 3. 图像层:JPEG 亮度分位数、均值、Laplacian 锐度。两个文件尺寸一致时还给出 逐项对比(亮度差、对比宽度差、锐度比)。 实测校验:对仓库内两张真机照片输出正常(960x720 rot=0 与 720x960 rot=90, 各块与极值/测点都能读出);对两个标定文件正确识别为"非照片"并跳过对比。 .class 加入 .gitignore(原来是 manual_images 专用的)。
42 lines
929 B
Plaintext
42 lines
929 B
Plaintext
# 运行产物(编译/运行/调试生成,不入库)
|
|
build-artifacts/*.log
|
|
build-artifacts/*.txt
|
|
build-artifacts/*.bin
|
|
build-artifacts/*.bmp
|
|
build-artifacts/*.png
|
|
build-artifacts/*.rgb
|
|
build-artifacts/*.exe
|
|
build-artifacts/*.dll
|
|
build-artifacts/demo3_*
|
|
build-artifacts/tsdk_*
|
|
build-artifacts/official_*
|
|
build-artifacts/type1_*
|
|
|
|
# 但保留核心数据文件(git add -f 或下面白名单)
|
|
!build-artifacts/mag160c_official.ddt
|
|
!build-artifacts/mag160c_official_nuc_gain.bin
|
|
!build-artifacts/mag160c_official_nuc_thr.bin
|
|
!build-artifacts/mag160c_demo3.exe
|
|
!build-artifacts/tsdk_pair2.exe
|
|
!build-artifacts/tsdk_pair2_fixed.exe
|
|
!build-artifacts/tsdk_pair3.exe
|
|
!build-artifacts/libusb-1.0.dll
|
|
!build-artifacts/libusb0.dll
|
|
|
|
# 临时/系统
|
|
*.tmp
|
|
Thumbs.db
|
|
Desktop.ini
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# ZCode 会话目录
|
|
.zcode/
|
|
|
|
# Java 编译产物(手册配图生成器、tools/ 下的小工具)
|
|
*.class
|