Halo, I generated the undistorted images in Metashape because I wanted to apply some functions on these undistorted images.
for camera in cameras:
ur=parent_path+camera.label+".tif"
ref=camera.photo.image()
refUndis=ref.undistort(camera.sensor.calibration,True,True)
refUndis.save(ur)
But then how can I distort the fixed images again back? Becase I need to generate orthomosaic from them.