Here is my code:
U = load('C:\Users\khan1\jupyter_test_code\CRBD\TMGEM results\crop_row_001.tmg'); O = imread('C:\Users\khan1\jupyter_test_code\CRBD\Images\crop_row_001.JPG'); h1 = figure; imshow(O); figure(h1) ax = gca;hold on; plot(ax,U,'color','red','LineWidth',1); camroll(ax,-90);
Here is the output I am getting. As you can see, lines are not aligned with the green leaves.
Link for .tmg and .jpg files:
https://drive.google.com/open?id=1dIMlWPMGYuv9QAox24UQ4dLAyyTVfXsb
Best Answer