100 lines
5.5 KiB
JSON
100 lines
5.5 KiB
JSON
{
|
||
"id": "flatness-suite",
|
||
"name": "平整度 / 平面度 / 轮廓测量",
|
||
"shortName": "flatness-suite",
|
||
"description": "平整度 / 平面度 / 轮廓测量套件(v1.5)。两种模式:① 不选点云文件 → 批量模式,自动读取 alg/datasets/Noise_PointCloud/ 下全部面板点云(对应算法方标准测试流程);② 选择点云文件 → 单点云模式,对所选点云做 contour/plane/curvature 测量。",
|
||
"version": "1.5.1",
|
||
"schemaVersion": 1,
|
||
"category": "几何测量",
|
||
"requiresPointCloud": false,
|
||
"requiresCad": false,
|
||
"demoSelection": { "kind": "task-nos", "param": "demoTaskNos" },
|
||
"demoTasks": [
|
||
{ "taskNo": 11, "name": "车钩面板的平整度", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 13, "name": "车长方向平面度", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 17, "name": "车高方向弧形轮廓测量", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 20, "name": "门柱平整度", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 22, "name": "从门口到外部轮廓的距离", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 23, "name": "从窗口到外部轮廓的距离", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 25, "name": "内风挡外圈平面度", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 26, "name": "内风挡区域平面度", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 27, "name": "外风挡区域平面度", "category": "轮廓", "inspectionObjects": ["head", "middle"] },
|
||
{ "taskNo": 31, "name": "车头前墙区域平面度", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 34, "name": "司机室门外弧形轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 35, "name": "前窗框侧轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 36, "name": "前窗框弧形轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 37, "name": "顶灯框侧轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 38, "name": "顶灯框弧形轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 39, "name": "逃生窗侧轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 40, "name": "逃生窗弧形轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 41, "name": "曲面窗侧轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 42, "name": "曲面窗弧形轮廓", "category": "轮廓", "inspectionObjects": ["head"] },
|
||
{ "taskNo": 45, "name": "地板平度", "category": "轮廓", "inspectionObjects": ["head", "middle"] }
|
||
],
|
||
"inputs": [
|
||
{
|
||
"name": "useBatchDatasets",
|
||
"label": "批量模式(用 datasets/Noise_PointCloud 计算,所选点云仅用于可视化展示)",
|
||
"type": "boolean",
|
||
"default": true
|
||
},
|
||
{
|
||
"name": "keepCombinedContour",
|
||
"label": "保留组合轮廓点云(可能占用十几 GB)",
|
||
"type": "boolean",
|
||
"default": false,
|
||
"description": "默认关闭:页面使用各面板热力点云,不需要组合文件。仅在需要离线下载包含整车背景的 combined_contour.ply 时开启。"
|
||
},
|
||
{
|
||
"name": "module",
|
||
"label": "测量模块",
|
||
"type": "select",
|
||
"default": "contour",
|
||
"options": [
|
||
{ "value": "contour", "label": "轮廓-平整度 (contour,需 CAD STEP)" },
|
||
{ "value": "plane", "label": "平面拟合 (plane)" },
|
||
{ "value": "curvature", "label": "曲率估计 (curvature,大点云慎用)" }
|
||
]
|
||
},
|
||
{
|
||
"name": "voxelSizeMm",
|
||
"label": "采样 / RANSAC 阈值 (mm)",
|
||
"type": "number",
|
||
"default": 1.0,
|
||
"min": 0.1,
|
||
"max": 10.0,
|
||
"step": 0.1,
|
||
"description": "平面拟合的距离阈值(同时也作为曲率搜索半径的基准 ×2)。"
|
||
},
|
||
{
|
||
"name": "roiXMin", "label": "ROI X 最小值 (mm)", "type": "number", "default": null,
|
||
"description": "待测区域裁剪范围(配准后 CAD 坐标系,mm)。整车点云时必填以加速计算,留空 = 不裁剪。"
|
||
},
|
||
{ "name": "roiXMax", "label": "ROI X 最大值 (mm)", "type": "number", "default": null },
|
||
{ "name": "roiYMin", "label": "ROI Y 最小值 (mm)", "type": "number", "default": null },
|
||
{ "name": "roiYMax", "label": "ROI Y 最大值 (mm)", "type": "number", "default": null },
|
||
{ "name": "roiZMin", "label": "ROI Z 最小值 (mm)", "type": "number", "default": null },
|
||
{ "name": "roiZMax", "label": "ROI Z 最大值 (mm)", "type": "number", "default": null },
|
||
{
|
||
"name": "contextPointCloudPath",
|
||
"label": "整车背景点云路径(仅保留组合轮廓点云时使用)",
|
||
"type": "string",
|
||
"default": null,
|
||
"description": "仅开启“保留组合轮廓点云”时生效。可填写容器内完整点云路径;留空时使用本次选择的点云作为背景。"
|
||
}
|
||
],
|
||
"runtime": {
|
||
"kind": "process",
|
||
"cmd": [
|
||
"{pythonBin}",
|
||
"{adapterDir}/flatness_suite_run.py",
|
||
"{inputJson}"
|
||
],
|
||
"envExtra": {
|
||
"ALG_ROOT": "{algRoot}",
|
||
"LD_LIBRARY_PATH": "/lib/x86_64-linux-gnu:/usr/local/nvidia/lib:/usr/local/nvidia/lib64"
|
||
},
|
||
"timeoutMs": 5400000
|
||
}
|
||
}
|