Closed LemonAniLabs closed 7 years ago
There are two possibilities:
The code in label.py is only used for visualization.
I mean using the 'label.id' is correct or not? I see in dltools/utility.py is mapping from label.trainId to color instead of label.Id So if I want to mapping color to label value, should map to trainId?
The new code allows mapping from colors to ids if you use the C++ version of Chianti.
Hi @TobyPDE ,
I have some training data was labeled in color, I would like to transform color image to labelIds image for training. label.py have the mapping table, so I just using 'id' to replace [r,g,b] and save one channel to image. Is this make sense?
Any idea? Thanks.