This study utilized a computer application developed in Visual StudioTM using C# to extract pixel samples (RGB) from multiple images (26 images obtained from August 20, 2024, to September 22, 2024), of a purslane pot taken from a top-down perspective at a distance of 30 cm. These samples were projected into the CIELAB color space, and the extracted pixels were plotted on the a*b* plane, excluding the luminance value. A polygon was then drawn around all the plotted pixels, defining the color to be identified. Subsequently, the application analyzed another image to determine the number of pixels within the polygon. These identified pixels were transformed to white, and the percentage of these pixels relative to the total number of pixels in the image was calculated. This process yielded percentages for brown (soil), green (leaf cover), and pink (stem color). A single polygon was sufficient to accurately identify the green and brown colors in the images. However, due to varying lighting conditions, customized polygons were necessary for each image to accurately identify the stem color. To validate the green polygon’s accuracy in identifying purslane leaves, all leaves in the image were digitized in AutoCADTM, and the green area was compared to the total image area to obtain the observed green percentage. The green percentage obtained with the polygon was then compared to the observed green percentage, resulting in an R2 value of 0.8431. Similarly, for the brown color, an R2 value of 0.9305 was found. The stem color was not subjected to this validation due to the necessity of multiple polygons. The R2 values were derived from percentage data obtained by analyzing the total pixels in the images. When sampling to estimate the proportion and analyzing only the suggested sample size of pixels, R2 values of 0.93049 for brown and 0.8088 for green were obtained. The average analysis time to determine the brown soil percentage using the polygon (BP) for 26 images with an average size of 1070 × 1210 pixels was 44 seconds. In contrast, sampling to estimate the proportion reduced the analysis time to 0.9 seconds for the same number of images. This indicates that significant time savings can be achieved while obtaining similar results.
References
[1]
Lagunes-Fortiz, E., Villanueva-Verduzco, C., Lagunes-Fortiz, E.R., Zamora-Macorra, E.J., Ávila-Alistac, N. and Villanueva-Sánchez, E. (2021) La densidad de siembra en el crecimiento de la verdolaga. Revista Mexicana de Ciencias Agrícolas, 12, 317-329. https://doi.org/10.29312/remexca.v12i2.2848
[2]
Desta, M., Molla, A. and Yusuf, Z. (2020) Characterization of Physico-Chemical Properties and Antioxidant Activity of Oil from Seed, Leaf and Stem of Purslane (Portulaca oleracea L.). BiotechnologyReports, 27, e00512. https://doi.org/10.1016/j.btre.2020.e00512
[3]
Kumar, P. and Miklavcic, S.J. (2018) Analytical Study of Colour Spaces for Plant Pixel Detection. JournalofImaging, 4, Article 42. https://doi.org/10.3390/jimaging4020042
[4]
Commission Internationale de l’Éclairage (CIE) (1978) Recommendations on Uniform Color Spaces, Color Difference and Psychometric Color Terms. CIE Central Bureau.
[5]
Domínguez Soto, J.M., Román Gutiérrez, A.D., Prieto García, F. and Acevedo Sandoval, O. (2018) Sistema de Notación Munsell y CIELab como herramienta para evaluación de color en suelos. Revista Mexicana de Ciencias Agrícolas, 3, 141-155. https://doi.org/10.29312/remexca.v3i1.1489
[6]
Anagnostopoulos, C., Koutsonas, A., Anagnostopoulos, I., Loumos, V. and Kayafas, E. (2005) Tile Classification Using the CIELAB Color Model. In: Sunderam, V.S., van Albada, G.D., Sloot, P.M.A. and Dongarra, J.J., Eds., Computational Science—ICCS 2005, Springer, 695-702. https://doi.org/10.1007/11428831_86
[7]
Nuraini, R., Soares, T.G., Dayurni, P. and Mulyadi, M. (2023) Tomato Ripeness Detection Using Linear Discriminant Analysis Algorithm with CIELAB and HSV Color Spaces. BuildingofInformatics, TechnologyandScience (BITS), 5, 523-531. https://doi.org/10.47065/bits.v5i2.4192
[8]
Suzuki, T., Ito, C., Kitano, K. and Yamaguchi, T. (2024) CIELAB Color Space as a Field for Tracking Color-Changing Chemical Reactions of Polymeric Ph Indicators. ACSOmega, 9, 36682-36689. https://doi.org/10.1021/acsomega.4c05320
[9]
Rizzo, R., Wadoux, A.M.J., Demattê, J.A.M., Minasny, B., Barrón, V., Ben-Dor, E., et al. (2023) Remote Sensing of the Earth’s Soil Color in Space and Time. RemoteSensingofEnvironment, 299, Article ID: 113845. https://doi.org/10.1016/j.rse.2023.113845
[10]
USDA-NRCS (2020) Guide to Texture by Feel. https://www.nrcs.usda.gov/sites/default/files/2022-11/texture-by-feel.pdf
[11]
Acuayte-Valdes, E., Barrientos-Priego, A.F., Duran-Peralta, E., Cabrera-Morales, M. and Aguado-Rodríguez, G.J. (2023) CIE L*a*b* Polygon for Quantifying Scab (Sphacelomaperseae) in Avocado Fruit Images. RevistaChapingoSerieHorticultura, 30, 3-15. https://doi.org/10.5154/r.rchsh.2023.06.004
[12]
Andrade, C. (2020) Sample Size and Its Importance in Research. IndianJournalofPsychologicalMedicine, 42, 102-103. https://doi.org/10.4103/ijpsym.ijpsym_504_19
[13]
Singh, A.S. and Masuku, M.B. (2014) Sampling Techniques and Determination of Sample Size in Applied Statistics Research: An Overview. International Journal of Economics, Commerce and Management, 2, 1-22.
[14]
Daniel, J. (2012) Sampling Essentials: Practical Guidelines for Making Sampling Choices. SAGE Publications, Inc. https://doi.org/10.4135/9781452272047
[15]
Chen, Y., Zhang, M., Fan, D., Fan, K. and Wang, X. (2018) Linear Regression between Cie-Lab Color Parameters and Organic Matter in Soils of Tea Plantations. EurasianSoilScience, 51, 199-203. https://doi.org/10.1134/s1064229318020011
[16]
Baek, S.H., Park, K.H., Jeon, J.S. and Kwak, T.Y. (2022) Using the CIELAB Color System for Soil Color Identification Based on Digital Image Processing. Journal of the Korean Geotechnical Society, 38, 61-71. https://doi.org/10.7843/kgs.2022.38.5.61
[17]
Schmidt, S.A. and Ahn, C. (2021) Analysis of Soil Color Variables and Their Relationships between Two Field-Based Methods and Its Potential Application for Wetland Soils. ScienceofTheTotalEnvironment, 783, Article ID: 147005. https://doi.org/10.1016/j.scitotenv.2021.147005