为二维与三维深度色标增加每帧自适应选项。

默认仍锁定本会话首帧,勾选后两视图按当前帧有效深度共用同一范围。已用深度色标与显示设置测试验证。
This commit is contained in:
ykcheungab
2026-10-07 09:34:57 +08:00
parent 425f0dc9e2
commit 97e80d3d38
14 changed files with 254 additions and 69 deletions
+6 -2
View File
@@ -230,6 +230,8 @@
"arrow_area_masked": "Valid area",
"arrow_area_full": "Full frame",
"depth_scale_tip": "Fixed for this session: the range is latched to the first frame that carried depth so frames stay comparable. Grey marks samples with no depth.",
"depth_scale_tip_adaptive": "Per-frame adaptive scale: the range follows this frame's valid depth, and the 2D and 3D views share it. Grey marks samples with no depth.",
"depth_scale_tip_fixed": "Fixed scale: both the 2D and 3D views use the bounds typed in settings. Grey marks samples with no depth.",
"plots": "Force Charts",
"cal": "Calibration",
"mesh3d": "3D mesh",
@@ -518,14 +520,16 @@
"legend_fixed": "fixed",
"scale": "Colour scale",
"scale_range": "Range",
"scale_range_tip": "Bounds of the colour scale in fixed mode. In automatic mode the range comes from the valid samples of the frame on screen, so a quantity whose size differs by orders of magnitude is still readable.",
"scale_range_tip": "Bounds used when the colour scale is fixed. In automatic mode the depth scale stays latched to the first frame of the session, unless Per-frame adaptive is on — then both the 2D and 3D views refit to the current frame's valid depth.",
"depth_adaptive": "Per-frame adaptive",
"depth_adaptive_tip": "When on, the 2D depth view and the 3D surface both refit the colour scale to the current frame's valid depth. When off, the scale stays latched to the first depth frame of the session so frames stay comparable. This switch does nothing while the colour scale is fixed.",
"scale_fixed": "Fixed",
"scale_auto": "Automatic",
"max_fps": "Display rate",
"max_fps_tip": "How many frames per second the 3D view draws. A display budget only: the camera and the recording are unaffected, and a dropped frame here is never a dropped sample.",
"reset_view": "Reset view",
"settings_title": "3D display settings",
"settings_hint": "Everything here affects the 3D view's display only: measuring, recording and the charts are untouched, and each change applies at once.",
"settings_hint": "Per-frame adaptive applies to both the 2D depth view and the 3D surface. Every other item affects the 3D display only. Measuring, recording and the charts are untouched, and each change applies at once.",
"legend": "{quantity} [{unit}] · {quality}",
"legend_none": "No measurement on screen — the surface model is shown uncoloured",
"quality_calibrated": "calibrated",
+6 -2
View File
@@ -230,6 +230,8 @@
"arrow_area_masked": "有效区域",
"arrow_area_full": "全画幅",
"depth_scale_tip": "本会话固定色标:色标范围锁定在首个有效深度帧,便于跨帧比较;灰色区域表示无深度数据",
"depth_scale_tip_adaptive": "每帧自适应色标:范围随当前帧的有效深度变化,二维与三维使用同一范围;灰色区域表示无深度数据",
"depth_scale_tip_fixed": "固定色标:二维与三维都使用设置中填写的上下限;灰色区域表示无深度数据",
"plots": "力曲线图",
"cal": "标定",
"mesh3d": "三维网格",
@@ -518,14 +520,16 @@
"legend_fixed": "固定",
"scale": "色标",
"scale_range": "范围",
"scale_range_tip": "固定模式下色标的上下限。自动模式的范围来自当前帧的有效样本,因此量级差别很大的量也都能看清。",
"scale_range_tip": "固定模式下色标的上下限。自动模式默认把深度色标锁定在本会话第一帧;勾选「每帧自适应」后,二维与三维都按当前帧的有效深度重算。",
"depth_adaptive": "每帧自适应",
"depth_adaptive_tip": "勾选后,二维深度图和三维表面都按当前帧的有效深度重算色标。不勾选时,色标锁定在本会话第一个有效深度帧,便于跨帧比较。固定色标模式下此项不起作用。",
"scale_fixed": "固定",
"scale_auto": "自动",
"max_fps": "显示帧率",
"max_fps_tip": "三维视图每秒绘制多少帧。这只是显示预算:摄像头与记录不受影响,这里丢的帧永远不会变成丢的样本。",
"reset_view": "复位视角",
"settings_title": "三维显示设置",
"settings_hint": "这里的每一项都只影响三维视图的显示:采集、记录与力曲线完全不受影响,改完立即生效。",
"settings_hint": "「每帧自适应」同时作用于二维深度图和三维表面;其余项只影响三维显示。采集、记录与力曲线不受影响,改完立即生效。",
"legend": "{quantity} [{unit}] · {quality}",
"legend_none": "屏幕上没有测量值 — 仅显示不着色的表面模型",
"quality_calibrated": "已标定",