How can I get estimated coordinates after performing transformation?
이전 댓글 표시
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?
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Point Cloud Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!