ToothGroupNetwork icon indicating copy to clipboard operation
ToothGroupNetwork copied to clipboard

Visualization code

Open Frq-F opened this issue 1 year ago • 2 comments

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

Frq-F avatar Apr 28 '24 08:04 Frq-F

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 avatar May 07 '24 08:05 deepsea6034625

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.

deepsea6034625 avatar May 07 '24 09:05 deepsea6034625