You have two possible situations here:
1. The image was calibrated but not corrected. The lines still appear curved in the image. In this case, the straight line function will not work because the line is not straight in the image.
2. The image was corrected. In this case, the line appears straight and the straight line function will work correctly.
Bruce
Bruce Ammons
Ammons Engineering