Hi, I have a set of XY coordinates, how do we transform given XY coordinates using 'lwm' tform?
ROI_Coordinates_XY=[1,2; 2,3; 4,5; 6,7; 1,0; 1,6]; %XY coordinates that need to be transformed img1=imread('img1'); img2=imread('img2'); cpselect(img1, img2) %selecting control points keyboard img1_coordinates=movingPoints; clear movingPoints %save control points img2_coordinates=fixedPoints;clear fixedPoints %save fixed points tform_LWM = fitgeotrans(img1_coordinates, img2_coordinates, 'lwm', 10); %calculate tform using 'lwm' %Tranform ROI_Coordinates_XY using the same tform_LWM. tform_ed_XY = Help_function (tform_LWM, ROI_Coordinates_XY); %I am looking for a function like transformPointsForward for tform_LWM.
A forward version of the lwm transform is not provided because it is not guaranteed to be a 1-1 transformation, but perhaps it would be useful to you simply to do the inverse fit
tform_inv = fitgeotrans(img2_coordinates, img1_coordinates, 'lwm', 10);
and then apply transformPointsInverse.
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.