Peter's Projective Matlab Function (2)

xiaoxiao2021-03-06  156

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)% Equation from Liebowitz and ZisSrman

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

转载请注明原文地址:https://www.9cbs.com/read-128061.html

New Post(0)