🟢 Starting Calibration Pipeline === Processing MDC102_W039_2025-08-29 === ------------------------------------------------------------------- Step 1: Digitization ------------------------------------------------------------------- [🔄] Full PTD mode: Processing ALL images then creating calibration subset [📸] Digitizing ALL images... [📸] Full dataset mode: Processing ALL images (no debug visualizations) [INFO] Found 2 las0.zip files to process Processing Rigs: 0%| | 0/2 [00:00 Calculating the casing center ... [INFO] Using 40 total sampled bright frames Computing max image from bright frames: 0%| | 0/40 [00:00 0.371319 Success: True Tangential distortion: p1=-0.009942, p2=-0.005187, p3=0.010000, p4=-0.000169 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.3713 [✅] Parameters copied to: /working/MDC102_W039_2025-08-29/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 522.9544818184715 fy: 522.4997699927152 px: 996.0401396936945 py: 759.6719713518529 k1: 0.015061244911094434 k2: -0.00027465230134462727 k3: -0.0031934662389700784 k4: 0.0003386902513743419 p1: -0.009942469975180716 p2: -0.00518672384242054 p3: 0.01 p4: -0.00016874546990622625 scale: 2.9710511005945928 rotation: 0.21923026261704132 mmpp: 1.2683584512278088 nmpp: 1268358.4512278088 [🔄] Converting 412 frames to PTD, creating debug images for 200 calibration frames... 📁 Rigs: 0%| | 0/2 [00:00