CentralCamera.imagesize#
- property CentralCamera.imagesize: ndarray | None#
Set/get size of virtual image plane (base method)
The dimensions of the virtual image plane is a 2-tuple (width, height) that can be read or written. For writing the size must be an iterable of length 2.
Example:
>>> from machinevisiontoolbox import CentralCamera >>> camera = CentralCamera.Default(); >>> camera.imagesize array([1000, 1000]) >>> camera.imagesize = (500, 500) >>> camera.imagesize array([500, 500])
Note
If the principal point is not set, then setting imagesize sets the principal point to the centre of the image plane.