WikiJournal Preprints/Design and validation of an open access, 3D printed dermatoscope

WikiJournal Preprints
Open access • Publication charge free • Public peer review

WikiJournal User Group is a publishing group of open-access, free-to-publish, Wikipedia-integrated academic journals. <seo title=" Wikiversity Journal User Group, WikiJournal Free to publish, Open access, Open-access, Non-profit, online journal, Public peer review "/>

<meta name='citation_doi' value=>

Article information

Abstract

There is a growing demand for low-cost, validated medical instruments, which are increasingly crucial in low-income settings or during health crises. These instruments can help reduce inequities and improve access to medical care. This paper provides a description of the prototyping process for a 3D-printed, open-source dermatoscope. It includes detailed building instructions and a thorough evaluation of its performance compared to a commercial solution. By utilizing this technology, general practitioners and primary care doctors can easily obtain medical equipment that is typically reserved for specialists. The dermatoscope we developed seems to be adequate for initial clinical evaluations. However, it's important to note that the overall quality of self-manufactured devices may vary depending on the available materials and the proficiency in assembly. Whenever possible, it is advisable to prioritize medical-grade certified instruments over self-made solutions.


Introduction edit

 
3D model of the prototype and visual comparison with a commercial dermatoscope (attribution: Matteo Capobussi, CC-BY 3.0)

Distributed digital manufacturing of free and open-source medical hardware is gaining momentum [1]. The increased availability of 3D printing technology, coupled with the growing number of enthusiasts and small enterprises utilizing these technologies, has led to local small-scale production of various medical devices. Some of these productions have been proposed to address crises such as war zones, disaster-stricken areas, and more recently, shortages caused by the COVID-19 pandemic [2] [3]. In these situations, simple, low-tech, and easy-to-build medical items like stethoscopes or otoscopes can be crucial in providing adequate medical care to those in need [4]. In developing countries, shortages of medical equipment may be more pervasive than occasional, resulting in limited access and deep inequalities.

Hobbyists and Makers worldwide possess the technology and skills to design and assemble complex and reliable prototypes for medical use. While their reverse-engineering capabilities have shown increasing success in building advanced devices such as robots or moving prosthetic arms in recent years [5] [6], there is a need for the earlier development of validated models for various basic medical equipment pieces.

The aim of this paper is to describe the prototyping process and evaluate the performance of an open-source, 3D-printed, low-cost dermatoscope compared to a commercial solution. We specifically chose this medical device for several reasons. Its design has undergone minimal evolution, and it can be easily reproduced using commonly available electronics and magnifying systems for Makers. The cost of commercially available, medical-grade devices remains high, ranging from a few hundred to several thousand euros. This poses a barrier for general practitioners and emergency doctors, resulting in only a minority of them adopting this tool in their practice [7]. By openly publishing this prototype, we hope to enable others to replicate and potentially improve it.


Material and methods edit

Our dermatoscope was designed with the goal of maintaining quality standards similar to current professional devices while significantly reducing production costs. The entire design was created using a free online CAD tool called TinkerCAD (www.tinkercad.com, Autodesk Inc., San Rafael, California, USA), and it was manufactured using a Prusa i3 pro B FDM 3D printer (Geeetech Ltd, Shenzhen, China) and an SLA Mars Pro (Elegoo Inc., Shenzhen, China). Detailed building instructions can be found in Appendix A.

A dermatoscope consists of two main parts: a head that houses the lighting and magnification systems, and a battery compartment for handling the device. We made the decision to design the head and handle separately. For the head, we utilized the same battery compartment as a low-cost 3D-printed otoscope that we had previously developed [4]. This allows for multiple heads to be used with the same handle, easily transitioning from an otoscope to a dermatoscope. In case of irreparable damage, the heads can be replaced. The development of a shared platform for multiple devices could lead to a reduction in overall production costs, a concept also employed in the car industry [8].

 
Comparison using a photographic lens quality scale (left: 6x prototype; right: 10x medical device) (attribution: Matteo Capobussi, CC-BY 3.0)

To facilitate component retrieval, the power for the dermatoscope is supplied by two common AA batteries, connected using ball pen springs and a layer of tin.

For the lighting system, we chose to use 8 white LEDs, which are typically already available in a Maker's toolbox. To ensure water resistance, the LEDs need to be placed in a transparent enclosure. While FDM clear filaments are an option, we opted for stereolithography resin to guarantee waterproofing of the head.

In our design, we incorporated an adjustable optical block consisting of plastic Fresnel lenses, which are affordable and easily obtainable from e-commerce websites. To facilitate skin contact and enable the epiluminescence effect after applying oil, we added a plexiglass layer. The internal face of the plexiglass features an engraved millimeter scale for easy measurement of detected skin lesions. By utilizing these components, we were able to keep the costs around 5 euros (Table 1).

 
Comparison using a photographic lens quality scale (left: 6x prototype; right: 10x medical device) (attribution: Matteo Capobussi, CC-BY 3.0)
Component Number Cost per unit -currency Total cost -

currency

Source of materials Material type
Handle
- 3D printed parts: SLA (FDM) / / 1.28 (0.64) € / Polymer
- SLA (FDM) printing electricity consumption / / 0.07 (0.12) € / Other
- nickel strip 7cm 0.006 € / cm 0.04 € https://www.amazon.it/gp/product/B07MM88TJZ/ Metal
- 3-pin switch 1 / 0.09 € https://www.amazon.it/gp/product/B06XGTKK9Z/ Other
- 28 AWG Electric wiring 16cm 0.002 € / cm 0.03 € https://www.amazon.it/gp/product/B07PN8GD6G/ Other
- M3 15 mm screws (side of the handle) 2 0.01 € 0.03 € / Metal
- M2 6 mm screws (switch and battery compartment) 3 0.01 € 0.03 € / Metal
- Recycled spring from ball-pen 2 / 0 € / Metal
Total SLA (FDM) / / 1.57 (0.98) / /
Dermatoscope Head
- 3D printed parts: SLA (FDM) / / 1.61 (0.80) € / Polymer
- SLA (FDM) printing electricity consumption / / 0.05 (0.09) € / Other
- white 5mm, 3.3V LEDs 8 0.05 € 0.4 € / Other
- 28 AWG Electric wiring 12 cm 0.002 € / cm 0.02 € https://www.amazon.it/gp/product/B07PN8GD6G/ Other
- nickel strip 3 cm 0.006 € / cm 0.02 € Metal
- Fresnel lens, magnification factor 3x, 1mm thickness 2 0.95 € 1.9 € https://www.amazon.it/Ingrandimento-Formato-Magnifier-Raccoglitore-Firestarter/dp/B06W5FCS4Q Polymer
- Recycled plexiglass/PVC layer,  33x33mm (i.e. from a plastic bottle) 1 / / Polymer
Total SLA (FDM) / / 4.00 (3.23) / /


An alternative to Fresnel lenses is to use a printable optical lens system. Theoretically, one could take advantage of the high-resolution stereolithography printers provide to produce the optical block of an entire photographic camera [9]. However, the post-printing process required to achieve sufficient visual quality is complex and time-consuming, and it relies on specific and expensive optical resin. Using stereolithography with standard (non-optical quality) clear resin to manufacture the entire device increases the overall cost, as the resin is sold at around 30€/L. On the other hand, for fused deposition modeling, 1 kg of ABS filament can be purchased online for around 15€. The estimated average power consumption is 0.05 kWh for FDM printing and 0.03 kWh for stereolithography [10].

Results edit

Medical literature does not provide standardized parameters for comparing the performance of dermatoscopes. Typically, these devices are described in terms of technical features such as magnifying power and light intensity. In our study, we compared our low-cost prototype to an entry-level commercial solution (dermatoscope Gima 2000, G.I.M.A. S.p.A., Milan, Italy) using these parameters, as well as evaluating the field of view and color quality.

The 3D printed dermatoscope functions in the same way as traditional dermatoscopes. Healthcare professionals simply need to turn on the light using the switch and gently but firmly press the dermatoscope head against the patient's skin. When the epiluminescence effect is desired, oil should be applied since the plexiglass interface is not polarized. Adjusting the helix provides focus adjustment when needed, and removing the lens holder allows for changing the magnification level from 6x to 3x.

Our analysis revealed some differences between the prototype and the certified dermatoscope. Fresnel lenses can only provide limited magnification power without distorting the image. The prototype was able to achieve 6x magnification, while the glass lenses of the commercial dermatoscope provided 10x magnification without chromatic aberrations. However, it's important to note that magnification alone does not guarantee clarity of vision. For this reason, we tested both devices using an imaging-quality millimeter scale designed for comparing photographic lenses [11]. Both our prototype and the Gima dermatoscope were able to clearly visualize the gaps between the smallest test lines, which were placed at a 0.2mm distance. This, combined with a comparable field of view (prototype: 25 mm; medical device: 26mm), resulted in a smaller but clear image that was sufficient for evaluating the details of most skin lesions, which are typically at least 10 times larger than the measured minimum resolution.

The total amount of light emitted by the instruments was measured using a professional exposimeter (Bowens flash meter III, Sekonic Electronics Inc, Japan). Our prototype emitted 5000 lux, significantly higher than the Gima dermatoscope, which only produced 1400 lux. The commercial dermatoscope was equipped with a dimmer to adjust the amount of light according to the characteristics of the detected skin lesions.

There was also a difference in color temperature. Our white LEDs emitted a cool light (7600K), whereas the halogen lamp of the certified dermatoscope consistently emitted a warmer light (4700K). Although LED dermatoscopes have become the industry standard, it remains unclear whether the disparities in color temperature can interfere with diagnosis. It is a common experience for doctors to have to adapt to the technical specifications of a new instrument, and to address this issue, attempts have been made to standardize imaging [12].

 
Comparison between devices and Bland-Altman plots for the “green” color channel (attribution: Matteo Capobussi, CC-BY 3.0)
 
Comparison between devices and Bland-Altman plots for the “green” color channel (attribution: Matteo Capobussi, CC-BY 3.0)
 
Comparison between devices and Bland-Altman plots for the “green” color channel (attribution: Matteo Capobussi, CC-BY 3.0)

Color comparison edit

To compare the performance of the two devices on skin lesions of different colors, we utilized a color scale chart - specifically von Luschan's skin chromatic scale - which has a high correlation with skin color evaluation conducted by a reflectance spectrophotometer [13]. We printed a copy of the scale and captured digital images of its 36 items using both devices at their brightest lamp setting. Subsequently, the images were analyzed using Photoshop CS6 (Adobe Inc., San Jose, California, USA), which provided a 3-point RGB component profile for each image, enabling us to examine each color individually. We compared these data with the color profiles obtained directly from the chart and computed the Pearson's correlation coefficient for each color and device. The results demonstrated a strong correlation for every comparison, with the prototype exhibiting a higher correlation than the Gima dermatoscope. For example, in the "green" channel, the correlation coefficient (r) was 0.87 when comparing the certified medical device to the chart and 0.97 when using our prototype. Similar patterns were observed for the other channels: the "red" correlation coefficients were 0.73 and 0.96, and the "blue" coefficients were 0.80 and 0.89, favoring the prototype. It is important to note that correlation should not be interpreted as agreement.

To better visualize the differences between the two measurement instruments, we employed a Bland-Altman plot [14]. This graphical tool is typically used to compare laboratory diagnostic tests, plotting the means of each pair of measurements on the x-axis against the percentage of differences between the measurements on the y-axis. In all the graphs, an increase in variability of the differences was observed as the magnitude of the measurement increased. This was likely caused by an elevated level of reflections produced by the brighter items on von Luschan's scale. The trend line consistently showed a positive slope: for lower (darker) values, both devices produced brighter colors compared to the chart values, while for the brightest values, the lines converged towards zero, indicating a more accurate color representation. The majority of measurements fell within the confidence intervals, suggesting that both devices yielded accurate results. However, this was not the case for the "red" channel. The data from this component did not follow a normal distribution, which is a requirement for the Bland-Altman plot. We identified the cause as the brightness setting chosen for the measurements, as depicted in the graphs where many values reached 255, the maximum value. To overcome this issue, we plotted the Bland-Altman graph using the 2.5 and 97.5 percentiles [15]. These graphs closely resembled those of other colors, with linearly increasing measurements.

Overall, we can confidently state that both devices provided an accurate representation of the colors included in the skin chart, albeit with some differences related to the color temperature of the lighting system used.




Discussion edit

By utilizing 3D printing and leveraging Makers’ prototyping expertise, we successfully designed and fabricated a functional dermatoscope at a cost of approximately 5€. Currently, branded dermatoscopes are expensive, which can pose a barrier for clinicians, particularly in non-specialized contexts. Given the well-established working principles of this device, it was relatively easy to implement the design using modern electronics. The cost of our instrument was 40 to 80 times lower compared to professional options. Our project implemented a modular platform, enabling interchangeability between different specialized heads, further reducing costs for small-scale production. While the performance of our dermatoscope was similar to entry-level commercial solutions, it did have some limitations. The magnification power was lower compared to glass optics, as the Fresnel lenses only achieved a 6x image enlargement instead of the professional solution's 10x. However, our dermatoscope was capable of detecting details as small as 0.2mm, making it suitable for most skin lesions. Color profiles were similar between devices, but some differences emerged at extreme brightness levels, deviating from the reference table. This can be addressed by incorporating a dimmer, which is already present in the certified device. In our case, Makers could easily refine our design by, for example, adding a potentiometer.

To ensure safety, every possible measure to prevent harm to patients should be taken. For instance, the materials used should be washable and antibacterial. FDM 3D prints are not waterproof or sterilizable, and stereolithography resin is toxic in its liquid form. However, the dermatoscope only makes contact with the patient's skin through the central part of its head, where an easily cleanable and non-toxic glass/plexiglass square is positioned. When electronics are involved, the final product should be waterproof to prevent potential short circuits. Only a harmless, low voltage (3V) current is used. Therefore, we can assume that the safety criteria are met.

When considering emergency contexts, dermoscopy may not immediately come to mind. So far, the focus of developing 3D printed instruments has been on items such as stethoscopes and prosthetic arms. However, one of the lessons learned from the COVID-19 pandemic is that ordinary and chronic diseases may be neglected throughout the duration of an emergency, compromising patient management and increasing mortality rates [16]. Increased availability of these instruments could prove beneficial in situations where the duration of the emergency is unknown.

Conclusions edit

The proliferation of 3D printed instruments has the potential to reduce inequalities by providing more accessible medical diagnostic tools. With this technology, general practitioners and primary care doctors can readily obtain medical equipment that is typically reserved for specialists. While general practitioners may not possess the specialized training required for complex diagnoses, they can use these instruments as a preliminary assessment tool, enabling them to differentiate between common diseases and those that require specialist attention. Without such instruments, primary care doctors might unnecessarily seek specialist consultations, leading to increased costs for patients and healthcare systems. Further research should focus on designing and validating additional equipment. The dermatoscope we have developed appears to be adequate for initial clinical evaluations. However, the overall quality of self-manufactured devices may vary depending on the available materials and assembly proficiency. Whenever possible, it is advisable to prioritize medical-grade certified instruments over self-made solutions.

Additional information edit

Competing interests edit

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Ethics statement edit

No human or animal subjects were involved in this research.

References edit

All design files are published in Mendeley repository: Capobussi, Matteo (2023), “3D printed dermatoscope stl files”, Mendeley Data, V1, doi: 10.17632/6ttjr5vx94.1

  1. A. Pavlosky, J. Glauche, S. Chambers, M. Al-Alawi, K. Yanev, T. Loubani, Validation of an effective, low cost, Free/open access 3D-printed stethoscope. PLoS ONE 13(3) (2018) e0193087. https://doi.org/10.1371/journal.pone.0193087
  2. R. Tino, R. Moore, S. Antoline, COVID-19 and the role of 3D printing in medicine. 3D Print Med 6, 11 (2020).
  3. Capobussi, Matteo; Moja, Lorenzo (2020-11-02). "3D printing technology and internet of things prototyping in family practice: building pulse oximeters during COVID-19 pandemic". 3D Printing in Medicine 6 (1): 32. doi:10.1186/s41205-020-00086-1. ISSN 2365-6271. PMID 33136214. PMC PMC7605335. https://doi.org/10.1186/s41205-020-00086-1. 
  4. 4.0 4.1 Capobussi, Matteo; Moja, Lorenzo (2021-11-17). "An open-access and inexpensive 3D printed otoscope for low-resource settings and health crises". 3D Printing in Medicine 7 (1): 36. doi:10.1186/s41205-021-00127-3. ISSN 2365-6271. PMID 34787772. PMC PMC8595962. https://doi.org/10.1186/s41205-021-00127-3. 
  5. Jones, G. K.; Rosendo, A.; Stopforth, R. (2017-07). Prosthetic design directives: Low-cost hands within reach. IEEE. pp. 1524–1530. doi:10.1109/ICORR.2017.8009464. ISBN 978-1-5386-2296-4. https://ieeexplore.ieee.org/document/8009464/. 
  6. CL. Ventola, Medical Applications for 3D Printing: Current and Projected Uses. Pharm Ther. (2014) 39: 704±711.
  7. Jones, O.T.; Jurascheck, L.C.; Utukuri, M.; Pannebakker, M.M.; Emery, J.; Walter, F.M. (2019-09). "Dermoscopy use in UK primary care: a survey of GP s with a special interest in dermatology". Journal of the European Academy of Dermatology and Venereology 33 (9): 1706–1712. doi:10.1111/jdv.15614. ISSN 0926-9959. PMID 30977937. PMC PMC6767170. https://onlinelibrary.wiley.com/doi/10.1111/jdv.15614. 
  8. "Volkswagen Group MQB platform". Wikipedia. 2024-03-19. https://en.wikipedia.org/w/index.php?title=Volkswagen_Group_MQB_platform&oldid=1214538734. 
  9. "Creating 3D Printed Lenses and a 3D Printed Camera with Stereolithography". Formlabs. Retrieved 2024-04-16.
  10. S. Walls, J. Corney, G. Vasantha, Relative energy consumption of low-cost 3d printers. Proceedings of the 12th International Conference on Manufacturing Research (2014)
  11. G. Ferzetti, Conoscere le Leica. Gieffe edizioni, Rovigo, 1984
  12. Badano, Aldo; Revie, Craig; Casertano, Andrew; Cheng, Wei-Chung; Green, Phil; Kimpe, Tom; Krupinski, Elizabeth; Sisson, Christye et al. (2015-02-01). "Consistency and Standardization of Color in Medical Imaging: a Consensus Report". Journal of Digital Imaging 28 (1): 41–52. doi:10.1007/s10278-014-9721-0. ISSN 1618-727X. PMID 25005868. PMC PMC4305059. https://doi.org/10.1007/s10278-014-9721-0. 
  13. A. Treesirichod, S. Chansakulporn, P. Wattanapan, Correlation between skin color evaluation by skin color scale chart and narrowband reflectance spectrophotometer. Indian J Dermatol (2014) 59:339-42
  14. DG. Altman, JM. Bland, Measurement in medicine: the analysis of method comparison studies. Statistician (1983) 32:307–17. 10.2307/2987937
  15. ME. Frey, HC. Petersen, O. Gerke, Nonparametric Limits of Agreement for Small to Moderate Sample Sizes: a Simulation Study. Stats (2020) 3, 343–355, 10.3390/stats3030022
  16. Huet, Fabien; Prieur, Cyril; Schurtz, Guillaume; Gerbaud, Edouard; Manzo-Silberman, Stéphane; Vanzetto, Gerald; Elbaz, Meyer; Tea, Victoria et al. (2020-05). "One train may hide another: Acute cardiovascular diseases could be neglected because of the COVID-19 pandemic". Archives of Cardiovascular Diseases 113 (5): 303–307. doi:10.1016/j.acvd.2020.04.002. PMID 32362433. PMC PMC7186196. https://linkinghub.elsevier.com/retrieve/pii/S1875213620300991.