FishEyeCamera.plot_line2#

FishEyeCamera.plot_line2(l: float | int | list[float | int] | tuple[float | int, ...] | ndarray, *args, **kwargs) None#

Plot 2D line on virtual image plane (base method)

Parameters:
  • l (array_like(3)) – homogeneous line

  • kwargs – arguments passed to plot

Plot the homogeneous line on the camera’s virtual image plane. The line is expressed in the form

\[\ell_0 u + \ell_1 v + \ell_2 = 0\]

Example:

>>> from machinevisiontoolbox import CentralCamera
>>> camera = CentralCamera.Default()
>>> camera.plot_line2([1, 0.2, -500])

Note

  • Successive calls add items to the virtual image plane.

  • This method is common to all CameraBase subclasses, but it invokes a camera-specific projection method.

Seealso:

plot_point plot_line3 clf