Commit e42d6120 authored by Andrey Filippov's avatar Andrey Filippov

CLAUDE: Tag DNN output filenames with ROI (-ROIx_y_w_h) for python flight-log analysis

The DNN save titles (-DNN-OFFSET / -HYPER-RECT / -RECT) now carry the ROI as
-ROI<x>_<y>_<w>_<h> (underscores to avoid scp/shell colon hazards) so the python
flight-log comparison can auto-restore the ROI per file instead of a hardcoded
constant - lets the real-UAS evaluation run hands-off across multiple ROIs.
Co-Authored-By: 's avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
parent f94eb7ec
...@@ -1261,7 +1261,9 @@ public class CuasDetectRT { ...@@ -1261,7 +1261,9 @@ public class CuasDetectRT {
double rmax_cells = clt_parameters.imp.curt_dnn_vmax * clt_parameters.imp.curt_vel_decimate; double rmax_cells = clt_parameters.imp.curt_dnn_vmax * clt_parameters.imp.curt_vel_decimate;
for (int j = 0; j < num; j++) dnnGhostbust(dnn_roi[j], dnn_off[j], vr_dnn, rmax_cells); for (int j = 0; j < num; j++) dnnGhostbust(dnn_roi[j], dnn_off[j], vr_dnn, rmax_cells);
} }
String title_dnn = title_conv5d+"-DNN"+((nlev > 0)?("-LEV"+nlev):""); // By Claude on 06/13/2026 // ROI tag in the filename (x_y_w_h) so the python flight-log analysis auto-restores the ROI - no manual entry. By Claude on 06/16/2026
String roiTag = "-ROI"+curt_save_select.x+"_"+curt_save_select.y+"_"+curt_save_select.width+"_"+curt_save_select.height;
String title_dnn = title_conv5d+"-DNN"+((nlev > 0)?("-LEV"+nlev):"")+roiTag; // By Claude on 06/13/2026
int [] win_dnn = timeWindow(ts_dnn); // timing ROI // By Claude on 06/14/2026 int [] win_dnn = timeWindow(ts_dnn); // timing ROI // By Claude on 06/14/2026
double [][][][] dnn_w = win4(dnn_roi, win_dnn); String [] ts_dnn_w = winS(ts_dnn, win_dnn); // By Claude on 06/14/2026 double [][][][] dnn_w = win4(dnn_roi, win_dnn); String [] ts_dnn_w = winS(ts_dnn, win_dnn); // By Claude on 06/14/2026
if (curt_save_c5rect) { // By Claude on 06/13/2026 if (curt_save_c5rect) { // By Claude on 06/13/2026
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment