machinevisiontoolbox.Image.disp

Image.disp(title=None, **kwargs)

Display image

Parameters:
  • title (bool) – named of window, defaults to image name

  • kwargs – options, see idisp

Display an image using either Matplotlib (default) or OpenCV.

Example:

>>> from machinevisiontoolbox import Image
>>> img = Image.Read('flowers1.png')
>>> img.disp()
<matplotlib.image.AxesImage object at 0x7f4b84a932b0>

(Source code, png, hires.png, pdf)

../_images/machinevisiontoolbox-Image-disp-1.png
Seealso:

idisp