TL;DR
This paper introduces an end-to-end deep learning pipeline for automatically detecting "prickles" (red thorns) on tongue images, a key diagnostic indicator in Traditional Chinese Medicine (TCM). By combining advanced segmentation with a modified Faster R-CNN, they achieve a recall of 92.42%, significantly improving upon previous methods and offering a more objective and quantitative approach to TCM diagnosis.
What Problem Does This Paper Address?
Traditional Chinese Medicine (TCM) relies heavily on visual cues from the tongue for diagnosis, with "prickles" – small red protrusions – being a significant indicator of blood heat or internal organ imbalances. However, recognizing these prickles is currently a subjective and labor-intensive process for TCM practitioners, prone to human error and external factors. This subjectivity limits the widespread adoption and standardization of tongue diagnosis, especially for individuals without extensive medical training. The paper aims to bridge this gap by developing an automated, objective, and quantitative method for prickle detection using deep learning.
Methods
The proposed solution is an end-to-end workflow comprising several key stages:
- Tongue Segmentation: A Swin Transformer, a state-of-the-art vision transformer, is used to accurately segment the tongue from the rest of the image, removing distracting elements like lips and cheeks. This is crucial for focusing subsequent analysis.
- Tongue Partitioning: The segmented tongue is then divided into four distinct regions: root, center, tip, and margin. This partitioning allows for adaptive parameter tuning in the subsequent detection steps, as prickle characteristics and potential confusions (e.g., with cracks) can vary across these areas.
- Data Pre-labeling: An initial annotation of potential prickles is performed using a simple blob detector combined with LAB chromatic aberration filtering. This step leverages color information to identify candidate spots.
- Manual Annotation: The pre-labeled data is then refined through manual annotation by TCM doctors, ensuring high-quality ground truth for training.
- Prickle Detection: A modified Faster R-CNN model is employed for the final prickle detection. To address the challenge of small target detection, a 4x bilinear interpolation is used for upsampling. The model is trained using transfer learning, leveraging a pre-trained model to compensate for the relatively small dataset size.
Datasets
The study utilizes the bio-HIT tongue image dataset, which contains 300 RGB images of tongues. For training and evaluation, a subset of 224 images was manually annotated for prickles. The dataset was split using a cross-validation strategy.
Key Insights and Ideas
- Swin Transformer for Segmentation: The adoption of Swin Transformer for tongue segmentation demonstrates its effectiveness in capturing global semantic information and handling variations in illumination and sampling devices, leading to highly accurate tongue masks.
- Importance of Tongue Partitioning: Dividing the tongue into regions (root, center, tip, margin) and applying adaptive detection parameters significantly reduces misdetections, particularly of cracks in the root and center areas, while maintaining high detection rates for prickles.
- Transfer Learning for Small Datasets: The successful application of transfer learning, pre-training on a large general dataset and fine-tuning on the specific tongue prickle dataset, is critical for achieving robust performance with a limited number of annotated images.
- End-to-End Workflow: The proposed end-to-end pipeline eliminates the need for manual parameter tuning in many steps, making the system more user-friendly and less prone to overfitting.
- Quantitative Diagnosis Potential: The work moves beyond qualitative observation, offering a quantitative measure of prickles, which can lead to more objective diagnostic associations with specific diseases or health conditions.
Key Results
- Segmentation Performance: The Swin Transformer achieved a high segmentation accuracy of 99.47%.
- Prickle Detection Performance: The proposed method achieved a recall of 92.42%, which is 2.52% higher than previous work. The precision was 94.59% for the margin, 89.92% for the tip, and 98.62% for the root and center areas.
- Comparison: The method outperformed existing approaches in terms of recall and accuracy, demonstrating the effectiveness of the deep learning-based, partitioned approach.
Limitations and Future Work
- Dataset Generalization: The model was trained on images from a specific acquisition device. Further research with larger, more diverse datasets from various devices is needed to improve generalization and robustness across different imaging equipment.
- Expanding Feature Detection: The current work focuses on prickles. Future work could extend the model to detect other important TCM tongue features like petechiae, cracks, and tooth-marks, creating a more comprehensive diagnostic tool.
- Pixel-wise Classification: While bounding boxes are used for detection, the authors suggest exploring pixel-wise segmentation for each TCM tongue feature, which could offer even finer-grained analysis.
- Clinical Validation: While the paper demonstrates technical feasibility, further clinical validation with a larger cohort of patients is necessary to establish strong quantitative associations between detected prickle patterns and specific health conditions.
Summary updated