🟢 Starting Calibration Pipeline === Processing MDC103_W050_2025-05-07 === ------------------------------------------------------------------- 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 Averaging bright frames: 0%| | 0/40 [00:00 0.495131 Success: True Tangential distortion: p1=0.000788, p2=0.000653, p3=0.006228, p4=-0.001625 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.4951 [✅] Parameters copied to: /working/MDC103_W050_2025-05-07/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 508.85314459318397 fy: 508.1818405614216 px: 1013.3515174804359 py: 759.5893083102552 k1: 0.03924817779615247 k2: -0.008247166492236136 k3: -0.002608632767906244 k4: 0.0005929188127093268 p1: 0.0007875822708325238 p2: 0.000653122859727391 p3: 0.006228451163271321 p4: -0.0016250321217634166 scale: 2.976496762375504 rotation: -0.31433590410869716 mmpp: 1.2859673405580827 nmpp: 1285967.3405580828 [🔄] Converting 2348 frames to PTD, creating debug images for 200 calibration frames... 📁 Rigs: 0%| | 0/2 [00:00