Skip to content

Conversation

@MalteEbner
Copy link
Contributor

@MalteEbner MalteEbner commented Apr 3, 2025

Description

Adds support for instance segmentations in the binary mask format. Saves the mask internally in form of row-wise run-length encoding.

Adds conversion from and to COCO, which has columns-wise run-length encoding.
Adds an error message when trying to convert to YOLO, which does not support it.

Adds numpy to the required packages.

Tests

  • Adds new coco file with instance segmentations ins binary mask format
  • New and dapted unittests

@MalteEbner MalteEbner requested a review from Copilot April 3, 2025 21:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

@MalteEbner
Copy link
Contributor Author

/review

Copy link

@ikondrat ikondrat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @MalteEbner

@MalteEbner MalteEbner merged commit 75d0da9 into main Apr 4, 2025
2 checks passed
@MalteEbner MalteEbner deleted the malte-lig-6231-parse-rle-format-in-labelformat branch April 4, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants