Algorithm Search⌘K

Definitioncore

Visual servoing interaction matrix

Also called image Jacobian.

The matrix that maps the camera twist to the velocity of image features, the core of visual servoing.

The interaction matrix LsL_s of a set of visual features ss is the matrix that gives the time derivative of the features from the velocity of the camera: s˙=LsV\dot s = L_s V, where VV is the camera twist. It plays the role for a camera that the geometric Jacobian plays for an arm, and Hutchinson, Hager and Corke called it the image Jacobian. Every visual servoing law is built on it: image-based visual servoing inverts it to turn an image error into a camera velocity. For an image point it depends on the image coordinates and on the depth of the point, which a single image does not measure.

Definition

Let a camera move with the twist V=(ω,v)V = (\omega, v), angular part first, expressed in the camera frame, and let it observe a fixed scene. Let s∈Rms \in \mathbb{R}^m be a vector of features computed from the image, which depends only on the camera pose TT relative to the scene. The interaction matrix of ss is the m×6m \times 6 matrix LsL_s with

s˙=LsV\dot s = L_s V

for every motion of the camera. It is the derivative of s(Texp⁡([ξ]))s(T\exp([\xi])) with respect to ξ\xi at ξ=0\xi = 0.

For a point with camera coordinates (X,Y,Z)(X, Y, Z), Z>0Z > 0, and normalized image coordinates x=X/Zx = X/Z, y=Y/Zy = Y/Z of a pinhole camera with unit focal length, the feature is s=(x,y)s = (x, y) and

Ls=[xy−(1+x2)y−1/Z0x/Z1+y2−xy−x0−1/Zy/Z].L_s = \begin{bmatrix} xy & -(1 + x^2) & y & -1/Z & 0 & x/Z \\ 1 + y^2 & -xy & -x & 0 & -1/Z & y/Z \end{bmatrix}.

This follows from P˙=−v−ω×P\dot P = -v - \omega \times P for a point fixed in the scene and x˙=X˙/Z−xZ˙/Z\dot x = \dot X/Z - x\dot Z/Z, y˙=Y˙/Z−yZ˙/Z\dot y = \dot Y/Z - y\dot Z/Z. For kk points the interaction matrix is the 2k×62k \times 6 stack of the point matrices. Chaumette and Hutchinson order the twist as (v,ω)(v, \omega), so their matrix has the last three columns above first.

For features in pixels, the first row is multiplied by fxf_x and the second by fyf_y, the focal lengths in pixels, and xx, yy are computed from the pixel coordinates. So the matrix needs the intrinsic parameters from camera calibration as well as the depths.

Examples and non-examples

  • Point on the optical axis. At x=y=0x = y = 0 the matrix is [0−10−1/Z001000−1/Z0]\begin{bmatrix} 0 & -1 & 0 & -1/Z & 0 & 0 \\ 1 & 0 & 0 & 0 & -1/Z & 0 \end{bmatrix}. A rotation ωy\omega_y and a translation vx=Zωyv_x = Z\omega_y give the same image motion, so one point cannot tell a pan from a sideways shift.
  • Depth. For the point (x,y)=(0.1,0.1)(x, y) = (0.1, 0.1) at Z=1Z = 1 m, a forward speed vz=1v_z = 1 m/s moves the image point at (0.1,0.1)(0.1, 0.1) per second, away from the center. At Z=2Z = 2 m the same speed moves it at half that rate. The rotation columns do not depend on ZZ.
  • Rank. One point gives a matrix of rank 2. Three points in general position give rank 6, so the camera twist is determined by their image velocities. Three collinear points give a rank below 6, and three points in general position also lose rank at some camera poses.
  • A 3D point as the feature. If the feature is the point PP itself in the camera frame, then P˙=[P]ω−v\dot P = [P]\omega - v, so LP=[[P]−I]L_P = \begin{bmatrix} [P] & -I \end{bmatrix}, with [P][P] the skew matrix of PP. It does not depend on any unknown.
  • Pose as the feature. For PBVS with the error (t,θu)(t, \theta u) of the current camera in the desired camera frame, t˙=Rv\dot t = Rv and the derivative of θu\theta u depends only on ω\omega, so the matrix has two nonzero 3×33 \times 3 blocks; the law of position-based visual servoing inverts it in closed form.
  • Not the robot Jacobian. The interaction matrix maps the camera twist, not the joint speeds, to s˙\dot s. For a camera on an arm, the map from joint speeds is Ls cXe J(q)L_s\,{}^{c}X_{e}\,J(q), with the twist transform from the end effector to the camera; some authors call this product the feature Jacobian.
  • Not optical flow. Optical flow is the image velocity measured from intensities. The interaction matrix predicts it for known features from the camera motion; the two agree only where the flow is measured correctly.
  • Geometric Jacobian: the corresponding map from joint speeds to the twist of the end effector.
  • Rigid-body twist: the velocity that the interaction matrix takes as input.
  • Image moments: features whose interaction matrices decouple some degrees of freedom, used in place of points.
  • Kinematic singularity: the analogue of the poses where the interaction matrix loses rank.
  • Pseudoinverse: how IBVS inverts a matrix that is not square.

References

  1. Bernard Espiau, Francois Chaumette and Patrick Rives, A new approach to visual servoing in robotics, IEEE Transactions on Robotics and Automation 8(3), 1992, pages 313 to 326
  2. Seth Hutchinson, Gregory D. Hager and Peter I. Corke, A tutorial on visual servo control, IEEE Transactions on Robotics and Automation 12(5), 1996, pages 651 to 670 (the image Jacobian)
  3. Francois Chaumette and Seth Hutchinson, Visual servo control, Part I, Basic approaches, IEEE Robotics and Automation Magazine 13(4), 2006, pages 82 to 90 (the interaction matrix of a point and of a 3D pose)
  4. Mark W. Spong, Seth Hutchinson and M. Vidyasagar, Robot Modeling and Control, second edition, Wiley, 2020, Chapter 11 (vision-based control)
  5. Bruno Siciliano and Oussama Khatib (editors), Springer Handbook of Robotics, second edition, Springer, 2016, Chapter 34 (Visual Servoing, by Francois Chaumette, Seth Hutchinson and Peter Corke)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/MRH7EA/text.yaml