Abstract
Smartphone image-based sensing of microfluidic paper analytical devices (μPADs) offers low-cost and mobile evaluation of water quality. However, consistent quantification is a challenge due to variable environmental, paper, and lighting conditions, especially across large multi-target μPADs. Compensations must be made for variations between images to achieve reproducible results without a separate lighting enclosure. We thus developed a simple method using triple-reference point normalization and a fast-Fourier transform (FFT)-based pre-processing scheme to quantify consistent reflected light intensity signals under variable lighting and channel conditions. This technique was evaluated using various light sources, lighting angles, imaging backgrounds, and imaging heights. Further testing evaluated its handle of absorbance, quenching, and relative scattering intensity measurements from assays detecting four water contaminants – Cr(VI), total chlorine, caffeine, and E. coli K12 – at similar wavelengths using the green channel of RGB images. Between assays, this algorithm reduced error from μPAD surface inconsistencies and cross-image lighting gradients. Although the algorithm could not completely remove the anomalies arising from point shadows within channels or some non-uniform background reflections, it still afforded order-of-magnitude quantification and stable assay specificity under these conditions, offering one route toward improving smartphone quantification of μPAD assays for in-field water quality monitoring.
Amid the ever growing concerns for safe drinking water around the globe, it has become increasingly important to develop a portable sensing platform that can report data on water quality in near real-time1,2,3. Towards this end, smartphones have been demonstrated as ideal, low-cost signal acquisition and reporting tools that have become increasingly available to all, with an estimated 3.4 billion smartphone subscriptions worldwide as of 20154,5,6. Already smartphones have been demonstrated for optical sensing of electrochemical, colorimetric, and fluorescence-based assays, as well as for portable microscopy7,8,9,10,11,12,13,14. By taking advantage of the external forces driving both the widespread use of smartphones as well as the rapid improvements in their on-board cameras and processors, these devices emerge as potentially sensitive and programmable utensils for handheld data collection, analysis, and rapid sharing5,15,16.
As a sensing platform, microfluidic paper analytical devices (μPADs; essentially microfluidic devices fabricated on paper substrates) have also emerged separately as a favorably portable and low-cost means for detecting customizable classes of waterborne contaminants17. Building on the fundamental porous strip design of lateral flow assays (LFAs), μPADs can be fabricated using a simple cellulosic substrate and photolithographic processes to create hydrophilic flow channels that are prepared with user-selected target-responsive agents and which allow sample filtration from particulate debris as the sample flows through the paper fibers via capillary action17,18.
These designs have previously been used for detection of contaminants including viruses, fungi, heavy metals, and organic molecules, such as antibiotics and hormones, with useable sensitivity19,20,21,22,23,24. Through image analysis and measurement of wavelength-specific intensities from a colorimetric or scattering-based μPAD assay, smartphones can help to improve mobile sensing quality without sacrificing economy and portability16,25,26. Fluctuating and uncontrollable field conditions such as lighting, temperature, humidity, and paper surface uniformity, however, plague the consistent quality of reagent-based μPAD assays, even for comparison with standard curves run simultaneously17,26. Spatial variations in ambient lighting and lighting exposure may be minimized through the use of a secondary smartphone attachment or a lighting-control enclosure when imaging. However, reliance upon such attachments potentially limits a detection technique to one device model and does not evolve immediately with improving technology.
In this work, we investigated the application of a simple smartphone imaging and bias-correction processing technique to combat these uncertainties within μPAD sensing. Toward these ends, we developed and tested a triple-reference point normalization concept following FFT-based image pre-processing using digital bandpass filtration techniques (Fig. 1a–c). The benefits and limitations of this technique were assessed by its performance in handling changes in the lighting field (lighting angle ϕ; lighting source/quality) and in the imaging field (height of light source; background absorbance/reflectance characteristics) when comparing an array of channels under identical assay conditions. Further assessments of this technique were made by comparing the limits of detection and distinction between signals for multiple colorimetric- and fluorescence-based assays (detected at 90° from the channel surface) and a Mie scattering-based assay (detected at 65°) under varying lighting conditions (Fig. 1d). These assays were selected due to their similarity in detection wavelength (512–540 nm), such that we assessed detection from only one (green) 8-bit RGB channel from each smartphone image.
The assays also represented a range of targets with diverse optical contrast levels, from high contrast colorimetric changes that are visible with the naked eye to low contrast Mie-scattering which is visually imperceptible (Fig. 1e). Additionally, each assay – evaluating the interactions between diphenylcarbazide (DPC) and Cr(VI), N,N-diethyl-p-phenylenediamine (DPD) and total chlorine (TC), 8-hydroxypyrene-1,3,6-trisulfonic acid (HPTS) and caffeine, as well as IgG-microparticle immunoagglutination with Escherichia coli K12 – has been previously demonstrated by laboratory-based spectroscopic quantification using precisely controlled lighting27,28,29,30. Thus, these targets allowed comparison between our smartphone algorithm and established levels of detection. This variety of targets, optical quantification methods, and levels of contrast afford a simultaneous evaluation of the broad applicability, sensitivity, and specificity of smartphones used as multi-target optical analytical devices for mobile water quality monitoring.
Results and Discussion
Triple-Reference Point Normalization Algorithm for μPAD Reflected Intensity
Prior to each experiment, the smartphone (iPhone 4S; Apple, Cupertino, CA, USA) was fastened into a precisely controlled angular rotation stage and the μPAD was fixed within the imaging window at a defined angle relative to the smartphone camera lens. The auto-exposure and auto-focus were locked on the central paper channel surface at 90° for Cr(VI), TC, and caffeine assays, and at 65° for E. coli K12 assays – the optimum scattering detection angle determined from previous work30 (Fig. 1d).
Two smartphone images were collected for each μPAD assay: the first image taken after loading and drying 2 μL of the target-specific reagent solution in the center of the channel, and the second image taken after loading 8 μL of the target water sample to the channel inlet and allowing it to flow completely through the channel. From these two images, four average reflected intensity values were measured for each μPAD channel from the 8-bit green channel of the RGB smartphone image: one target-reagent signal point (Is) and three reference points (Ib, Ip, Iw) taken to facilitate robust detection under uncontrolled experimental conditions of light, humidity, and channel surface uniformity (Fig. 1b,c).
In the first image, the mean intensity of the channel center was measured where the reagents were loaded and dried, and served as a background intensity (Ib) reference for the native coloration of the paper channel surface and target-sensitive agent (Fig. 1b).
In the second image, taken after the target water solution flowed through the channel, the mean intensity of the channel center point was measured and provided the target-reagent signal intensity (Is) (Fig. 1c). Two additional reference points were measured from the same image. A peak white reference (Ip) point was taken from the mean intensity of a dry rectangle patterned adjacent to but separated from the μPAD channel. This identified the maximum illumination available to the dry paper, serving as a reference for the unique illumination of each channel center and accounting for the original quality of the paper as well as changes made to the paper during the fabrication process. A wetted reference (Iw) point was also taken at the sample loading inlet, where the paper channel was saturated with the target water sample but not with the target-specific reagent. This allowed calibration for moisture-induced coloration differences between channels, which varies based on the effects of humidity and fabrication of separate channels.
The following normalization scheme was then developed and selected empirically by its capacity for inter-channel comparison, as discussed in the following section. The wetted target-reagent signal was normalized as Is/Iw, which accounts for the target-reagent signal change as a fraction of the signal change due to moisture in the channel. The dry reference was normalized as Ib/Ip, which accounts for the maximum illumination available to the reagent in the dry channel as a fraction of the maximum total illumination available to the dry paper within the given lighting conditions. As such, this dry reference serves as an efficiency term indicating the percent of the maximum available light intensity that measurably changed as a result of target-reagent complex as opposed to the native coloration of the reagent on paper. The target-reagent green-channel pixel intensity (I) normalized to these three reference points can thus be defined as:
Similarly, the triple-reference normalized intensity for a deionized (DI) water control (I0) in the presence of the same reagent in the μPAD can be defined as:
Using these normalized intensities, the following relative optical measurements can be defined as:
Lighting Bias Error Characterization for Differential Illumination
To assess the variation in only lighting conditions and paper surface uniformity between neighboring channels, a series of μPADs were positioned across an imaging region of 12 cm × 12 cm (Fig. 2a, left). These devices were imaged in the absence of a reagent both with and without a DI water target sample matrix to test initially for channel equivalence. The auto-focus and white balance were locked on the lowest central channel, which served as the focal center (FC) reference channel to which all other channels were compared. Under uniform lighting and paper surface conditions, the expected reflected intensities measured from each channel would be equal to the reference channel.
Under the observed environmental lighting conditions, however, anisotropic variation in reflected light intensity was identified across each dry μPAD channel surface, with lesser signal disparity horizontally between channels (ΔIp,horizontal = 0.12 × Ip,avg, i.e. the error is 12% of its average value, where Δ indicates percent error) (Fig. 2b) and greater disparity vertically along single channels (ΔIp,vertical = 0.23 × Ip,avg) (Fig. 2c–e). Between tests, this variation between the average incident green intensity value for each channel was also amplified by differences in paper surface characteristics even under similar lighting conditions (ΔIp,trials = 0.15 × Ip,avg). Under differing lighting conditions across the same imaging area between trials (fluorescent ambient light, λpeak,green = 544 nm and smartphone LED flash lighting, λpeak,blue = 445 nm), this lighting bias became more pronounced (ΔIp,lighting = 0.18 × Ip,avg). Thus, under the evaluated conditions, a similar test run under theoretically identical lighting conditions could result in smartphone-measured intensity values with combined error of ±50% from the average intensity for equivalent measurements, even before the introduction of error due to target-reagent assay variability (ΔIp = 0.53 × Ip,avg). With even slightly differing background lighting conditions, as is unavoidable under ambient lighting conditions and without a secondary lighting-control attachment, this strictly lighting-based error increases even further (ΔIp = 0.68 × Iavg).
Even following mathematical normalization of the DI water assays according to the triple-reference point algorithm, the combined lighting bias factors resulted in a standard error of ±8–21% relative to the reference signal taken at the focal center (FC) channel when measuring the absorbance (±8% error), quenching (±16%), and relative intensity (±21%) of the theoretically identical deionized water samples. These errors were measured between channels within the same image at distances of ±2–10 cm (p < 0.05), and are attributable to the gradated global lighting variation (or rather the camera’s characteristics in emphasizing the FC channel) affecting each channel differently along both its length and width according to its location within the imaging area (Fig. 2b–e).
Lighting Bias Correction Using an FFT-based Digital Bandpass Filter
To compensate and correct for this lighting bias without a smartphone attachment, a fast-Fourier transform (FFT)-based digital bandpass filter was used31. Following the translation of the original channel image into the frequency domain, image aberrations outside of a selected feature size window (pixels: 3 ≤ n ≤ 30) were smoothed through the subtraction of a Gaussian blurred replicate of the same feature. In the subsequent image transferred back to the spatial domain, global features – in this case, the lighting bias – were balanced and their obscuring effect was diminished. The adverse consequence of this image filtering technique, however, is that while it attenuates the lighting bias, it also truncates the full range of intensity values measured within the original image. Thus, while the variation in intensity from each end of the channel may be reduced, the magnitude of intensity change between the background reference and the signal of interest is also reduced by up to 12% under tested conditions ( and for assaying 50 ppm Cr(VI) using DPC).
FFT bandpass filtering and the empirically selected normalization scheme were used for the same images from the same lighting-bias control tests, enabling the lighting bias signal standard error to drop to ±1% relative to the focal center, with this maximum error experienced within 2 cm of the vertical image edge and within 1 cm of the horizontal image edge. Closer to the focal center, the lighting bias signal dropped to ±0.5%. The manifestation of this standard error averaged over the whole 12 cm × 12 cm imaging area for each measurement type – normalized absorbance, quenching, and relative intensity – was thus described as the assay illumination error (I.E.). The I.E. served as a threshold of detection below which the signal of the target-reagent complex is not distinguishable from the error due to the image illumination.
This processing and normalization mechanism was applied throughout the subsequent fitness tests, and later the single-target and multiplex target experiments, in order to permit comparative consistency between assays. Although the image processing was conducted off-board for this work, adaptation of the same FFT processing algorithm may be used within the smartphone to allow for the final and full adaptation of this concept for field-sensing applications.
Fitness Testing of Combined Normalization and Filtration Technique
The combined effect of this triple-reference normalization algorithm with the FFT digital bandpass filtered images was evaluated for its performance in handling changes in the incident lighting angle (ϕ), the imaging height, the quality of the imaging background, and the quality of incident lighting. In each test, nine adjacent μPAD channels on a single μPAD were fixed within the smartphone imaging field and the white-balance and focus were locked on the detection region of the central channel (channel 5), which served as the new focal center (FC). The μPADs were imaged following the same process as used for the target-reagent assays, but again in the absence of a reagent and with only a deionized (DI) water target sample matrix. Their fractional intensity (R, defined in Eq. 5) was then compared with the FC as a measurement of error between channels. These fitness tests allowed better understanding of the appropriate conditions and potential limitations for the use of this technique for theoretically identical channels.
Incident lighting angle (Fig. 3a): As a test for the effects of directional lighting, the nine channel μPAD array was positioned horizontally and then revolved and imaged at ϕ = 45° intervals along a circumferential path (radius = 92 cm) around a fluorescent point light source. For each image, the orientation of the μPADs were maintained such that when ϕ = 0° the channels were illuminated from the direction of their inlet, and when ϕ = 180° they were illuminated from the direction of their outlet. This fixed μPAD orientation allowed for testing of the algorithm amid known differential illumination of each channel. First, each channel was analyzed using the original unfiltered images and their relative intensity signals were measured and compared with that of the FC channel (Fig. 3a, left), showing significant variance (up to 14%, p < 0.05) in fractional intensities. These error patterns may indicate that although error appears to generally increase with increasing distance from the reference point, as expected, this is not exclusively the case. Rather, for channels in closer proximity to a reference point (positions 2–3), error appears to be more associated with channel-specific conditions, potentially paper surface characteristics. In all locations error is also significantly associated with partial shading of individual channels (p < 0.05). After application of the algorithm, the error between each channel’s relative intensity measurement and that of the FC was greatly reduced (2–5% for most channels) (Fig. 3a, right). These error patterns match with the partial shading seen in the same images prior to FFT correction, suggesting that while the algorithm accounts adequately for general channel-specific lighting variation, it cannot fully account for extreme conditions such as partial shading.
Imaging height (Fig. 3b): Height-based error was tested by imaging the μPAD array under a constant diffuse fluorescent light source at increasing height (9.2 cm through 20.3 cm) and by comparing the inter-trial standard error of relative intensity measurements for DI water control assays. Before the algorithm, the errors in relative intensity compared to the FC were quite substantial (up to 12% at 13.0 cm) with inconsistent trends, while those at 20.3 cm were an exception (Fig. 3b, top). These patterns suggest that height changes cause or allow lighting errors to interfere with channel signal detection, potentially through white balance correction of the increasing background area. With the algorithm, this inter-channel variability was virtually eliminated for all heights, with the greatest variability seen only at the lowest position, where again partial shading reduces lighting of the channels (Fig. 3b, bottom).
Quality of background imaging (Fig. 3c): Addressing these concerns for the background’s contributions to white balance error and consequential signal noise, two monochromatic backgrounds – white and black – were tested. Under a diffuse fluorescent light and fixed height of light source, the white and black backgrounds both saw pronounced error between channels, with greater changes in relative intensity measured for white (maximum error = 25%) over black (maximum error = 13%) backgrounds. Both backgrounds demonstrated similar trends in error patterns, suggesting individual channel characteristics play a prominent role when single-image background variability is eliminated. With the algorithm, these errors were virtually eliminated (<3%), and there was no statistically significant difference between each channel (p < 0.05). Therefore, the algorithm appears to be able to manage individual channel irregularities, and fixed height and background characteristics may help to control full-image lighting variability that the algorithm cannot overcome.
Quality of incident lighting (Fig. 3d): Finally, the algorithm was evaluated with different qualities of incident lighting. On a white monochromatic background, the μPAD array was tested under direct sunlight, shaded sunlight, diffuse fluorescent light, and smartphone flash lighting conditions. Each light source caused greater and consistent error for channels furthest from the reference point, particularly under shaded sunlight (maximum error = 11%), but the comparative overall error was low for all conditions (<5%) (Fig. 3d, top). The algorithm reduced this consistent error between the furthest channels as well as the global error, again proving useful for controlling measured signal differences from individual channel characteristics and overall lighting variation (Fig. 3d, bottom). However, these tests suggest that lighting quality does not as significantly influence imaging as do the height of the light source and the quality of the imaging background.
Validation of Reagent-Based μPAD Assays for First-Order Contaminant Detection
The following reagent-based optical detection methods for our four water contaminants were adapted to our μPAD platform. Through initial calibration of our platform using single-target solutions, we first validated our platform’s quantitative performance as compared with that of the original assays.
Chromium (VI) Assay Sensitivity and Dual Target Specificity Tests
Cr(VI) concentrations between 0.05 ppm and 50 ppm were evaluated based on the change in absorbance of DPC (Fig. 4a,b)27. With our image processing and triple-reference normalization algorithm, the RGB green channel absorbance of DPC-Cr(VI) showed a significant and linear increase for increasing concentrations of Cr(VI) under ambient lighting conditions, and with a statistically significant dynamic range above the background illumination-based error for Cr(VI) concentrations from 1 ppm to 50 ppm (Supplementary Fig. S1). Based on this, a standard curve was derived for Cr(VI) concentrations between 0.1 and 10 ppm (Fig. 4d) and was used as a positive comparison for specificity tests with dual-target solutions (Fig. 4c). From this, the normalized absorbance of 2.5 ppm Cr(VI) was determined as A = 0.21 (Eq. 3). The same concentration of Cr(VI) maintained a statistically similar signal level when measured within separate dual-target mixtures, each with 1.5 ppm TC, 300 ppm caffeine, 0.5 × 103 CFU ∙ mL−1 E. coli K12, and a separate heavy metal control of 1.5 ppm Cu(II) (p < 0.05, all) (Fig. 4e). In contrast, these same concentrations of secondary contaminants did not exhibit a statistically significant absorbance measurement when tested alone, demonstrating favorable specificity using our smartphone assay concept for Cr(VI) and its high-contrast complex with DPC (p < 0.05, all).
Total Chlorine (TC) Assay Sensitivity and Dual-Target Specificity Tests
TC concentrations between 1.5 ppm and 5 ppm were evaluated based on the change in absorbance they exhibited interacting with DPD (Fig. 5a,b)28. With the same image processing and normalization algorithm, the RGB green channel absorbance of DPD-TC increased linearly for increasing concentrations of TC under ambient lighting conditions, and with a dynamic range of 1.5 to 5 ppm as measured above the background illumination-based error (Fig. 5d). However, all absorbance measurements taken for TC concentrations below 1.5 ppm resulted in an unsteady signal, with limited statistical differentiation available between same order of magnitude concentrations.
This standard curve created for TC was used as a specificity test comparator. From this curve, an absorbance approximation of A = 0.36 (Eq. 3) was made for 2.5 ppm TC. Mixtures of a 2.5 ppm TC concentration were combined separately with 2.5 ppm Cr(VI), 300 ppm caffeine, and a 1.5 ppm TB (total bromine) inorganic ionic control species, and each exhibited a statistically equivalent absorbance, although with substantial variance (p < 0.05) (Fig. 5c,e).
However, in isolated negative control solutions the same concentrations of Cr(VI), TC, and TB could not be statistically differentiated from 2.5 ppm TC by absorbance measurements, demonstrating poor specificity of DPD (Fig. 5e). Only E. coli K12 saw a significant difference (p < 0.05). The unsteady signal seen for the single-target TC assays and this demonstrated lack of specificity may be due to the known instability of chlorine in solution, which is also known to cause challenges in the stability of target-agent detection complexes32. Such instability appears inherent to this assay, and thus would need to be conditioned by chemical changes to the assay rather than by optical methods.
Caffeine Assay Sensitivity and Dual-Target Specificity Tests
Caffeine concentrations of 100 to 400 ppm were evaluated based on their exhibited change in green fluorescence quenching through their interaction with HPTS, as demonstrated initially by spectroscopy from an aqueous mixture (Fig. 6a,b)29. Using the μPAD, a similar quenching signal was isolated by the reflected intensity measured from the green channel of a smartphone’s RGB image. These images were captured using the smartphone’s white LED flash as a light source (λpeak,blue = 445 nm). Following the image processing and normalization algorithm, the RGB green channel absorbance of HPTS-caffeine was found to increase linearly for increasing concentrations of caffeine under these conditions, as anticipated (Fig. 6d), with a 100 ppm limit of detection as measured above the background illumination-based error.
Following this single-target validation, the standard curve was used as a comparator for each dual-target and negative control solution (Fig. 6c). From this, a fractional quenching signal of Q = 0.12 (Eq. 4) was measured for 300 ppm caffeine. Mixtures of this same caffeine concentration combined separately with 2.5 ppm Cr(VI), 1.5 ppm TC, and a 250 ppm uric acid (UA) organic molecular control species each exhibited a statistically similar fractional quenching signal (p < 0.05) (Fig. 6e). Among the negative control comparison solutions, each target except for UA resulted in a fractional quenching signal that was significantly below that of the 300 ppm caffeine standard (p < 0.05). The UA solution was indistinguishable from the caffeine solution (Q = 0.09), which may be attributed to the chemical structure and functionality of the compound. Uric acid was selected as a comparator for HPTS specificity with caffeine testing partly because it is present in urine, as is caffeine following its consumption; however, the primary reason for its inclusion as a comparator was because of its functional similarity to caffeine. HPTS responds to the heterocyclic and chemical structure of caffeine, which is a purine compound29. Uric acid, a heterocyclic purine metabolic byproduct, might thus be expected to react similarly with HPTS, as was observed. Thus, although HPTS-based fluorescent detection of caffeine cannot be distinguished from detection of uric acid on this platform, we do see a nearly equivalent response to both compounds (Fig. 6e). As such, this test would not be able to verify the strict presence of caffeine, but smartphone-based μPAD detection can potentially be adapted to identify either component, which could be linked to urine excretions.
Escherichia coli K12 Assay Sensitivity and Dual-Target Specificity Tests
Water solutions containing E. coli K12 concentrations between 101 and 105 CFU∙mL−1 were assessed according to their interaction with anti-E. coli conjugated microparticles as these water samples flowed through the prepared paper channel (Fig. 7a,c). Our previous study has demonstrated that E. coli antigens are capable of traveling through this fabricated paper channel, and that as the water sample passes through the central microparticle-prepared channel segment these bacterial antigens facilitate the formation of microparticle clusters through attachments made with their antibody (Fig. 7b)30,33. The Mie-regime scatter intensity, measured from these clusters at 65° from the surface, is proportional to the concentration of E. coli K12 in solution and has thus allowed for quantification of these levels based on relative scatter, or fractional intensity measurements (Eq. 5). An initial standard curve was created for the normalized relative scattering from the microparticle clusters formed with E. coli K12 suspended in deionized water, and demonstrated a 101 CFU∙mL−1 limit of detection as well as an excellent response and increase in scattering intensity for order of magnitude increases in the bacteria concentration (Fig. 7e).
Within that range, a sample of 0.5 × 103 CFU∙mL−1 E. coli K12 was combined in separate dual target mixtures with 1.5 ppm TC, 300 ppm caffeine, and 0.5 × 103 CFU∙mL−1 Salmonella Typhimurium, which served as a biological control target (Fig. 7d). The assay demonstrated a similar, although lower, increase in relative intensity as compared with the isolated E. coli K12 solution (p < 0.05) (Fig. 7f). The scattering intensity was attenuated most in the mixtures containing Cr(VI) and TC, which served to break up the microparticle-E. coli K12 clusters (Supplementary Fig. S2).
This may be caused by destruction of viable E. coli colonies and denaturation of their free antigens and/or the antibodies. In these instances, although the bacteria may not be viable their presence is still detectable, though not necessarily reproducibly quantifiable. This is because the precise distribution of free antigens may vary from solution to solution for the same starting concentration of viable E. coli K12, especially within the diffusion-limited paper fibers. However, further studies would be needed to verify the extent of these interactions.
Conclusions
This method of smartphone image filtering and triple-reference normalization advances the reproducibility of smartphone-quantified μPAD assays for mobile water quality monitoring. Particularly for stable reagent-based assays, our technique may be a valuable mechanism toward continuous quantitative measurement of optically detectable μPAD assays under varying environmental conditions. This algorithm significantly reduces the impact of primary error sources, such as major lighting variation patterns and lighting quality changes between assays. Additionally, it helps to eliminate intra-channel error due to fine variations in μPAD surface features and saturation conditons. However, this algorithm is limited in its ability to completely remove partial μPAD shadowing, non-uniformity in imaging background reflection, and varied imaging height between compared assays. When used for testing species which are known to be unstable, such as E. coli K12 in the presence of toxic secondary contaminants, additional stabilization methods or reagents may be necessary to permit signal reproducibility. With accommodations made to prevent these sources of error, though, the algorithm affords order-of-magnitude quantification and specificity of detection for the assays under variable levels of illumination, providing one advantageous route for achieving the consistent quantification needed for field-ready smartphone-integrated μPAD assays without relying on secondary smartphone attachments.
Methods
Standard Solutions for Target Water Contaminants and Assay Reagents
Separate standard solutions for each of the tested water quality parameters were made in deionized water from a Milli-Q water purification system (18.2 MΩ∙cm; Milford, MA, USA). Deionized water was selected as the primary diluent in an effort to mitigate sources of error external to the environmental conditions (e.g. different lighting, imaging, and paper surface conditions) under evaluation in this work. Serial dilutions of Cr(VI) concentrations between 0.05 and 50 ppm were created from a stock of 1 M CrO3 (Sigma-Aldrich, St. Louis, MO, USA). Total chlorine (TC) concentrations between 0.5 and 5 ppm were serially diluted from a stock of 15 ppm NaClO (Sigma-Aldrich) prior to each test in chlorine demand-free glassware. Caffeine concentrations between 0.5 and 10 mM were diluted from a stock of 50 mM caffeine (Sigma-Aldrich). For the representative biological contaminant, lyophilized Escherichia coli K12 (Sigma-Aldrich) was cultured in Lysogeny Broth (LB; Remel, Lenexa, KS, USA) for 6–8 hours to a concentration of 108 CFU∙mL−1, which was validated through a Lysogeny broth (LB) agar (BioExpress, Kaysville, UT, USA) plate counting method and subsequent correlation of the E. coli K12 solution absorbance at 600 nm. This stock was separated from the LB broth via centrifugation, resuspended in 0.2 mM PBS (pH 7.2 ± 0.2), and serially diluted to assay concentrations between 101 and 105 CFU∙mL−1.
μPAD Design and Fabrication
The μPAD assay platforms were fabricated through a negative-resist photolithography process described in our previous work30. The final channels were composed of cellulose chromatography paper (pore size = 10–20 μm; thickness = 100 μm; GE Healthcare, Maidstone, Kent, UK) bordered by SU-8 2010 polymer (Microchem, Newton, MA, USA) that was cross-linked through ultra-violet radiation, creating a hydrophobic barrier around the perimeter of each hydrophilic channel. Each channel (3 mm wide × 11.5 mm long) was fabricated with a sample loading pad (4.5 mm wide × 3.5 mm long) at the inlet and an absorbent pad (5.5 mm wide × 6.5 mm long) at the outlet. One additional rectangle was patterned adjacent to but separate from the channel center to allow for comparison of the channel illumination compared with the peak “white” illumination available to the paper channel without target, reagent, or water interference.
Reagent-Based μPAD Assay Imaging
Prior to each experiment, the μPAD was fixed horizontally at 16 cm from the lens of the smartphone (iPhone 4S; Apple, Cupertino, CA, USA), which was fastened into a precisely controlled angular rotation stage for initial experiments (Thorlabs, Newton, NJ, USA). For single-target assays, the auto-exposure and auto-focus were locked on the central paper channel surface at 90° for Cr(VI), TC, and caffeine assays and at 65° for E. coli K12 assays – the optimum scattering detection angle determined through previous work (Fig. 1d)30. For dual-target assays using E. coli K12, channels containing Cr(VI), TC, and caffeine were also imaged at 65°, which allowed similar though slightly reduced levels of quantification compared with 90° (Supplementary Fig. S3).
Two images were collected for each μPAD assay: the first image after loading and drying a 2 μL sample of the target-specific reagent solution to the center of the channel, and the second image after loading an 8 μL sample of the target water sample to the channel inlet and allowing it to flow completely through the channel for 10 minutes following the addition of Cr(VI), TC, and caffeine samples to the channel, or 30 seconds following E. coli K12 samples.
Image-Processing Algorithm and Bias Correction
Ambient lighting was provided by a typical fluorescent bulb (λpeak,green = 544 nm) for absorbance and relative intensity measurements, and by a smartphone LED flash (λpeak,blue = 445 nm) for fluorescent quenching measurements. Each image was initially processed through ImageJ (National Institutes of Health, Bethesda, VA, USA) using a fast-Fourier transform (FFT) based digital bandpass filter (available in ImageJ) in order to provide illumination bias correction. The FFT bandpass filter was applied with 1% directional tolerance to large structures down to 30 pixels, and to small structures below 3 pixels.
Next, the mean pixel intensity from each detection region (Is, Ib, Ip, and Iw; pixels n > 100 each) was measured from the green channel portion of the smartphone RGB image, as separated through ImageJ. In the first image, the mean intensity of the channel center was measured where the reagents were loaded and dried, and served as a background intensity (Ib) reference (Fig. 1b). The second image was collected 10 minutes after Cr(VI), TC, and caffeine samples were added to the channel, or 30 seconds after E. coli K12 samples were added (Fig. 1c). In both cases, the channels were still wet. In this image, the mean intensity of the channel center point was measured, and provided the target-reagent signal intensity (Is). Two additional reference points were then taken from the same image. A peak white reference (Ip) point was taken from a dry rectangle patterned adjacent to the channel center, identifying the maximum illumination available to the dry paper channel. A wetted reference (Iw) point was also taken at the sample loading inlet, which allowed calibration for moisture-induced coloration differences between channels.
The typical order of these reflected intensities was, for the case of absorbance and quenching, 255 > Ip (the peak illumination of dry paper) >Ib (the dried reagents in the channel) >Iw (the wetted paper without target-reagent interactions) >Is (the target-reagent signal from the wetted channel) >0. For the case of relative (scattering) intensity measurements, only the typical Iw and Is signal magnitudes were swapped since the scattered intensity signal was higher in the presence of the target. Therefore, the wetted target-reagent signal can be normalized as Is/Iw (Eq. 1), which accounts for the target-reagent signal change as a fraction of the signal change due to moisture in the channel. The dry reference is normalized as Ib/Ip (Eq. 1), which accounts for the maximum illumination available to the reagent in the dry channel as a fraction of the maximum total illumination available to the dry paper within the given lighting conditions. These reference intensity values were incorporated into the above-mentioned triple-reference point normalization algorithm (Eq. 1 and Eq. 2).
Algorithm Fitness Testing
The FFT digital bandpass filter and triple reference normalization scheme were tested for their performance in handling changes in the lighting field (lighting angle ϕ; lighting source/quality) and changes in the imaging field (height of smartphone; background absorbance/reflectance characteristics). In each test, nine adjacent channels on a single μPAD were fixed within the smartphone imaging field and the smartphone white-balance and focus were locked on the detection region of the central channel (channel 5), denoted as the focal center (FC). For each set of tested conditions, images were collected and evaluated before and after adding 8 μL of DI water to each channel. Fractional intensity measurements were taken for each channel (R, Eq. 5) and were compared with that of the FC channel as a measure of error between them.
The first fitness test evaluated the response of this algorithm under directional lighting conditions. The nine channel μPAD array was positioned horizontally parallel to the smartphone camera at a distance of 16 cm and was then revolved and imaged around a fluorescent point light source and at angular intervals of ϕ = 45° intervals along a circumferential path (radius = 92 cm) over a black background. During rotation, the μPAD orientation was maintained such that when ϕ = 0° the channels were illuminated from the direction of their inlet, and when ϕ = 180° they were illuminated from the direction of their outlet.
The second fitness test evaluated the response of this algorithm under various imaging heights. The μPAD array was fixed within the center of the imaging field over a black background and was imaged from heights of 9.2 cm, 13.0 cm, 16.8 cm, and 20.3 cm.
The third fitness test evaluated the response of the algorithm for channels assayed over opposite imaging backgrounds. The μPAD array was imaged from a fixed height of 16 cm and was assayed using a black and a white background separately.
The fourth fitness test evaluated the response of the algorithm for channels assayed under different lighting quality conditions. The μPAD array was imaged from a fixed height of 16 cm over a white background under full sunlight, shaded sunlight, fluorescent laboratory light, and smartphone flash light.
Cr(VI) Assay
Our Cr(VI) detection method was adapted from the EPA Method 7196A, in which a high-contrast magenta color change is produced by 1,5-diphenylcarbazide (DPC; Sigma-Aldrich) in response to a proportional concentration of Cr(VI)27. This magenta color is verified by quantifying the aqueous solution’s green absorbance at 540 nm using a spectrometer. In its adaptation to our μPAD platform, the lower-center of each channel was loaded with 2 μL of 5 M DPC prepared in acetone, while the upper-center was loaded with 1 μL of 1 M H2SO4. After preparation, drying, and imaging of the channel background, Cr(VI) solutions were added to separate channels and were allowed 10 minutes for flow and color development, which was quantified through normalized absorbance (Eq. 3 and Fig. 4a,b).
Total Chlorine (TC) Assay
TC detection was adapted from the EPA-accepted Thermo Orion Method AC4P7, in which a medium-contrast lavender color change is produced by N,N-diethyl-p-phenyldiamine sulfate (DPD; Thermo Fisher, Waltham, MA, USA) in response to a proportional concentration of chlorine species28. This color change was initially verified by quantifying the aqueous solution’s green absorbance at 520 nm through spectroscopy. For detecting TC on paper, the center of each channel was loaded with 2 μL of 50% DPD. Following channel preparation and background imaging, TC solutions were added to separate channels. For smartphone-integrated detection, the stable color change was imaged after 10 minutes and was quantified under ambient lighting using the same normalized absorbance relationship (Eq. 3 and Fig. 5a,b).
Caffeine Assay
Detection of caffeine was adapted from a method described by Rochat et al.29. In this, the low-contrast green fluorescent quenching of 8-hydroxypyrene-1,3,6-trisulfonic acid (HPTS; Sigma-Aldrich) in response to caffeine is quantified by the aqueous solution’s quenching at 512 nm (470 nm excitation) as measured by spectroscopy. For smartphone-integrated detection, the HPTS-caffeine complex was imaged using the smartphone’s white LED flash (λmax,blue = 445 nm) and the green channel intensities were quantified using the defined fractional quenching relationship (Eq. 4 and Fig. 6a,b).
E. coli K12 Assay
Detection of E. coli K12 was adapted from the previous work based on the change in Mie scattering of immunoagglutinated microparticles30,33. In this, anti-E. coli conjugated microparticles bind to E. coli, forming larger clusters that cause low-contrast but measureable changes in detectable scattering at defined angles from the surface (Fig. 7a–c).
In preparation for E. coli K12 detection using the μPAD platform, each channel was prepared with 2 μL of prepared 0.91 μm diameter carboxylated polystyrene microparticles (Magsphere, Pasadena, CA, USA) conjugated with goat polyclonal antibody to E. coli (47385G, Meridian Life Sciences, ME, USA) to a final concentration of 0.015–0.030% (v/v) particles, according to our previous study30. Following channel preparation and background imaging, E. coli K12 solutions were prepared with a final concentration of 10% v/v of 0.04% Tween 20 in order to release antigens from E. coli colonies. The E. coli K12 were added to the channels and flowed for 30 seconds, after which the second image was taken. E. coli K12 concentration was quantified according to the normalized fractional (scatter) intensity from the surface, as defined above (Eq. 5).
Dual-Target μPAD Assays for Specificity Analyses of Second-Order Contaminant Interactions
Following validation of the single-target μPAD assays, mixed-target solutions were created to test the specificity of smartphone detection for each paper-based assay amid second-order contaminant interactions. Each of the individual water contaminants was mixed separately with each of the other three water contaminants (e.g., TC, caffeine, and E. coli K12 for the Cr(VI) assay), and one additional control solution was created with an additional contaminant bearing functional similarity to the original contaminant. For Cr(VI), a functional control of 3 ppm Cu(II) from an aqueous suspension of CuSO4 (Sigma-Aldrich) was used as such functionally similar contaminant. For TC, a 1.5 ppm solution of aqueous tetraoctylammonium bromide was used as a test for total bromine (TB) (Sigma-Aldrich). For caffeine, a 300 ppm solution of uric acid was used, a purine-originated compound found in urine, thus bearing potentially similar anthropogenic origins with caffeine. For E. coli K12, a 0.5 × 103 CFU∙mL−1 solution of Salmonella Typhimurium was used as a negative control comparison. Each of these solutions was then tested with the reagent specific to the primary target and data was collected for each according to the same process used for single-target assays. A series of negative control assays were tested simultaneously using the same concentrations of the isolated secondary contaminants for specificity comparison. A standard curve was also simultaneously created for each primary contaminant according to the same process used for initial assay validation. The signal from each dual contaminant mixture and secondary-contaminant negative control mixture was compared with that of the equivalent concentration signal from the standard curve. This provided a test of the response exhibited by each reagent in the mixed-solution both in the presence and in the absence of its primary target.
Statistical Comparison between Assays
The error in intensity measurements between channels within a single image were evaluated through percent error (Δ) and standard error measurements. Pixel samples of each representative channel region (n > 25) were measured for their mean intensity and standard error, which was represented as a fraction of the same mean intensity standard error value measured for the equivalent region of the reference channel.
Between concentration levels of each single target assay and between separate μPAD trials of each deionized water control assay, significance measurements were made through the two-sample unpaired t-test. Between dual-target assays, negative control assays, and their equivalent single-target assay comparisons, significance measurements were made through ANOVA.
Additional Information
How to cite this article: McCracken, K. E. et al. Multimodal Imaging and Lighting Bias Correction for Improved µPAD-based Water Quality Monitoring via Smartphones. Sci. Rep. 6, 27529; doi: 10.1038/srep27529 (2016).
Supplementary Material
Acknowledgments
This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE-1143953. Funding for this research was also provided by the Paul D. Coverdell Fellows Program, as well as the Water and Environmental Technology (WET) Center at the University of Arizona and Tucson Water.
Footnotes
Author Contributions K.E.M., S.V.A., K.A.R. and J.-Y.Y. conceived the concept and designed the experiments. K.E.M. designed and fabricated μPADs and performed all single target and multiplexed target assays, except for the initial Cr(VI), TC, and E. coli assays, conducted jointly by K.E.M. and S.V.A. K.E.M. developed and tested the triple normalization and FFT algorithms in discussion with J.-Y.Y. K.E.M. and J.-Y.Y. analyzed the data. K.E.M. wrote the manuscript, with revisions and inputs from S.V.A., K.A.R. and J.-Y.Y.
References
- World Health Organization, Global health risks: mortality and burden of disease attributable to selected major risks. Report (2009) Available at: http://www.who.int/healthinfo/global_burden_disease/global_health_risks/en/ (accessed: 19th November 2015).
- Hoekstra A. Y. Water scarcity challenges to business. Nature Clim. Change. 4, 318–320 (2014). [Google Scholar]
- Conrad C. C. & Hilchey K. G. A review of citizen science and community-based environmental monitoring: issues and opportunities. Environ. Monit. Assess. 176, 273–291 (2011). [DOI] [PubMed] [Google Scholar]
- Vashit S. K., Luppa P. B., Yeo L. Y., Ozcan A. & Luong J. H. T. Emerging Technologies for Next-Generation Point-of-Care Testing. Trends Biotechnol. 33, 692–705 (2015). [DOI] [PubMed] [Google Scholar]
- Xu X. et al. Advances in smartphone-based point-of-care diagnostics. Proc. IEEE. 103, 236–247 (2015). [Google Scholar]
- Ericsson, Mobility report – November 2015. Report (2015) Available at: http://www.ericsson.com/mobility-report (accessed: 19th November 2015).
- Lillehoj P. B., Huang M.-C., Truong N. & Ho C.-M. Rapid electrochemical detection on a mobile phone. Lab Chip. 13, 2950–2955 (2013). [DOI] [PubMed] [Google Scholar]
- Nemiroski A. et al. Universal mobile electrochemical detector designed for use in resource-limited applications. Proc. Natl. Acad. Sci. USA 111, 11984–11989 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Oncescu V., Mancuso M. & Erickson D. Cholesterol testing on a smartphone. Lab Chip. 14, 759–763 (2014). [DOI] [PubMed] [Google Scholar]
- Coskun A. F. et al. A personalized food allergen testing platform on a cellphone. Lab Chip. 13, 636–640 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ludwig S. K. J. et al. Calling Biomarkers in Milk Using a Protein Microarray on Your Smartphone. PLoS ONE. 10, e0134360 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yu. H., Tan Y. & Cunningham B. T. Smartphone fluorescence spectroscopy. Anal. Chem. 86, 8805–8813 (2014). [DOI] [PubMed] [Google Scholar]
- Hossain M. A. et al. A. Lab-in-a-Phone: Smartphone-Based Portable Fluorometer for pH Measurements of Environmental Water. IEEE Sens. J. 15, 5095–5102 (2015). [Google Scholar]
- Navruz I. et al. Smart-phone based computational microscopy using multi-frame contact imaging on a fiber-optic array. Lab Chip. 13, 4015–4023 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Aldhaban F., Daim T. U. & Harmon R. Exploring the adoption and use of the smartphone technology in emerging regions: a literature review and hypotheses development. Proceedings of PICMET ’15 2355–2370 (2015). [Google Scholar]
- Yetisen A. K., Martinex-Hurtado J. L., Garcia-Melendrez A., Vasconcellos F. D. C. & Lowe C. R. A smartphone algorithm with inter-phone repeatability for the analysis of colorimetric tests. Sens. Actuat. B. 196, 156–160 (2014). [Google Scholar]
- Nery E. W. & Kubota L. T. Sensing approaches on paper-based devices: a review. Anal. Bioanal. Chem. 405, 7573–7595 (2013). [DOI] [PubMed] [Google Scholar]
- Posthuma-Trumpie G. A., Korf J. & van Amerongen A. Lateral flow (immuno)assay: its strengths, weaknesses, opportunities and threats. A literature survey. Anal. Bioanal. Chem. 393, 569–582 (2009). [DOI] [PubMed] [Google Scholar]
- Rohrman B. A., Leautaud V., Molyneux E. & Richards-Kortum R. R. A lateral flow assay for quantitative detection of amplified HIV-1 RNA. PLoS ONE. 7, e45611 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Boulware D. R. et al. Multisite validation of cryptococcal antigen lateral flow assay and quantification by laser thermal contrast. Emerg. Infect. Dis. 20, 45–53 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Berlina A. N., Taranova N. A., Zherdev A. V., Vengerov Y. Y. & Dzantiev B. B. Quantum dot-based lateral flow immunoassay for detection of chloramphenicol in milk. Anal. Bioanal. Chem. 405, 4997–5000 (2013). [DOI] [PubMed] [Google Scholar]
- You D. J., Park T. S. & Yoon J.-Y. Cell-phone-based measurement of TSH using Mie scatter optimized lateral flow assays. Biosens. Bioelectron. 40, 180–185 (2013). [DOI] [PubMed] [Google Scholar]
- López-Marzo A. M., Pons J., Blake D. A. & Merkoçi A. High sensitive gold-nanoparticle based lateral flow immunodevice for Cd2+ detection in drinking waters. Biosens. Bioelectron. 47, 190–198 (2013). [DOI] [PubMed] [Google Scholar]
- Chao C.-H. et al. A rapid and portable sensor based on protein-modified gold nanoparticle proves and lateral flow assay for naked eye detection of mercury ion. Microelectron. Eng. 97, 294–296 (2012). [Google Scholar]
- Erickson D. et al. Smartphone technology can be transformative to the deployment of lab-on-chip diagnostics. Lab Chip. 14, 3159–3164 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Shen L., Hagen J. A. & Papautsky I. Point-of-care colorimetric detection with a smartphone. Lab Chip. 12, 4240–4243 (2012). [DOI] [PubMed] [Google Scholar]
- US EPA. Method 7196A: Chromium, Hexavalent (Colorimetric). Method (1992) Available at: http://www.epa.gov/solidwaste/hazard/testmethods/sw846/pdfs/7196a.pdf (accessed: 30th May 2015).
- Thermo Scientific, Thermo Scientific Orion AQUAfast IV® AC4P71, AC4P72 Reagents – Chlorine Free and Chlorine Total. Method (2008) Available at: http://www.fondriest.com/pdf/thermo_ac4p_chlorine.pdf (accessed: 23 November 2015).
- Rochat S., Steinmann S. N., Corminboeuf C. & Severin K. Fluorescence sensing of caffeine in water with polysulfonated pyrenes. Chem. Commun. 47, 10584–10586 (2011). [DOI] [PubMed] [Google Scholar]
- Park T. S. & Yoon J.-Y. Smartphone detection of Escherichia coli from field water samples on paper microfluidics. IEEE Sens. J. 15, 1902–1907 (2015). [Google Scholar]
- Walter J. FFT Filter. Method (2007) Available at: http://rsb.info.nih.gov/ij/plugins/fft-filter.html (accessed: 15 October 2015).
- Olivieri V. P., Snead M. C., Krusé C. W. & Kawata K. Stability and effectiveness of chlorine disinfectants in water distribution systems. Environ. Health Perspect. 69, 15–29 (1986). [DOI] [PMC free article] [PubMed] [Google Scholar]
- Park T. S., Li W., McCracken K. E. & Yoon J.-Y. Smartphone quantifies Salmonella from paper microfluidics. Lab Chip. 13, 4832–4840 (2013). [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.