| Literature DB >> 31739464 |
José Alves1, Dinis Moreira1, Pedro Alves1, Luís Rosado1, Maria João M Vasconcelos1.
Abstract
Over recent years, there has been an increase in popularity of the acquisition of dermoscopic skin lesion images using mobile devices, more specifically using the smartphone camera. The demand for self-care and telemedicine solutions requires suitable methods to guide and evaluate the acquired images' quality in order to improve the monitoring of skin lesions. In this work, a system for automated focus assessment of dermoscopic images was developed using a feature-based machine learning approach. The system was designed to guide the user throughout the acquisition process by means of a preview image validation approach that included artifact detection and focus validation, followed by the image quality assessment of the acquired picture. This paper also introduces two different datasets, dermoscopic skin lesions and artifacts, which were collected using different mobile devices to develop and test the system. The best model for automatic preview assessment attained an overall accuracy of 77.9% while focus assessment of the acquired picture reached a global accuracy of 86.2%. These findings were validated by implementing the proposed methodology within an android application, demonstrating promising results as well as the viability of the proposed solution in a real life scenario.Entities:
Keywords: feature extraction; image acquisition; image quality assessment; machine learning; mobile dermatology
Mesh:
Year: 2019 PMID: 31739464 PMCID: PMC6891443 DOI: 10.3390/s19224957
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Diagram of the system architecture for the automatic focus assessment on skin lesion dermoscopic images acquired with smartphones.
Specification of Dermlite DL1 and DL3 dermoscopes.
| Dermoscope | Dermlite DL1 | Dermlite DL3 |
|---|---|---|
| Polarization | Polarized & Non Polarized | Polarized & Non Polarized |
| Lighting | 4 White LEDs | 18 White LEDs |
| (polarized/non-polarized) | (12 polarized, 6 non-polarized) | |
| Optics | 15 mm diameter | 25 mm diameter |
| Magnification | 10× | 10× |
| Spectrum Control | No | PigmentBoost™ |
| 10 mm Reticle | Yes | Yes |
| Smartphone compatibility | Yes | Yes |
| Standalone usability | Yes | Yes |
Detailed list of the smartphones used in this study. Additional camera-related details are also provided for each smartphone.
| Smartphone | Camera Resolution | Camera Aperture |
|---|---|---|
| J5 (2016) | 13 MP | f/1.9 |
| LG G6 | 13 MP | f/1.8 |
| Huawei Mate 10 Pro | 12 MP | f/1.6 |
| Motorola G5 | 13 MP | f/2.0 |
| Nexus 5 | 8 MP | f/2.4 |
| Nexus 5X | 12.3 MP | f/2.0 |
| OnePlus 5 | 16 MP | f/1.7 |
| S5 | 16 MP | f/2.2 |
| S6 | 16 MP | f/1.9 |
| S7 | 12 MP | f/1.7 |
| S8 | 12 MP | f/1.7 |
Image type distribution in the DermIQA dataset.
| Image | Focused Images | Non Focused Images | Total |
|---|---|---|---|
| Preview image | 451 | 543 | 994 |
| Acquired picture | 440 | 545 | 985 |
| Total | 891 | 1088 | 1979 |
Visual characteristics of the skin moles included in the DermIQA dataset.
| Subject | Color | Hair | Size | Shape | Border |
|---|---|---|---|---|---|
|
| Light Brown | Yes | Small | Circle | Regular |
|
| Light Brown | Yes | Big | Oval | Regular |
|
| Brown/Dark Brown | No | Medium | Irregular | Irregular |
|
| Black | No | Medium | Circle | Regular |
|
| Light Brown | No | Big | Oval | Regular |
|
| Brown | Few hairs | Small | Irregular | Irregular |
|
| Dark Brown | Few hairs | Medium | Circle | Regular |
|
| Brown | Beard | Medium | Oval | Regular |
|
| Light Brown | Yes | Small | Oval | Regular |
|
| Light Brown and Brown | No | Medium | Irregular | Regular |
|
| Dark Brown/Black | Beard | Medium | Oval | Regular |
|
| Black | No | Small | Oval | Regular |
|
| Light Brown | No | Big | Oval | Regular |
|
| Light Brown | Yes | Big | Oval | Regular |
Figure 2Illustrative examples of skin mole present in the DermIQA dataset.
Figure 3Illustrative examples of background and artifact images present in the DermArtifacts dataset.
Summary of the features extracted for focus assessment. * Each metric value was calculated for , , difference and division of blur and gray images.
| Group | Acronym | Feature Name | Extracted Metrics * |
|---|---|---|---|
| Gradient based | GRAE | Energy Image Gradient | Sum, mean, std, max |
| GRAS | Squared Gradient | Sum, mean, std, max | |
| TENG | Tenengrad | Sum, mean, std, max, var | |
| Laplacian based | LAPE | Energy of Laplacian | Sum, mean, std, max |
| LAPSM | Sum Modified Laplacian | Sum, mean, std, max | |
| LAPD | Diagonal Laplacian | Sum, mean, std, max | |
| LAPV | Variance of Laplacian | Mean, std, max, var | |
| LAPG | Laplacian and Gaussian | Sum, mean, std, max | |
| Statistical based | GLVA | Gray Level Variance | Sum, mean, std, min, max |
| GLVN | Norm. Gray L. Variance | Normalized variances | |
| HISE | Histogram Entropy | Sum (R, G, B, gray) | |
| HISR | Histogram Range | Range (R, G, B, gray) | |
| DCT/DFT | DCT | DCT | Sum, mean, std, min, max |
| DFT | DFT | Sum, mean, std, min, max | |
| Other principles | BREN | Brenner’s Measure | Sum, mean, std |
| CURV | Image Curvature | Sum, mean, std, min, max | |
| SPFQ | Spatial Freq. Measure | Sum, mean, std, max | |
| VOLA | Vollath’s autocorrelation | Sum, mean, std, max | |
| PRCB | Perceptual blur | Sum and mean (x and y axis) |
Decision Tree tested hyper parameter values used during training for model optimization.
| Hyperparameter | Search Space Values |
|---|---|
| Max Depth | 1,2,3 |
| Split Criterion | Gini, Entropy |
| Split Strategy At Each Node | Best, Random |
| Minimum Samples To Slip | 1/3, 1/2 and 1/1 of the train size |
Classification results for best performer models.
| Models | Accuracy (%) | Recall (%) | Precision (%) | Specificity (%) | F1-Score (%) |
|---|---|---|---|---|---|
| (1) Artifact detection | 97.3 | 96.96 | 100 | 100 | 98.5 |
| (2) Focus assessment | 83.7 | 85.4 | 79.5 | 82.4 | 82.4 |
| (1+2) Preview assessment | 77.9 | 80.5 | 72.8 | 75.8 | 76.5 |
| (3) Acquired Focus assessment | 86.2 | 91.1 | 80.7 | 82.1 | 85.6 |
Algorithm running times on different smartphones for preview and acquired images focus assessment.
| Smartphone | Preview Image Assessment Speed (ms) | Acquired Image Assessment Speed (ms) |
|---|---|---|
| Nexus 5 (low end) | 625 | 1203 |
| Samsung S9 (high end) | 77 | 126 |
| OnePlus 6T (high end) | 58 | 123 |
Figure 4Application screenshots of: artifact detection module and real-time preview focus assessment indicating non-focused and focused image, respectively.