diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/.gitignore b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/.gitignore new file mode 100644 index 00000000..02bc48d3 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/.gitignore @@ -0,0 +1,5 @@ +node_modules +dist +dist-ssr +*.local +.DS_Store diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/README.md b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/README.md new file mode 100644 index 00000000..58d53f6b --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/README.md @@ -0,0 +1,64 @@ +# RUN:面向隐蔽目标分割的可逆展开网络 交互式教程 + +基于论文 *RUN: Reversible Unfolding Network for Concealed Object Segmentation*,由 **paper-skill** 生成的完整 React + TypeScript + Vite 网页项目。 + +## 论文与素材 + +- 原文:https://arxiv.org/abs/2501.18783v2 ,ICML 2025,PMLR 267:22853–22864。 +- 教程共 10 页(含封面)。实验数值引用原文 Table 1,适用条件与出处保留在页面和讲稿中。 +- 图形为本教程代码绘制的教学示意,不含第三方摄影或论文原图。合成雾化实验不是 RUN/RUN+ 推理,其强度 MAE 不代表论文分割指标。 + +## 本地运行 + +本项目由 paper-skill 的论文专属章节和交互组件生成。 + +```bash +npm install +npm run dev # 开发预览 http://localhost:5173 +npm run build # 产出 dist/ 静态站点 +npm run preview # 预览构建结果 +``` + +最终提交应保留整个项目目录,不要只复制 `index.html` 或 `dist/`。 + +## PPT 演示模式 + +每章包含多张独立幻灯片,每页固定为 1600×900。顶部翻页,左侧预览选页, +“讲稿”打开演讲者备注,“放映”进入全屏。方向键翻页时不会抢占输入控件。 +手机保持原有排版,支持双指缩放、放大后拖动以及缩放复位。 + +首页的两种方法通过 `useCoverPlayback()` 同步播放同一生活场景,并用一句话引出 +核心方法。正文可以直接点击或拖动画布里的物体,也可以用少量关联滑块组成 +一个完整实验;不同页面应选择主题内不同的生活动作,而不是重复同一动画。 +不同页面按教学问题安排生活场景、交互、论文公式或实验结果;同页并置的画面与 +形式化表示由同一状态驱动,其他依据可放在独立页面或讲稿中。 +不需要为动画添加播放、暂停、单步、重置或标签切换控件。 + +通过 `chapters[].scenes` 指定每页目标、讲稿和专属 `componentId`;正文通过统一组件注册表注册,版面按内容自由设计。 +正文在固定画布内自由构图;生成器应按教学问题安排视觉重点,不能让每页都成为左图右卡。 +新项目不再提供固定的“左图右文”引入页或“三列文字”总结页。结论应融入大幅动画、 +交互结果或充分可读的论文证据图。 +正文使用 `--ppt-body-text`、`--ppt-body-heading`、`--ppt-body-emphasis` 三种字号;删掉重复的小标签,给公式、机制和结果留足可读空间。生活动画用于引入和解释合适的概念,其他页面可以直接操作论文变量、结构或证据。详细出处与类比边界放入讲稿,密集内容拆成新页。 +`outlines.json` 由章节组装器生成。页面截图存入 `public/thumbnails/`; +`?capture=1&slide=页面ID` 可在 1600×900 窗口中单独捕获页面。 + +## 目录结构 + +| 路径 | 说明 | 是否生成器(Agent)修改 | +| --------------------------------------------------- | ---------------------------------------------- | ----------------------- | +| `src/data/tutorial.ts` | 论文专属内容(章节、模块、公式、B 站、元信息) | ✅ 唯一数据文件 | +| `src/styles/paper.css` | 论文专属 `:root` 配色覆盖 | ✅ 仅此 CSS | +| `src/modules/*.tsx` + `registry.tsx` | 论文专属 Canvas 交互组件 | ✅ 在 registry 注册 | +| `public/images/*` | 论文原图(可选) | ✅ 仅放图 | +| `public/thumbnails/*` | 幻灯片截图 | ✅ 生成后截图 | +| `outlines.json` | 每页目标、交互与讲稿 | 由组装器派生 | +| `src/components/*` | 演示框架与场景展示组件 | ❌ 模板框架默认 | +| `src/lib/*` | 静态工具(canvasKit / B 站) | ❌ 模板框架默认 | +| `src/styles/{tokens,components,presentation}.css` | 设计令牌、组件与演示样式 | ❌ 模板框架默认 | + +## 配色语义(contract.md §5,保持稳定) + +- `--blue` 指导/当前状态,`--green` 成功/本文方法,`--red` 失败/传统方法 +- `--orange` 用户强调,`--purple` 辅助机制 + +切勿把 `--accent` 重新定义成别的语义角色。 diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/index.html b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/index.html new file mode 100644 index 00000000..769b9608 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/index.html @@ -0,0 +1,13 @@ + + + + + + + RUN:面向隐蔽目标分割的可逆展开网络 · 交互式教程 + + +
+ + + diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/outlines.json b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/outlines.json new file mode 100644 index 00000000..a30d6eb1 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/outlines.json @@ -0,0 +1,95 @@ +{ + "title": "RUN:面向隐蔽目标分割的可逆展开网络", + "pages": [ + { + "id": "domain-conflict", + "chapterId": "chap-1", + "title": "掩码歧义如何变成 RGB 重建冲突", + "goal": "比较同一像素的前景掩码判断与 RGB 背景解释。", + "summary": "用前景、背景和残差把问题动机与分离模型连起来。", + "interaction": "选取 5×5 区域中的像素并改变掩码值,观察前景、背景与重建残差。", + "next": "稀疏规则进一步降低不确定像素对分离的干扰。", + "snippet": "问题动机见 PDF p. 2 Sec. 1;Fig. 2, PDF p. 3。分离模型见 PDF p. 3 Sec. 3.1 Eqs. (1)-(4)。面板使用归一化合成数值,不复现论文图像。" + }, + { + "id": "separation-model", + "chapterId": "chap-2", + "title": "分离模型与不确定像素的稀疏权重", + "goal": "读懂前景、背景和残差,并理解不确定掩码为何不受稀疏惩罚。", + "summary": "观察单像素重组残差;讲稿补充论文对 M̃ 与 w 的阈值规则。", + "interaction": "调节 M 和 B,数值、分解条与残差即时更新;按讲稿判断阈值映射和权重。", + "next": "把交替优化更新展开为有限阶段网络。", + "snippet": "分离模型见 PDF p. 3 Sec. 3.1 Eqs. (1)-(4),使用归一化灰度单像素例 C=0.8。稀疏规则见 PDF p. 4 Sec. 3.1 Eq. (5):[0.1,0.4) 映射到 0.1,(0.6,0.9] 映射到 0.9;[0.4,0.6] 时 w=0,其余 w=1。边界包含关系严格按论文;交互不是论文数据。" + }, + { + "id": "unfolding-structure", + "chapterId": "chap-3", + "title": "从 M/B 交替更新到 K 阶展开网络", + "goal": "理解 M 与 B 的交替优化如何映射到 RUN 阶段结构。", + "summary": "讲稿说明交替更新关系;画面逐阶段查看 SOFS 与 ROBE 的职责。", + "interaction": "选择阶段 K 并点选 SOFS/ROBE,显示该阶段输入、输出与更新职责。", + "next": "进入 SOFS 的双感受野掩码细化。", + "snippet": "交替更新见 PDF pp. 4-5 Sec. 3.2.1 Eqs. (6)-(17):先更新 M,再以新 M 和旧 B 更新背景;背景子问题可闭式求解,掩码侧不伪造完整网络结果。展开结构见 Sec. 3.2.2 Fig. 3 Eqs. (18)-(21)。论文实验默认 K=4,见 PDF p. 6 implementation details;不宣称 K=4 对所有场景最优。" + }, + { + "id": "sofs-rss", + "chapterId": "chap-4", + "title": "SOFS 如何兼顾边缘和漏分区域", + "goal": "区分局部感受野与大感受野在 RSS 中的职责。", + "summary": "操作输入特征和局部/广域分支权重,检查输出掩码与边缘响应。", + "interaction": "选择 5×5 特征位置并调节两分支贡献,输出格图实时更新。", + "next": "查看 ROBE 如何在 RGB 域更新背景并重建图像。", + "snippet": "PDF p. 5 Sec. 3.2.2 Eqs. (18)-(19), Fig. 3。小感受野用于边缘附近局部细化,大感受野用于补足漏分区域;玩具网格不等价于真实 VSS/RSS 网络。" + }, + { + "id": "reconstruction-loss", + "chapterId": "chap-5", + "title": "ROBE 背景更新与联合重建监督", + "goal": "理解背景闭式更新,并区分掩码、边缘与重建损失。", + "summary": "讲稿给出 ROBE 更新关系;交互切换各损失项的监督对象。", + "interaction": "开关 BCE、IoU、Dice、重建 MSE,观察对应掩码、边缘和重建约束。", + "next": "检查这些机制在 COD 协议下的实验结果。", + "snippet": "ROBE 更新见 PDF p. 5 Sec. 3.2.1 Eq. (17):B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ),真实 RUN 还用学习网络细化背景。联合损失见 Sec. 3.2.2 Eq. (22)。交互说明监督对象,不模拟训练精度或伪造消融数值。" + }, + { + "id": "cod-results", + "chapterId": "chap-6", + "title": "RUN 在 COD10K 同设置下的结果", + "goal": "在统一骨干和评测设置内比较主要指标,不跨协议拼接结论。", + "summary": "聚焦 Table 1 的 ResNet50 common setting,比较 COD10K 的 Fβ、MAE、Eφ、Sα。", + "interaction": "选择指标和 FEDER/FocusDiff 基线,联动查看四指标矩阵、局部数轴和绝对/相对差值;不改变论文测量结果。", + "next": "不同 COS 子任务采用不同数据与指标协议。", + "snippet": "PDF p. 6 Table 1,ResNet50 common setting, single input scale/single stage:COD10K RUN Fβ=0.747, MAE=0.030, Eφ=0.903, Sα=0.827;FocusDiff Fβ=0.730, MAE=0.031, Eφ=0.897, Sα=0.820。Fβ/Eφ/Sα 越高越好,MAE 越低越好。" + }, + { + "id": "transfer-protocols", + "chapterId": "chap-7", + "title": "PIS、MTOS 与 TOD 不能合并排行", + "goal": "按任务核对数据集、指标方向和训练划分。", + "summary": "逐个查看跨任务评测协议,区分可以比较与不应合并的指标。", + "interaction": "选择 PIS、MTOS 或 TOD,匹配数据集与指标组合并核对答案,反馈解释协议错配的原因。", + "next": "最后核对 RUN+ 扩展和论文明确的适用边界。", + "snippet": "PDF pp. 7-8 Tables 2-4,Appendix A.1 p. 12。PIS: mDice/mIoU/Sα;MTOS: mDice/AUC/SEN;TOD: mIoU/Fβmax/MAE。数据划分与骨干不同,不跨任务比数值。" + }, + { + "id": "run-plus", + "chapterId": "chap-8", + "title": "RUN+ 的雾化鲁棒性来自额外重建器", + "goal": "分清 RUN 主方法与加入预训练去雾模型的扩展。", + "summary": "对照论文报告的 RUN/RUN+ 结构差别及雾化实验范围。", + "interaction": "调节真实透射率、空气光与估计透射率,联动观察合成参考图、雾化输入、解析恢复和强度 MAE。", + "next": "回顾双域联合建模解决的问题与仍未解决的边界。", + "snippet": "PDF p. 8 Fig. 5 Sec. 4.3;Appendix B p. 13。雾化在 COD10K 模拟,RUN 仍退化,RUN+ 使用额外预训练去雾模型。页面另用教学合成模型 I=tJ+(1−t)A 与解析逆变换说明估计误差;非 RUN/RUN+ 推理,强度 MAE 不等于论文分割 MAE。" + }, + { + "id": "limitations", + "chapterId": "chap-8", + "title": "复杂退化、资源开销与分辨率仍有限制", + "goal": "识别论文作者明确列出的未来工作方向。", + "summary": "检查低层视觉模型整合成本和 352×352 输入设置对应的限制。", + "interaction": "逐项判断同协议结果、混合退化、高分辨率和资源开销四个结论,查看证据解释并汇总判断结果。", + "next": "结束教程。", + "snippet": "Appendix B p. 13;训练测试缩放到 352×352 见 Sec. 4 p. 5。低照度、模糊、噪声仅作为作者提及的方向,不写成已经测得的结果。" + } + ] +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/package-lock.json b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/package-lock.json new file mode 100644 index 00000000..90516069 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/package-lock.json @@ -0,0 +1,1903 @@ +{ + "name": "run-v2", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "run-v2", + "version": "1.0.0", + "dependencies": { + "react": "^18.3.1", + "react-dom": "^18.3.1" + }, + "devDependencies": { + "@types/react": "^18.3.12", + "@types/react-dom": "^18.3.1", + "@vitejs/plugin-react": "^4.7.0", + "typescript": "^5.6.3", + "vite": "^6.4.3" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.13.tgz", + "integrity": "sha512-j1nvOQCZYSgp7HLmisnCXFTpVvFODiijQ9QHkORfGKWH6YDtskTEeCJS7eV545GZ9UBzrq0e2xsOd5QQ5PjIqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.13", + "@babel/helper-compilation-targets": "^7.29.13", + "@babel/helper-module-transforms": "^7.29.13", + "@babel/helpers": "^7.29.13", + "@babel/parser": "^7.29.13", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.13", + "@babel/types": "^7.29.11", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.14.tgz", + "integrity": "sha512-qSY56jgW5JnSXzuekLVil6zaOQxOCtOHidr65KkaMBw772IuAY28Qx4ZykAcDn8+FRF15qk80XzKwgSc/RYW6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.14", + "@babel/types": "^7.29.14", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.13.tgz", + "integrity": "sha512-8WxJ4/Vmes3ghacj8VOJy3NW8eyHiFY/4thU/LSBuBE470+igjR/j1ZTNn8fV5VdNrLx6iXUwig526UdOvfP0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.14.tgz", + "integrity": "sha512-2XDvQVd9JESaOgGc4jT2/jquTAO7ppA5noTZQqH+MmZ89yjCzScLwtCPbWtkPZylL+TLWR49IwWmk+QkRR4GsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.14" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", + "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.14.tgz", + "integrity": "sha512-CXvKMFvM80ihI7Vox9jb+kQjnyjESQNPM+vB7U0Zz6TWuZA+Z/FL0QPMH300h33qJtIx+REeBhXqWOPW48TcAQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.14.tgz", + "integrity": "sha512-6E3Mi1r0B0umq6vmZa4/78q+64fqO2YY0THUdjDPKUCKhNb0yQy5NQIaPHCSD3ryTgiTss//P4JsWS80AsZ6LQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.14" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.14.tgz", + "integrity": "sha512-VL220vXuyO2z3rNIQwY7ftj9UwpqOt+33sH+sBWkOekbsSR2g7EEMnOx24ZlCH0xOA3DM/33SifVFGbnJD8r/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.14" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.29.7.tgz", + "integrity": "sha512-TL0hMc9xzy86VD31nUiwzd5otRAcyEPcsegCxolO0PvcXuH1v0kECe/UIznYFihpkvU5wg/jk4v0TTEFfm53fw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.29.7.tgz", + "integrity": "sha512-06IyK09H3wi4cGbhDBwp5gUGo0IKtnYa8tyTiephirPCK6fbobVGiXMMI5zLQ4aKEYP3wZ3ArU44o+8KMrSG/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.14.tgz", + "integrity": "sha512-RAdQJrBgmIH1FWvN0X+1hoDxzMzlP4cv/1Zi4dn4tG1H0cTb+rw7CzUxQJhp1f4ANd8j5vH3fy8BAWFGkBDEsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.14", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.14", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.14", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.14.tgz", + "integrity": "sha512-UjI/dKmwJwT9pOszJitq2G6EObZPnsZUfdCr92z2TlF3EZK9J3EdfOKUrCzHl6wFthbzwhzl1Soc/UIwxRiq6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.14", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.3.tgz", + "integrity": "sha512-lhTtjtoEArWBjismtfS761S9Hlyn+nIZqOZVYoZ1Xn82PMNMVnk+jj/NhC4fAXGTs7ydONcJiR5vyQBTMDu27g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-beta.27", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz", + "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.68.5.tgz", + "integrity": "sha512-4iPGohjhOlA8ovAwOrHcbsLFw2X0lG49y2iWSlyLrRLJMO47D+XNM930CcGVQKPUpCsDfCdK3BV0y1ki6OBdhw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.68.5.tgz", + "integrity": "sha512-mBK6NsYThYGRkGy8uX7fODOIT0YHz9UyvtYv/fhqdfEZw8Sg2kPiuUsQ8OmzRfq5ve0nHqZVDz2zLOy1xVaVzQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-x64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-x64/-/rollup-android-x64-4.68.5.tgz", + "integrity": "sha512-8D/A3B5bsLlBcVGsUN+IWcA0wreB+Fvmvs3PLBHyEq3itxGefdPsubG/tPHvezUKPTDAh05YoutzsVFDxkcrJQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.68.5.tgz", + "integrity": "sha512-xJVTzKZnwwQsQ5WA9cV4Q8l1SVYF9UyVa/3ECoCFfgtow4MUt7HcI3AB8Hwa/4790fimHPXzYfsuyMp67ErQ8w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.68.5.tgz", + "integrity": "sha512-0Ft351J6xgaXhBtsRtV1qC1iFRSGzOoEpqbfIw5kPA1/R2ldOON8IVHx15XK6X46OI1QvxkETmWT+BIQxfHiOQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.68.5.tgz", + "integrity": "sha512-crcRf4EJ792/UuuPf8QduPogDOS9t6E7Mlkvgk8KSBQ/r+ZYyL4VKLEg4GmNmz4AUjq/Mr+4fHJ/RqtCFXq47w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.68.5.tgz", + "integrity": "sha512-6SrbCoHnaFiipnX4TsDnQ74Zd8puOFQma6WdXDvnh0/Oy5Ash2RbNbeOdfbQNQOyNZe65eAg/G/U+EOoaR284w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.68.5.tgz", + "integrity": "sha512-Du8EftwTEY5i9H/VmLrvHrv8W4WpnLSvlT4/th5zQR10baXOQM/8Vn+q4MkNZrWwwulUuhuAUItevugalTNCLA==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.68.5.tgz", + "integrity": "sha512-eT4t5h+qexha98N75YpiKMY1XDfimwkVL4TCHgQXr3JRFEqRacd38ldXB7dAAi5G62Mkuxlvw7VBHe5UXY2UHw==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.68.5.tgz", + "integrity": "sha512-jUsTbXqgd+cJlwgKePc56J8Yie+JZRWl7xiViSR2eQuloZ26PzWCS7ZJrCEZRmY7vrqhnvnbj6fP1ikinE0dfQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.68.5.tgz", + "integrity": "sha512-HHjSkN3VAI8ZD45xEO4WcV5+yUB04vpR0r5g0ayLX8YfafV61hAIWoh8Qa22HujnxEtOXYDstF4qKbWGicI2RA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.68.5.tgz", + "integrity": "sha512-Y//CvF+v/RiwP6ZscB23xFU+x8BtSbRpwEnVb6140X1TBqSjrZwQwdH/hRCG2FKBaUF2sWsOVjdeZ5UmsF5Cqg==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.68.5.tgz", + "integrity": "sha512-O3fyuDSEV+sXQNTfVfZFPCdc5QymYVxS4PT7YXxsouO/LZhmYy8y6xNZJx9tBQCiR96c2sBfRNLRztkhnvahcg==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.68.5.tgz", + "integrity": "sha512-xIzFIoRROEVGJZBc/ljGteOcF/sA6Hjuz+x3zHNdcFc24xlVenPm3RPTOJfNvNVF0MZTyfGq1YYIhG4Tj/nYiA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.68.5.tgz", + "integrity": "sha512-srRfsMFnBDxlmpXwlStiwUSQ/4jCbR4u4i52pZg+bV+Anni0V5EmDeHGZ4YbmTIvM+XhcvEecFcjHmZWFWzVpA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.68.5.tgz", + "integrity": "sha512-hkrVfI5WMnWaZg0vaM8DlJCRlIUhaRa3Z2BT99AuFl739uIcOnnvpYr7kVhUiPuCvHvWEPgExtXtgNRpBDuxbw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.68.5.tgz", + "integrity": "sha512-ZWDUe13obQhNg0qD1pkft3aWBZgDD26TO3ADvuJ2T9SN/T3h632VRVc+GDCjgRzEnd8a8yCOkl9opkkTPxhF0Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.68.5.tgz", + "integrity": "sha512-9TsAn9NJQv5NsyGS4yOmJZGlM2ASrzQXC6pc6hrjduk5QwtoapONtooLiDSJlPq6+IAwhS2AdJ9+B8tidcdh5w==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.68.5.tgz", + "integrity": "sha512-JK5S9YhArjVwuetZ9nf6/GdpiXLl7DAVTdRUpF40wVMQNq28hkBrQI1+xy9sqjqtPvW08xagGPfBCBj5wLerZA==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.68.5.tgz", + "integrity": "sha512-pF0UxfDULcfZhdp5azfIvTW5c++AYjYs0Q8iTCzVCVzVH9+9e0Ah0vIZS3MIZbO7GoyPjTuPjAcUgQQvYbM81A==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.68.5.tgz", + "integrity": "sha512-5bkgrD3xTj4pVAaKZ/D+GBWfWaJtorYRdj8i7nHcCsalDaIgiGVmCb/KucTO8P80UXCcPnqMJGcCS4xM94qsbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.68.5.tgz", + "integrity": "sha512-Fu+Jd8JWALOrVQdXTBfqUgkDXqWYqWAfjrpvSuvqYOVaSfwwi2wc9TORUEbbyd/8dsAmHLi04K9FnIwnjvWoJQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.68.5.tgz", + "integrity": "sha512-WX+jUzphTWxca8eKMPtNSTW58aW6TxScbKQ3Tc0Nagjwrysy1Bu0Wl7BUt5STCPB+WM0EisGFFAyjfZ952f/JA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.68.5.tgz", + "integrity": "sha512-z7EKzmD+jJQ3/ISVQSBkLptuUhtYcPf9Vamg8Ovf2jnZMN/Zvf5xCxHPh+TWPoUx9knc1al4EIOi6c9XayVXyQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.68.5.tgz", + "integrity": "sha512-VnHYErHaF8wRwdvq0A92NHmE1/u0sbuSgyTgGyOrH1vO14GWhu9aXERntg9SPnZoyK/LM+X4YawBE4g1FNkLBA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.68.5.tgz", + "integrity": "sha512-gVfBrzSqeYl0/QRJegeK9njmGxojS3oiU9cAHNY0wU22AjS44dGzt4WnnuYsTCNO8P40H4Ulykg8cxq2zWWo9Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.2" + } + }, + "node_modules/@types/estree": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.10.tgz", + "integrity": "sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/prop-types": { + "version": "15.7.15", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", + "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "18.3.31", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.31.tgz", + "integrity": "sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", + "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^18.0.0" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz", + "integrity": "sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.28.0", + "@babel/plugin-transform-react-jsx-self": "^7.27.1", + "@babel/plugin-transform-react-jsx-source": "^7.27.1", + "@rolldown/pluginutils": "1.0.0-beta.27", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.17.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.11.38", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.38.tgz", + "integrity": "sha512-rMgy5YW7x28SMfXHLlVZDBqlWzYZ0x2rVR/6FWrNBF0chjigARK1H6nM0hKA1Um3kPOlkQFVtjJs00d2N1ezuw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/browserslist": { + "version": "4.29.6", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.6.tgz", + "integrity": "sha512-CmVVIQ3RVc5HxYEc9X84GvxK/C8C1wH8TlKAiO7uTxF8PDwt7r8t9Qk3J9NkMOVzX5O/HbLv3yzxZg9HPrnI9w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.11.37", + "caniuse-lite": "^1.0.30001826", + "electron-to-chromium": "^1.5.486", + "node-releases": "^2.0.64", + "update-browserslist-db": "^1.4.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001826", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001826.tgz", + "integrity": "sha512-wTB+9tIbLro/BCXwLuNV1meHE4L9dS6dArMDwgYfNBPMYScqClHyGunhkCSDtHhe/69Xl0sHlKgBVZ+fNsYtWA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/csstype": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.4.tgz", + "integrity": "sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.487", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.487.tgz", + "integrity": "sha512-qWotOhQYeYEj+DK4+Y+cfPj44qiC6ETIiWtJLfmDJydED2BJJ7loPA4SfBbbrMI6X/X3tryJgxnY9nxsO545Zw==", + "dev": true, + "license": "ISC" + }, + "node_modules/esbuild": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/node-releases": { + "version": "2.0.65", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.65.tgz", + "integrity": "sha512-PfvofsGQ+MiOQIPkX9fU8ELUWmy5zL74CdQaph/ismKszfFkfwXaw0cGiwbwym2hT9k5+mdyl8O5WQ1MD8EHmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz", + "integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.20", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/react-refresh": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz", + "integrity": "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.68.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.68.5.tgz", + "integrity": "sha512-m6toRYCueVCY+5aEIriX7Dc36g3EHzn3Wk7xCW5aGgCQtTo4uXLZiZPNhDFMmPfVSvC92y3wEwIP2DCUp/ukXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.10" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.68.5", + "@rollup/rollup-android-arm64": "4.68.5", + "@rollup/rollup-android-x64": "4.68.5", + "@rollup/rollup-darwin-arm64": "4.68.5", + "@rollup/rollup-darwin-x64": "4.68.5", + "@rollup/rollup-freebsd-arm64": "4.68.5", + "@rollup/rollup-freebsd-x64": "4.68.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.68.5", + "@rollup/rollup-linux-arm-musleabihf": "4.68.5", + "@rollup/rollup-linux-arm64-gnu": "4.68.5", + "@rollup/rollup-linux-arm64-musl": "4.68.5", + "@rollup/rollup-linux-loong64-gnu": "4.68.5", + "@rollup/rollup-linux-loong64-musl": "4.68.5", + "@rollup/rollup-linux-ppc64-gnu": "4.68.5", + "@rollup/rollup-linux-ppc64-musl": "4.68.5", + "@rollup/rollup-linux-riscv64-gnu": "4.68.5", + "@rollup/rollup-linux-riscv64-musl": "4.68.5", + "@rollup/rollup-linux-s390x-gnu": "4.68.5", + "@rollup/rollup-linux-x64-gnu": "4.68.5", + "@rollup/rollup-linux-x64-musl": "4.68.5", + "@rollup/rollup-openbsd-x64": "4.68.5", + "@rollup/rollup-openharmony-arm64": "4.68.5", + "@rollup/rollup-win32-arm64-msvc": "4.68.5", + "@rollup/rollup-win32-ia32-msvc": "4.68.5", + "@rollup/rollup-win32-x64-gnu": "4.68.5", + "@rollup/rollup-win32-x64-msvc": "4.68.5", + "fsevents": "~2.3.2" + } + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/semver": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.2.tgz", + "integrity": "sha512-GYrCADwpu6yV5OAvchkQ27Z5wwMxWAEMg5NNWjyHh/5DboFFqbdbvYNIvZouQpxXyeMPoTOh0vdPYKlf0ZswdQ==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.4.0.tgz", + "integrity": "sha512-WPJuOnjI9FWDct4fB+ej4Mz8opLaw5CDcZ2t44tFZ0vIQVYWzBhWR3mkixuUj/A7+vY4V9+ApOZ2YYLwdgq46w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/vite": { + "version": "6.4.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.6.tgz", + "integrity": "sha512-RtsraAwEG68idOA6iUOoIpOlcSKROnf815aIq9qHTSrDNpLoBrBa12suyfcEd8qn0xwOVQI1Yhm1GbmTjF600A==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "picomatch": "^4.0.2", + "postcss": "^8.5.3", + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + } + } +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/package.json b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/package.json new file mode 100644 index 00000000..23b96d5b --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/package.json @@ -0,0 +1,23 @@ +{ + "name": "run-v2", + "private": true, + "version": "1.0.0", + "type": "module", + "description": "Interactive Simplified-Chinese tutorial for RUN: Reversible Unfolding Network for Concealed Object Segmentation — generated by paper-skill (React + TypeScript + Vite).", + "scripts": { + "dev": "vite", + "build": "tsc && vite build", + "preview": "vite preview" + }, + "dependencies": { + "react": "^18.3.1", + "react-dom": "^18.3.1" + }, + "devDependencies": { + "@types/react": "^18.3.12", + "@types/react-dom": "^18.3.1", + "@vitejs/plugin-react": "^4.7.0", + "typescript": "^5.6.3", + "vite": "^6.4.3" + } +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/paper.json b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/paper.json new file mode 100644 index 00000000..24c6331e --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/paper.json @@ -0,0 +1,21 @@ +{ + "schemaVersion": 1, + "paperName": "run_reversible_unfolding_network_for_concealed_object_segmentation", + "title": "RUN: Reversible Unfolding Network for Concealed Object Segmentation", + "authors": ["Chunming He", "Rihan Zhang", "Fengyang Xiao", "Chengyu Fang", "Longxiang Tang", "Yulun Zhang", "Linghe Kong", "Deng-Ping Fan", "Kai Li", "Sina Farsiu"], + "year": 2025, + "venue": "ICML 2025, PMLR 267:22853–22864", + "paperUrl": "https://arxiv.org/abs/2501.18783", + "participants": [ + { + "name": "葛熠", + "github": "nhd-nana" + } + ], + "topics": [], + "skillVersion": "1.5.0", + "status": "review", + "entry": "index.html", + "version": "geyi1118", + "versionDate": "2026-11-18" +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/public/images/.gitkeep b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/public/images/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/App.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/App.tsx new file mode 100644 index 00000000..573844bd --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/App.tsx @@ -0,0 +1,96 @@ +import React, { useCallback, useEffect, useRef, useState } from 'react'; +import { tutorial } from './data/tutorial'; +import { PresentationCover } from './components/PresentationCover'; +import { ScenePage } from './components/ScenePage'; +import { SlideStage } from './components/SlideStage'; +import { BiliVideos } from './components/BiliVideos'; +import { buildDeck } from './lib/scenes'; +import './styles/presentation.css'; +import './modules/run-scenes.css'; + +const pages = buildDeck(tutorial); +const query = new URLSearchParams(location.search); +const initialIndex = Math.max(0, pages.findIndex(page => page.id === query.get('slide'))); +export default function App() { + const [active, setActive] = useState(initialIndex); + const [directory, setDirectory] = useState(() => innerWidth > 768); + const [compact, setCompact] = useState(() => innerWidth <= 768); + const [notes, setNotes] = useState(false); + const [presenting, setPresenting] = useState(false); + const [notice, setNotice] = useState(''); + const viewport = useRef(null); + const selected = useRef(null); + const page = pages[active]; + useEffect(() => { document.title = `${tutorial.meta.titleZh} · 交互式教程`; }, []); + const goTo = useCallback((index: number) => { + const next = Math.max(0, Math.min(pages.length - 1, index)); + setActive(next); + const url = new URL(location.href); + url.searchParams.set('slide', pages[next].id); + history.replaceState(null, '', url); + if (innerWidth <= 768) setDirectory(false); + }, []); + useEffect(() => { selected.current?.scrollIntoView({ block: 'nearest' }); }, [active, directory]); + useEffect(() => { + const media = matchMedia('(max-width: 768px)'); + const change = () => { setCompact(media.matches); setDirectory(!media.matches); }; + media.addEventListener('change', change); + return () => media.removeEventListener('change', change); + }, []); + useEffect(() => { + const onFullscreen = () => setPresenting(Boolean(document.fullscreenElement)); + const onKey = (event: KeyboardEvent) => { + const target = event.target as HTMLElement; + if (event.key === 'Escape') { setDirectory(innerWidth > 768); setNotes(false); } + if (event.defaultPrevented || event.ctrlKey || event.metaKey || event.altKey || event.shiftKey || + target.closest('input, textarea, select, button, a, [contenteditable], [role=slider], [role=tab], [role=button], [data-slide-keys]')) return; + if (['ArrowRight', 'ArrowDown', 'PageDown', 'ArrowLeft', 'ArrowUp', 'PageUp'].includes(event.key)) { + event.preventDefault(); goTo(active + (['ArrowRight', 'ArrowDown', 'PageDown'].includes(event.key) ? 1 : -1)); + } + }; + document.addEventListener('fullscreenchange', onFullscreen); + window.addEventListener('keydown', onKey); + return () => { document.removeEventListener('fullscreenchange', onFullscreen); window.removeEventListener('keydown', onKey); }; + }, [active, goTo]); + const content = page.special === 'cover' ? : + page.special === 'videos' ? : ; + if (query.get('capture') === '1') return
{content}
; + return
+
+
+ {tutorial.meta.titleZh}
+ +
+
+
+
+ {directory && <>)}} +
+ {content} + {presenting && } + {notice &&

{notice}

} +
+ {notes && } +
+
; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/BiliVideos.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/BiliVideos.tsx new file mode 100644 index 00000000..57d6baa9 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/BiliVideos.tsx @@ -0,0 +1,81 @@ +import React, { useState, useCallback } from 'react'; +import type { BiliDef } from '../types'; +import { useBiliVideos, BiliCard } from '../lib/useBiliVideos'; + +// Optional Bilibili recommendations. Renders whenever >=1 real BVID is passed. +// Cards are ALWAYS shown from the static `it` data (title + optional baked-in cover), +// so a failed runtime metadata fetch can never hide a video. The runtime fetch only +// enriches with live views/duration and can supply a cover when none is baked in. +// UI copy is Simplified Chinese. +export function BiliVideos({ items }: { items: BiliDef[] }) { + const [page, setPage] = useState(0); + const bvids = items.map((i) => i.bvid); + const [data, setData] = useState>({}); + // Track per-card cover load failures so we can fall back to the gradient + // placeholder instead of showing a broken-image icon. + const [imgError, setImgError] = useState>({}); + + const onLoad = useCallback((bvid: string, d: BiliCard | null) => { + setData((prev) => ({ ...prev, [bvid]: d })); + }, []); + useBiliVideos(bvids, onLoad); + + const real = items.filter((i) => i.bvid && i.bvid.startsWith('BV')); + + return ( +
+

延伸学习 · B 站讲解视频

+

推荐几个相关的视频讲解,帮助加深理解。

+
+ {real.slice(page * 4, (page + 1) * 4).map((it) => { + const d = data[it.bvid]; + // Prefer a baked-in static cover, then the live fetch; else none. + const cover = it.cover || d?.cover; + const showCover = !!cover && !imgError[it.bvid]; + return ( + +
+ {showCover ? ( + {it.title} 403). Sending no Referer lets + // the image load on any host. + referrerPolicy="no-referrer" + loading="lazy" + onError={() => + setImgError((prev) => ({ ...prev, [it.bvid]: true })) + } + /> + ) : null} +
▶
+ B 站 + {d?.duration ? {d.duration} : null} +
+ {it.title} + {(it.views || d?.views) ? ( +
+ {it.views || d?.views} +
+ ) : null} +
+ ); + })} +
+ {real.length > 4 && } +
+ ); +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/CoverPlayback.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/CoverPlayback.tsx new file mode 100644 index 00000000..b79f8bd2 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/CoverPlayback.tsx @@ -0,0 +1,5 @@ +import { createContext, useContext } from 'react'; + +export const CoverPlaybackContext = createContext({ progress: 0, playing: false }); +/** Cover animations must share this clock for a fair, synchronized comparison. */ +export const useCoverPlayback = () => useContext(CoverPlaybackContext); diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Figure.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Figure.tsx new file mode 100644 index 00000000..abc57606 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Figure.tsx @@ -0,0 +1,20 @@ +// Optional paper-figure display. Local public/ images use page-relative URLs, +// e.g. "./images/fig1.png", so they load under a nested deployment path. + +export function Figure({ + src, + alt, + caption, +}: { + src?: string; + alt?: string; + caption?: string; +}) { + if (!src) return null; + return ( +
+ {alt + {caption ?
{caption}
: null} +
+ ); +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Formula.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Formula.tsx new file mode 100644 index 00000000..00df70f3 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Formula.tsx @@ -0,0 +1,54 @@ +import React, { useMemo } from 'react'; +import { SymbolGlossary } from './SymbolHint'; +import type { FormulaDef } from '../types'; + +// Unicode/HTML formula with hover, focus and touch symbol explanations. + +const escapeHtmlAttr = (s: string) => + s + .replace(/&/g, '&') + .replace(/"/g, '"') + .replace(//g, '>'); + +const escapeRegExp = (s: string) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); + +/** + * Wrap each symbol occurrence in the formula HTML with a clickable span. + * - Split the HTML into tags vs text so we never touch inside tags/attributes. + * - Use one combined regex (longest symbols first) so multi-char symbols win over + * their single-char substrings, and the replacement is a single non-overlapping pass. + */ +function makeClickableFormula(html: string, symbols: { sym: string; desc: string }[]): string { + if (!symbols.length) return html; + const tokens = html.split(/(<[^>]+>|&(?:#\d+|#x[\da-f]+|\w+);)/gi); + const sorted = [...symbols].sort((a, b) => b.sym.length - a.sym.length); + const pattern = sorted.map((s) => escapeRegExp(s.sym)).join('|'); + if (!pattern) return html; + const re = new RegExp(`(${pattern})`, 'g'); + return tokens + .map((tok) => { + if (tok.startsWith('<') || /^&(?:#\d+|#x[\da-f]+|\w+);$/i.test(tok)) return tok; + return tok.replace(re, (m, _capture, offset: number) => { + if ((/^[a-z]/i.test(m) && /[a-z]/i.test(tok[offset - 1] ?? '')) || + (/[a-z]$/i.test(m) && /[a-z]/i.test(tok[offset + m.length] ?? ''))) return m; + const safe = escapeHtmlAttr(m); + const meaning = escapeHtmlAttr(symbols.find(s => s.sym === m)!.desc.replace(/<[^>]*>/g, '')); + return `${m}`; + }); + }) + .join(''); +} + +export function Formula({ formula }: { formula: FormulaDef }) { + const formulaHtml = useMemo( + () => makeClickableFormula(formula.unicode, formula.symbols), + [formula.unicode, formula.symbols] + ); + return
+
+
+ +
+
; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/PresentationCover.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/PresentationCover.tsx new file mode 100644 index 00000000..4a059b17 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/PresentationCover.tsx @@ -0,0 +1,32 @@ +import React from 'react'; +import type { Meta, HeroConfig } from '../types'; +import { Typography } from './Typography'; +import { widgetRegistry } from '../modules/registry'; +import { CoverPlaybackContext } from './CoverPlayback'; +import { useTimeline } from '../lib/useTimeline'; +export function PresentationCover({ meta, hero }: { meta: Meta; hero: HeroConfig }) { + const playback = useTimeline({ autoPlay: true, loop: true, duration: 6000 }); + const panel = (side: 'oldMethod' | 'newMethod') => { + const data = hero[side]; + const Widget = widgetRegistry[data.componentId || '']; + return
+
{data.title || (side === 'oldMethod' ? '原有方法' : '本文方法')} + {data.desc}
+
{Widget ? : + 请配置此方法的教学动画。}
+
; + }; + return
+
115 ? ' is-very-long-title' : meta.titleEn.length > 70 ? ' is-long-title' : ''}`} data-slot="cover-title"> + {meta.venue} + {meta.titleEn} + {meta.coreProblem} +
+ +
{panel('oldMethod')}{panel('newMethod')}
+
+
+ {meta.coreInsight} +
+
; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/ScenePage.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/ScenePage.tsx new file mode 100644 index 00000000..86ef672d --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/ScenePage.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +import type { DeckPage } from '../lib/scenes'; +import { widgetRegistry } from '../modules/registry'; +import { Typography } from './Typography'; +export function ScenePage({ page }: { page: DeckPage }) { + const chapter = page.chapter!; + const Widget = widgetRegistry[page.componentId || '']; + return
+
+
{chapter.title}
+
{page.title}
+ {page.goal &&
{page.goal}
} +
+
+ {Widget ? : + 缺少页面组件:{page.componentId}} +
+
; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/SlideStage.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/SlideStage.tsx new file mode 100644 index 00000000..05cb2940 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/SlideStage.tsx @@ -0,0 +1,99 @@ +import React, { useEffect, useLayoutEffect, useRef, useState } from 'react'; + +type Point = { x: number; y: number }; +type View = Point & { zoom: number }; +const initial: View = { zoom: 1, x: 0, y: 0 }; +const interactive = 'button, input, select, textarea, a, [role=slider], [role=button], [contenteditable]'; + +// Slide zoom is independent of browser zoom and never changes the design canvas. +export function SlideStage({ children, fitFactor = 1 }: { children: React.ReactNode; fitFactor?: number }) { + const host = useRef(null); + const [size, setSize] = useState({ width: 0, height: 0 }); + const [view, setView] = useState(initial); + const current = useRef(view); + const pointers = useRef(new Map()); + const panAllowed = useRef(false); + const width = 1600, height = 900; + const fit = Math.min(size.width / width, size.height / height) * fitFactor; + const constrain = (v: View): View => { + const limitX = Math.max(0, (width * fit * v.zoom - size.width) / 2); + const limitY = Math.max(0, (height * fit * v.zoom - size.height) / 2); + return { zoom: v.zoom, x: Math.max(-limitX, Math.min(limitX, v.x)), y: Math.max(-limitY, Math.min(limitY, v.y)) }; + }; + const update = (v: View) => { current.current = constrain(v); setView(current.current); }; + const zoomAt = (factor: number, point: Point, previousPoint = point) => { + const v = current.current; + const zoom = Math.max(1, Math.min(5, v.zoom * factor)); + const ratio = zoom / v.zoom; + update({ zoom, x: point.x - (previousPoint.x - v.x) * ratio, y: point.y - (previousPoint.y - v.y) * ratio }); + }; + const local = (x: number, y: number): Point => { + const rect = host.current!.getBoundingClientRect(); + return { x: x - rect.left - rect.width / 2, y: y - rect.top - rect.height / 2 }; + }; + useLayoutEffect(() => { + const element = host.current; + if (!element) return; + const observer = new ResizeObserver(([entry]) => { + setSize(entry.contentRect); current.current = initial; setView(initial); + pointers.current.clear(); + }); + observer.observe(element); + return () => observer.disconnect(); + }, []); + useEffect(() => { + const element = host.current; + if (!element) return; + const onWheel = (event: WheelEvent) => { + if (!event.ctrlKey && !window.matchMedia('(max-width: 768px)').matches) return; + event.preventDefault(); + zoomAt(Math.exp(-event.deltaY * (event.deltaMode === 1 ? 0.03 : 0.002)), local(event.clientX, event.clientY)); + }; + element.addEventListener('wheel', onWheel, { passive: false }); + return () => element.removeEventListener('wheel', onWheel); + }, [size.width, size.height, fitFactor]); + const onDown = (e: React.PointerEvent) => { + if (e.pointerType === 'mouse' && e.button !== 0) return; + if ((e.target as HTMLElement).closest('.slide-zoom-controls')) return; + pointers.current.set(e.pointerId, local(e.clientX, e.clientY)); + if (pointers.current.size === 1) panAllowed.current = !(e.target as HTMLElement).closest(interactive); + if (pointers.current.size >= 2 || (panAllowed.current && current.current.zoom > 1)) { + for (const id of pointers.current.keys()) e.currentTarget.setPointerCapture(id); + } + }; + const onMove = (e: React.PointerEvent) => { + const previous = pointers.current.get(e.pointerId); + if (!previous) return; + const before = [...pointers.current.values()]; + const point = local(e.clientX, e.clientY); + pointers.current.set(e.pointerId, point); + const after = [...pointers.current.values()]; + if (after.length === 2) { + e.preventDefault(); + const distance = (p: Point[]) => Math.hypot(p[0].x - p[1].x, p[0].y - p[1].y); + const center = (p: Point[]) => ({ x: (p[0].x + p[1].x) / 2, y: (p[0].y + p[1].y) / 2 }); + if (distance(before) > 0) zoomAt(distance(after) / distance(before), center(after), center(before)); + } else if (after.length === 1 && panAllowed.current && current.current.zoom > 1) { + e.preventDefault(); update({ ...current.current, x: current.current.x + point.x - previous.x, y: current.current.y + point.y - previous.y }); + } + }; + const onEnd = (e: React.PointerEvent) => { + pointers.current.delete(e.pointerId); + if (e.currentTarget.hasPointerCapture(e.pointerId)) e.currentTarget.releasePointerCapture(e.pointerId); + }; + return ( +
1 ? 'is-zoomed' : ''}`} ref={host} + onPointerDownCapture={onDown} onPointerMoveCapture={onMove} + onPointerUpCapture={onEnd} onPointerCancelCapture={onEnd} onLostPointerCapture={e => pointers.current.delete(e.pointerId)}> +
+ {children} +
+
+ + + +
+
+ ); +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/SymbolHint.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/SymbolHint.tsx new file mode 100644 index 00000000..f5fdb0f7 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/SymbolHint.tsx @@ -0,0 +1,84 @@ +import React, { useEffect, useId, useLayoutEffect, useRef, useState } from 'react'; +import { createPortal } from 'react-dom'; + +/** Delegated hints also work with the HTML symbols in the legacy Formula block. */ +export function SymbolGlossary({ children }: { children: React.ReactNode }) { + const root = useRef(null); + const popup = useRef(null); + const timer = useRef>(); + const [active, setActive] = useState(null); + const [pinned, setPinned] = useState(false); + const [position, setPosition] = useState({ left: 12, top: 12 }); + const id = useId(); + const cancel = () => clearTimeout(timer.current); + const close = () => { cancel(); setActive(null); setPinned(false); }; + const leave = () => { + cancel(); + if (!pinned) timer.current = setTimeout(() => { + if (!root.current?.contains(document.activeElement)) setActive(null); + }, 120); + }; + const trigger = (target: EventTarget | null) => target instanceof Element + ? target.closest('[data-formula-symbol]') : null; + + useLayoutEffect(() => { + if (!active || !popup.current) return; + const r = active.getBoundingClientRect(); + const p = popup.current.getBoundingClientRect(); + setPosition({ + left: Math.max(12, Math.min(r.left + r.width / 2 - p.width / 2, window.innerWidth - p.width - 12)), + top: Math.max(12, Math.min(r.bottom + 10 + p.height > window.innerHeight - 12 + ? r.top - p.height - 10 : r.bottom + 10, window.innerHeight - p.height - 12)), + }); + active.setAttribute('aria-describedby', id); + return () => active.removeAttribute('aria-describedby'); + }, [active, id]); + + useEffect(() => { + if (!active) return; + const outside = (e: PointerEvent) => { + if (!root.current?.contains(e.target as Node) && !popup.current?.contains(e.target as Node)) close(); + }; + const escape = (e: KeyboardEvent) => { if (e.key === 'Escape') close(); }; + document.addEventListener('pointerdown', outside); + document.addEventListener('keydown', escape); + document.addEventListener('fullscreenchange', close); + window.addEventListener('resize', close); + window.addEventListener('scroll', close, true); + return () => { + document.removeEventListener('pointerdown', outside); + document.removeEventListener('keydown', escape); + document.removeEventListener('fullscreenchange', close); + window.removeEventListener('resize', close); + window.removeEventListener('scroll', close, true); + cancel(); + }; + }, [active]); + + return { const el = trigger(e.target); if (el) { cancel(); setActive(el); } }} + onPointerOut={leave} + onFocus={e => { const el = trigger(e.target); if (el) { cancel(); setActive(el); } }} + onBlur={e => { if (!root.current?.contains(e.relatedTarget as Node) && !pinned) close(); }} + onClick={e => { + const el = trigger(e.target); + if (el) { cancel(); if (pinned && active === el) close(); else { setActive(el); setPinned(true); } } + }} + onKeyDown={e => { + if ((e.key === 'Enter' || e.key === ' ') && trigger(e.target)) { + e.preventDefault(); (e.target as HTMLElement).click(); + } + }}> + {children} + {active && createPortal(, document.fullscreenElement ?? document.body)} + ; +} + +/** Use around the actual symbol, including an HTML/MathML expression. Meaning is plain Chinese. */ +export function SymbolHint({ children, meaning }: { children: React.ReactNode; meaning: string }) { + return {children}; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Typography.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Typography.tsx new file mode 100644 index 00000000..8c79e96c --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/components/Typography.tsx @@ -0,0 +1,8 @@ +import React from 'react'; +type Variant = 'display' | 'h1' | 'h2' | 'h3' | 'subtitle' | 'body' | 'small'; +export function Typography({ variant = 'body', children, muted = false }: { + variant?: Variant; children: React.ReactNode; muted?: boolean; +}) { + const Tag = variant === 'h1' || variant === 'h2' || variant === 'h3' ? variant : 'p'; + return {children}; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/data/tutorial.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/data/tutorial.ts new file mode 100644 index 00000000..c6dc0860 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/data/tutorial.ts @@ -0,0 +1,235 @@ +import type { TutorialData } from '../types'; + +export const tutorial: TutorialData = { + "meta": { + "titleEn": "RUN: Reversible Unfolding Network for Concealed Object Segmentation", + "titleZh": "RUN:面向隐蔽目标分割的可逆展开网络", + "venue": "ICML 2025 · Proceedings of Machine Learning Research 267:22853–22864", + "authors": "Chunming He, Rihan Zhang, Fengyang Xiao, Chengyu Fang, Longxiang Tang, Yulun Zhang, Linghe Kong, Deng-Ping Fan, Kai Li, Sina Farsiu", + "affiliation": "Duke University; Tsinghua University SIGS; Shanghai Jiao Tong University; Nankai Institute of Advanced Research; Meta", + "domain": "Computer vision · Concealed object segmentation · Deep unfolding", + "coreProblem": "隐蔽目标与背景在纹理和颜色上相似,单靠掩码域判断容易把不确定区域分错。", + "coreInsight": "RUN 将掩码估计与 RGB 背景重建放进同一展开过程,用重建冲突共同校正分割。", + "keywords": [ + "隐蔽目标分割", + "前景背景分离", + "深度展开", + "SOFS", + "ROBE", + "残差稀疏" + ] + }, + "hero": { + "oldMethod": { + "title": "掩码域可逆分割", + "desc": "只看前景边界,难以发现背景与前景判断冲突。", + "componentId": "cover-mask" + }, + "newMethod": { + "title": "RUN:掩码与 RGB 联合建模", + "desc": "分割与背景重建共同检查同一处不确定区域。", + "componentId": "cover-run" + } + }, + "chapters": [ + { + "kind": "chapter", + "id": "chap-1", + "title": "隐蔽目标分割中的双域歧义", + "modules": [ + { + "kind": "module", + "id": "1.1", + "title": "掩码与重建冲突", + "desc": "改变前景判断,观察背景解释与 RGB 重建误差如何联动。", + "componentId": "domain-conflict-scene" + } + ], + "scenes": [ + { + "id": "domain-conflict", + "title": "掩码歧义如何变成 RGB 重建冲突", + "goal": "比较同一像素的前景掩码判断与 RGB 背景解释。", + "summary": "用前景、背景和残差把问题动机与分离模型连起来。", + "interaction": "选取 5×5 区域中的像素并改变掩码值,观察前景、背景与重建残差。", + "next": "稀疏规则进一步降低不确定像素对分离的干扰。", + "notes": "问题动机见 PDF p. 2 Sec. 1;Fig. 2, PDF p. 3。分离模型见 PDF p. 3 Sec. 3.1 Eqs. (1)-(4)。面板使用归一化合成数值,不复现论文图像。", + "componentId": "domain-conflict-scene", + "moduleId": "1.1" + } + ] + }, + { + "kind": "chapter", + "id": "chap-2", + "title": "前景—背景分离与残差稀疏", + "modules": [ + { + "kind": "module", + "id": "2.1", + "title": "COS 分离模型", + "desc": "调节掩码与背景,检查重组残差和不确定性惩罚。", + "componentId": "sparsity-scene" + } + ], + "scenes": [ + { + "id": "separation-model", + "title": "分离模型与不确定像素的稀疏权重", + "goal": "读懂前景、背景和残差,并理解不确定掩码为何不受稀疏惩罚。", + "summary": "观察单像素重组残差;讲稿补充论文对 M̃ 与 w 的阈值规则。", + "interaction": "调节 M 和 B,数值、分解条与残差即时更新;按讲稿判断阈值映射和权重。", + "next": "把交替优化更新展开为有限阶段网络。", + "notes": "分离模型见 PDF p. 3 Sec. 3.1 Eqs. (1)-(4),使用归一化灰度单像素例 C=0.8。稀疏规则见 PDF p. 4 Sec. 3.1 Eq. (5):[0.1,0.4) 映射到 0.1,(0.6,0.9] 映射到 0.9;[0.4,0.6] 时 w=0,其余 w=1。边界包含关系严格按论文;交互不是论文数据。", + "componentId": "separation-scene", + "moduleId": "2.1" + } + ] + }, + { + "kind": "chapter", + "id": "chap-3", + "title": "交替近端更新与深度展开", + "modules": [ + { + "kind": "module", + "id": "3.1", + "title": "掩码与背景的交替更新", + "desc": "用一轮可计算的近端更新观察两个变量如何互相依赖。", + "componentId": "unfold-scene" + } + ], + "scenes": [ + { + "id": "unfolding-structure", + "title": "从 M/B 交替更新到 K 阶展开网络", + "goal": "理解 M 与 B 的交替优化如何映射到 RUN 阶段结构。", + "summary": "讲稿说明交替更新关系;画面逐阶段查看 SOFS 与 ROBE 的职责。", + "interaction": "选择阶段 K 并点选 SOFS/ROBE,显示该阶段输入、输出与更新职责。", + "next": "进入 SOFS 的双感受野掩码细化。", + "notes": "交替更新见 PDF pp. 4-5 Sec. 3.2.1 Eqs. (6)-(17):先更新 M,再以新 M 和旧 B 更新背景;背景子问题可闭式求解,掩码侧不伪造完整网络结果。展开结构见 Sec. 3.2.2 Fig. 3 Eqs. (18)-(21)。论文实验默认 K=4,见 PDF p. 6 implementation details;不宣称 K=4 对所有场景最优。", + "componentId": "unfold-scene", + "moduleId": "3.1" + } + ] + }, + { + "kind": "chapter", + "id": "chap-4", + "title": "SOFS 与 RSS 的双感受野细化", + "modules": [ + { + "kind": "module", + "id": "4.1", + "title": "局部边界与全局漏分", + "desc": "操作两个感受野分支,观察它们对掩码响应的不同影响。", + "componentId": "sofs-scene" + } + ], + "scenes": [ + { + "id": "sofs-rss", + "title": "SOFS 如何兼顾边缘和漏分区域", + "goal": "区分局部感受野与大感受野在 RSS 中的职责。", + "summary": "操作输入特征和局部/广域分支权重,检查输出掩码与边缘响应。", + "interaction": "选择 5×5 特征位置并调节两分支贡献,输出格图实时更新。", + "next": "查看 ROBE 如何在 RGB 域更新背景并重建图像。", + "notes": "PDF p. 5 Sec. 3.2.2 Eqs. (18)-(19), Fig. 3。小感受野用于边缘附近局部细化,大感受野用于补足漏分区域;玩具网格不等价于真实 VSS/RSS 网络。", + "componentId": "sofs-scene", + "moduleId": "4.1" + } + ] + }, + { + "kind": "chapter", + "id": "chap-5", + "title": "ROBE 背景更新与图像重建", + "modules": [ + { + "kind": "module", + "id": "5.1", + "title": "背景融合与冲突重建", + "desc": "调节前阶段背景与当前反向前景,观察代数更新和重建残差。", + "componentId": "loss-scene" + } + ], + "scenes": [ + { + "id": "reconstruction-loss", + "title": "ROBE 背景更新与联合重建监督", + "goal": "理解背景闭式更新,并区分掩码、边缘与重建损失。", + "summary": "讲稿给出 ROBE 更新关系;交互切换各损失项的监督对象。", + "interaction": "开关 BCE、IoU、Dice、重建 MSE,观察对应掩码、边缘和重建约束。", + "next": "检查这些机制在 COD 协议下的实验结果。", + "notes": "ROBE 更新见 PDF p. 5 Sec. 3.2.1 Eq. (17):B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ),真实 RUN 还用学习网络细化背景。联合损失见 Sec. 3.2.2 Eq. (22)。交互说明监督对象,不模拟训练精度或伪造消融数值。", + "componentId": "loss-scene", + "moduleId": "5.1" + } + ] + }, + { + "kind": "chapter", + "id": "chap-6", + "title": "COD 基准结果与模块消融", + "modules": [], + "scenes": [ + { + "id": "cod-results", + "title": "RUN 在 COD10K 同设置下的结果", + "goal": "在统一骨干和评测设置内比较主要指标,不跨协议拼接结论。", + "summary": "聚焦 Table 1 的 ResNet50 common setting,比较 COD10K 的 Fβ、MAE、Eφ、Sα。", + "interaction": "选择指标和 FEDER/FocusDiff 基线,联动查看四指标矩阵、局部数轴和绝对/相对差值;不改变论文测量结果。", + "next": "不同 COS 子任务采用不同数据与指标协议。", + "notes": "PDF p. 6 Table 1,ResNet50 common setting, single input scale/single stage:COD10K RUN Fβ=0.747, MAE=0.030, Eφ=0.903, Sα=0.827;FocusDiff Fβ=0.730, MAE=0.031, Eφ=0.897, Sα=0.820。Fβ/Eφ/Sα 越高越好,MAE 越低越好。", + "componentId": "results-scene" + } + ] + }, + { + "kind": "chapter", + "id": "chap-7", + "title": "跨任务结果与评测协议", + "modules": [], + "scenes": [ + { + "id": "transfer-protocols", + "title": "PIS、MTOS 与 TOD 不能合并排行", + "goal": "按任务核对数据集、指标方向和训练划分。", + "summary": "逐个查看跨任务评测协议,区分可以比较与不应合并的指标。", + "interaction": "选择 PIS、MTOS 或 TOD,匹配数据集与指标组合并核对答案,反馈解释协议错配的原因。", + "next": "最后核对 RUN+ 扩展和论文明确的适用边界。", + "notes": "PDF pp. 7-8 Tables 2-4,Appendix A.1 p. 12。PIS: mDice/mIoU/Sα;MTOS: mDice/AUC/SEN;TOD: mIoU/Fβmax/MAE。数据划分与骨干不同,不跨任务比数值。", + "componentId": "transfer-scene" + } + ] + }, + { + "kind": "chapter", + "id": "chap-8", + "title": "退化鲁棒性与适用边界", + "modules": [], + "scenes": [ + { + "id": "run-plus", + "title": "RUN+ 的雾化鲁棒性来自额外重建器", + "goal": "分清 RUN 主方法与加入预训练去雾模型的扩展。", + "summary": "对照论文报告的 RUN/RUN+ 结构差别及雾化实验范围。", + "interaction": "调节真实透射率、空气光与估计透射率,联动观察合成参考图、雾化输入、解析恢复和强度 MAE。", + "next": "回顾双域联合建模解决的问题与仍未解决的边界。", + "notes": "PDF p. 8 Fig. 5 Sec. 4.3;Appendix B p. 13。雾化在 COD10K 模拟,RUN 仍退化,RUN+ 使用额外预训练去雾模型。页面另用教学合成模型 I=tJ+(1−t)A 与解析逆变换说明估计误差;非 RUN/RUN+ 推理,强度 MAE 不等于论文分割 MAE。", + "componentId": "runplus-scene" + }, + { + "id": "limitations", + "title": "复杂退化、资源开销与分辨率仍有限制", + "goal": "识别论文作者明确列出的未来工作方向。", + "summary": "检查低层视觉模型整合成本和 352×352 输入设置对应的限制。", + "interaction": "逐项判断同协议结果、混合退化、高分辨率和资源开销四个结论,查看证据解释并汇总判断结果。", + "next": "结束教程。", + "notes": "Appendix B p. 13;训练测试缩放到 352×352 见 Sec. 4 p. 5。低照度、模糊、噪声仅作为作者提及的方向,不写成已经测得的结果。", + "componentId": "limits-scene" + } + ] + } + ] +}; diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/canvasKit.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/canvasKit.ts new file mode 100644 index 00000000..605d893a --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/canvasKit.ts @@ -0,0 +1,100 @@ +// Canvas drawing kit — paper-agnostic helpers. Ported from the legacy utils.js. +// These are static; the generator does NOT edit this file. Paper-specific drawing +// lives in components/modules under src/modules/*. + +export function lerp(a: number, b: number, t: number): number { + return a + (b - a) * t; +} + +export function lerpColor(c1: string, c2: string, t: number): string { + const p = (h: string) => [ + parseInt(h.slice(1, 3), 16), + parseInt(h.slice(3, 5), 16), + parseInt(h.slice(5, 7), 16), + ]; + const [r1, g1, b1] = p(c1); + const [r2, g2, b2] = p(c2); + return `rgb(${Math.round(lerp(r1, r2, t))},${Math.round(lerp(g1, g2, t))},${Math.round( + lerp(b1, b2, t) + )})`; +} + +export function clamp(v: number, min: number, max: number): number { + return Math.max(min, Math.min(max, v)); +} + +export function easeOutCubic(t: number): number { + return 1 - Math.pow(1 - t, 3); +} + +export function easeInOutQuad(t: number): number { + return t < 0.5 ? 2 * t * t : 1 - Math.pow(-2 * t + 2, 2) / 2; +} + +export function easeSpring(t: number): number { + return 1 - Math.cos(t * Math.PI * 0.5); +} + +export function easeOutBounce(t: number): number { + const n1 = 7.5625; + const d1 = 2.75; + if (t < 1 / d1) return n1 * t * t; + if (t < 2 / d1) return n1 * (t -= 1.5 / d1) * t + 0.75; + if (t < 2.5 / d1) return n1 * (t -= 2.25 / d1) * t + 0.9375; + return n1 * (t -= 2.625 / d1) * t + 0.984375; +} + +export function dist(x1: number, y1: number, x2: number, y2: number): number { + const dx = x2 - x1; + const dy = y2 - y1; + return Math.sqrt(dx * dx + dy * dy); +} + +export function map( + v: number, + inMin: number, + inMax: number, + outMin: number, + outMax: number +): number { + return ((v - inMin) / (inMax - inMin)) * (outMax - outMin) + outMin; +} + +/** Setup a canvas for HiDPI. Returns the 2D context scaled to CSS pixels. */ +export function setupCanvas(canvas: HTMLCanvasElement, w: number, h: number): CanvasRenderingContext2D { + const dpr = window.devicePixelRatio || 1; + canvas.width = w * dpr; + canvas.height = h * dpr; + canvas.style.width = w + 'px'; + canvas.style.height = h + 'px'; + const ctx = canvas.getContext('2d'); + if (!ctx) throw new Error('2D context unavailable'); + ctx.scale(dpr, dpr); + return ctx; +} + +/** + * Pause rAF when the canvas scrolls off-screen. Returns a stop() to disconnect. + * `startFn` is called when it enters the viewport; `stopFn` when it leaves. + */ +export function observeCanvas( + canvas: HTMLCanvasElement, + startFn: () => void, + stopFn: () => void +): () => void { + if (typeof IntersectionObserver === 'undefined') { + startFn(); + return () => {}; + } + const observer = new IntersectionObserver( + (entries) => { + entries.forEach((entry) => { + if (entry.isIntersecting) startFn(); + else stopFn(); + }); + }, + { threshold: 0.05 } + ); + observer.observe(canvas); + return () => observer.disconnect(); +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/scenes.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/scenes.ts new file mode 100644 index 00000000..034812b4 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/scenes.ts @@ -0,0 +1,16 @@ +import type { ChapterDef, SceneDef, TutorialData } from '../types'; +export interface DeckPage extends Omit { + componentId?: string; // Cover and video pages are rendered by dedicated framework components. + chapter?: ChapterDef; + special?: 'cover' | 'videos'; +} +export function buildDeck(data: TutorialData): DeckPage[] { + const pages: DeckPage[] = [{ id: 'cover', title: data.meta.titleZh, goal: data.meta.coreProblem, + summary: data.meta.coreInsight, interaction: '认识问题', next: '', notes: data.meta.coreInsight, special: 'cover' }]; + for (const chapter of data.chapters) { + pages.push(...chapter.scenes.map(scene => ({ ...scene, chapter }))); + } + if (data.bilibili?.some(item => item.bvid)) pages.push({ id: 'videos', title: '延伸阅读与视频', goal: '继续探索', + summary: '将直觉连接到更多解释', interaction: '打开视频', next: '', notes: '', special: 'videos' }); + return pages.map(page => ({ ...page, thumbnail: page.thumbnail || data.thumbnails?.[page.id] })); +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/slideAudit.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/slideAudit.ts new file mode 100644 index 00000000..067d15d3 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/slideAudit.ts @@ -0,0 +1,36 @@ +/** Browser-side geometry gate. Run after fonts/images settle and after each interaction. + * This checks rendered geometry; source validation alone cannot certify slide fit. */ +export function auditSlide(): string[] { + const errors: string[] = []; + const stage = document.querySelector('[data-slide-canvas]'); + if (!stage) return ['No slide canvas mounted']; + const bounds = stage.getBoundingClientRect(); + const tolerance = 2; + const outside = (a: DOMRect, b: DOMRect) => a.left < b.left - tolerance || a.top < b.top - tolerance || + a.right > b.right + tolerance || a.bottom > b.bottom + tolerance; + const root = document.documentElement; + if (root.scrollHeight > root.clientHeight + tolerance || root.scrollWidth > root.clientWidth + tolerance) + errors.push('Document scrolls'); + const slots = [...stage.querySelectorAll('[data-slot]')]; + for (const slot of slots) { + const box = slot.getBoundingClientRect(); + if (outside(box, bounds)) errors.push(`${slot.dataset.slot}: outside slide`); + for (const other of slots) { + if (slots.indexOf(other) <= slots.indexOf(slot)) continue; + const b = other.getBoundingClientRect(); + if (Math.min(box.right, b.right) - Math.max(box.left, b.left) > tolerance && + Math.min(box.bottom, b.bottom) - Math.max(box.top, b.top) > tolerance) + errors.push(`${slot.dataset.slot}: overlaps ${other.dataset.slot}`); + } + } + for (const element of stage.querySelectorAll('*')) { + const box = element.getBoundingClientRect(); + if (!box.width || !box.height || getComputedStyle(element).visibility === 'hidden') continue; + const slot = element.closest('[data-slot]'); + const name = slot?.dataset.slot ?? element.className; + if (outside(box, slot?.getBoundingClientRect() ?? bounds)) errors.push(`${name}: descendant outside allocated region`); + if (!element.matches('input, select, textarea') && element.clientWidth && (element.scrollWidth > element.clientWidth + tolerance || + element.scrollHeight > element.clientHeight + tolerance)) errors.push(`${name}: content overflows or is clipped`); + } + return [...new Set(errors)]; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/useBiliVideos.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/useBiliVideos.ts new file mode 100644 index 00000000..c6f52db6 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/useBiliVideos.ts @@ -0,0 +1,101 @@ +import { useEffect } from 'react'; + +// Bilibili metadata loader (optional). Fetches cover/title/ +// duration/views at runtime via JSONP. Degrades gracefully: empty bvid => hide card; +// failed fetch => "视频暂不可用" fallback (never stuck on a loading state). +// UI strings stay in Simplified Chinese (this is webpage output, not a skill doc). + +export interface BiliCard { + bvid: string; + title?: string; + cover?: string; + duration?: string; + views?: string; +} + +function formatViews(n: number): string { + if (n >= 100000000) return (n / 100000000).toFixed(1) + '亿播放'; + if (n >= 10000) return (n / 10000).toFixed(1) + '万播放'; + return n + '播放'; +} + +function formatDuration(s: number): string { + const m = Math.floor(s / 60); + const sec = s % 60; + return m + ':' + (sec < 10 ? '0' : '') + sec; +} + +let jsonpRequestSerial = 0; + +/** + * Fetch metadata for each bvid and call `onLoad(bvid, data)` per card. + * Best-effort: network/Api failures are swallowed and reported as null. + */ +export function useBiliVideos( + bvids: string[], + onLoad: (bvid: string, data: BiliCard | null) => void +) { + const bvidKey = Array.from( + new Set(bvids.filter((bvid) => bvid && bvid.startsWith('BV'))) + ).join('|'); + + useEffect(() => { + let cancelled = false; + const real = bvidKey ? bvidKey.split('|') : []; + if (real.length === 0) return; + + const callbackHost = window as unknown as Record; + const pending: Array<{ callbackName: string; script: HTMLScriptElement }> = []; + + real.forEach((bvid) => { + const callbackName = `__paper_skill_bili_${Date.now()}_${++jsonpRequestSerial}`; + const script = document.createElement('script'); + const dispose = () => { + delete callbackHost[callbackName]; + script.remove(); + }; + + callbackHost[callbackName] = (res: any) => { + if (cancelled) return; + dispose(); + if (!res || res.code !== 0 || !res.data) { + onLoad(bvid, null); + return; + } + const d = res.data; + onLoad(bvid, { + bvid, + title: d.title, + cover: d.pic ? d.pic.replace(/^http:/, 'https:') : undefined, + duration: d.duration ? formatDuration(d.duration) : undefined, + views: d.stat ? formatViews(d.stat.view) : undefined, + }); + }; + script.src = + 'https://api.bilibili.com/x/web-interface/view?bvid=' + + bvid + + '&jsonp=jsonp&callback=' + + callbackName; + script.onerror = () => { + if (cancelled) return; + dispose(); + onLoad(bvid, null); + }; + pending.push({ callbackName, script }); + document.body.appendChild(script); + }); + + return () => { + cancelled = true; + pending.forEach(({ callbackName, script }) => { + // A fetched JSONP script may already be queued for execution. Keep a + // temporary no-op callback so late responses cannot raise ReferenceError. + callbackHost[callbackName] = () => undefined; + script.remove(); + window.setTimeout(() => { + delete callbackHost[callbackName]; + }, 60_000); + }); + }; + }, [bvidKey, onLoad]); +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/useTimeline.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/useTimeline.ts new file mode 100644 index 00000000..27560fa6 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/lib/useTimeline.ts @@ -0,0 +1,29 @@ +import { useEffect, useRef, useState } from 'react'; + +/** One clock for all linked views. Widgets render the same logical progress. */ +export function useTimeline({ duration = 5000, loop = false, autoPlay = false } = {}) { + const [progress, setProgress] = useState(0); + const [playing, setPlaying] = useState(() => autoPlay && !matchMedia('(prefers-reduced-motion: reduce)').matches); + const current = useRef(0); + const seek = (value: number) => { current.current = Math.max(0, Math.min(1, value)); setProgress(current.current); }; + useEffect(() => { + const media = matchMedia('(prefers-reduced-motion: reduce)'); + const change = () => { if (media.matches) setPlaying(false); }; + media.addEventListener('change', change); + return () => media.removeEventListener('change', change); + }, []); + useEffect(() => { + if (!playing) return; + let frame = 0, previous = performance.now(); + const tick = (now: number) => { + const next = current.current + Math.min(now - previous, 100) / duration; + previous = now; + if (next >= 1 && !loop) { seek(1); setPlaying(false); return; } + seek(loop ? next % 1 : next); + frame = requestAnimationFrame(tick); + }; + frame = requestAnimationFrame(tick); + return () => cancelAnimationFrame(frame); + }, [playing, duration, loop]); + return { progress, playing }; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/main.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/main.tsx new file mode 100644 index 00000000..e9b5c47d --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/main.tsx @@ -0,0 +1,12 @@ +import React from 'react'; +import ReactDOM from 'react-dom/client'; +import App from './App'; +import './styles/tokens.css'; +import './styles/components.css'; +import './styles/paper.css'; + +ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( + + + +); diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/alternating-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/alternating-scene.tsx new file mode 100644 index 00000000..49eb99be --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/alternating-scene.tsx @@ -0,0 +1,108 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/ambiguity-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/ambiguity-scene.tsx new file mode 100644 index 00000000..49eb99be --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/ambiguity-scene.tsx @@ -0,0 +1,108 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/cover-mask.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/cover-mask.tsx new file mode 100644 index 00000000..12947b11 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/cover-mask.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +import { useCoverPlayback } from '../components/CoverPlayback'; +import type { WidgetProps } from './registry'; + +const field = '#f5f8f0'; +function CoverArt({ progress, joint }: { progress: number; joint: boolean }) { + const p = Math.max(0, Math.min(1, progress)); + const accent = joint ? '#228d5c' : '#c43f52'; + return + + + + + + {joint ? '掩码 + RGB 重建' : '仅掩码域'}{joint ? '共同检查冲突区域' : '颜色冲突仍未解释'} + ; +} +export function CoverMask({ }: WidgetProps) { const { progress } = useCoverPlayback(); return ; } +export function CoverRun({ }: WidgetProps) { const { progress } = useCoverPlayback(); return ; } diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/cover-run.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/cover-run.tsx new file mode 100644 index 00000000..12947b11 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/cover-run.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +import { useCoverPlayback } from '../components/CoverPlayback'; +import type { WidgetProps } from './registry'; + +const field = '#f5f8f0'; +function CoverArt({ progress, joint }: { progress: number; joint: boolean }) { + const p = Math.max(0, Math.min(1, progress)); + const accent = joint ? '#228d5c' : '#c43f52'; + return + + + + + + {joint ? '掩码 + RGB 重建' : '仅掩码域'}{joint ? '共同检查冲突区域' : '颜色冲突仍未解释'} + ; +} +export function CoverMask({ }: WidgetProps) { const { progress } = useCoverPlayback(); return ; } +export function CoverRun({ }: WidgetProps) { const { progress } = useCoverPlayback(); return ; } diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/domain-conflict-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/domain-conflict-scene.tsx new file mode 100644 index 00000000..34386bc4 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/domain-conflict-scene.tsx @@ -0,0 +1,109 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/limits-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/limits-scene.tsx new file mode 100644 index 00000000..c05722f2 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/limits-scene.tsx @@ -0,0 +1,120 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [scenario, setScenario] = useState(0); + const [answers, setAnswers] = useState<(boolean | null)[]>([null, null, null, null]); + const cases = [ + { title: '同设置下比较 COD10K', claim: '在 Table 1 的 ResNet50 common setting 下,RUN 的 COD10K Fβ 高于 FocusDiff。', supported: true, reason: 'RUN 0.747,FocusDiff 0.730。仅限该表的骨干、输入尺度与评测设置。', source: 'Table 1 · PDF p.6', risk: '换骨干或数据集后,需要重新核对。' }, + { title: '低照度 + 模糊 + 噪声', claim: 'RUN+ 在雾化实验中有效,因此复杂混合退化也已经得到验证。', supported: false, reason: '雾化扩展不能证明其他退化;作者仍将复杂退化下的鲁棒性列为待改进方向。', source: 'Sec.4.3 / Appendix B · pp.8,13', risk: '应补充对应退化、强度和任务的受控实验。' }, + { title: '原生高分辨率直接部署', claim: '352×352 的结果足以保证原生 4K 图像中的微小目标分割效果。', supported: false, reason: '论文训练与测试缩放到 352×352;不能据此推出原生高分辨率或微小目标保证。', source: 'Sec.4 · PDF p.5', risk: '需要验证缩放损失、目标尺寸与推理开销。' }, + { title: '增大重建器且不计成本', claim: '整合更大的低层视觉模型,不会增加计算和存储负担。', supported: false, reason: '作者明确指出整合更大型低层视觉模型可能提高资源需求;不存在免费扩展的结论。', source: 'Appendix B · PDF p.13', risk: '需要单独测量显存、吞吐、延迟和模型体积。' } + ]; + const current = cases[scenario]; + const answer = answers[scenario]; + const completed = answers.filter(value => value !== null).length; + const correct = answers.filter((value, index) => value !== null && value === cases[index].supported).length; + return
结论边界检查已判断 {completed}/4 · 正确 {correct}/4

哪些结论可以带走?

{cases.map((item, index) => )}

方法机制、实测结论、外推假设是三种不同层级的证据。

情境 {scenario + 1} · {current.title}

{current.claim}
{answer === null ? '先判断,再核对证据' : answer === current.supported ? '判断正确' : '这个结论越过了证据边界'}

{answer === null ? '先检查任务、输入条件和评测设置是否与论文一致。' : current.reason}

{current.source}
进一步验证

{current.risk}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/loss-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/loss-scene.tsx new file mode 100644 index 00000000..34386bc4 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/loss-scene.tsx @@ -0,0 +1,109 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/registry.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/registry.tsx new file mode 100644 index 00000000..f608063e --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/registry.tsx @@ -0,0 +1,32 @@ +import React from 'react'; +import { CoverMask } from './cover-mask'; +import { CoverRun } from './cover-run'; +import { DomainConflictScene } from './domain-conflict-scene'; +import { LimitsScene } from './limits-scene'; +import { LossScene } from './loss-scene'; +import { ResultsScene } from './results-scene'; +import { RunPlusScene } from './runplus-scene'; +import { SeparationScene } from './separation-scene'; +import { SofsScene } from './sofs-scene'; +import { SparsityScene } from './sparsity-scene'; +import { TransferScene } from './transfer-scene'; +import { UnfoldScene } from './unfold-scene'; + +export interface WidgetProps { + chapterId: string; + moduleId: string; +} + +export const widgetRegistry: Record> = {}; +widgetRegistry['cover-mask'] = CoverMask; +widgetRegistry['cover-run'] = CoverRun; +widgetRegistry['domain-conflict-scene'] = DomainConflictScene; +widgetRegistry['limits-scene'] = LimitsScene; +widgetRegistry['loss-scene'] = LossScene; +widgetRegistry['results-scene'] = ResultsScene; +widgetRegistry['runplus-scene'] = RunPlusScene; +widgetRegistry['separation-scene'] = SeparationScene; +widgetRegistry['sofs-scene'] = SofsScene; +widgetRegistry['sparsity-scene'] = SparsityScene; +widgetRegistry['transfer-scene'] = TransferScene; +widgetRegistry['unfold-scene'] = UnfoldScene; diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/results-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/results-scene.tsx new file mode 100644 index 00000000..f732cad9 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/results-scene.tsx @@ -0,0 +1,125 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState(0); + const [baseline, setBaseline] = useState(1); + const names = ['FEDER', 'FocusDiff', 'RUN']; + const metrics = ['Fβ', 'MAE', 'Eφ', 'Sα']; + const scores = [[.715, .032, .892, .810], [.730, .031, .897, .820], [.747, .030, .903, .827]]; + const selected = scores.map(row => row[metric]); + const minimum = Math.min(...selected); + const maximum = Math.max(...selected); + const padding = (maximum - minimum) * .5; + const position = (value: number) => 160 + (value - minimum + padding) / (maximum - minimum + 2 * padding) * 600; + const improvement = metric === 1 ? selected[baseline] - selected[2] : selected[2] - selected[baseline]; + return
+
COD10K · ResNet50 · common settingTable 1 · PDF p.6
+
+

同一协议,四个指标

{metrics.map((name, index) => )}{scores.map((row, index) => {row.map((score, column) => )})}
方法
{index === 2 ? 'RUN' : }{score.toFixed(3)}

↑ 越高越好;↓ 越低越好。绿色为 RUN,蓝色为所选基线。

输入 / 阶段
单尺度 / 单阶段评测
比较范围
同骨干、同数据集、同设置
+

{metrics[metric]}:RUN 对比 {names[baseline]}

局部数轴 · 非零起点{names[baseline]}RUN{[baseline, 2].map((index, row) => {selected[index].toFixed(3)})}{(minimum - padding).toFixed(4)}{(maximum + padding).toFixed(4)}
{metric === 1 ? '绝对误差减少' : '绝对指标增加'}{improvement.toFixed(3)}

相对所选基线{metric === 1 ? '下降' : '提升'} {(improvement / selected[baseline] * 100).toFixed(2)}%;这是表中数值的算术差,不是显著性检验。

+
+
; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/robe-update-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/robe-update-scene.tsx new file mode 100644 index 00000000..49eb99be --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/robe-update-scene.tsx @@ -0,0 +1,108 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/run-scenes.css b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/run-scenes.css new file mode 100644 index 00000000..c7500a41 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/run-scenes.css @@ -0,0 +1,764 @@ +.run-scene { + display: grid; + width: 100%; + height: 100%; + min-width: 0; + min-height: 0; + gap: 18px; + padding: 10px 18px; + color: #21324a; + overflow: hidden +} + +.ppt-cover-top { + gap: 4px +} + +.ppt-cover .ppt-cover-top .ppt-type-display { + font-size: 42px; + line-height: 1.25; + white-space: normal +} + +.ppt-cover-top .ppt-type-subtitle { + font-size: 28px; + line-height: 1.3 +} + +.run-viz { + display: block; + width: 100%; + height: 100%; + min-width: 0; + min-height: 0; + background: #f5f8f0 +} + +.run-control-line, +.run-scene label { + display: grid; + grid-template-columns: auto 1fr; + align-items: center; + gap: 8px 18px; + font-size: 26px +} + +.run-control-line input, +.run-scene input[type=range] { + width: 100%; + height: 28px; + line-height: normal; + accent-color: #f07e47 +} + +.run-scene label:has(input[type=range]) { + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + gap: 4px 12px +} + +.run-scene label:has(input[type=range]) input[type=range] { + grid-column: 1/-1; + min-width: 0 +} + +.run-control-line label:has(input[type=range]) { + display: grid; + grid-column: 1/-1; + grid-template-columns: minmax(0, 1fr) auto; + align-items: center; + gap: 4px 12px +} + +.run-scene p { + margin: 0; + font-size: 25px; + line-height: 1.32; + color: #68778f +} + +.run-scene .is-risk { + color: #c43f52 +} + +.run-scene .is-success { + color: #228d5c +} + +.run-scene .is-guide { + color: #27446e +} + +.ambiguity { + grid-template-rows: minmax(0, 1fr) auto +} + +.conflict { + grid-template-columns: minmax(260px, .5fr) minmax(0, 1.5fr); + align-items: center +} + +.run-grid { + display: grid; + grid-template-columns: repeat(5, minmax(0, 1fr)); + gap: 8px; + align-content: center; + min-width: 0 +} + +.run-grid button { + aspect-ratio: 1; + border: 1px solid #d7deea; + border-radius: 3px; + font: 600 21px/1.1 inherit; + cursor: pointer +} + +.conflict-detail { + display: grid; + grid-template-rows: minmax(0, 1fr) auto auto; + gap: 8px; + min-width: 0; + min-height: 0 +} + +.equation-scene { + grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); + grid-template-rows: auto minmax(0, 1fr); + align-items: center +} + +.equation-large { + grid-column: 1/-1; + text-align: center; + font-size: 44px; + font-weight: 750; + color: #21324a +} + +.equation-controls { + display: grid; + gap: 24px +} + +.sparsity-scene { + grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); + align-items: center +} + +.sparsity-scene>.run-grid { + width: min(100%, 520px); + justify-self: center +} + +.sparsity-right { + display: grid; + grid-template-rows: auto minmax(0, 1fr) auto auto; + gap: 12px; + min-height: 0 +} + +.sparsity-right>.equation-large { + font-size: 36px +} + +.update-scene { + grid-template-columns: 300px minmax(0, 1fr); + align-items: center +} + +.update-controls, +.robe-controls { + display: grid; + gap: 20px +} + +.choice-row, +.task-tabs, +.stage-picker, +.limits-nav { + display: flex; + flex-wrap: wrap; + gap: 12px +} + +.choice-row button, +.task-tabs button, +.stage-picker button, +.limits-nav button { + min-height: 48px; + padding: 8px 18px; + border: 1px solid #d7deea; + border-radius: 4px; + background: #fff; + color: #21324a; + font-size: 23px +} + +.choice-row button.selected, +.task-tabs button.selected, +.stage-picker button.selected, +.limits-nav button.selected { + border-color: #27446e; + background: #eaf0f3; + color: #27446e +} + +.unfold-scene { + grid-template-rows: auto minmax(0, 1fr) auto +} + +.unfold-main { + display: grid; + grid-template-rows: minmax(0, 1fr) auto; + min-height: 0 +} + +.sofs-scene { + grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); + align-items: center +} + +.sofs-right { + display: grid; + grid-template-rows: auto minmax(0, 1fr) auto; + gap: 10px; + min-height: 0 +} + +.robe-scene { + grid-template-columns: 320px minmax(0, 1fr); + align-items: center +} + +.loss-scene { + grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); + align-items: center +} + +.loss-visual { + height: 100%; + min-height: 0 +} + +.loss-options { + display: grid; + gap: 12px +} + +.loss-options label { + display: flex; + align-items: center; + gap: 14px; + padding: 14px; + border-bottom: 1px solid #d7deea +} + +.loss-options label.disabled { + opacity: .42 +} + +.loss-options input { + width: 24px; + height: 24px; + accent-color: #27446e +} + +.loss-options span { + display: grid; + gap: 4px +} + +.loss-options b { + font-size: 25px +} + +.loss-options small { + font-size: 20px; + color: #68778f +} + +.results-scene { + grid-template-rows: auto minmax(0, 1fr) auto +} + +.results-chart { + display: grid; + align-content: center; + gap: 28px; + padding: 12px 36px +} + +.chart-axis { + display: flex; + justify-content: space-between; + font-size: 22px; + color: #68778f +} + +.chart-row { + display: grid; + grid-template-columns: 170px minmax(0, 1fr) 90px; + align-items: center; + gap: 18px; + font-size: 29px +} + +.chart-track { + height: 30px; + background: #edf1f5; + border-left: 2px solid #21324a +} + +.chart-track i { + display: block; + height: 100% +} + +.transfer-scene { + grid-template-rows: auto minmax(0, 1fr) +} + +.runplus-scene { + grid-template-rows: auto minmax(0, 1fr) auto +} + +.limits-scene { + grid-template-columns: 260px minmax(0, 1fr); + align-items: center +} + +.limits-nav { + display: grid +} + +.limits-content { + display: grid; + grid-template-rows: minmax(0, 1fr) auto; + gap: 12px; + min-height: 0 +} + +.cover-art { + width: 100%; + height: 100%; + min-height: 0 +} + +.cover-art svg { + width: 100%; + height: 100%; + object-fit: contain +} + +.evidence-workbench { + grid-template-rows: 42px minmax(0, 1fr); + gap: 16px; +} + +.evidence-banner { + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1px solid #d7deea; + font-size: 22px; + color: #68778f; +} + +.evidence-columns { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); + gap: 32px; + min-height: 0; +} + +.evidence-columns>section { + min-width: 0; + min-height: 0; +} + +.evidence-columns h2 { + margin: 8px 0 22px; + font-size: 29px; + line-height: 1.3; +} + +.evidence-table table { + width: 100%; + border-collapse: collapse; + font-size: 25px; + font-variant-numeric: tabular-nums; +} + +.evidence-table th, +.evidence-table td { + padding: 11px 8px; + border-bottom: 1px solid #d7deea; + text-align: center; +} + +.evidence-table button { + border: 0; + background: transparent; + color: inherit; + padding: 8px 2px; +} + +.evidence-table button[aria-pressed=true] { + color: #27446e; + box-shadow: inset 0 -3px #27446e; +} + +.method-run { + color: #228d5c; + font-weight: 700; + background: #edf7ef; +} + +.method-baseline { + color: #27446e; + background: #edf3fa; +} + +.metric-active { + font-weight: 750; +} + +.evidence-table p { + margin-top: 18px; + font-size: 22px; +} + +.evidence-facts { + margin: 20px 0 0; + font-size: 23px; +} + +.evidence-facts>div { + display: grid; + grid-template-columns: 160px 1fr; + padding: 12px 0; + border-top: 1px solid #d7deea; + gap: 12px; +} + +.evidence-facts dt { + color: #68778f; +} + +.evidence-facts dd { + margin: 0; +} + +.evidence-inspector { + border-left: 1px solid #d7deea; + padding-left: 28px; +} + +.evidence-inspector>svg { + width: 100%; + height: 255px; + display: block; + background: #f5f8f0; +} + +.evidence-verdict { + margin-top: 18px; + padding-left: 18px; + border-left: 4px solid #228d5c; +} + +.evidence-verdict>span { + font-size: 23px; +} + +.evidence-verdict>strong { + display: block; + font-size: 44px; + line-height: 1.3; + color: #228d5c; +} + +.evidence-verdict p { + font-size: 22px; + line-height: 1.4; +} + +.protocol-subject>svg { + display: block; + width: 100%; + height: 240px; +} + +.protocol-options { + display: grid; + gap: 12px; +} + +.run-scene .protocol-options label { + display: flex; + gap: 16px; + padding: 10px 12px; + border: 1px solid #d7deea; + cursor: pointer; +} + +.protocol-options input { + width: 24px; + height: 24px; + accent-color: #228d5c; + flex-shrink: 0; +} + +.protocol-options span { + display: grid; + gap: 6px; +} + +.protocol-options b { + font-size: 25px; +} + +.protocol-options small { + font-size: 22px; + color: #68778f; +} + +.evidence-action { + margin-top: 16px; + padding: 12px 24px; + border: 1px solid #27446e; + background: #27446e; + color: #fff; + font-size: 24px; + border-radius: 4px; +} + +.protocol-feedback { + margin-top: 18px; + padding-top: 14px; + border-top: 2px solid #d7deea; + color: #228d5c; +} + +.protocol-feedback strong { + font-size: 25px; +} + +.protocol-feedback p { + margin-top: 10px; + font-size: 23px; + line-height: 1.4; +} + +.evidence-workbench:has(.haze-images) { + grid-template-rows: 42px 235px minmax(0, 1fr); + gap: 14px; +} + +.haze-images { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 24px; +} + +.haze-images figure { + margin: 0; + min-width: 0; +} + +.haze-images figcaption { + font-size: 24px; + margin-bottom: 8px; +} + +.haze-images svg { + display: block; + width: 100%; + height: 195px; + background: #f5f8f0; +} + +.haze-bottom { + display: grid; + grid-template-columns: .9fr 1.1fr; + gap: 36px; + min-height: 0; +} + +.haze-controls { + display: grid; + align-content: start; + gap: 16px; +} + +.haze-explanation { + padding-left: 28px; + border-left: 1px solid #d7deea; +} + +.run-scene .binary-control { + display: flex; + gap: 14px; + font-size: 24px; +} + +.binary-control input { + width: 24px; + height: 24px; + accent-color: #228d5c; +} + +.haze-formula { + font-size: 32px; + margin: 10px 0; +} + +.haze-error { + font-size: 24px; +} + +.haze-error strong { + font-size: 34px; + color: #228d5c; + padding-left: 16px; +} + +.haze-explanation p { + font-size: 21px; + margin-top: 10px; + line-height: 1.4; +} + +.boundary-list>button { + display: flex; + align-items: center; + gap: 20px; + text-align: left; + width: 100%; + min-height: 86px; + padding: 14px; + border: 0; + border-bottom: 1px solid #d7deea; + background: transparent; + color: #21324a; +} + +.boundary-list>button.active { + background: #edf3fa; + box-shadow: inset 4px 0 #27446e; +} + +.boundary-number { + font-size: 32px; + color: #8796a5; + font-variant-numeric: tabular-nums; +} + +.boundary-list button>span:last-child { + display: grid; + gap: 6px; +} + +.boundary-list b { + font-size: 25px; +} + +.boundary-list small { + font-size: 21px; + color: #68778f; +} + +.boundary-list>p { + margin-top: 22px; + font-size: 23px; +} + +.boundary-case blockquote { + margin: 0 0 24px; + min-height: 115px; + padding: 18px; + font-size: 28px; + line-height: 1.5; + background: #f5f8f0; + border-left: 4px solid #f07e47; +} + +.boundary-feedback { + margin-top: 16px; + min-height: 140px; + color: #228d5c; +} + +.boundary-feedback strong { + font-size: 26px; +} + +.boundary-feedback p { + margin-top: 10px; + font-size: 24px; +} + +.boundary-feedback small { + display: block; + margin-top: 12px; + font-size: 20px; + color: #68778f; +} + +.boundary-next { + border-top: 1px solid #d7deea; + padding-top: 16px; +} + +.boundary-next b { + font-size: 24px; +} + +.boundary-next p { + margin-top: 8px; + font-size: 23px; +} + +.protocol-picker .evidence-action { + margin-top: 12px; + padding: 8px 24px; +} + +.protocol-picker h2 { + margin-bottom: 14px; +} + +.protocol-picker .protocol-feedback { + margin-top: 12px; + padding-top: 10px; +} + +.protocol-picker .protocol-feedback strong { + font-size: 24px; + line-height: 1.3; +} + +.protocol-picker .protocol-feedback p { + font-size: 22px; + line-height: 1.3; + margin-top: 6px; +} + +.protocol-picker .protocol-options label { + padding: 7px 12px; +} + +.protocol-options { + gap: 8px; +} + +.boundary-case h2 { + margin-bottom: 14px; +} + +.boundary-case blockquote { + margin-bottom: 16px; + min-height: 100px; + padding: 14px; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/runplus-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/runplus-scene.tsx new file mode 100644 index 00000000..9140c982 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/runplus-scene.tsx @@ -0,0 +1,122 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [transmission, setTransmission] = useState(.45); + const [airlight, setAirlight] = useState(.9); + const [estimate, setEstimate] = useState(.65); + const [restore, setRestore] = useState(true); + const reference = Array.from({ length: 160 }, (_, index) => { + const column = index % 16, row = Math.floor(index / 16); + const object = ((column - 8) / 3) ** 2 + ((row - 5) / 3.5) ** 2 < 1; + return object ? .25 + .035 * ((column + row) % 3) : .48 + .055 * ((column * 3 + row * 7) % 4); + }); + const observed = reference.map(value => value * transmission + airlight * (1 - transmission)); + const recovered = observed.map(value => clamp((value - airlight * (1 - estimate)) / estimate)); + const output = restore ? recovered : observed; + const error = output.reduce((sum, value, index) => sum + Math.abs(value - reference[index]), 0) / reference.length; + return
合成雾化实验 · 非 RUN / RUN+ 网络推理论文扩展:Fig.5 · PDF p.8
{[['参考 J', reference], ['雾化输入 I', observed], [restore ? '解析恢复 Ĵ' : '未恢复输入', output]].map(([label, pixels]) =>
{String(label)}
{(pixels as number[]).map((value, index) => )}
)}
I = tJ + (1−t)A
合成强度 MAE {error.toFixed(4)}

t̂ 接近 t 时恢复更准;小透射率会放大估计误差。此值不是论文分割 MAE。

论文中的 RUN+ 额外引入预训练去雾模型;本实验只解释退化与恢复,不模拟其性能。

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/separation-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/separation-scene.tsx new file mode 100644 index 00000000..34386bc4 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/separation-scene.tsx @@ -0,0 +1,109 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/sofs-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/sofs-scene.tsx new file mode 100644 index 00000000..34386bc4 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/sofs-scene.tsx @@ -0,0 +1,109 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/sparsity-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/sparsity-scene.tsx new file mode 100644 index 00000000..34386bc4 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/sparsity-scene.tsx @@ -0,0 +1,109 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/transfer-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/transfer-scene.tsx new file mode 100644 index 00000000..c38d943b --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/transfer-scene.tsx @@ -0,0 +1,120 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); + const [protocol, setProtocol] = useState(2); + const [checked, setChecked] = useState(false); + const tasks = [ + { name: 'PIS · 息肉分割', datasets: 'CVC-ColonDB / ETIS', metrics: 'mDice / mIoU / Sα', focus: '区域覆盖与轮廓一致性', direction: '三项均越高越好' }, + { name: 'MTOS · 管状结构', datasets: 'DRIVE / CORN', metrics: 'mDice / AUC / SEN', focus: '细长结构与漏检', direction: '三项均越高越好' }, + { name: 'TOD · 透明目标', datasets: 'GDD / GSD', metrics: 'mIoU / Fβmax / MAE', focus: '低对比边界与透明区域', direction: 'MAE 越低,其余越高' } + ]; + const current = tasks[task]; + return
跨任务评测 · Tables 2–4PDF pp.7–8 · Appendix A.1
+
{tasks.map((item, index) => )}

{current.name}

{task === 0 ? <> : task === 1 ? <> : <>}
判断重点
{current.focus}
数值边界
不同任务不共享同一排行榜
+

为当前任务匹配评测协议

{tasks.map((item, index) => )}
{checked ? <>{protocol === task ? '协议匹配' : '不能用这组协议支持当前任务结论'}

{protocol === task ? `${current.datasets};${current.direction}。还需核对训练划分和骨干设置。` : `当前任务应核对 ${current.datasets},指标为 ${current.metrics}。同名指标也不能跨数据集直接排名。`}

: <>数据集、指标和方向必须成组核对

选中的协议决定结论范围,不是换一个标签就能比较分数。

}
+
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/unfold-scene.tsx b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/unfold-scene.tsx new file mode 100644 index 00000000..34386bc4 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/modules/unfold-scene.tsx @@ -0,0 +1,109 @@ +import React, { useMemo, useState } from 'react'; +import { SymbolHint } from '../components/SymbolHint'; +import type { WidgetProps } from './registry'; +import './run-scenes.css'; + +const C = { ink: '#21324a', muted: '#68778f', blue: '#27446e', green: '#228d5c', red: '#c43f52', orange: '#f07e47', line: '#d7deea', field: '#f5f8f0', leaf: '#b8c9a7', deep: '#76906a' }; +const clamp = (x: number, lo = 0, hi = 1) => Math.max(lo, Math.min(hi, x)); +const f2 = (x: number) => Number(x).toFixed(2); +const values = [0.18, 0.28, 0.42, 0.25, 0.16, 0.22, 0.48, 0.72, 0.51, 0.19, 0.17, 0.63, 0.91, 0.66, 0.21, 0.13, 0.46, 0.74, 0.49, 0.18, 0.1, 0.2, 0.37, 0.22, 0.12]; + +function Canvas({ children, label = '交互式示意图' }: { children: React.ReactNode; label?: string }) { + return {children}; +} +function Grid({ data, active = -1, onPick }: { data: number[]; active?: number; onPick?: (i: number) => void }) { + return
{data.map((v, i) => )}
; +} +export function AmbiguityScene() { + const [threshold, setThreshold] = useState(.5); + const foreground = threshold >= .5; + return
+ + + + + + 前景判定阈值 {f2(threshold)} + {foreground ? '边界扩大:背景纹理被误纳入' : '边界收紧:隐蔽目标可能漏分'} + +

{foreground ? '掩码本身无法判断相似纹理是否属于目标。' : '收紧边界能减少误分,但可能漏掉真实前景。'}

+
; +} + +export function DomainConflictScene() { + const [index, setIndex] = useState(12); const [mask, setMask] = useState(.5); + const input = values[index]; const fg = input * mask; const bg = .8 * (1 - mask); const residual = input - fg - bg; + const nextMask = (v: number) => { setMask(v); }; + return
+ { setIndex(i); setMask(values[i]); }} /> +
+ 同一像素的 RGB 解释 + + 输入 C = {f2(input)}前景 C·M = {f2(fg)}背景 B = {f2(bg)} + 残差 C − C·M − B = {f2(residual)} + + +

像素值是合成示意。分割边界的不确定性可能转化为 RGB 重组冲突。

+
; +} + +export function SeparationScene() { + const [mask, setMask] = useState(.55); const [background, setBackground] = useState(.18); const image = .8; + const foreground = image * mask; const residual = image - foreground - background; + return
+
C = C·M + B + R
+ 输入强度 C = {f2(image)}前景 C·M = {f2(foreground)}背景 B = {f2(background)}残差 R = {f2(residual)}重组一致不等于语义必然正确 +
+
; +} + +export function SparsityScene() { + const [data, setData] = useState(values); const [index, setIndex] = useState(12); const m = data[index]; + const mapped = m >= .1 && m < .4 ? .1 : m > .6 && m <= .9 ? .9 : m; const weight = m >= .4 && m <= .6 ? 0 : 1; const loss = weight * Math.abs(m - mapped); + return
M={f2(m)} → M̃={f2(mapped)}; w={weight}
= .4 && m <= .6 ? 215 : 145} r="19" fill={weight ? C.orange : C.green} />不确定区间:[0.4, 0.6]M → M̃ 映射与 w 权重

{weight ? `该像素稀疏惩罚 |M−M̃| = ${f2(loss)}。` : '该像素位于不确定区间,w=0,不计入此稀疏项。'}

; +} + +export function AlternatingScene() { + const [step, setStep] = useState<'mask' | 'background'>('background'); const [m, setM] = useState(.62); const [b, setB] = useState(.2); const [lambda, setLambda] = useState(1); const c = .8; const nextB = (lambda * b + c - c * m) / (1 + lambda); const selected = step === 'background' ? nextB : m; + return
{step === 'background' ? '背景闭式更新' : '掩码近端子问题'}{step === 'background' ? 'B̂ₖ=(λBₖ₋₁+C−C·M)/(1+λ)' : 'M̂ₖ 由数据项、稀疏项与近端项共同确定'}当前背景解 B̂ₖ = {f2(nextB)}M 与 B 交替更新,目标是降低分离目标函数
; +} + +export function UnfoldScene() { + const [k, setK] = useState(2); const [selected, setSelected] = useState<'SOFS' | 'ROBE'>('SOFS'); + return
{[1, 2, 3, 4].map(n => )}
RUN · 第 {k} / 4 阶段{Array.from({ length: k }, (_, i) => { const x = 90 + i * 190; return SOFSROBE{i < k - 1 && } })}{selected === 'SOFS' ? '更新掩码 Mₖ 与辅助边缘 Eₖ' : '更新背景 Bₖ 并重建 Ĉₖ'}

每阶段对应一次优化更新;K=4 是论文实验配置,不是普适最优值。

; +} + +export function SofsScene() { + const [branch, setBranch] = useState<'local' | 'global'>('local'); const [index, setIndex] = useState(12); const [response, setResponse] = useState(values); + const output = response.map((v, i) => { const d = Math.abs(i - index); return clamp(branch === 'local' ? v * .55 + (d <= 2 ? .25 : 0) : v * .55 + (values[i] > .55 ? .28 : 0)); }); + return
{branch === 'local' ? '局部边缘细化' : '全局上下文补足漏分'}{output.map((v, i) => { const x = 100 + (i % 5) * 130, y = 110 + Math.floor(i / 5) * 58; return {i === index && } })}合成响应示意;非真实 VSS 推理

{branch === 'local' ? '小感受野侧重边缘附近的局部修正。' : '大感受野利用上下文补足可能漏分的区域。'}

; +} + +export function RobeUpdateScene() { + const [m, setM] = useState(.6); const [old, setOld] = useState(.35); const [lambda, setLambda] = useState(1); const c = .8; const reversed = c - c * m; const updated = (lambda * old + reversed) / (1 + lambda); const reconstructed = c * m + updated; const residual = reconstructed - c; + return
B̂ₖ = (λBₖ₋₁ + C − C·M) / (1+λ)反向前景 C−C·M = {f2(reversed)}更新背景 B̂ₖ = {f2(updated)}重组残差 Ĉ−C = {f2(residual)}
; +} + +export function LossScene() { + const [enabled, setEnabled] = useState([true, true, true, true]); const labels = [['加权 BCE', 'Mₖ'], ['加权 IoU', 'Mₖ'], ['边缘 Dice', 'Eₖ'], ['重建 MSE', 'Ĉₖ']]; + return
分割 + 边缘 + RGB 重建
{labels.map(([name, target], i) => )}

{enabled.every(Boolean) ? '完整目标同时约束掩码、边缘与重建。' : '关闭项后,对应监督约束不再参与示意。'}

; +} + +export function ResultsScene() { + const [metric, setMetric] = useState<'Fβ' | 'MAE' | 'Eφ' | 'Sα'>('Fβ'); const rows = { Fβ: [['FEDER', .715], ['FocusDiff', .730], ['RUN', .747]], MAE: [['FEDER', .032], ['FocusDiff', .031], ['RUN', .030]], Eφ: [['FEDER', .892], ['FocusDiff', .897], ['RUN', .903]], Sα: [['FEDER', .810], ['FocusDiff', .820], ['RUN', .827]] }[metric]; const lower = metric === 'MAE'; + return
{(['Fβ', 'MAE', 'Eφ', 'Sα'] as const).map(x => )}
{lower ? '低更好' : '高更好'}COD10K · ResNet50 · common setting
{rows.map(([name, value]) =>
{name}
{Number(value).toFixed(3)}
)}

同协议下比较;仅高亮所选指标,不代表跨设置排名。

; +} + +export function TransferScene() { + const [task, setTask] = useState(0); const data = [['PIS', 'CVC-ColonDB · ETIS', 'mDice / mIoU / Sα', '均为越高越好'], ['MTOS', 'DRIVE · CORN', 'mDice / AUC / SEN', '均为越高越好'], ['TOD', 'GDD · GSD', 'mIoU / Fβmax / MAE', 'MAE 越低,其余越高']][task]; + return
{['息肉分割', '管状结构', '透明目标'].map((x, i) => )}
{data[0]}数据集{data[1]}指标{data[2]}{data[3]}不同任务不可直接合并为同一排行榜
; +} + +export function RunPlusScene() { + const [plus, setPlus] = useState(false); return
{plus ? 'RUN + 预训练去雾器' : 'RUN 重建器'}{plus ? '扩展雾化鲁棒性' : '雾化场景仍会退化'}论文在 COD10K 模拟雾化;切换不改变论文测量结果。

{plus ? 'RUN+ 是额外扩展,增加预训练去雾模型成本。' : 'RUN 是主方法;作者指出复杂退化仍需改进。'}

; +} + +export function LimitsScene() { + const [choice, setChoice] = useState(0); const items = [['复杂退化', '作者指出复杂退化下的鲁棒性仍不足。', 'Appendix B · p.13'], ['计算与存储', '整合更大型低层视觉模型会增加资源需求。', 'Appendix B · p.13'], ['输入分辨率', '论文训练与测试图像缩放到 352×352。', 'Sec. 4 · p.5']]; + return
{items.map((x, i) => )}
{items[choice][0]}{items[choice][2]}

{items[choice][1]}

; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/components.css b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/components.css new file mode 100644 index 00000000..359875a2 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/components.css @@ -0,0 +1,304 @@ +/* Shared UI from the reference template. Import unchanged after tokens.css. */ + +/* ---------- Foundation ---------- */ +* { box-sizing: border-box; margin: 0; padding: 0; } +html { scroll-behavior: smooth; } +body { + min-width: 320px; + font-family: var(--ui-font-sans); + background: + radial-gradient(circle at top left, rgba(39, 68, 110, 0.06), transparent 30%), + linear-gradient(180deg, var(--ui-bg-page-top) 0%, var(--ui-bg-page) 100%); + color: var(--ink); + font-size: var(--ui-type-body-size); + font-weight: var(--ui-type-body-weight); + line-height: var(--ui-type-body-line-height); + -webkit-font-smoothing: antialiased; +} +a { color: var(--blue); text-decoration: none; } +a:hover { text-decoration: underline; } +p { margin: 0.7em 0; } +button, input, select, textarea { font: inherit; } +button { + transition: + transform var(--t-fast) var(--ease-out), + box-shadow var(--t-fast) var(--ease-out), + background-color var(--t-fast) var(--ease-out), + border-color var(--t-fast) var(--ease-out), + color var(--t-fast) var(--ease-out); +} +button { cursor: pointer; } +button:active { transform: translateY(0) scale(0.97); } +button:focus-visible, [tabindex]:focus-visible, +a:focus-visible, input:focus-visible { + outline: 3px solid rgba(39, 68, 110, 0.4); + outline-offset: 3px; + border-radius: inherit; +} + +canvas { + display: block; + max-width: 100%; + margin: 8px auto; + background: var(--paper); + border: 1px solid var(--line); + border-radius: var(--ui-radius-sm); +} + + +/* ---------- Controls ---------- */ +input[type="range"] { + appearance: none; + width: 100%; + height: 6px; + background: linear-gradient(90deg, var(--blue-soft), var(--blue)); + border-radius: var(--ui-radius-pill); + outline: none; + cursor: pointer; +} +input[type="range"]::-webkit-slider-thumb { + appearance: none; + width: 20px; + height: 20px; + background: #fff; + border: 3px solid var(--blue); + border-radius: 50%; + box-shadow: 0 2px 8px rgba(25, 42, 70, 0.2); + transition: transform var(--t-fast) var(--ease-spring); +} +input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); } +input[type="range"]::-moz-range-thumb { + width: 20px; + height: 20px; + background: #fff; + border: 3px solid var(--blue); + border-radius: 50%; + box-shadow: 0 2px 8px rgba(25, 42, 70, 0.2); +} +/* ---------- Formula UI: Unicode/HTML, no external renderer ---------- */ +.formula-explain { + position: relative; + margin: 14px 0; + padding: 20px; + background: linear-gradient(135deg, var(--blue-soft) 0%, var(--green-soft) 100%); + border: 1px solid var(--line); + border-radius: var(--radius-sm); + text-align: center; +} +.fe-formula { + display: inline-block; + margin: 4px 0; + padding: 12px 22px; + background: #fff; + border: 1px solid var(--line); + border-radius: var(--ui-radius-sm); + color: var(--blue); + font-family: "Cambria Math", Georgia, serif; + font-size: var(--ppt-body-emphasis); + font-weight: var(--ui-type-formula-weight); + line-height: var(--ui-type-formula-line-height); + max-width: 100%; + overflow-wrap: anywhere; +} +.formula-symbol { + cursor: help; + border-bottom: 1px dotted currentColor; + border-radius: 3px; + touch-action: manipulation; +} +.formula-symbol:hover, .formula-symbol:focus-visible { + background: var(--blue-soft); + outline: 2px solid var(--blue); + outline-offset: 3px; +} +.formula-symbol-tooltip { + position: fixed; + z-index: 10000; + box-sizing: border-box; + width: max-content; + max-width: min(480px, calc(100vw - 24px)); + padding: 12px 16px; + background: #fff; + color: var(--ink); + border: 1px solid var(--line); + border-radius: var(--radius-sm); + box-shadow: var(--shadow-soft); + font-family: var(--ui-font-body, sans-serif); + font-size: var(--ppt-body-text); + font-weight: 400; + line-height: 1.4; + overflow-wrap: anywhere; + text-align: left; +} +/* ---------- Bilibili recommendations: fixed-slide paged grid ---------- */ +.dl-related-section { + position: absolute; + inset: 42px 64px; + margin: 0; + padding: 24px; + background: var(--paper); + border: 1px solid var(--line); + border-radius: var(--radius); + box-shadow: var(--shadow-soft); +} +.dl-related-section h3 { + margin: 0 0 6px; + color: var(--ink); + font-size: var(--ppt-body-heading); + font-weight: var(--ui-type-h2-weight); + letter-spacing: var(--ui-type-h2-letter-spacing); + line-height: var(--ui-type-h2-line-height); +} +.dl-related-section > p { margin: 0 0 14px; color: var(--ink-2); font-size: var(--ppt-body-text); font-weight: var(--ui-type-body-small-weight); } +.dl-video-strip { + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + gap: 24px; +} +a.dl-video-card { + display: grid; + position: relative; + gap: 7px; + min-width: 0; + padding: 0; + background: transparent; + border: 0; + border-radius: var(--ui-radius-sm); + color: inherit; + text-decoration: none; +} +.dl-video-link-cover { + display: grid; + position: relative; + overflow: hidden; + place-items: center; + width: 100%; + aspect-ratio: 16 / 9; + background: linear-gradient(135deg, #1f385d 0%, var(--ui-accent) 100%); + border-radius: var(--ui-radius-sm); + box-shadow: 0 8px 18px rgba(33, 50, 74, 0.08); +} +a.dl-video-card:hover .dl-video-link-cover { + transform: translateY(-2px); + box-shadow: 0 12px 24px rgba(18, 31, 48, 0.22); +} +.dl-video-cover-img { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + object-fit: cover; + opacity: 0; + transition: opacity var(--t-med) var(--ease-out); +} +.dl-video-link-cover.is-loaded .dl-video-cover-img { opacity: 1; } +/* Keep the gradient as the backdrop so a failed/unavailable cover still looks clean. */ +.dl-video-link-cover.is-loaded { background: linear-gradient(135deg, #1f385d 0%, var(--ui-accent) 100%); } +.dl-video-play { + display: grid; + position: relative; + z-index: 2; + width: 44px; + height: 44px; + place-items: center; + background: rgba(39, 68, 110, 0.88); + border: 1px solid rgba(255, 255, 255, 0.68); + border-radius: 50%; + box-shadow: 0 6px 16px rgba(18, 31, 48, 0.24); + color: #fff; + font-size: 17px; + line-height: 1; + text-indent: 3px; +} +.dl-video-badge, .dl-video-link-tag { + position: absolute; + left: 8px; + bottom: 8px; + z-index: 3; + padding: 3px 8px; + background: rgba(18, 31, 48, 0.66); + border-radius: 4px; + color: #fff; + font-size: var(--ppt-body-text); + font-weight: var(--ui-type-body-small-weight); + letter-spacing: 0; +} +.dl-video-duration { + position: absolute; + right: 8px; + bottom: 8px; + z-index: 3; + padding: 2px 6px; + background: rgba(18, 31, 48, 0.78); + border-radius: 4px; + color: #fff; + font-family: var(--ui-font-mono); + font-size: var(--ppt-body-text); + font-weight: var(--ui-type-body-small-weight); +} +.dl-video-card strong { + display: -webkit-box; + overflow: hidden; + color: var(--blue); + font-size: var(--ppt-body-text); + font-weight: var(--ui-type-body-small-weight); + line-height: var(--ui-type-body-small-line-height); + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; +} +.dl-video-meta { + display: flex; + align-items: center; + gap: 8px; + color: var(--slate-2); + font-size: var(--ppt-body-text); + font-weight: var(--ui-type-body-small-weight); + line-height: var(--ui-type-body-small-line-height); +} +.dl-video-meta .views::before { content: '▶ '; } +.dl-video-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; font-size: var(--ppt-body-text); } +.dl-video-pagination button { padding: 10px 20px; background: var(--paper); color: var(--blue); border: 1px solid var(--line); border-radius: var(--radius-sm); } +.dl-video-pagination button:disabled { opacity: .4; cursor: default; } + +/* ---------- Responsive behavior ---------- */ +@media (prefers-reduced-motion: reduce) { + html { scroll-behavior: auto; } + *, *::before, *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + } +} + +/* ---------- Optional paper figures (public/images or URL) ---------- */ +.paper-figure { + margin: 14px 0; + text-align: center; +} +.paper-figure img { + max-width: 100%; + border: 1px solid var(--line); + border-radius: var(--ui-radius-sm); + background: #fff; +} +.paper-figure figcaption { + margin-top: 6px; + color: var(--slate); + font-size: var(--ppt-body-text); + font-weight: var(--ui-type-body-small-weight); + line-height: var(--ui-type-body-small-line-height); +} + +html { touch-action: pan-x pan-y pinch-zoom; } +html, body, #root { width: 100%; height: 100%; min-width: 0; overflow: hidden; } +.slide-viewport { flex: 1; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; } +.slide-content { position: absolute; max-width: none; margin: 0; padding: 0; animation: none; background: var(--paper); overflow: hidden; } +/* Local slide gestures also work in DevTools mobile emulation. */ +.slide-viewport { position: relative; touch-action: none; } +.slide-viewport.is-zoomed { cursor: grab; } +.slide-viewport.is-zoomed:active { cursor: grabbing; } +.slide-zoom-controls { position: absolute; z-index: 10; right: 8px; top: 8px; display: flex; align-items: center; padding: 3px; border: 1px solid #e0e5eb; border-radius: 10px; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(31,49,73,.04); } +.slide-zoom-controls button { display: grid; place-items: center; height: 30px; min-width: 30px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; color: #4b607c; font-size: 16px; } +.slide-zoom-controls button:hover:not(:disabled) { background: #edf2f8; } +.slide-zoom-controls button:disabled { opacity: .3; cursor: default; } +.slide-zoom-controls .slide-zoom-reset { font-family: var(--ui-font-mono); font-size: 11px; min-width: 48px; } diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/paper.css b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/paper.css new file mode 100644 index 00000000..e0f98d28 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/paper.css @@ -0,0 +1,12 @@ +/* Paper-specific overrides. This is the ONLY stylesheet the generator edits. + Keep the semantic color roles from tokens.css stable (see contract.md §5): + --blue = guidance/current, --green = success/paper method, --red = failure/old, + --orange = emphasis, --purple = auxiliary. Only append metaphor scene colors + or tune scene backgrounds here. Do NOT rewrite tokens.css / components.css. */ + +:root { + /* __METAPHOR_CSS__ <- replace this line with paper-specific :root overrides, e.g. + --paper-scene-bg: #f5f8f0; + --paper-accent-2: #d97706; + */ +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/presentation.css b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/presentation.css new file mode 100644 index 00000000..a879ec8b --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/presentation.css @@ -0,0 +1,626 @@ +/* Independent implementation of the referenced SceneDeck presentation format. */ +:root { + --ppt-body-text: 28px; + --ppt-body-heading: 34px; + --ppt-body-emphasis: 44px; +} + +.ppt-app { + position: fixed; + inset: 0; + display: grid; + grid-template-rows: 64px minmax(0, 1fr); + color: #1a2231; + background: #eceff5; +} + +.ppt-app button { + cursor: pointer; + font: inherit; +} + +.ppt-app button:focus-visible { + outline: 3px solid #2f6bff; + outline-offset: 3px; +} + +.ppt-toolbar { + display: grid; + grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); + align-items: center; + padding: 0 20px; + gap: 16px; + background: #fff; + border-bottom: 1px solid #e4e8f0; + font-size: 16px; +} + +.ppt-toolbar-group, +.ppt-pager { + display: flex; + align-items: center; + gap: 12px; + min-width: 0; +} + +.ppt-toolbar button, +.ppt-fullscreen-nav button, +.ppt-notes button { + border: 0; + border-radius: 8px; + background: transparent; + color: #526177; + min-width: 38px; + min-height: 38px; + padding: 4px 10px; +} + +.ppt-toolbar button:hover, +.ppt-fullscreen-nav button:hover { + background: #eef3ff; + color: #2455d8; +} + +.ppt-app button:disabled { + opacity: .3; + cursor: default; +} + +.ppt-brand { + font-weight: 650; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.ppt-tools { + justify-content: flex-end; +} + +.ppt-toolbar .ppt-present { + background: #2f6bff; + color: white; + padding: 4px 20px; +} + +.ppt-pager { + font-variant-numeric: tabular-nums; + gap: 16px; +} + +.ppt-pager>span { + min-width: 72px; + text-align: center; +} + +.ppt-pager>span>span { + color: #8791a0; +} + +.ppt-pager button { + font-size: 28px; +} + +.ppt-workspace { + display: flex; + min-height: 0; + min-width: 0; +} + +.ppt-directory { + width: 258px; + flex: none; + min-height: 0; + background: #f8f9fc; + border-right: 1px solid #d3dae6; + display: flex; + flex-direction: column; +} + +.ppt-directory-label { + flex: none; + padding: 17px 18px; + display: flex; + align-items: center; + justify-content: space-between; + font-size: 16px; + color: #6a7484; +} + +.ppt-directory nav { + overflow-y: auto; + min-height: 0; + padding: 0 14px 18px; + scrollbar-width: thin; +} + +.ppt-thumb { + display: block; + width: 100%; + border: 0; + padding: 8px; + margin: 0 0 12px; + border-radius: 10px; + background: transparent; + text-align: left; +} + +.ppt-thumb:hover { + background: #e9edf5; +} + +.ppt-thumb.is-active { + background: #e8efff; +} + +.ppt-thumb-preview { + display: block; + aspect-ratio: 16/9; + background: white; + border: 1px solid #d3dae6; + border-radius: 5px; + position: relative; + overflow: hidden; + box-shadow: 0 2px 5px #1a22310a; +} + +.ppt-thumb.is-active .ppt-thumb-preview { + border-color: #2f6bff; + box-shadow: 0 0 0 2px #2f6bff; +} + +.ppt-thumb-preview img { + width: 100%; + height: 100%; + object-fit: contain; +} + +.ppt-thumb-number { + position: absolute; + bottom: 5px; + left: 6px; + padding: 1px 5px; + font-size: 12px; + background: #edf1f8; + border-radius: 3px; + color: #566780; +} + +.ppt-thumb-title { + display: block; + margin-top: 8px; + color: #3b4a61; + font-size: 18px; + line-height: 1.4; +} + +.ppt-thumb-summary { + display: flex; + flex-direction: column; + padding: 10px 12px; + gap: 5px; + color: #27446e; +} + +.ppt-thumb-summary strong { + font-size: 14px; + line-height: 1.35; +} + +.ppt-thumb-summary>span { + font-size: 12px; + line-height: 1.35; + max-height: 33px; + overflow: hidden; + color: #68778f; +} + +.ppt-thumb-summary i { + display: block; + width: 60%; + height: 18px; + background: #eef3fb; + border-left: 3px solid #f07e47; + margin-top: 4px; +} + +.ppt-stage-area { + flex: 1; + min-width: 0; + min-height: 0; + max-width: none; + padding: 0; + margin: 0; + position: relative; + display: flex; + background: radial-gradient(#b8c4d573 1px, transparent 1px), radial-gradient(ellipse at top, #f8fafd, #e6ebf3); + background-size: 24px 24px, 100% 100%; +} + +.ppt-stage-area .slide-content { + border-radius: 12px; + box-shadow: 0 26px 64px #24365033; + background: white; +} + +.ppt-stage-area.is-presenting { + background: #111827; + width: 100%; + height: 100%; +} + +.ppt-stage-area.is-presenting .slide-content { + border-radius: 0; + box-shadow: none; +} + +.ppt-stage-area .slide-zoom-controls { + top: auto; + bottom: 16px; + right: 18px; +} + +.ppt-stage-area .slide-zoom-controls .slide-zoom-reset { + font-size: 14px; +} + +.ppt-notes { + width: 300px; + flex: none; + background: white; + border-left: 1px solid #e4e8f0; + padding: 0 22px 24px; + overflow-y: auto; +} + +.ppt-notes .ppt-directory-label { + padding-left: 0; + padding-right: 0; +} + +.ppt-notes h2 { + font-size: 20px; + line-height: 1.5; + margin: 16px 0; +} + +.ppt-notes p { + font-size: 17px; + line-height: 1.85; + white-space: pre-wrap; +} + +.ppt-notes-next { + color: #68778f; + border-top: 1px solid #e4e8f0; + padding-top: 20px; +} + +.ppt-scrim { + display: none; +} + +.ppt-fullscreen-nav { + position: absolute; + bottom: 16px; + left: 50%; + transform: translateX(-50%); + display: flex; + align-items: center; + gap: 12px; + background: #fffffff0; + padding: 4px; + border-radius: 10px; + font-size: 16px; +} + +.ppt-notice { + position: absolute; + bottom: 64px; + left: 24px; + background: white; + padding: 12px; + font-size: 16px; +} + +.ppt-page { + width: 1600px; + height: 900px; + position: relative; + background: #fff; + color: #21324a; +} + +.ppt-heading { + position: absolute; + left: 64px; + top: 42px; + width: 1472px; + height: 184px; + display: grid; + grid-template-columns: minmax(0, 1fr) auto; + grid-template-rows: min-content min-content; + align-content: start; + column-gap: 28px; + row-gap: 8px; +} + +.ppt-heading-chapter { + grid-column: 2; + grid-row: 1; + justify-self: end; + text-align: right; + white-space: nowrap; +} + +.ppt-heading-chapter .ppt-type-small { + font-size: 28px; + line-height: 1.3; +} + +.ppt-heading-title { + grid-column: 1; + grid-row: 1; + min-width: 0; +} + +.ppt-heading-goal { + grid-column: 1 / -1; + grid-row: 2; + min-width: 0; +} + +.ppt-body { + position: absolute; + left: 64px; + top: 246px; + width: 1472px; + height: 622px; + font-size: var(--ppt-body-text); + line-height: 1.42; +} + +.ppt-body .ppt-type-body, +.ppt-body .ppt-type-small, +.ppt-body .ppt-type-subtitle { + font-size: var(--ppt-body-text); +} + +.ppt-body .ppt-type-h2, +.ppt-body .ppt-type-h3 { + font-size: var(--ppt-body-heading); +} + +.ppt-body .ppt-type-display, +.ppt-body .ppt-type-h1 { + font-size: var(--ppt-body-emphasis); +} + +.ppt-layout { + width: 100%; + height: 100%; + min-width: 0; + min-height: 0; +} + +.ppt-type { + margin: 0; + padding: 0; + color: inherit; +} + +.ppt-type-display { + font-size: 60px; + line-height: 1.25; + font-weight: 800; +} + +.ppt-type-h1 { + font-size: 52px; + line-height: 1.25; + font-weight: 800; +} + +.ppt-type-h2 { + font-size: 40px; + line-height: 1.22; + font-weight: 800; +} + +.ppt-type-h3 { + font-size: 35px; + line-height: 1.35; + font-weight: 800; +} + +.ppt-type-subtitle { + font-size: 32px; + line-height: 1.6; + font-weight: 500; +} + +.ppt-type-body { + font-size: 29px; + line-height: 1.7; + font-weight: 500; +} + +.ppt-type-small { + font-size: 23px; + line-height: 1.7; + font-weight: 500; +} + +.ppt-muted { + color: #68778f; +} + +.ppt-body canvas { + max-width: 100%; +} + +.ppt-capture { + width: 1600px; + height: 900px; + overflow: hidden; + background: white; +} + +.ppt-capture>section { + width: 1600px; + height: 900px; +} + +.ppt-cover { + width: 1600px; + height: 900px; + background: white; + position: relative; + color: #21324a; +} + +.ppt-cover-top { + position: absolute; + left: 64px; + top: 36px; + width: 1472px; + height: 190px; + display: flex; + flex-direction: column; + gap: 4px; +} + +.ppt-cover-top .ppt-type-display { + font-size: 52px; +} + +.ppt-cover-top.is-long-title .ppt-type-display { + font-size: 42px; + line-height: 1.14; +} + +.ppt-cover-top.is-very-long-title .ppt-type-display { + font-size: 36px; + line-height: 1.12; +} + +.ppt-cover-comparison { + position: absolute; + left: 64px; + top: 232px; + width: 1472px; + height: 552px; + display: grid; + grid-template-columns: 1fr 1fr; + gap: 32px; +} + +.ppt-cover-panel { + padding: 28px; + border: 1px solid #e2e8f0; + border-radius: 24px; + background: #f8fafc; + display: grid; + grid-template-rows: 100px minmax(0, 1fr); + gap: 8px; +} + +.ppt-cover-panel.is-new { + background: #f3f9f6; + border-color: #cce5d8; +} + +.ppt-cover-panel.is-old h3 { + color: #a83c50; +} + +.ppt-cover-panel.is-new h3 { + color: #228d5c; +} + +.ppt-cover-panel-heading { + display: flex; + flex-direction: column; + gap: 12px; +} + +.ppt-cover-animation { + min-height: 0; + min-width: 0; +} + +.ppt-cover-animation>* { + max-width: 100%; +} + +.ppt-cover-animation canvas { + max-width: 100%; + height: auto; +} + +.ppt-cover-footer { + position: absolute; + left: 64px; + top: 800px; + width: 1472px; + height: 64px; + display: flex; + align-items: center; + justify-content: space-between; +} + +@media (max-width: 1100px) { + .ppt-notes { + position: absolute; + right: 0; + top: 64px; + bottom: 0; + z-index: 30; + box-shadow: -8px 0 30px #1a223115; + } +} + +@media (max-width: 768px) { + .ppt-toolbar { + padding: 0 8px; + gap: 4px; + grid-template-columns: 42px minmax(0, 1fr) auto; + } + + .ppt-brand { + display: none; + } + + .ppt-pager { + justify-content: center; + gap: 4px; + } + + .ppt-tools { + gap: 2px; + } + + .ppt-toolbar .ppt-present { + padding: 4px 10px; + } + + .ppt-directory { + position: absolute; + top: 64px; + bottom: 0; + left: 0; + z-index: 50; + width: min(280px, 82vw); + box-shadow: 8px 0 30px #1a223122; + } + + .ppt-scrim { + display: block; + position: absolute; + inset: 64px 0 0; + z-index: 40; + border: 0; + border-radius: 0; + background: #1a223144; + } +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/tokens.css b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/tokens.css new file mode 100644 index 00000000..e1552c24 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/styles/tokens.css @@ -0,0 +1,118 @@ +/* Visual tokens from the reference template. Import this file unchanged before components.css. */ +:root { + /* Core palette */ + --ui-bg-page: #eef2f7; + --ui-bg-page-top: #f7f9fc; + --ui-bg-card: #ffffff; + --ui-bg-soft: #eef3fb; + --ui-bg-muted: #f6f8fc; + --ui-text-main: #21324a; + --ui-text-muted: #68778f; + --ui-text-light: #8b97ab; + --ui-border: #d7deea; + --ui-border-strong: #9fb0c8; + --ui-accent: #27446e; + --ui-accent-alt: #f07e47; + --ui-success: #228d5c; + --ui-warning: #c07100; + --ui-danger: #c43f52; + + /* Reference-template semantic aliases */ + --bg: var(--ui-bg-page); + --paper: var(--ui-bg-card); + --paper-2: var(--ui-bg-muted); + --ink: var(--ui-text-main); + --ink-2: var(--ui-text-muted); + --slate: var(--ui-text-muted); + --slate-2: var(--ui-text-light); + --line: var(--ui-border); + --line-2: var(--ui-border-strong); + --blue: var(--ui-accent); + --blue-soft: var(--ui-bg-soft); + --green: var(--ui-success); + --green-soft: rgba(34, 141, 92, 0.12); + --orange: var(--ui-accent-alt); + --orange-soft: rgba(240, 126, 71, 0.12); + --purple: #7c3aed; + --purple-soft: #f5f3ff; + --red: var(--ui-danger); + --red-soft: rgba(196, 63, 82, 0.10); + --yellow: var(--ui-warning); + --yellow-soft: rgba(192, 113, 0, 0.14); + --olive: var(--ui-success); + --sky: #4f7fb5; + --rust: var(--ui-accent-alt); + /* --accent aliases the primary blue (guidance/current state). Orange is the + user-emphasis color and is exposed as --orange / --ui-accent-alt. Do not + repurpose --accent for a different semantic role. */ + --accent: var(--ui-accent); + --bad: var(--ui-danger); + + /* Elevation and shape */ + --ui-shadow-soft: 0 12px 34px rgba(25, 42, 70, 0.08); + --ui-shadow-hover: 0 16px 40px rgba(25, 42, 70, 0.12); + --shadow: var(--ui-shadow-soft); + --shadow-soft: 0 4px 14px rgba(25, 42, 70, 0.05); + --shadow-hover: var(--ui-shadow-hover); + --ui-radius-xl: 24px; + --ui-radius-lg: 18px; + --ui-radius-md: 12px; + --ui-radius-sm: 8px; + --ui-radius-pill: 999px; + --radius: var(--ui-radius-lg); + --radius-sm: var(--ui-radius-md); + + /* System typography only: the built webpage does not depend on external fonts. */ + --ui-font-sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif; + --ui-font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace; + + /* Typography scale tokens (migrated from Shared UIKit Typography spec). + All font-size / font-weight / line-height in components.css must reference + these tokens — no hardcoded px values. */ + --ui-type-display-size: clamp(2.25rem, 4vw, 2.625rem); + --ui-type-display-weight: 800; + --ui-type-display-line-height: 1.08; + --ui-type-display-letter-spacing: -0.03em; + + --ui-type-h1-size: clamp(2rem, 3.5vw, 2.25rem); + --ui-type-h1-weight: 800; + --ui-type-h1-line-height: 1.12; + --ui-type-h1-letter-spacing: -0.02em; + + --ui-type-h2-size: clamp(1.5rem, 3vw, 1.75rem); + --ui-type-h2-weight: 800; + --ui-type-h2-line-height: 1.22; + --ui-type-h2-letter-spacing: -0.01em; + + --ui-type-h3-size: 1.5rem; + --ui-type-h3-weight: 800; + --ui-type-h3-line-height: 1.35; + + --ui-type-subtitle-size: 1.375rem; + --ui-type-subtitle-weight: 500; + --ui-type-subtitle-line-height: 1.6; + + --ui-type-body-size: 1.25rem; + --ui-type-body-weight: 500; + --ui-type-body-line-height: 1.7; + + --ui-type-body-small-size: 1rem; + --ui-type-body-small-weight: 500; + --ui-type-body-small-line-height: 1.7; + + --ui-type-formula-size: var(--ui-type-subtitle-size); + --ui-type-formula-weight: 700; + --ui-type-formula-line-height: 1.35; + + /* Motion */ + --ease-out: cubic-bezier(0.16, 1, 0.3, 1); + --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); + --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); + --t-fast: 160ms; + --t-med: 280ms; + --t-slow: 480ms; +} + +/* Semantic color contract: + error/corruption -> red; repair/correctness -> green; guidance/network -> blue; + emphasis/CTA -> orange; auxiliary concepts -> purple. */ diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/types.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/types.ts new file mode 100644 index 00000000..e3e30260 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/types.ts @@ -0,0 +1,91 @@ +// Data schema for a paper tutorial. The generator fills `src/data/tutorial.ts` +// with a `tutorial` object matching `TutorialData`. The `kind` fields are REQUIRED: +// validate-output.js counts chapters/modules via `kind: "chapter"` / `kind: "module"` +// so do not omit them. + +export interface Meta { + titleEn: string; + titleZh: string; + venue: string; + authors: string; + affiliation: string; + domain: string; + coreProblem: string; + coreInsight: string; + keywords: string[]; +} + +export interface HeroSide { + title?: string; // Source-grounded method/concept name shown above the cover animation. + desc: string; + componentId: string; // Cover animation widget reads useCoverPlayback(). +} + +export interface HeroConfig { + oldMethod: HeroSide; + newMethod: HeroSide; +} + +export interface SymbolDef { + sym: string; + desc: string; +} + +export interface FormulaDef { + lead: string; // plain-language lead-in (Simplified Chinese) + unicode: string; // Unicode/HTML formula, no KaTeX + symbols: SymbolDef[]; +} + +export interface ModuleDef { + kind: 'module'; + id: string; // e.g. "1.1" + title: string; + desc: string; + componentId: string; // MUST match a key in src/modules/registry.tsx +} + +/** One independently composed slide with one learning objective. */ +export interface SceneDef { + id: string; + title: string; + goal: string; + summary: string; + interaction: string; + next: string; + notes: string; + /** Body component receives a fixed 1472 × 622 CSS pixel region. */ + /** Every scene supplies its own paper-specific body widget. */ + componentId: string; + moduleId?: string; + thumbnail?: string; +} + +export interface ChapterDef { + kind: 'chapter'; + id: string; // e.g. "chap-1" + title: string; + modules: ModuleDef[]; // Empty for evidence/boundary-only chapters; method coverage is deck-wide. + scenes: SceneDef[]; +} + +export interface BiliDef { + bvid: string; // "BV..." or "" if unused + title: string; + reason: string; + /** Optional static cover URL (https). Baked in at generation time so the cover + * shows without depending on the runtime Bilibili metadata fetch. */ + cover?: string; + /** Optional static view count string (e.g. "41.5万播放"), baked in at generation + * time so 播放量 shows without depending on the runtime metadata fetch. */ + views?: string; +} + +export interface TutorialData { + /** Optional preview images keyed by scene ID, including cover/videos. */ + thumbnails?: Record; + meta: Meta; + hero: HeroConfig; + chapters: ChapterDef[]; + bilibili?: BiliDef[]; +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/vite-env.d.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/vite-env.d.ts new file mode 100644 index 00000000..11f02fe2 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/tsconfig.json b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/tsconfig.json new file mode 100644 index 00000000..6bfa73af --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + "strict": true, + "noUnusedLocals": false, + "noUnusedParameters": false, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"] +} diff --git a/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/vite.config.ts b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/vite.config.ts new file mode 100644 index 00000000..772032c3 --- /dev/null +++ b/html_output/run_reversible_unfolding_network_for_concealed_object_segmentation/geyi1118/vite.config.ts @@ -0,0 +1,10 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; + +// paper-skill generated tutorial. No external CDN; everything is bundled locally. +export default defineConfig({ + plugins: [react()], + base: './', + server: { port: 5173, open: false }, + build: { outDir: 'dist', sourcemap: false }, +});