vis4d.vis.image.viewer.base

Base class of image viewer for image based visualization.

Classes

ImageViewerBackend()

Abstract interface that allows to show images.

class ImageViewerBackend[source]

Abstract interface that allows to show images.

save_images(images, file_paths)[source]

Saves a list of images.

Parameters:
  • images (list[NDArrayUI8]) – Images to save.

  • file_paths (list[str]) – File paths to save the images to.

Return type:

None

show_images(images, blocking=True)[source]

Shows a list of images.

Parameters:
  • images (list[NDArrayUI8]) – Images to display.

  • blocking (bool, optional) – If the viewer should be blocking and wait for input after each image. Defaults to True.

Return type:

None