mt.imageio.immview

Functions

  • immview(): Views an image with metadata, either via OpenCV’s highgui or on the terminal.

mt.imageio.immview.immview(imm: Image, use_highgui: bool = False, max_width: int = 640, filepath: str | None = None, logger: IndentedLoggerAdapter | None = None)

Views an image with metadata, either via OpenCV’s highgui or on the terminal.

Parameters:
  • imm (mt.cv.Image) – an image with metadata

  • use_highgui (bool) – whether to use OpenCV’s highgui or the terminal

  • max_width (int) – the maximum width. Only valid if use_highgui is True

  • filepath (str, optional) – the filepath to the imm

  • logger (mt.logg.IndentedLoggerAdapter, optional) – logger for printing purposes