Generates a static HTML page with embedded LiDAR data and embedded dependencies.
1090 : rgba(0,0,0,0.5);
1091 padding: 10px;
1092 border-radius: 5px;
1093 pointer-events:
none;
1096 }
1097 #eta-box {
1098 position: absolute;
1099 top: 10px;
1100 left: 50%;
1102 color: #0f0;
1103 background: rgba(0,0,0,0.5);
1104 padding: 10px;
1105 border-radius: 5px;
1107 font-weight: bold;
1108 pointer-events:
none;
1110 }
1111 #marker-layer {
1112 position: absolute;
1113 top: 0; left: 0; width: 100%; height: 100%;
1114 pointer-events:
none;
1115 overflow: hidden;
1116 }
1117 .hud-marker {
1118 position: absolute;
1119 padding: 4px 8px;
1120 background: rgba(0, 0, 0, 0.7);
1121 color: white;
1122 border: 2px solid white;
1123 border-radius: 4px;
1125 font-weight: bold;
1126 white-space: nowrap;
1128 transition: opacity 0.2s;
1129 }
1130 .hud-marker::after {
1131 content: '';
1132 position: absolute;
1133 top: 50%; left: 50%;
1134 width: 0; height: 0;
1135 }
1136 #legend-layer {
1137 position: absolute;
1138 bottom: 20px;
1139 left: 10px;
1140 color: #fff;
1141 background: rgba(0,0,0,0.7);
1142 padding: 10px;
1143 border-radius: 5px;
1144 pointer-events:
none;
1147 }
1148 .legend-section { margin-bottom: 10px; border-bottom: 1px solid #555; padding-bottom: 5px; }
1149 .legend-item { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; font-
size: 12px; }
1150 .color-box { width: 15px; height: 15px; border: 1px solid #aaa; }
1151 .circle-box { width: 12px; height: 12px; border-radius: 50%; }
1152 .control-group { margin-bottom: 10px; pointer-events: auto; }
1153 label { display: block; font-
size: 12px; color: #aaa; }
1154 input[type=range] { width: 100%; }
1155 .val-disp { float: right; color: #fff; }
1156 .btn-group { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 10px;
z-
index: 10; }
1157 .hud-btn { padding: 10px 20px; background: #444; color: white; border: 2px solid #666; cursor: pointer; font-
size: 16px;
z-
index: 999; }
1158 .hud-btn.active { background: #00aa00; border-color: #00ff00; }
1159 .key { color: #fff; font-weight: bold; border: 1px solid #666; padding: 2px 5px; border-radius: 3px; background: #333; }
1160 h3 { margin-top: 0; border-bottom: 1px solid #555; padding-bottom: 5px; }
1161
1162 #detection-panel { position: absolute; top: 10px; right: 10px; width: auto; background: rgba(0,0,0,0.7); padding: 10px; border-radius: 5px; z-index: 10; transition: width 0.2s; }
1163 #detection-panel h3 { color: #0f0; margin-top: 0; }
1164 .gallery-item { cursor: pointer; }
1165 .gallery-item img { width: 100%; border: 2px solid #666; border-radius: 4px; transition: border-color 0.2s; }
1166 .gallery-item img:hover { border-color: #0f0; }
1167
1168 #detection-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
1169 #detection-modal img { max-width: 90%; max-height: 90%; border: 3px solid #0f0; }
1170 #modal-caption { position: absolute; bottom: 80px; color: #0f0; font-size: 18px; text-align: center; width: 100%; }
1171 #modal-open-btn { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); padding: 10px 30px; background: #444; color: white; border: 2px solid #0f0; cursor: pointer; font-size: 16px; border-radius: 5px; }
1172 #modal-open-btn:hover { background: #00aa00; }
1173
1174 .modal-close { position: absolute; top: 20px; right: 40px; color: #fff; font-
size: 40px; font-weight: bold; cursor: pointer; }
1175 .modal-close:hover { color: #0f0; }
1176
1177 .modal-nav { position: absolute; top: 50%;
transform: translateY(-50%); color: #fff; font-
size: 60px; font-weight: bold; cursor: pointer; padding: 20px; user-
select:
none;
z-
index: 1001; transition: color 0.2s; }
1178 .modal-nav:hover { color: #0f0; }
1179 .modal-nav.left { left: 20px; }
1180 .modal-nav.right { right: 20px; }
1181 </style>
1182 <script type="importmap">
1183 {
1184 "imports": {
1185 "three": "/lib/three.js",
1186 "three/addons/controls/OrbitControls.js": "/lib/orbit.js"
1187 }
1188 }
1189 </script>
1190</head>
1191<body>
1193 <h3 id="settings-toggle" style="cursor: pointer; pointer-events: auto; margin: 0; border: none; padding: 0; user-select: none;">Settings ▶</h3>
1194 <
div id=
"settings-content" style=
"display: none; margin-top: 10px; border-top: 1px solid #555; padding-top: 10px;">
1195 <
div class=
"control-group">
1196 <label style="color: #ccc; cursor: pointer; display: flex; align-items: center; gap: 5px;">
1197 <input type="checkbox" id="cb-ground" checked> Lock Rover to Terrain Height
1198 </label>
1200 <
div class=
"control-group">
1201 <label>Load Radius (m) <span id="val-rad" class="val-disp">50</span></label>
1202 <input type=
"range" id=
"sl-rad" min=
"10" max=
"200" value=
"50" step=
"10">
1204 <
div class=
"control-group">
1205 <label>Border Tol. (m) <span id="val-tol" class="val-disp">10</span></label>
1206 <input type=
"range" id=
"sl-tol" min=
"5" max=
"50" value=
"10" step=
"1">
1207 </div>
1208 <div class="control-group">
1209 <label>Min Score <span id="val-score" class="val-disp">0.0</span></label>
1210 <input type=
"range" id=
"sl-score" min=
"0.0" max=
"1.0" value=
"0.0" step=
"0.05">
1211 </div>
1212 <div
id=
"status" style=
"margin-top:10px; color: #fff;">Status: Free Cam</
div>
1213 <
div id=
"stats" style=
"margin-top:5px; color: #aaa; font-size:12px;">Points: 0</
div>
1216
1217 <
div id=
"eta-box">ETA: Calculating...</
div>
1218
void transform(InputArray src, OutputArray dst, InputArray m)
GMat div(const GMat &src1, const GMat &src2, double scale, int ddepth=-1)
GMat select(const GMat &src1, const GMat &src2, const GMat &mask)
GOpaque< Size > size(const GMat &src)