Background: The tuberculin skin test (TST) is the most common method for detecting latent tuberculosis infection (LTBI). The test requires that a patient return to the health facility or be visited by a health care worker 48 to 72 hours after the intradermal placement of tuberculin so that the size of the resulting skin induration, if any, can be measured.
Objective: This study aimed to propose and evaluate an image-based method for measuring induration size from images captured using a smartphone camera.
Methods: We imaged simulated skin indurations, ranging from 4.0 to 19 mm, in 10 subjects using a handheld smartphone, and performed three-dimensional reconstruction of the induration sites using photogrammetry software. An experienced TST reader measured the size of each induration using the standard clinical method. The experienced reader and an inexperienced observer both measured the size of each induration using the software. The agreement between measurements generated by the standard clinical and image-based methods was assessed using the intraclass correlation coefficient (ICC). Inter- and intraobserver agreement for the image-based method was similarly evaluated.
Results: Results showed excellent agreement between the standard and image-based measurements performed by the experienced reader with an ICC value of .965. Inter- and intraobserver agreements were also excellent, indicating that experience in reading TSTs is not required with our proposed method.
Conclusions: We conclude that the proposed smartphone image-based method is a potential alternative to standard induration size measurement and would enable remote data collection for LTBI screening.
Tuberculosis (TB) is one of the leading causes of death among infectious diseases worldwide. The disease progresses through a continuum of infection stages in individuals infected with Mycobacterium tuberculosis bacilli (MTB) from the latent to the active state. In latent tuberculosis infection (LTBI), the bacilli are largely dormant but can produce a detectable immune reaction. The LTBI state indicates previous infection and is strongly associated with an increased risk of progression to active TB, particularly in young children [, ].
The most widely used method to detect LTBI is the tuberculin skin test (TST), a proxy measure for previous exposure to MTB . TSTs are also used to monitor and estimate prevalence of TB infection in communities [ ]. During the administration of a TST, tuberculin purified protein derivative is injected intradermally in the patient’s arm, approximately 3 to 4 inches below the elbow, and the result is assessed after a 48- to 72-hour period. This means that it is necessary for the patient to return to the health facility for assessment of the outcome. During the second visit, a clinician measures, using a ballpoint pen and ruler, and records the size of, the skin induration, if there is any; the result is classified as positive or negative based on consensus thresholds. One of the problems encountered by clinicians is that some patients who are subjected to the TST do not return to their respective health facilities after the specified time to have the result evaluated. Self-assessment of the outcome of TSTs has been explored as an alternative to the required follow-up visit [ - ] and, if accurate, could enhance TB screening efforts by reducing the number of subjects whose readings are not taken because of failure to return for skin test reading [ - ]. However, patients may require training in reading TSTs [ ].
As an alternative to direct clinical measurement of TST indurations, we proposed a novel smartphone-based solution, which could capture images of the induration using a camera phone and send these to a central processing center where automated or manual analyses can be performed. Mobile phone usage, particularly smartphones, and global mobile network coverage have risen sharply within the past decade, particularly in developing countries where subscription tripled from 30% to 90% between 2006 and 2014 . At the same time, there was a worldwide decrease in the cost of mobile broadband between 2013 and 2016, with developing and least developed countries experiencing higher reductions than developed countries [ ]. These factors increasingly make telemedicine a realistic solution. Telemedicine involves the collection of medical data in one area and transfer to a central processing station for expert analysis; it stands to benefit from the advances in imaging and networking technologies for smartphones. Smartphones are now equipped with powerful cameras and processors, large screens, and various network capabilities [ ].
In this study, we addressed the measurement of skin induration resulting from a TST using images captured on a smartphone, with a vision of leveraging the ubiquity of smartphone usage and the capabilities of such phones to enhance the screening for latent TB using TSTs. We assessed the feasibility of measuring induration size for a TST in three-dimensional (3D) scenes reconstructed from spatial images acquired using a smartphone based on agreement with the standard method.
Images were captured using the primary camera of a Samsung Galaxy S7 Edge (Samsung, South Korea) smartphone to produce a set of images per subject. This smartphone has a 12-MP primary camera with a 1.4-µm pixel size, 1/2.5-inch sensor size, and a f/1.7, 26-mm lens. During image capture, particular caution was exercised to ensure sufficient overlap of the regions in adjacent images. This overlap is essential for the 3D scene reconstruction.
Subjects for the study were recruited from postgraduate students and staff members in the Division of Biomedical Engineering at the University of Cape Town. Ethics clearance for the study was obtained from the Human Research Ethics Committee of the University of Cape Town (HREC REF: 250/2016). The purpose and procedure for this study were explained to all subjects who thereafter signed a form consenting to take part in the study. Instead of subjecting each participant to a TST, we used special effects makeup, applied by a professional make-up artist, to mimic a positive TST outcome (induration). We recruited participants with different skin tones, varying from dark to pale. Each mock induration was carefully tailored to mimic the expected appearance of a real induration for that particular skin tone. Examples of the mock indurations are shown in. For each mock induration, between 7 and 10 images were captured ensuring coverage of approximately 120° around the arm with the smartphone camera set to autofocus mode. The 120° angle was sufficient to capture the data required for full 3D reconstruction of the mock induration. Before image acquisition, we placed a 10-mm scale bar on the arm, close to the mock induration, for the calibration of the measurements. After image acquisition, the induration size was manually measured by an observer who is experienced in reading TSTs, and these measurements were regarded as the reference standard for assessing the image-based measurements. The manual measurements were recorded by an independent observer to eliminate potential bias (trying to recall the manual measurements) and ensure independence when the experienced TST reader performed the image-based measurements.
Three-Dimensional Reconstruction and Measurement
Images were transferred from the smartphone to a personal computer for processing using Agisoft PhotoScan (Agisoft LLC, Russia), a commercially available software package that performs photogrammetric processing of digital images. The program can generate 3D spatial data to enable indirect distance, area, and volume measurements of objects of various scales . A mask was manually created for each image to ensure that only the relevant part (background cropped to leave only the arm) was used in the reconstruction. The first stage of 3D reconstruction is the search for and matching of common points on the input images; these points are used to estimate camera positions for each image. Successful completion of this stage requires points to be visible in at least 2 images, and therefore, there is a need for sufficient overlap in adjacent images. The software provides a fully automated workflow and subsequent stages include the refinement of the camera calibration parameters, building of the point cloud model, building of a polygonal mesh, and finally, building of texture. An example of this pipeline is shown in . Identification of the scale bar in the reconstructed 3D scene was achieved by the manual placement of markers using mouse clicks. Measurements were subsequently made by placing markers on the arm to indicate the distance to be measured—on the border of the mock induration in the direction transverse to the length of the arm ( ).
Marker placement for both the scale bar identification and the induration measurement was performed by the same observer who made the reference measurements. Additionally, an observer with no prior experience in reading TSTs also placed markers on the 3D arm models; this would allow assessment of the effect of experience on image-based measurements. The 2 observers repeated the image-based measurements so that the reliability of measurement could be assessed. Observers took the image-based measurements separately to avoid bias, and the second measurement for each observer was taken 7 days after the first one. Statistical analysis of the data was performed using the SPSS (IBM Corp, USA) software package.
A total of 10 volunteers took part in the study. Mock induration size ranged between 4.0 and 19 mm as measured by the experienced observer according to the standard method used in clinical evaluation of TSTs. First, we studied the agreement between the readings taken by the experienced observer (observer 1) using the standard clinical method and the corresponding image-based measurements by the same observer. In this study, the precision of the clinical standard method was 1 mm (ie, measurements were rounded to the nearest millimeter where necessary), whereas the precision of the image-based method was higher than a thousandth of a millimeter. We also assessed the agreement between the clinical standard measurements and the image-based measurements performed by an inexperienced observer (observer 2), as well as the agreement between the two observers for image-based measurements.and show the intraclass correlation coefficients (ICC) values and their corresponding 95% CI for the various measurements conducted by observers 1 and 2.
and show that ICCs for both observers are well above 0.9, indicating excellent agreement between the observer versus the reference and for intraobserver measurements.
shows excellent interobserver agreement with the ICCs higher than 0.9. The ICC shown is computed using the average of the two readings made 7 days apart, by each observer.
|Comparison||ICCa (95% CI)|
|Reference versus mean measurement||0.965 (0.865-0.991)|
|R1b versus R2c||0.989 (0.958-0.997)|
aICC: intraclass correlation coefficient.
bR1: reading 1.
cR2: reading 2.
|Comparison||ICCa (95% CI)|
|Reference versus mean measurement||0.954 (0.830-0.988)|
|R1b versus R2c||0.973 (0.897-0.993)|
aICC: intraclass correlation coefficient.
bR1: reading 1.
cR2: reading 2.
|Comparison||ICCa (95% CI)|
|Obs1Meanb versus Obs2Meanc||0.990 (0.938-0.998)|
aICC: intraclass correlation coefficient.
bObs1Mean: mean of the two readings performed by observer 1.
cObs2Mean: mean of the two readings performed by observer 2.
Mock skin indurations were used in this study, and their sizes were measured from 3D scenes of the arm reconstructed from planar images captured at several angles using a smartphone. The use of 3D scenery means that real 3D induration size is measured as opposed to planar distance from two-dimensional images. The high ICC values, which indicate excellent agreement between the measurements using the image-based method proposed in this study and those made using the current clinical method, suggest that the proposed method can potentially be used as an alternative to the standard clinical method. Moreover, high values for intra- and interobserver agreement for both experienced and inexperienced users indicate that experience in reading TSTs is not a requirement with the proposed method.
Our method provides the ability to read the results of the skin test at low cost, with high accuracy, in the community. An example where this would be useful is in low-resourced, high burden areas during mass screenings as the dependence on experienced personnel is reduced. In such cases, personnel with little experience or no experience in reading TSTs could be sent out to collect images for later processing. The method also addresses lack of experience in TST reading in low-risk countries. In high-income countries, which currently target a wider pool of patients, the method may also provide an alternative to clinician-based reading of results that reduces the number of TST results that are lost because of patients’ failure to return for the reading.
Results indicate that accurate self-assessment is possible, as patients in possession of an adequately capable smartphone could capture images of the skin induration and send it to a central server for expert processing and recording of induration size. With this approach, the follow-up visit that would normally be required for a TST becomes optional for patients whose induration size indicates a negative result. Self-assessment would increase convenience for the patient as images can be captured in their homes, without the assistance of a health practitioner, and would potentially reduce travel costs. This in turn would also reduce the number of TSTs lost because of patients’ failure to return for assessment. Self-assessment for TSTs has previously been tested with success. For example, subjects have been asked to interpret the outcome of a TST as flat or not with an aim of summoning those with a nonflat reaction for expert evaluation . The sensitivity and specificity for the study were 99.5% and 97%, respectively, with all subjects providing an interpretation. In contrast, the method proposed in this study does not require the patient to make any decision but to merely take images of the site where the TST was administered. Furthermore, our proposed approach goes a step further to produce the measurement for induration size, and the results can be transmitted back to the patient’s phone with the potential to include appropriate messages to encourage attendance at a health care facility for those with a positive test.
A further advantage of the image-based method is that it measures induration size with higher precision than the current clinical standard method. In the standard method, a TST reader has to round off the induration size to the nearest millimeter. This requires the reader to make a judgment during the measurement, and this is a possible source of variation among TST readers that can cause misclassification (positive or negative) of measurements that are close to the threshold . The higher precision of the image-based method is likely to reduce the misclassification rate.
Despite the relative ease with which observers could make measurements from the reconstructed 3D scenes, a few minor problems were encountered. First, the presence of shadows in some of the images made the placement of markers difficult. These shadows were a result of nonuniformity in the lighting in the images, as the camera moves from position to position during image capture. This can easily be addressed using image correction techniques before 3D reconstruction. In addition, despite close inter- and intraobserver agreement, the measurements are still observer-dependent. One way of overcoming this would be automated analysis, wherein an algorithm identifies the scale bar and the points between which the measurement is to be taken. These advances are the subject of an ongoing study.
We identified the calibration strip, which is placed on the arm to provide the scale, as a potential limitation for our method. Although the placement of the calibration strip does not affect results if it is clearly visible in the images, its physical integrity is crucial, and therefore, it requires careful handling by the patient. For example, patients who capture the TST images themselves should avoid bending the calibration strip or even losing it. Training patients on TST reading has previously been identified as a factor for successful implementation of self-assessment ; in our case, clinicians would need to educate the patient on the importance of maintaining the integrity of the calibration strip and demonstrate the image acquisition process including optimal placement of the calibration strip. In this ongoing study, we are developing a calibration technique in line with the requirement for automated analysis, which dispenses with the strip. Although mock indurations and a limited number of subjects were sufficient for the current proof-of-concept study, we envisage testing further iterations of our method using real indurations and a larger number of participants. Finally, in this study, we used a high-end smartphone equipped with a camera superior to those fitted on low-end phones that are expected to be more widespread in resource-limited regions. However, at this proof-of-concept stage, our goal was to show that images acquired with a smartphone can be used to measure TST induration size. Smartphone cameras have improved so much in the past few years that primary cameras on modern low-end phones have resolution of 5 MP or better. Furthermore, the 3D reconstruction software that we have used for processing the images works well with low-resolution images [ ]. However, in the ongoing study, we plan to explore the effect of camera specifications on the results.
We have shown that a smartphone-based imaging solution has the potential to improve the efficiency of the global TB program by providing the ability to read the results of the skin test at low cost, with high accuracy, in the community. We envisage that the proposed method for induration measurement would enable and enhance latent TB infection screening in high burden, low-resourced regions as well as provide an alternative to clinician-based assessment in high-income regions. By taking advantage of the global ubiquity of smartphones and through further research, the use of smartphone cameras for image acquisition has the potential to bring this method to greater portions of the population through self-assessment and application of telemedicine.
Funding for this study was provided by the National Research Foundation of South Africa (grants 82624 and 98788) and the Medical Research Council of South Africa. The funding bodies played no role in the design of the study; collection, analysis, and interpretation of data; or in writing the manuscript.
Conflicts of Interest
- Morán-Mendoza O, Marion SA, Elwood K, Patrick DM, FitzGerald JM. Tuberculin skin test size and risk of tuberculosis development: a large population-based study in contacts. Int J Tuberc Lung Dis 2007 Sep;11(9):1014-1020. [Medline]
- Moyo S, Isaacs F, Gelderbloem S, Verver S, Hawkridge AJ, Hatherill M, et al. Tuberculin skin test and QuantiFERON® assay in young children investigated for tuberculosis in South Africa. Int J Tuberc Lung Dis 2011 Sep;15(9):1176-81, i. [CrossRef] [Medline]
- Collins LF, Geadas C, Ellner JJ. Diagnosis of latent tuberculosis infection: too soon to pull the plug on the tuberculin skin test. Ann Intern Med 2016 Jan 19;164(2):122-124. [CrossRef] [Medline]
- Enarson DA. Use of the tuberculin skin test in children. Paediatr Respir Rev 2004;5(Suppl A):S135-S137. [Medline]
- Cox V, de Azevedo V, Stinson K, Wilkinson L, Rangaka M, Boyles TH. Diagnostic accuracy of tuberculin skin test self-reading by HIV patients in a low-resource setting. Int J Tuberc Lung Dis 2015 Nov;19(11):1300-1304. [CrossRef] [Medline]
- Gourevitch MN, Teeter R, Schoenbaum EE, Klein RS. Self-assessment of tuberculin skin test reactions by drug users with or at risk for human immunodeficiency virus infection. Int J Tuberc Lung Dis 1999 Apr;3(4):321-325. [Medline]
- Prezant DJ, Kelly KJ, Karwa ML, Kavanagh K. Self-assessment of tuberculin skin test reactions by New York City firefighters: reliability and cost-effectiveness in an occupational health care setting. Ann Intern Med 1996 Aug 15;125(4):280-283. [Medline]
- Risser NL, Belcher DW, Bushyhead JB, Sullivan BM. The accuracy of tuberculin skin tests: self-assessment by adult outpatients. Public Health Rep 1985;100(4):439-445 [FREE Full text] [Medline]
- International Telecommunication Union. ITU.int. ICT Facts and Figures 2014 URL: http://www.itu.int/en/ITU-D/Statistics/Pages/facts/default.aspx [accessed 2017-10-07] [WebCite Cache]
- ITU.int. ICT Facts and Figures 2017 URL: http://www.itu.int/en/ITU-D/Statistics/Pages/facts/default.aspx [accessed 2017-10-07] [WebCite Cache]
- Dendere R, Myburg N, Douglas TS. A review of cellphone microscopy for disease detection. J Microsc 2015 Sep 15;260(3):248-259. [CrossRef] [Medline]
- Agisoft. URL: http://www.agisoft.com/ [accessed 2017-11-15] [WebCite Cache]
- Pouchot J, Grasland A, Collet C, Coste J, Esdaile JM, Vinceneux P. Reliability of tuberculin skin test measurement. Ann Intern Med 1997 Feb 01;126(3):210-214. [Medline]
|ICC: intraclass correlation coefficient|
|LTBI: latent tuberculosis infection|
|MTB: Mycobacterium tuberculosis bacilli|
|TST: tuberculin skin test|
Edited by G Eysenbach; submitted 02.07.17; peer-reviewed by SC Pan, S Sakhuja, A Proaño; comments to author 15.09.17; revised version received 13.10.17; accepted 30.10.17; published 07.12.17Copyright
©Ronald Dendere, Tinashe Mutsvangwa, Rene Goliath, Molebogeng X Rangaka, Ibrahim Abubakar, Tania S Douglas. Originally published in JMIR Biomedical Engineering (http://biomedeng.jmir.org), 07.12.2017.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Biomedical Engineering, is properly cited. The complete bibliographic information, a link to the original publication on http://biomedeng.jmir.org/, as well as this copyright and license information must be included.