cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.57k stars 3k forks source link

No support for multi-image .tif #5174

Open 0oel opened 2 years ago

0oel commented 2 years ago

My actions before raising this issue

I'm trying to annotate multi-image .tif files. While the files will upload successfully, CVAT will only show the first frame (whereas the image has 50+).

Expected Behavior

You should be able to upload a multi-image .tif and it should upload all the frames, like CVAT does with video files.

Steps to Reproduce (for bugs)

  1. Upload a multi image .tif.
  2. It only lets you annotate the 1st frame

Your Environment

0oel commented 2 years ago

I do think .tif support must have been added recently.

harrystuart commented 2 years ago

I don't see this functionality but agree that it would be immensely useful.

0oel commented 1 year ago

Workaround so far. If you have a multi image .tif, you can use Image Magick to convert it. On MacOS: brew install imagemagick Then convert image.tif image%d.tif, which splits up the file into it's frames starting at index 0.

harrystuart commented 1 year ago

Yes you can do so. If you then select your step size to be the number of pages per tiff, then you can quickly skip across tiffs while viewing the same channel. However, the caching will only apply to adjacent frames, which are likely adjacent channels. Therefore, a more integrated solution is desirable.