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

[QUESTION] Discrepancy Between Semantic Segmentation Colors and Mesh Colors #55

Open
B-Paweekorn opened this issue Jul 17, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@B-Paweekorn
Copy link

B-Paweekorn commented Jul 17, 2024

I'm very interested in your work. I think I'm in the final stages of my project, but I've encountered a challenge. The mesh colors displayed in RViz do not match the semantic colors provided in the input. This issue is evident in the attached screenshot, where the semantic segmentation colors differ from the mesh colors.

Could you please advise on potential reasons for this discrepancy?

@B-Paweekorn B-Paweekorn added the question Further information is requested label Jul 17, 2024
@B-Paweekorn
Copy link
Author

image

@nathanhhughes
Copy link
Collaborator

Hi, thanks for your interest in our work! It's hard to say without more details, but there are two spots where we've managed to have misaligned colors:

  • The visualizer and hydra can have different settings for the semantic_map_path argument (which doesn't look like it is the case as the object color matches the mesh color).
  • The image encoding might be flipped from what you expect at the source (i.e., you could be publishing a rgb ordered image with a bgr ordered encoding or vice-versa).

Finally, there's also a possibility you might not have set semantic_map_path correctly to point to the current colormap that you're using

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants