MATLAB: How to get the estimated coordinates when applying affine transform

image processing

How can I get the estimated or adjusted points when apply affine transformation with control points matched from distorted image (input_points)and original image (base_points)? Example points like below:
base_points= [202.5 198.5; 3998.5 198.5; 4002.5 2602.5; 202.5 2602.5];
input_points= [278.5 246.5; 4038.5 170.5; 4162.5 2702.5; 170.5 2622.5];
t_affine = cp2tform(input_points,base_points,'affine');
Can I get the estimated coordinates using imtransform like below?
estimate_aff = imtransform(input_points,t_affine);

Best Answer

Use TFORMFWD.