When I execute the following script taken from the documentation for the CP2TFORM function in Image Processing Toolbox 5.0.1 (R14SP1):
base_points = [11 11; 41 71]; input_points = [14 44; 70 81] + 1e8; tform = cp2tform(input_points,base_points,'linear conformal'); ss = tform.tdata.Tinv(2,1);sc = tform.tdata.Tinv(1,1);angle = atan2(ss,sc)*180/pi scale = sqrt(ss*ss + sc*sc)
I observe the following error:
??? Reference to non-existent field 'Tinv'.
Best Answer