Literature DB >> 31890954

Smartphone-based image analysis for evaluation of magnetic textile solid phase extraction of colored compounds.

Ivo Safarik1,2,3, Eva Baldikova1, Jitka Prochazkova1, Kristyna Pospiskova2.   

Abstract

Novel modern easily feasible methods for direct evaluation of a new, simple preconcentration analytical procedure have been developed. Two types of smartphone image analysis applications (ON Color Measure and Color Lab) were evaluated to obtain RGB and HSV color spaces data for the quantification of Magnetic textile solid phase extraction of colored compounds (e.g. water-soluble organic dyes). Both direct measurement of color spaces values via the smartphone camera and image analysis of the photograph can be used successfully. The obtained data were similar to those obtained by previously examined professional ImageJ software. The saturation (S) values of the HSV color space are directly proportional to the concentrations of the analyzed dye.
© 2019 Published by Elsevier Ltd.

Entities:  

Keywords:  Analytical chemistry; Biotechnology; Dyes; Environmental science; Image analysis; Magnetic textile solid phase extraction; Smartphones

Year:  2019        PMID: 31890954      PMCID: PMC6928281          DOI: 10.1016/j.heliyon.2019.e02995

Source DB:  PubMed          Journal:  Heliyon        ISSN: 2405-8440


Introduction

Sample concentration techniques are usually used during the monitoring the concentration of target biologically active compounds, organic and inorganic pollutants or radionuclides present in water, other environmental media and biological materials. Solid phase extraction (SPE) techniques are predominantly employed nowadays for such purpose. Among them SPE procedures based on the use of magnetically responsive materials are very important. Magnetic solid phase extraction (MSPE) employing magnetically responsive adsorbents was developed by Safarikova and Safarik in 1999 [1]. Magnetic materials can serve as supports for the immobilization of an appropriate affinity ligand, or as magnetic labels for conversion of originally diamagnetic materials into magnetically modified ones. This technique greatly simplifies the extraction procedure and enhances the extraction efficiency. Magnetic adsorbents can be prepared in different shape, size and configuration. Magnetic separation is not influenced by the change of pH, ionic strength or the presence of contaminating diamagnetic materials [2, 3, 4]. Magnetic textile solid phase extraction (MTSPE) represents a new preconcentration procedure based on the use of a piece of textile with incorporated magnetic iron wire [5]. After immobilization of an appropriate affinity or ion exchange ligand to the textile fibers, the target analyte can be preconcetrated from large sample volumes. After preconcentration, the piece of textile can be easily and rapidly separated magnetically. Similarly to standard solid phase separation procedures, analyte bound to magnetically responsive textile can be eluted with a small amount of an appropriate eluant and then analyzed [5, 6]. Organic dyes are used in huge amount of processes and subsequently they can appear in water environment. Approved synthetic food dyes are also present in many beverages. Simple detection and quantification of dyes in water samples is of high interest. Recently developed MTSPE enables simple and efficient dyes preconcentration and analysis [6, 7]. It has been shown recently that image analysis employing HSB color space can be successfully used for dye concentration determination using MTSPE. After the dye preconcentration, photos of textile squares with the adsorbed dye were taken using a mobile phone or a digital camera. Using an appropriate software, the square or rectangle covering maximum of homogeneously colored textile (without the staple) was cropped from the original image for the subsequent evaluation using ImageJ software installed on the standard computer. Using this inexpensive, elution free assay it is possible to analyze dyes concentration in various solutions [7]. In order to further simplify the image analysis procedure during MTSPE, a simple smartphone-based image analysis of textile pieces after dye extraction is presented. Image analysis was performed using two smartphone applications (ON Color Measure and Color Lab) run on a standard smartphone; for the comparison the image analysis was also performed using ImageJ installed on the standard computer.

Materials and methods

Materials and software

Chitosan (medium molecular weight (ca 400 000 Da), 75–85% deacetylated) was obtained from Fluka, Switzerland. Red food dye azorubine (E122), as a part of food coloring mixture, was ordered from Aroco, Czech Republic; blue fountain ink containing dye Acid blue 93 was supplied by Koh-i-noor Hardtmuth, Czech Republic. Common chemicals were from Lach-Ner, Czech Republic. Nonwoven textile (Bastelfiltz, 100 % acrylic felt, white, 150 g/m2, 10 × 30 cm) was ordered from Max Bringmann KG-folia, Germany. An office stapler with common iron-based staples were bought locally. Smartphone applications ON Color Measure (Version 7.0, produced by PotatotreeSoft) and Color Lab (produced by H&H Color Lab, USA) were running on Samsung Galaxy SIII Mini smartphone (Samsung Electronics Co., Republic of Korea). Freeware (XnView and ImageJ) run on a standard computer were used for photographs adjustment and image analysis, respectively.

Image analysis of cropped images

Preparation of textile adsorbent (squares 20 × 20 mm), which can be easily magnetically separated, as well as magnetic textile solid phase extraction procedure have already been described [7]. Standard image analysis of magnetic textile squares after dye extraction was performed as described previously [7]. Shortly, mobile phone with android application CameraNext Mod was used for taking photos of textile squares under normal daylight in room with standard illumination. XnView software was used to crop the original image into the square or rectangle containing homogeneously colored textile without the staple for the subsequent evaluation. Analysis of all the samples was performed using Color Inspector 3D plugin (ImageJ software), where the reduction of original colors into one „median“ color was done by the Median Cut option. Subsequently, three image parameters (hue (H), saturation (S), brightness (B)) were obtained by application of the HSB color space. The H value of the image with intensive coloring was applied as the standard value for the processing of the images with lower concentrations of the same dye. Graphs in our previous work illustrate the dependence of S values on the initial dye concentrations of the analyzed solutions [7]. The same images were analyzed using a smartphone with installed applications. Using On Color Measure the analyzed image was downloaded via Mode action, and then usually 10 points were randomly selected using a movable cursor; the measured data (RSB and HSV values) were registered and used for subsequent calculations. Using Color Lab the Eye Dropper application enabled to download the image; after touching the screen at appropriate place the local dye was selected, which in the next step presented the values of various color spaces, including RGB and HSV. These values were also recorded and analyzed later.

Real time image analysis of textile pieces

Using On Color Measure it is possible to measure directly the RGB and HSV values of the analyzed colored textile piece via the smartphone camera. Using Color Lab the Eye Dropper application is selected, camera figure is touched and appropriate place on the textile piece is selected and RGB and HSV values are collected.

Results and discussion

Simplification of analytical instruments and procedures enables their potential exploitation directly by non-trained users or outside the well-equipped laboratory. Recently smartphones have been used e.g., for colorimetric detection of nitrite [8], spectrometric detection of ascorbic acid [9] or colorimetric assay of uric acid and glucose [10]. Several review papers summarizing smartphone based bioanalytical and diagnosis applications have been published recently [11, 12, 13]. In this paper, we show that smartphone image analysis used for the evaluation of MTSPE can give results which are very similar to those obtained by computer installed ImageJ (a professional Java-based image processing program developed at the National Institutes of Health and the Laboratory for Optical and Computational Instrumentation, USA). In the first phase, the standard color images with known RGB values (downloaded from https://www.color-hex.com/color-palettes/) were analyzed using both ImageJ software and two smartphone applications (ON Color Measure and Color Lab). As can be seen from Table 1, there are only minimal differences between RGB values and HSV (HSB) values obtained by all three softwares and the reference values. It has to be mentioned that HSV values obtained by smartphone applications correspond to HSB values obtained by ImageJ.
Table 1

Comparison of RGB and HSV (HSB) values of standard colored pictures obtained using smartphone applications On ColorMeasure and ColorLab, and by ImageJ software.

Model color
On ColorMeasure
ColorLab (EyeDropper)
ImageJ
RGBRGBHSVRGBHSVRGBHSB
0122119Image 1012211917810047012211917910048012211917910048
0210127Image 212101271569982121012715610082121012715610082
21370Image 3213701191005321370119100542137011910054
24116205Image 4251162052098780251162052108880251162052108880
3836107Image 5383710724065413837107241654238371072416542
706663Image 6706663251027706663261027706663261027
77255254Image 7772552551806910077255255180701007725525518070100
876952Image 8866951304033866951314134866951314134
94136255Image 9941362552246310094136255224631009413625522463100
96128197Image 10951281972205177951281972215277941301972195277
99184255Image 11100184255207601001001842552076110010018425520761100
113244254Image 1211324425418455991132442541845610011324425418056100
1162140Image 1311521418799831152141881008411521418810084
125160255Image 1412516025422350991251602542245110012516025422451100
14010478Image 15140104782544541401047825445514010478254455
152179255Image 16152179255224401001521792552244010015217925522440100
1732550Image 17173255079100100173255079100100173255079100100
180200255Image 18180199255224291001801992552252910018019925522529100
199223255Image 1919822325421322991982232542132210019822325421322100
202216255Image 20202216255224201002022162552242110020221625522421100
2065943Image 21206594357980206594367981206594367981
2068342Image 22206834215798020683421580812068342158081
22825588Image 23228255886965100228255887065100228255887065100
231201173Image 24231201173282590231201173292591231201173292591
23800Image 25238000100932380001009323800010093
240239239Image 26239239239009323923923900942392392390094
24719040Image 27247190394384962471903944849724719039448497
25220753Image 28252207524679982522075246799925220752477999
2551270Image 29255127029100100255127030100100255127030100100
2552550Image 30255255060100100255255060100100255255060100100
Comparison of RGB and HSV (HSB) values of standard colored pictures obtained using smartphone applications On ColorMeasure and ColorLab, and by ImageJ software. In the next experiments, images obtained during the development of image analysis of dye stained textile during MTSPE were used [7]. One typical set of cropped images (corresponding to real dimensions 12–15 mm x 12–15 mm) obtained after MTSPE of azorubine (volume 100 mL, concentration range 0–0.12 mg/L) on chitosan modified nonwoven textile (Figure 1) was used for the comparison of results obtained by ImageJ and both smartphone applications. While image analysis using ImageJ employed the reduction of original colors into only one „median“ color, in the case of smartphone applications it is necessary to measure the individual RGB and HSV values at the randomly selected spots; that's why always ten measurements for any image were performed and then statistically evaluated. As shown in Figure 2, the S values from HSV(B) color space clearly show that both the computer-based professional software and two tested smartphone applications have obtained very similar results. The relative standard deviations for On Color Measure and Color Lab were in the range 3.76–10.60 and 5.27–13.68 percent, respectively. The saturation (S) values of the HSV(B) color spaces are directly proportional to the concentrations of the analyzed dye (azorubine).
Figure 1

Cropped images of magnetically responsive, chitosan modified nonwoven textile squares after MTSPE of azorubine from solutions (volumes 100 mL) containing the described concentration of dye (0–0.120 mg/L).

Figure 2

Dependence of values of saturation (S) on the concentration of analyzed azorubine solutions; treated volume was 100 mL. O – ImageJ, ▲–Color Lab, □ - On Color Measure.

Cropped images of magnetically responsive, chitosan modified nonwoven textile squares after MTSPE of azorubine from solutions (volumes 100 mL) containing the described concentration of dye (0–0.120 mg/L). Dependence of values of saturation (S) on the concentration of analyzed azorubine solutions; treated volume was 100 mL. O – ImageJ, ▲–Color Lab, □ - On Color Measure. In the last experiment, chitosan modified nonwoven textile was used for the concentration of Acid blue 93 dye which is present in the standard blue fountain ink [14]. Two procedures were employed to obtain RGB and HSV(B) data from blue stained textile, namely taking a photo and performing the image analysis in the same way as described above, or the RGB and HSV(B) data were obtained directly through the smartphone camera. As can be seen from Figure 3, similar values were obtained using all the approaches. In Table 2 detailed statistical evaluation of the obtained data is presented; it can be clearly seen that relative standard deviations of RGB values for both smartphone applications and both imaging procedures are in the range 1.911–5.893 %, while relative standard deviations of saturation (S) values from HSV color space are 2.481–7.964 %.
Figure 3

RGB and HSV(B) values obtained after analysis of chitosan modified nonwoven textile after MTSPE of Acid blue 93 from blue fountain ink (see right top corner). Columns from left to right for each group: direct On Color Measure via camera (yellow); On Color Measure from an image (brown); direct Color Lab via camera (green); Color Lab from an image (red); ImageJ from an image (blue).

Table 2

RGB and HSV(B) values obtained by direct measurement via smartphone camera and by image analysis of photos.

RGBHSV(B)
On Color MeasureDirect measurement via cameraAverage value134.7178.2196.0197.031.276.5
Minimal value1201691861933072
Maximal value1501862061993581
STD7.9385.1155.8651.6121.4702.579
RSTD [%]5.8932.8702.9920.8194.7723.371
Image analysis from a photoAverage value140.9185.2204.6197.830.879.7
Minimal value1241671861952872
Maximal value1541972182003385
STD7.8808.2329.0021.6001.4703.607
RSTD [%]5.5924.4454.4000.8094.7724.526
Color LabDirect measurement via cameraAverage value124.2173.5189.8195.036.570.6
Minimal value1131661821913267
Maximal value1361791951974173
STD7.2364.1773.6281.8442.9071.625
RSTD [%]5.8262.4081.9110.9467.9642.301
Image analysis from a photoAverage value133.3178.9197.1197.332.577.2
Minimal value1241671841953172
Maximal value1441942171993485
STD5.2927.3009.2241.3450.8063.600
RSTD [%]3.9704.0804.6800.6822.4814.663
ImageJImage analysis from a photoValue1321771971983377

STD – standard deviation; RSTD – relative standard deviation [%].

RGB and HSV(B) values obtained after analysis of chitosan modified nonwoven textile after MTSPE of Acid blue 93 from blue fountain ink (see right top corner). Columns from left to right for each group: direct On Color Measure via camera (yellow); On Color Measure from an image (brown); direct Color Lab via camera (green); Color Lab from an image (red); ImageJ from an image (blue). RGB and HSV(B) values obtained by direct measurement via smartphone camera and by image analysis of photos. STD – standard deviation; RSTD – relative standard deviation [%].

Conclusion

Low-cost, easy to perform analytical approaches for the detection and determination of various pollutants are of high interest. Smartphones offer an attractive platform for chemical analysis such as diagnostics and environmental monitoring. Most often used smartphone applications are based on colorimetry and image analysis. We have shown in this paper that Magnetic textile solid phase extraction of water-soluble organic dyes can be very efficiently evaluated using several types of smartphone image analysis applications. Both direct measurement of color spaces values via the smartphone camera and image analysis of the photograph can be used successfully. It was shown that the saturation (S) values of the HSV color space are directly proportional to the concentrations of the analyzed dye.

Declarations

Author contribution statement

Ivo Safarik: Conceived and designed the experiments; Performed the experiments; Analyzed and interpreted the data; Wrote the paper. Eva Baldikova: Analyzed and interpreted the data; Contributed reagents, materials, analysis tools or data; Wrote the paper. Jitka Prochazkova: Performed the experiments; Contributed reagents, materials, analysis tools or data. Kristyna Pospiskova: Performed the experiments; Contributed reagents, materials, analysis tools or data; Wrote the paper.

Funding statement

This work was supported by the ERDF/ESF projects “New Composite Materials for Environmental Applications” (No. CZ.02.1.01/0.0/0.0/17_048/0007399) and "Nanotechnologies for Future" (No. CZ.02.1.01/0.0/0.0/16_019/0000754) of the Ministry of Education, Youth and Sports of the Czech Republic. This work was carried out in the frame of the COST Actions CA16215 (European network for the promotion of portable, affordable and simple analytical platforms) and CA17107 (European Network to connect research and innovation efforts on advanced Smart Textiles) and the project “Modified (nano)textile materials for health technologies” (Structural fonds of EU, Ministry of Education, Slovakia).

Competing interest statement

The authors declare no conflict of interest.

Additional information

No additional information is available for this paper.
  6 in total

1.  Semiquantitative determination of food acid dyes by magnetic textile solid phase extraction followed by image analysis.

Authors:  Ivo Safarik; Sindy Mullerova; Kristyna Pospiskova
Journal:  Food Chem       Date:  2018-08-28       Impact factor: 7.514

Review 2.  Smartphone based bioanalytical and diagnosis applications: A review.

Authors:  Suvardhan Kanchi; Myalowenkosi I Sabela; Phumlane Selby Mdluli; Krishna Bisetty
Journal:  Biosens Bioelectron       Date:  2017-11-06       Impact factor: 10.618

3.  Sensitive colorimetric assay for uric acid and glucose detection based on multilayer-modified paper with smartphone as signal readout.

Authors:  Xu Wang; Fang Li; Ziqi Cai; Kaifan Liu; Jing Li; Boyang Zhang; Jianbo He
Journal:  Anal Bioanal Chem       Date:  2018-02-17       Impact factor: 4.142

4.  Sensitive paper-based analytical device for fast colorimetric detection of nitrite with smartphone.

Authors:  Xiu-Xiu Zhang; Yi-Zhen Song; Fang Fang; Zhi-Yong Wu
Journal:  Anal Bioanal Chem       Date:  2018-03-19       Impact factor: 4.142

5.  Magnetic nanoparticle based solid-phase extraction of heavy metal ions: A review on recent advances.

Authors:  Maryam Hemmati; Maryam Rajabi; Alireza Asghari
Journal:  Mikrochim Acta       Date:  2018-02-06       Impact factor: 5.833

6.  Point-of-use detection of ascorbic acid using a spectrometric smartphone-based system.

Authors:  Miguel Ángel Aguirre; Kenneth D Long; Antonio Canals; Brian T Cunningham
Journal:  Food Chem       Date:  2018-08-09       Impact factor: 7.514

  6 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.