isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
2.14k stars 867 forks source link

What determines the semantic segmentation ID? #1379

Open jacobtho314 opened 5 hours ago

jacobtho314 commented 5 hours ago

Question

In my scene, I have a semantic ID for each object in my scene (they all have the same semantic class, just different values). The IDs begin at 0, and end with the number of objects in the scene. Is the ID then just the order by with the prim is created? I'd really like to be able to assign a mapping from the prim (or what I know the object is at instantiation) to the semantic ID.

RandomOakForest commented 4 hours ago

This example may be of help. The IDs are assigned following a tree traversing procedure. See the semantic segmentation annotator doc of Replicator.