🟢 Starting Calibration Pipeline === Processing MDC015_W038_2025-05-14 === ------------------------------------------------------------------- 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.334081 Success: True Tangential distortion: p1=-0.008410, p2=-0.007942, p3=0.005357, p4=-0.000232 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.3341 [✅] Parameters copied to: /working/MDC015_W038_2025-05-14/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 498.23888057163055 fy: 497.7702153549516 px: 995.0047856419272 py: 741.0336864815932 k1: 0.049829566353930155 k2: -0.009780008764436349 k3: 0.0002038180654997298 k4: -0.000492699673337916 p1: -0.008410317897561624 p2: -0.00794163004952408 p3: 0.0053574504795114355 p4: -0.00023181398137035657 scale: 2.900755734048253 rotation: -0.45151165446544633 mmpp: 1.249098331919292 nmpp: 1249098.331919292 [🔄] Converting 484 frames to PTD, creating debug images for 200 calibration frames... 📁 Rigs: 0%| | 0/2 [00:00