Multi-view images

Overview

Multi-view mode is a feature that allows you to view and annotate multiple images simultaneously. It is especially useful when you need to label objects from different perspectives, 3D reconstruction images, Autonomous vehicle camera views or depth estimation task images. Labeling in multi-view mode can significantly increase the speed of the labeling process (for example, you don't need to switch between images and select a desired class to label the same object)

Just organize images into groups and drop them to the import. The app will do the rest: it will detect groups, tag images, and activate grouping and multi-view modes in the project settings.

Note: To use the multi-view import feature, you need to create a project with the Multi-view image annotation setting enabled. You can also enable this setting in the project settings after the import. Here is an illustration of how to upload multi-view images:

Format description

Supported image formats: .jpg, .jpeg, .mpo, .bmp, .png, .webp, .tiff, .tif, .jfif, .avif, .heic, and .heif With annotations: Yes Annotation types: Tags in Supervisely format Grouped by: Folders (corresponding tags will be assigned to images)

Key Features

  • All images in groups in the created project will be tagged

  • Images Grouping option will be turned on by default in the created project

  • Images will be grouped by tag's value

  • Tag value is defined by the group directory name

  • Works with .nrrd image format (2D only)

How to Use

1. Prepare structure:

  • Archive zip, tar, tar.xz, tar.gz

      📦 my_project.zip
       ┗ 📂 cars catalog
          ┗ 📂 used cars
             ┣ 📂 105
             ┃  ┣ 🏞️ car_105_front.jpg
             ┃  ┗ 🏞️ car_105_top.jpg
             ┣ 📂 202
             ┃  ┣ 🏞️ car_202_front.jpg
             ┃  ┗ 🏞️ car_202_top.jpg
             ┣ 📂 357
             ┃  ┣ 🏞️ car_357_front.jpg
             ┃  ┗ 🏞️ car_357_top.jpg
             ┣ 🏞️ car_401_front.jpg
             ┣ 🏞️ car_401_top.jpg
             ┗ 🏞️ car_401_side.jpg
  • Folder

      📂 cars catalog
       ┗ 📂 used cars
          ┣ 📂 car_id_105
          ┃  ┣ 🏞️ car_105_front.jpg
          ┃  ┗ 🏞️ car_105_top.jpg
          ┣ 📂 car_id_202
          ┃  ┣ 🏞️ car_202_front.jpg
          ┃  ┗ 🏞️ car_202_top.jpg
          ┣ 📂 car_id_357
          ┃  ┣ 🏞️ car_357_front.jpg
          ┃  ┗ 🏞️ car_357_top.jpg
          ┣ 🏞️ car_401_front.jpg
          ┣ 🏞️ car_401_top.jpg
          ┗ 🏞️ car_401_side.jpg

    Structure explained:

    • An archive must contain only 1 project directory.

    • Inside the project directory must be 1 dataset directory.

    • Group directories must be populated with images and placed inside the dataset directory. All images inside the group will be tagged with folder name value.

    • All images in the root dataset directory will be uploaded as regular images and will not be tagged.

We prepared sample datasets for you to try the import process:

  • To display single images switch off Images Grouping setting.

  • If you want to disable images grouping for the whole project, go to ProjectSettingsVisuals and uncheck

  • Windowing tool is available when working with .nrrd files. It helps to filter pixels to see bones, air, liquids etc.

  • Images view synchronization

Easy integration for Python developers

Automate processes with multi-view images using Supervisely Python SDK.

pip install supervisely

You can learn more about it in our Developer Portal, but here we'll just show how you can upload your multi-view images with just a few lines of code.

# enable multi-view display in project settings
api.project.set_multiview_settings(project_id)

images_paths = ['path/to/audi_01.png', 'path/to/audi_02.png']

# upload group of images
api.image.upload_multiview_images(dataset_id, "audi", images_paths)

In the example above we uploaded two groups of multi-view images. Before or after uploading images, we also need to enable image grouping in the project settings.

Last updated