Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What kind of segmentation map are you used in CVUSA dataset? #18

Closed
happsky opened this issue Nov 2, 2018 · 1 comment
Closed

What kind of segmentation map are you used in CVUSA dataset? #18

happsky opened this issue Nov 2, 2018 · 1 comment

Comments

@happsky
Copy link

happsky commented Nov 2, 2018

@kregmi What kind of segmentation map are you used in CVUSA dataset? The color one or the black one?
If you used the color one, can you share the code for converting the back segmentation map to the color segmentation map?
Thank you in advance.

@kregmi
Copy link
Owner

kregmi commented Nov 4, 2018

This is what I did intuitively:

If grayscale label = 0, rgb label = [255, 0, 0]
If grayscale label = 1, rgb label = [0, 0, 255]
If grayscale label = 2, rgb label = [0, 0, 0]
else , rgb label = [0, 255, 0]

Hope this helps!

@kregmi kregmi closed this as completed Jul 17, 2019
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

No branches or pull requests

2 participants