z-x-yang / CFBI

The official implementation of CFBI(+): Collaborative Video Object Segmentation by (Multi-scale) Foreground-Background Integration.
BSD 3-Clause "New" or "Revised" License
322 stars 43 forks source link

make key mask frame ? #23

Closed luoww1992 closed 3 years ago

luoww1992 commented 3 years ago

how to make the first key frame with mask ? it is different to other 24bit color image. I try to make it, but the result is bad.

z-x-yang commented 3 years ago

Refer to this issue.

A mask file is an 8-bit greyscale image. Set the mask value to be 1 for the first object region, to be 2 for the second, and so on.

The colour of each object is from a colour palette inside the mask file. The palette is not necessary for training or inference but is used for clearer visualization of different objects.