Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
LabelboxUtils
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Nina Montana Brown
  • LabelboxUtils
  • Issues
  • #2

Closed
Open
Opened Feb 04, 2020 by Nina Montana Brown@NinaMontanaBrownMaintainer

Merge same instance, same image sub-masks into final categorical mask

Summary

Masks currently download as individual class instances for the same image. Would like to have 1 mask per class segmented.

Steps to reproduce

OS: macOS High Sierra, version: Labelbox-Utils v.0.0.3 from local fork repo,

Called labelbox_export_json with .json downloaded from LapUS segmentation labelbox.

What is the current bug behavior?

Multiple labels per category per image are downloaded into the created directories, eg: ./241_1562576210064153856_vessel_0.bmp ./241_1562576210064153856_vessel_1.bmp...

What is the expected correct behavior?

Merge same image, same class instances into 1 mask.

Possible fixes

  • Extract list of image instances.
  • For each image, read labels for different class instances.
  • Use or operator to create single mask for class in image.
  • save as .png.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: NinaMontanaBrown/LabelboxUtils#2