How can I get estimated coordinates after performing transformation?
Show older comments
I have a set of 15 matched points as below.
base_points= [202.5 198.5; 3998.5 198.5; 4002.5 2602.5; 202.5 2602.5; 1002.5 198.5; 3202.5 198.5; 3202.5 2602.5; 1002.5 2602.5; 1802.5 198.5; 2402.5 198.5; 2402.5 2602.5; 1802.5 2602.5; 202.5 802.5; 4002.5 802.5; 4002.5 2002.5];
input_points= [278.5 246.5; 4038.5 170.5; 4162.5 2702.5; 170.5 2622.5; 994.5 194.5; 3250.5 146.5; 3322.5 2730.5; 922.5 2678.5; 1790.5 154.5; 2414.5 138.5; 2430.5 2738.5; 1766.5 2722.5; 226.5 810.5; 4102.5 766.5; 4162.5 2050.5];
I would like to perform 2 types of transformations, one with 2nd order polynomial and another one with piecewise linear transformation. I am using cp2tfrom as shown below.
t_poly_ord2 = cp2tform(input_points, base_points,'polynomial',2);
t_piecewise_l = cp2tform(input_points, base_points,'piecewise linear');
Is there any way to get the estimated coordinates of the both transformations?
Answers (1)
2 Comments
Liew
on 10 Oct 2012
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!