Skip to content

supervisely-ecosystem/create-foreground-mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Foreground Mask

OverviewHow To Use

GitHub release (latest SemVer) views runs

Overview

App adds foreground and fuzzy classes to the project and then for every image with alpha channel creates two masks: foreground object (pixels with opacity >= threshold) and fuzzy object (semi-transparent pixels - with opacity in range [1, 254]).

Usage example: foreground objects (blue) can be used during research with synthetic training data, fuzzy objects (gray) are helpful for analyzing quality of alpha channel.

How To Use

  1. Add app from ecosystem to your team
  2. Prepare project with alpha-channel images. Or add example project from ecosystem.

  1. Run it from context menu of images project

  1. (Optional) change input parameters: threshold and fuzzy flag

  1. What until task finished. Masks will be added to existing project on top of existing annotations. If image doesn't have alpha channel, app will print corresponding warning to task log.