🟢 Starting Calibration Pipeline === Processing MDC053_W024(6)_2025-08-06 === ------------------------------------------------------------------- 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.252154 Success: True Tangential distortion: p1=-0.001009, p2=-0.005749, p3=0.010000, p4=-0.000446 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.2522 [✅] Parameters copied to: /working/MDC053_W024(6)_2025-08-06/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 525.6874903450897 fy: 525.6238139521369 px: 1034.747572713158 py: 773.2436298390072 k1: 0.01842989750632406 k2: -0.01905135033243183 k3: 0.011866686624404772 k4: -0.0033383454939824443 p1: -0.0010092879732065115 p2: -0.00574910089158425 p3: 0.01 p4: -0.00044554065259765985 scale: 3.0022625363760174 rotation: 0.32999379917332416 mmpp: 3.4696344584897605 nmpp: 3469634.4584897603 [🔄] Converting 2927 frames to PTD, creating debug images for 400 calibration frames... 📁 Rigs: 0%| | 0/4 [00:00