.tif Image format for segmentation and Object Detection

I have the image dataset which is basically in .tif format when I am trying to upload on Roboflow app it does not support .tif format .
I want to apply Instance Segmentation using MaskRCNN on the data
Can anybody help me with this.

@Hamad_Younis you’ll need to convert the .tif files to .png

  • .png will be best, as it will preserve the details as much as possible

From there, you’ll be able to upload - but just be sure you change the image references in the annotations files so the extensions match the new files.

Here are the formats we accept for upload, with examples on each page of the format structure: Computer Vision Annotation Formats

You can also convert to .jpeg prior to upload if you so choose

@Mohamed it is very large process, does your tool does not support .tif format. if not please add the feature to it.

It does not natively accept .tif files for upload, as the browser won’t accept that file type.

You’ll need to do the .png or .jpeg conversion method.

You can do it programmatically, too:

!pip install Pillow

from PIL import Image

import Image
im = Image.open('test.tif')

Or, alternatively, an online file conversion tool, such as: TIF to PNG Converter - FreeConvert.com

@Mohamed But main issue is the my annotation in .xml file which i have label with .tif file format.
My machine which is real time generate .tif format files.

All you need to do is change the extension of the .tif in the .xml files to .png

Annotation files just contain records of labels, and then point to the file that the label belongs to. If the file name and extension matches, and the formatting is correct, the label is applied to the image.

@Mohamed when i change the both it does not work the annotation is change and the image is bounding box coordinate were change and the message shown is the trim the annotation in roboflow app

Can you file a bug report here: GitHub - roboflow/external-bugtracker

Or, if you don’t want to post the image in a public GitHub repo, please send to help@roboflow.com the screenshot of the image with trimmed annotations, the UI message, and also a screen recording of the full upload process.

@Mohamed No reply for helpcenter and github repo

Hi, we typically operate in US business hours, as we’re headquartered in the US.

We will review the bug and reply.