← العودة إلى المنصة · Back to the platform

Dental Plaque Analyzer

المنهجية العلمية · Methodology

المنهجية العلمية

الحالة الحالية: عتبات الصبغة الفسفورية مضبوطة على 8 صور حقيقية (كاميرا Nikon D7100، بدقة 6000×4000)، ولم تُقارَن بعدُ بتحديد يدوي من خبير. وعتبات الصبغة الزرقاء أو الوردية مبنية على الألوان المعروفة لهذه الصبغات، ولم تُضبط بعدُ على صور حقيقية. لذلك تُعدّ النتائج بحثية، ويُنصح بمراجعة التلوين في كل صورة.

1. معادلة النسبة

Plaque % = plaque pixels ÷ (tooth pixels + plaque pixels) × 100

تُحسب النسبة من البكسلات الواقعة داخل منطقة الأسنان فقط. وكل بكسل خارج المنطقة (اللثة، والشفاه، واللسان، والخلفية) يُستبعد. و"مساحة الأسنان" هي عدد كل البكسلات داخل المنطقة بأي لون. ويجري الحساب دائماً على الصورة الأصلية بدقتها الكاملة، بعد إعادة رسمها داخل المتصفح (فتُحذف بيانات EXIF). أما أوضاع العرض المحسّنة فهي للمشاهدة فقط ولا تدخل الحساب.

2. تصنيف البكسل

3. العتبات الافتراضية لكل نوع صبغة

المقياس الأول هو مقياس OpenCV (اللون من 0 إلى 179). والمقياس الثاني هو مقياس ImageJ (اللون من 0 إلى 255)، ويُحسب بالمعادلة H(ImageJ) = H(OpenCV) × 255 ÷ 180 مع التقريب، لذلك قد يختلف بمقدار ±1. التشبّع (S) والسطوع (V) من 0 إلى 255 في المقياسين.

نوع الصبغةالفئةاللون H (OpenCV)اللون H (ImageJ)التشبّع Sالسطوع V
صبغة فسفورية تحت الأشعة فوق البنفسجيةالسن94–116133–1640–25580–255
اللويحة56–9379–132100–25540–255
صبغة زرقاء أو ورديةالسن0–1790–2550–70110–255
اللويحة100–172142–24450–25540–255
أسنان سليمة (بدون لويحة)لا تُستخدم عتبات: تُحسب مساحة منطقة الأسنان فقط.

يستطيع الباحث تعديل العتبات من المنصة، وتُسجَّل العتبات المستخدمة فعلاً في ملف النتيجة (CSV) مع كل تحليل.

4. استبعاد الصبغة الواقعة على اللثة (الصبغة الفسفورية فقط)

تتوهج الصبغة الفسفورية على اللثة أيضاً، لكن توهجها هناك أضعف بوضوح من توهجها على سطح السن. لذلك يُقارَن كل بكسل أخضر بسطوع الأسنان المحيطة به، وليس برقم سطوع ثابت، فتُعامَل الجهة المظلمة من الصورة مثل الجهة المضيئة دون تعديل أي بكسل:

5. التحديد التلقائي للأسنان

6. الأدوات اليدوية

7. طريقة الاستشهاد

استخدم رقم الإصدار المكتوب في أسفل المنصة عند إجراء التحليل:

Sahib A. Dental Plaque Analyzer (version 1.2.1) [web application]. 2026. Available from: https://dentalplaqueanalyzer.com/

8. سجل الإصدارات

Methodology

Current status: the fluorescent-dye thresholds were calibrated on 8 real photographs (Nikon D7100, 6000×4000) and have not yet been compared with manual annotation by an expert. The blue or pink dye thresholds are based on the known colors of these dyes and have not yet been calibrated on real photographs. The results are therefore for research use, and reviewing the overlay in every image is recommended.

1. Percentage formula

Plaque % = plaque pixels ÷ (tooth pixels + plaque pixels) × 100

The percentage is calculated only from pixels inside the teeth region. Every pixel outside the region (gums, lips, tongue, background) is excluded. "Teeth area" is the number of all pixels inside the region, of any color. The calculation always runs on the original image at full resolution, after it has been redrawn inside the browser (which removes EXIF metadata). Enhanced view modes are for display only and are never used in the calculation.

2. Pixel classification

3. Default thresholds for each dye type

The first scale is the OpenCV scale (hue 0–179). The second is the ImageJ scale (hue 0–255), calculated as H(ImageJ) = H(OpenCV) × 255 ÷ 180 with rounding, so it may differ by ±1. Saturation (S) and brightness (V) range from 0 to 255 on both scales.

Dye typeClassHue H (OpenCV)Hue H (ImageJ)Saturation SBrightness V
Fluorescent dye under ultraviolet lightTooth94–116133–1640–25580–255
Plaque56–9379–132100–25540–255
Blue or pink disclosing dyeTooth0–1790–2550–70110–255
Plaque100–172142–24450–25540–255
Healthy teeth (no plaque)No thresholds are used: only the area of the teeth region is measured.

Researchers can adjust the thresholds in the platform, and the thresholds actually used are recorded in the result file (CSV) of every analysis.

4. Excluding dye on the gums (fluorescent dye only)

The fluorescent dye also glows on the gums, but much more weakly than on the tooth surface. Each green pixel is therefore compared with the brightness of the surrounding teeth rather than with a fixed brightness value, so the darker side of the image is treated like the brighter side without modifying any pixel:

5. Automatic teeth detection

6. Manual tools

7. How to cite

Use the version number shown at the bottom of the platform at the time of analysis:

Sahib A. Dental Plaque Analyzer (version 1.2.1) [web application]. 2026. Available from: https://dentalplaqueanalyzer.com/

8. Version history