🟢 Starting Calibration Pipeline === Processing MDC044_W027_2025-05-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 Averaging bright frames: 0%| | 0/40 [00:00 0.450752 Success: False Tangential distortion: p1=-0.002702, p2=-0.003986, p3=-0.000778, p4=0.001134 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.4508 [✅] Parameters copied to: /working/MDC044_W027_2025-05-29/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 537.6052466560019 fy: 537.492498407399 px: 1015.5196985032484 py: 742.5452812914054 k1: 0.013174012685244126 k2: -0.018499661191443213 k3: 0.006348265878942551 k4: -0.0010922735630724564 p1: -0.0027023542227552944 p2: -0.00398630903496711 p3: -0.0007776531187042378 p4: 0.0011336523241192507 scale: 2.986337061329766 rotation: 0.04613095519327296 mmpp: 1.281209241315964 nmpp: 1281209.241315964 [🔄] Converting 2933 frames to PTD, creating debug images for 200 calibration frames... 📁 Rigs: 0%| | 0/2 [00:00