Resolve Labeling Conflict: Assign Unique Colors to a Tooth and Gingiva Labels #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I identified a potential issue in the labeling system where taking the modulo operation (%17) with each array element resulted in a lack of distinction between gingiva and Lower Left 4 (LL4). Specifically, when the FDI system assigned 34 to LL4, taking 34%17 resulted in 0, causing overlap with the gingiva label. It'll cause an exact issue with UR7. To rectify this, I have made adjustments to ensure a distinction between these elements in our predictions. This improvement aims to enhance the accuracy and specificity of our labeling system.
Issue:
![image](https://private-user-images.githubusercontent.com/8472339/284243732-89f5295b-e6cc-40b4-bf9a-abbe66165738.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMTQ5MjQsIm5iZiI6MTcyNDExNDYyNCwicGF0aCI6Ii84NDcyMzM5LzI4NDI0MzczMi04OWY1Mjk1Yi1lNmNjLTQwYjQtYmY5YS1hYmJlNjYxNjU3MzgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjBUMDA0MzQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDQyZTM3NjMwZThhYjRjMjEwNmE4NzhkMGI4Y2RkN2NlZGQ0NTUwMTE0NzNlNDgwZDBmMzQ3ZTUxZjM4MDk0YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.7QfA-hCR7Ec1b8wrsZuEZ40OkzPIRsTI5PUFmCFvkHM)
Fixed:
![image](https://camo.githubusercontent.com/b24ef54b7eda401d762ef37995067b4d6d79e1151183af1fe55e53334a2c02d7/68747470733a2f2f6769746875622d70726f64756374696f6e2d757365722d61737365742d3632313064662e73332e616d617a6f6e6177732e636f6d2f383437323333392f3238343234373335372d38613837303361372d306531322d346464352d396537362d3061366633666430306639662e706e67)