muradtuk / matlab-toolboxes-robotics-vision

Automatically exported from code.google.com/p/matlab-toolboxes-robotics-vision
0 stars 0 forks source link

Error in execution of homography #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Error in execution of homography

Matlab version: 2012a window7 64 bits
fmatrix version: r930 by peter.i.corke on Sep 29, 2012   -- Size: 7921 bytes, 
267 lines

Book: Robotics, Vision and Control_Fundamental Algorithms in MATLAB®_Peter 
Corke, P. 396

Error message:

>> Tgrid = transl(0,0,1)*trotx(0.1)*troty(0.2);
>> P = mkgrid(3, 1.0, 'T', Tgrid);
>> p1 = cam1.plot(P, 'o');
creating new figure for camera
h =
  173.1083
make axes
>> p2 = cam2.plot(P, 'o');
creating new figure for camera
h =
  179.1083
make axes
>> H = homography(p1, p2)
Undefined function 'vgg_H_from_x_lin' for input arguments of type 'double'.
Error in homography (line 46)
    H = vgg_H_from_x_lin(p1, p2); 

Original issue reported on code.google.com by hwafuc...@gmail.com on 18 Jan 2014 at 2:07