In this article
A filtered object index is a mixture of identifiers, not an identifier with a meaningful decimal part.
A plausible mask can still be wrong
An object-ID image may look correct when displayed with random colors, yet contain invalid class values along silhouettes. A dataset loader that rounds those values can invent another object’s identity. This is especially difficult to detect when the rounded index happens to exist elsewhere in the scene. Inspect the raw exported values before accepting an ID pass as semantic or instance segmentation supervision for a vision model.
Read the integer AOV limitation
The integrator reference warns that prim_index and shape_index become meaningless under partial pixel coverage or a wide reconstruction filter. Averaging identifiers does not compute a category probability. An intermediate number can result from unrelated objects rather than a partially present class. Keep the distinction between discrete identity and pixel coverage explicit when designing how samples become an output training mask.
Choose a labeling policy deliberately
The filter documentation explains spatial reconstruction and its sharpness tradeoffs. A narrow filter alone does not remove all mixed coverage caused by sampling inside a pixel. Possible dataset policies include a separately implemented center-ray label, explicit per-instance coverage or exclusion of ambiguous boundary pixels. Each defines a different annotation task. Select and validate the intended method rather than relying on an image viewer’s apparent sharpness.
Separate renderer indices from dataset identities
A scene-local shape index is not automatically a durable instance key across reordered or rebuilt scenes. Maintain an explicit mapping from exported renderer identities to dataset instances and semantic classes. The image I/O guide documents multichannel image handling; retain channel names and adequate numerical representation during export. Do not pass the label data through a display-color conversion or a lossy preview format.
Inspect overlapping silhouettes
Use a small scene with overlapping objects, thin geometry and a background region. Compare interior labels with boundary pixels and confirm that the chosen policy explains both. The guides to COCO annotation identities and image coordinate integrity describe adjacent dataset contracts. A useful acceptance test checks that every accepted discrete label maps to a known instance and that ambiguous coverage receives the documented treatment instead of arbitrary rounding.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.