🟢 Starting Calibration Pipeline === Processing MDC027_W031_2025-03-24 === ------------------------------------------------------------------- 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.208123 Success: True Tangential distortion: p1=0.000419, p2=-0.002583, p3=-0.000101, p4=0.000057 ✓ Tangential correction is significant for corner improvement [✅] Square reference optimization complete. Score: 0.2081 [✅] Parameters copied to: /working/MDC027_W031_2025-03-24/calibration/params.json [📌] Selecting best parameters... [✅] Saved final refined parameters. ------------------------------------------------------------------- Step 3: Undistortion ------------------------------------------------------------------- [DEBUG] Parameters being applied to PTD conversion: fx: 518.239184160062 fy: 518.2338494816864 px: 1019.1340987388047 py: 754.7095283186679 k1: 0.026170183224245844 k2: -0.00624063140628366 k3: -0.002526922023857475 k4: 0.00056887242926409 p1: 0.0004190712051704608 p2: -0.002583295251302207 p3: -0.0001007342983280327 p4: 5.72882779267192e-05 scale: 2.9628959698794377 rotation: -0.20029630014584712 mmpp: 1.2812882452400092 nmpp: 1281288.2452400092 [🔄] Converting 744 frames to PTD, creating debug images for 200 calibration frames... 📁 Rigs: 0%| | 0/2 [00:00