🟢 Starting Calibration Pipeline === Processing MDC042_W007(6)_2025-05-28 === ------------------------------------------------------------------- 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 4 las0.zip files to process Processing Rigs: 0%| | 0/4 [00:00 Calculating the casing center ... [INFO] Using 80 total sampled bright frames Computing max image from bright frames: 0%| | 0/80 [00:00 0.282223 Success: True Tangential distortion: p1=-0.002809, p2=-0.009998, p3=0.002098, p4=0.000433 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.2822 [✅] Parameters copied to: /working/MDC042_W007(6)_2025-05-28/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 532.8416966301658 fy: 532.8695101874337 px: 992.4439879776991 py: 769.0663359868355 k1: 0.005884327044898905 k2: -0.010643946995931585 k3: 0.004732612326236683 k4: -0.0011650975759245044 p1: -0.0028093436674663766 p2: -0.009998071221612531 p3: 0.0020979667477211035 p4: 0.00043326301816736695 scale: 2.9624691113185517 rotation: -0.0786451598699576 mmpp: 3.451710700815319 nmpp: 3451710.700815319 [🔄] Converting 1005 frames to PTD, creating debug images for 400 calibration frames... 📁 Rigs: 0%| | 0/4 [00:00