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

Visualization code #34

Open
Frq-F opened this issue Apr 28, 2024 · 2 comments
Open

Visualization code #34

Frq-F opened this issue Apr 28, 2024 · 2 comments

Comments

@Frq-F
Copy link

Frq-F commented Apr 28, 2024

Hello ,When I was using your visualization code to visualize the segmentation results, I find a problem
屏幕截图 2024-04-28 164149
why one teeth not in color.I check the FDI: [ 0 11 12 13 14 15 16 17 21 22 23 24 25 26 27],it's correct

@deepsea6034625
Copy link

I also met same problem.
I checked unique values in output json flle.
The labels were like this:
{0, 11, 12, 13, 14, 15, 16, 17, 21, 22, 23, 24, 25, 26, 27}
So, there should be 14 teeth, but the Open3D result only showed 13 teeth.
Does anyone know why this happened?
Screenshot_8

@deepsea6034625
Copy link

Hello.

I analyzed eval_visualize_results.py source code.
There was an logical error in get_colored_mesh() function.
For example, the teeth label was [0, 11, 12, 13, 14, 15, 16, 17, 21, 22, 23, 24, 25, 26, 27].
But the source code divide these labels into palte count(17).
So, the label 17 became 0. so its color changed to background color.

This was the reason.
Thank you.

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