Peter's Projective Matlab Function(2)

1. function [T, err] = invpersp(refpts, pts) % X = A/B is the solution to the equation AX = B; size(pts) = [row=2,column>=4].

2. function F = fundmatrix(varargin)  %[U,D,V] = svd(A);  F = reshape(V(:,9),3,3)';[U,D,V] = svd(F); F = U*diag([D(1,1) D(2,2) 0])*V';

3. function [newpts, T] = normalise2dpts(pts)  %normalize, mean, /meandist

4. function [newim, newT] = imTrans(im, T, region, sze);  %using homoTrans and interp2

5. function pts = digiplane(im, T, xyij) % using “ginput“ to transform

6. function [c, r] = equalAngleConstraint(la1, lb1, la2, lb2)%  Equations from Liebowitz and Zisserman

7.function [c, r] = knownAngleConstraint(la, lb, theta) % like the func. above

8.function [c, r] = lengthRatioConstraint(p11, p12, p21, p22, s) % 6,7,8 are similar in destination

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值