hradec / individual_tooth_segmentation

An implementation for individual tooth segmentation in human teeth image taken outside oral cavity by an optical camera.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Individual Tooth Segmentation in Human Teeth Images

Summary

An implementation for individual tooth segmentation method in human teeth image taken outside oral cavity by an optical camera.

Ground truth Proposed

CMI Lab., Department of Mathematical Sciences, KAIST.

Instruction

Requirements

  • Python >= 3.7
  • Pytorch >= 1.9.0
  • Opencv
  • yaml

Neural network parameters

You can download pretrained parameters as pytorch checkpoint file.

http://parter.kaist.ac.kr/colee/work/segmentation22/CP_teeth_seg.pth
(You may need to copy & paste the link into the address bar.)

Configuration file

Set path of root directory, checkpoint, and input images in config.

One-click tutorial

After downloading the pytorch checkpoint file, one can start quickly with following command using a sample test image:

git clone https://github.com/mireiffe/individual_tooth_segmentation.git
cd individual_tooth_segmentation
python main.py --All

Result

Test images

  • 10 optical teeth images taken outside oral cavity.
  • In consultation with a dentist, we generated ground truths for the test images.

Benchmark method

In this repository, we compare the proposed method with only one benchmark method based on the Mask R-CNN. There are more benchmark methods and comparisons in [1].

Evaluation

  • F1-score

    For ground truth $G$ and given region $R$, $$F1 = \frac{2|G\cap{R}|}{|G| + |R|}.$$

  • The 12 front teeth

    We calculate F1-score for 12 front teeth and uses $mF1$ as the evaluation metric, which is defined as the average F1-score for the 12 front teeth.

  • Table 1. The $mF1$ values of 10 optical teeth images for the two methods, Mask R-CNN and ours. Each $mF1$ is followed by the number of teeth having F1-score > 0.8. The proposed method segments the largest number of teeth in all images. It also shows the best mF1 for all images except T05 and T10. Best scores and largest numbers are highlighted in bold.

    Image ID Mask R-CNN Proposed
    01 0.9508 (13) 0.9642 (13)
    02 0.9515 (6) 0.9732 (7)
    03 0.9435 (12) 0.9509 (16)
    04 0.7874 (11) 0.9341 (16)
    05 0.9411 (12) 0.9346 (17)
    06 0.6232 (8) 0.9326 (15)
    07 0.9296 (6) 0.9655 (8)
    08 0.6312 (4) 0.7910 (5)
    09 0.9246 (13) 0.9513 (16)
    10 0.9432 (12) 0.9325 (18)

Segmentation results

Image ID Ground truth Mask R-CNN Proposed
01
02
03
04
05
06
07
08
09
10

Image files are available in the figures directory.

References

  1. Kim, Seongeun and Lee, Chang-Ock, Individual Tooth Segmentation in Human Teeth Images Using Pseudo Edge-Region Obtained by Deep Neural Networks, http://dx.doi.org/10.2139/ssrn.4159811.

  2. G. Zhu, Z. Piao, S. C. Kim, Tooth detection and segmentation with mask R-CNN, in: 2020 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), 2020, pp. 70–72.

About

An implementation for individual tooth segmentation in human teeth image taken outside oral cavity by an optical camera.


Languages

Language:Python 100.0%