@@ -71,16 +71,16 @@ def __init__(
7171 :type camtype: str, optional
7272 :param rho: pixel size, defaults to 1
7373 :type rho: scalar or array_like(2), optional
74- :param imagesize: image dimension in pixels, defaults to None
74+ :param imagesize: image dimension (width, height) in pixels, defaults to None
7575 :type imagesize: int or array_like(2), optional
76- :param sensorsize: image sensor size, defaults to None
76+ :param sensorsize: image sensor size (width, height) , defaults to None
7777 :type sensorsize: array_like(2), optional
7878 :param pp: principal point position, defaults to None
7979 :type pp: array_like(2), optional
8080 :param noise: standard deviation of image plane projection noise, defaults to None
8181 :type noise: float, optional
8282 :param pose: camera pose, defaults to None
83- :type pose: :class:`~spatialmath.. pose3d.SE3`, optional
83+ :type pose: :class:`~spatialmath.pose3d.SE3`, optional
8484 :param limits: bounds of virtual image plane [umin, umax, vmin, vmax], defaults to None
8585 :type limits: array_like(4), optional
8686 :param labels: axis labels for virtual image plane, defaults to ``('u', 'v')``
@@ -118,8 +118,8 @@ def __init__(
118118 self .pp = pp
119119
120120 if sensorsize is not None :
121- self ._rhou = sensorsize [0 ] / self .imagesize [1 ]
122- self ._rhov = sensorsize [1 ] / self .imagesize [0 ]
121+ self ._rhou = sensorsize [0 ] / self .imagesize [0 ]
122+ self ._rhov = sensorsize [1 ] / self .imagesize [1 ]
123123 else :
124124 rho = base .getvector (rho )
125125 if len (rho ) == 1 :
@@ -277,9 +277,8 @@ def imagesize(self):
277277 """
278278 Set/get size of virtual image plane (base method)
279279
280- The dimensions of the virtual image plane is a 2-tuple, width and
281- height, that can be read or written. For writing the size must be an
282- iterable of length 2.
280+ The dimensions of the virtual image plane is a 2-tuple (width, height) that can
281+ be read or written. For writing the size must be an iterable of length 2.
283282
284283 Example:
285284
0 commit comments