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

Interpolation artifacts in segmentation masks. #269

Open
LucaBonfiglioli opened this issue Nov 15, 2023 · 0 comments
Open

Interpolation artifacts in segmentation masks. #269

LucaBonfiglioli opened this issue Nov 15, 2023 · 0 comments

Comments

@LucaBonfiglioli
Copy link

Hello, I need to render segmentation masks with pyrender. Normally I would do it by setting flags=pr.RenderFlags.SEG and by adding the segmentation color map as described in your documentation.

This works fine, except for when two meshes are colliding, in which case some artifacts appear in the segmentation mask. See the example below.
0_image

As you can see, wherever there's a collision between meshes, the segmentation is wrong: the pixels get assigned a mixing of the two colliding colors.
image

Is there any workaround to solve this issue?

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

1 participant