Rapid point-of-care Hemoglobin measurement through low-cost optics and Convolutional Neural Network based validation

12/01/2017
by   Chris Wu, et al.
Athelas
0

A low-cost, robust, and simple mechanism to measure hemoglobin would play a critical role in the modern health infrastructure. Consistent sample acquisition has been a long-standing technical hurdle for photometer-based portable hemoglobin detectors which rely on micro cuvettes and dry chemistry. Any particulates (e.g. intact red blood cells (RBCs), microbubbles, etc.) in a cuvette's sensing area drastically impact optical absorption profile, and commercial hemoglobinometers lack the ability to automatically detect faulty samples. We present the ground-up development of a portable, low-cost and open platform with equivalent accuracy to medical-grade devices, with the addition of CNN-based image processing for rapid sample viability prechecks. The developed platform has demonstrated precision to the nearest 0.18[g/dL] of hemoglobin, an R^2 = 0.945 correlation to hemoglobin absorption curves reported in literature, and a 97 the developed hemoglobin device/ML platform having massive implications in rural medicine, and consider it an excellent springboard for robust deep learning optical spectroscopy: a currently untapped source of data for detection of countless analytes.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 2

page 3

page 4

11/26/2021

Towards Low-Cost and Efficient Malaria Detection

Malaria, a fatal but curable disease claims hundreds of thousands of liv...
08/27/2021

TE-YOLOF: Tiny and efficient YOLOF for blood cell detection

Blood cell detection in microscopic images is an essential branch of med...
10/13/2017

ThermSense: Smartphone-based Breathing Sensing Platform using Noncontact Low-Cost Thermal Camera

The ability of sensing breathing is becoming an increasingly important f...
06/07/2021

Low cost cloud based remote microscopy for biological sciences

A low cost remote imaging platform for biological applications was devel...
11/16/2017

Mosquito detection with low-cost smartphones: data acquisition for malaria research

Mosquitoes are a major vector for malaria, causing hundreds of thousands...
05/07/2022

Deep Learning-enabled Detection and Classification of Bacterial Colonies using a Thin Film Transistor (TFT) Image Sensor

Early detection and identification of pathogenic bacteria such as Escher...
08/11/2020

Bunched LPCNet : Vocoder for Low-cost Neural Text-To-Speech Systems

LPCNet is an efficient vocoder that combines linear prediction and deep ...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Hemoglobin is one of the most common blood tests requested by clinics, and can be used in conjunction with other metrics to diagnose a host of diseases and conditions [1][7], quantify the effects of pharmaceutical drugs [2], and provide a holistic health benchmark [7]. As roughly a quarter of the world’s population suffers from a form of hemoglobin deficiency [4], there are many niches where accessible hemoglobin measurement would fulfill significant unmet need [5][6][7].

The widely-adopted approach to point-of-care hemoglobin measurement involves hemolysing whole blood and converting hemoglobin derivatives for single-wavelength absorption measurement, followed by a simple Beer Law calculation [8][9][11]. In present hemoglobin monitors the single biggest risk of inaccurate counting and as a result, incorrect clinical decision making, is incomplete hemolysis due to variable reagent performance. Consequently, light scattering interference from intact cells (lipid membranes) have a drastic effect on spectrophotometric output [15].

Our intention in developing the presented device platform was twofold: to create an effective and inexpensive hemoglobin solution without the need for hazardous dry reagents such as cyanide (Drabkin’s method) or sodium azide [8][9][10], and to demonstrate the efficacy of convolutional neural network based validation for elimination of a long-standing error source in hemoglobin measurement.

2 Detection platform summary

The current version of the device has demonstrated: 1) precision to the nearest of Hb, 2) stability of measurement over time, with no fluctuation from a single sample over 10 minutes of continuous output, and 3) correlation to optical transmission-Hb curve reported in literature (Fig.2 image A).

2.1 Device platform

Figure 1: Image A) Design concept rendering. Image B) Completed device with blank strip and power adapter inserted.

2.1.1 Sensor configuration

For Hb measurement, a paired emitter-detector setup is used for sample transmission calculation. The LED and photodiode were selected to maximize light emission, photocurrent, and Hb absorption.

Image pre-processing for sample viability assurance are captured with a Pi Camera attached to a low-cost optical microscopy setup (separate from device at this point in development). See figure 4 for optical microscopy imaging examples. Both setups have a test strip insertion slot and a plane for allowing optical analysis.

2.1.2 Signal processing

An Chopper-stabilized op amp is used in a standard transimpedance amplifier configuration for signal processing with a reverse-biased photodiode for signal linearity. Additional components protect sensitive analog signals from various forms of electromagnetic interference, including high frequency noise and LC-tank oscillation due to inherent component properties. As absorption is taken at steady-state, signal bandwidth is not a design concern.

Hb concentration is linearly proportional to optical absorbance (), which is calculated from the negative log of fractional transmission, . From Beer’s Law:

(1)

for , where is the molar extinction coefficient of hemoglobin, is the transmission path length (), and is the concentration of hemoglobin in the sample (in ).

The device’s microcontroller contains a 10-bit ADC with a minimum voltage increment of . With a swing of the resolution (i.e. the smallest detectable change in sample percent transmission) is 0.333%. Readjusting to maximize full output swing () will improve resolution in the next device iteration to 0.1[%T]. For clinically relevant Hb levels and 0.333[%T] increment size, the resolution is Hb (i.e. the difference between consecutive Hb values over a 0.333[%T] step). This exceeds the precision of predicate devices such as Hemocue, which has an overall bias stdev of - compared to lab-grade hematology analyzers [3]. Of course, this level of precision from the presented device assumes no variability in capillary strip performance: a hefty assumption.

Figure 2: Image A) Plot of literature-reported Hb values for observed %T measurements (extrapolated from molar extinction coefficient [12][13][14]) vs. the developed device readout for those %T values. Strong correlation demonstrates hardware precision and accuracy over the full clinically-relevant range of hemoglobin levels. Image B) PIN photodiode and first amplifier stage used for signal acquisition.

2.2 Capillary test strip

The test strip consists of a 100uM microchannel coated with sodium lauryl sulfate (SLS), a non-toxic surfactant which serves the dual purpose of lysing RBCs to eliminate turbidity and converting hemoglobin derivatives into a color-stable complex, SLS-Hb.

Figure 3: Image A is a diagram of the capillary strip design used. Strip with blood sample shown in B. Close-up of a channel demonstrating common issues with dry-reagent capillary strip methods in image C: turbidity at the bottom of the channel due to intact RBCs and air bubbles (white specks) at top. Image D shows the mechanical frame of the sensor input slot with the sample transmission measurement window.

In standard practice with SLS, of whole blood is added and mixed with of SLS solution for a 0.52 moles SLS to blood sample volume ratio [11]. To adapt for dry-chemistry, of SLS in aqueous solution were deposited and spread evenly onto each coverslip, for a total of per available sample volume, maintaining the ratio.

However, since all fluid entering a capillary strip generally shares the same path, depending on viscosity and RBC density, the first units of blood entering the channel may use up reagent at the entrance, leaving none for subsequent units (hence incomplete hemolysis). This issue poses a critical error-source common to all dry capillary strip detection methods, which can be minimized through clever strip design.

A funnel-shaped channel (Fig.3 image A) was used to help mitigate the “use up” issue described. Blood deposited at the entrance of the funnel spreads out to cover a larger area before entering the narrow measurement area, having been hemolyzed by reagent in the funnel. While this design was generally effective in eliminating turbidity in the measurement window (Fig.3 panel D), variation in RBC density and sample viscosity prevented proper mixing/reaction on occasion, precluding this dry-chemistry approach from large-scale, frequent use with minimal user training. Only an automated viability check to auto detect such errors when present can completely eliminate this risk.

2.2.1 CNN-based image processing for sample viability check

A core component of the presented system is the trained machine learning model for sample validation.

A separate imaging module was developed to analyze intact cells, air bubbles, and ensure appropriate sample prep. A filled strip is inserted into the imaging module, several images are taken across the strip at a scaled magnification, and a trained convolutional neural network determines the viability of the testing strip.

Figure 4: Images A,B,D) Image captures from the optical microscopy setup identified by the model as inadequate for spectrophotometry. Sample A shows debris and color instability. Sample B has image blur and particulates. Sample D contains intact cells which act as light scatterers. Additionally, green boxes identify white blood cells from the sample, demonstrating expandability of model for a vast number of use cases. Image C) Clear view with color stability and no scatterers: ideal for photometric hemoglobin measurement. Data was collected using a labeling interface of all run test strips (bottom of E). 200 strip images were labeled by a human identifying sections of debris and cell boundaries, and the overall image labeled "good" vs. "bad".

The model was adapted from LeNet structure, and trained on 200 human labeled images of good/bad test strips. The images were augmented to expand the training set by 8x (rotational, translational, brightness, and hue transformations). These results were then cross validated on a test set of 100 strip images.

The binary classification model performed with 97% accuracy on the task across the non-augmented test set - this included filled strips by clinicians and general users. Similarly, cell segmentation modules were developed to threshold cell boundaries with each candidate cell being trained in a separate Convolutional Neural Net for type classification (White Blood Cell, Red Blood Cell, etc.).

3 Conclusion

Our platform builds off decades of hemoglobin spectroscopy research, while providing unprecedented error detection and reliability thanks to convolutional neural networks. We believe this deep learning approach to on-board quality control can be rapidly scaled to other applications, boosting clinical performance, end diagnoses, and patient safety.

Given the low-cost, open microcontroller nature of the presented device, we see the platform and model as a powerful combination for deploying in decentralized or rural areas. Untrained test operators have been a major reason point-of-care, self-administered hematology tests have remained unfeasible. However, with robust error correction, the risk of misdiagnosis is greatly reduced and this radical model of personalized medicine is brought within the realm of possibility.

With high-precision analog sensing and CNN based image processing, we have developed the foundation for multi-wavelength spectrophotometry, enabling both structural and molecular sample analyses. We are convinced that the confluence of these distinct, rich sources of data with the speed and versatility of AI will present numerous opportunities to advance the future of healthcare.

4 Acknowledgements

We are sincerely thankful to Dhruv Parthasarathy, Deepika Bodapati, Louis Virey, Steve Moffatt, and Sreevaths Kasireddy for funding acquisition and technical input in various aspects of this project.

References

  • [1] “Low Hemoglobin Count Causes.” Mayo Clinic, Mayo Foundation for Medical Education and Research, 8 May 2015, www.mayoclinic.org/symptoms/low-hemoglobin/basics/causes/sym-20050760.
  • [2] Gersten, Todd. “Drug-Induced Immune Hemolytic Anemia.” MedlinePlus Medical Encyclopedia, 1 Feb. 2017, medlineplus.gov/ency/article/000578.htm.
  • [3] Shah, N, E A Osea, and G J Martinez. “Accuracy of Noninvasive Hemoglobin and Invasive Point-of-Care Hemoglobin Testing Compared with a Laboratory Analyzer.” International Journal of Laboratory Hematology, 2014, pp. 56–61.
  • [4] WHO. The global prevalence of anaemia in 2011. Geneva: World Health Organization; 2015.
  • [5] “CDC Newsroom: Falls Are Leading Cause of Injury and Death in Older Americans.” Centers for Disease Control and Prevention, Centers for Disease Control and Prevention, www.cdc.gov/media/releases/2016/p0922-older-adult-falls.html.
  • [6] Duh, MS. “Anaemia and the Risk of Injurious Falls in a Community-Dwelling Elderly Population.” Drugs Aging, vol. 4, 2008, pp. 325–334. US National Library of Medicine
  • [7] Yang, Wenfang. “Anemia, Malnutrition and Their Correlations with Socio-Demographic Characteristics and Feeding Practices among Infants Aged 0–18 Months in Rural Areas of Shaanxi Province in Northwestern China: a Cross-Sectional Study.” BMC Public Health, 29 Dec. 2012.
  • [8] Williamsson, Anders. Capillary Microcuvette. 7 Oct. 1997.
  • [9] Vanzetti G. "An azide-methemoglobin method for hemoglobin determination in blood." Journal of Laboratory and Clinical Medicine, 1966, pp. 116-26
  • [10] Chang, Soju and Lamm H Steven. "Human Health Effects of Sodium Azide Exposure: A Literature Review and Analysis" International Journal of Toxicology, vol. 22, issue 3, 2016, pp. 175 - 186
  • [11] Oshiro, Iwao. “New Method for Hemoglobin Determination by Using Sodium Lauryl Sulfate (SLS).” Clinical Biochemistry, vol. 15, Apr. 1982, pp. 83–88.
  • [12] N. Kollias, Wellman Laboratories, Harvard Medical School, Boston
  • [13] W. B. Gratzer, Med. Res. Council Labs, Holly Hill, London
  • [14] Benesch, Ruth E., et al. “Equations for the Spectrophotometric Analysis of Hemoglobin Mixtures.” Analytical Biochemistry, vol. 55, no. 1, 16 May 1973, pp. 245–248., doi:10.1016/0003-2697(73)90309-6.
  • [15] Creer, Michael H, and Jack Ladenson. “Analytical Errors Due to Lipemia.” Laboratory Medicine, vol. 14, no. 6, June 1983, pp. 351–355.