🟢 Starting Calibration Pipeline === Processing MDC018_W035(6)_2026-01-20 === ------------------------------------------------------------------- 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.239968 Success: True Tangential distortion: p1=0.005108, p2=-0.003638, p3=-0.004391, p4=0.000132 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.2400 [✅] Parameters copied to: /working/MDC018_W035(6)_2026-01-20/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 539.8393877320481 fy: 539.8957949980669 px: 1008.1137730872559 py: 766.480075222913 k1: -0.0025432396142615874 k2: -0.009534848429639626 k3: 0.006339956022696152 k4: -0.0018375653701497021 p1: 0.005107809880484139 p2: -0.0036375492985248185 p3: -0.004390921822178648 p4: 0.00013203802187574718 scale: 2.932168422206771 rotation: 0.022322657917189296 mmpp: 3.374351219350574 nmpp: 3374351.219350574 [🔄] Converting 923 frames to PTD, creating debug images for 400 calibration frames... 📁 Rigs: 0%| | 0/4 [00:00