# Automatic Detection of Flavonoids from Spectroscopic Images by Fusion of Two-Dimensional Convolution Product with Multi-Scale Textural Descriptors

Guié Théodore Toa Bi, Alico Nango Jerôme, Marcelin Sandjé, Blé Ariel, Sié Ouattara, Alain Clement

<figure><img src="image_1.png" /></figure>

## To cite this version:

Guié Théodore Toa Bi, Alico Nango Jerôme, Marcelin Sandjé, Blé Ariel, Sié Ouattara, et al.. Automatic Detection of Flavonoids from Spectroscopic Images by Fusion of Two-Dimensional Convolution Product with Multi-Scale Textural Descriptors. Advances in Materials Physics and Chemistry, 2026, 16 (01), pp.1-17. 10.4236/ampc.2026.161001. hal-05480250

HAL Id: hal-05480250

https://univ-angers.hal.science/hal-05480250v1

Submitted on 27 Jan 2026

HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d'enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

<figure><img src="image_2.png" /></figure>

Distributed under a Creative Commons CC BY 4.0 - Attribution - International License
# Automatic Detection of Flavonoids from Spectroscopic Images by Fusion of Two-Dimensional Convolution Product with Multi-Scale Textural Descriptors

Guié Théodore Toa Bi<fnref n="1" />,<fnref n="2" />, Alico Nango Jerôme<fnref n="2" />, Marcelin Sandjé<fnref n="2" />, Blé Arie<fnref n="1" />, Sié Ouattara<fnref n="2" />, Alain Clement<fnref n="3" />

**How to cite this paper:** Toa Bi, G.T., Jerôme, A.N., Sandjé, M., Arie, B., Ouattara, S. and Clement, A. (2026) Automatic Detection of Flavonoids from Spectroscopic Images by Fusion of Two-Dimensional Convolution Product with Multi-Scale Textural Descriptors. *Advances in Materials Physics and Chemistry, 16*, 1-17.
[https://doi.org/10.4236/ampc.2026.161001](https://doi.org/10.4236/ampc.2026.161001)

**Received:** October 2, 2025

**Accepted:** January 6, 2026

**Published:** January 9, 2026

Copyright © 2026 by author(s) and
Scientific Research Publishing Inc.
This work is licensed under the Creative
Commons Attribution International
License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

<figure><img src="image_3.png" /></figure>

Open Access

## Abstract

In a context where traditional medicine occupies an important place in Côte d'Ivoire, the reliable identification of active compounds from medicinal plants is becoming essential. This thesis focused on flavonoids, known for their beneficial effects on health, and proposed an automated method for their identification based on the convolution product and texture descriptors. The main objective was to develop a simple, efficient, and reproducible method to automatically recognize these flavonoids from chromatograms obtained by thin-layer chromatography (TLC). For this purpose, two local plants, *Paullinia pinnata* and *Morinda lucida*, were studied. After extraction, the samples were visualized using specific solvents and reagents, then photographed under UV light at wavelengths of 366 nm and 254 nm. The images were processed in MATLAB using region segmentation and two-dimensional convolution algorithms. The results reveal a strong correlation between numerical parameters and flavonoid presence, with normalized Euclidean distances ≤ 0.05. This method eliminates subjective bias from visual analysis and validates the use of accessible tools for preliminary analyses. Limitations include the impact of image quality and residual spot overlap. This approach offers a fast, reproducible, and inexpensive alternative for flavonoid identification, suitable for resource-limited settings. Potential areas for improvement include the integration of AI (U-Net, Mask R-CNN) and the optimization of migration protocols.

<footnote n="1">¹UFR Science and Technology, University of Man, Man, Côte d'Ivoire</footnote>

<footnote n="2">²Laboratory of Communication and Information Science and Technology (LSTCI), National Polytechnic Institute Houphouët Boigny, Yamoussoukro, Côte d'Ivoire</footnote>

<footnote n="3">³Angers University Institute of Technology (IUT), Angers, France
Email: theodore.toa@univ-man.edu ci</footnote>
## Keywords

Flavonoid, Region-Based Segmentation, Sobel Kernel, Normalized Euclidean Distance

# 1. Introduction

In Côte d'Ivoire, limited access to healthcare and medicines, due to high costs and poor infrastructure, is pushing more and more households to resort to traditional medicine as an alternative [1]. This practice utilizes the benefits of compounds found in plants, such as flavonoids, known for their antioxidant, anti-inflammatory, antiviral, anticancer, and neuroprotective properties, helping to prevent certain cancers, heart attacks, and strengthen the immune system [2]. However, this seemingly safe practice carries major dangers such as the risk of overdose, unexpected side effects, and drug interactions [3]. Moreover, current analytical methods, such as thin-layer chromatography (TLC), widely used for the analysis of plant extracts and described in detail by [4] as a simple, effective method that can be adapted to many types of compounds, still rely on manual interpretations, making them prone to errors and variable results. Given these limitations, the integration of digital tools, particularly those derived from image processing, offers an opportunity to automate and make chromatogram analysis more reliable. In particular, image segmentation allows for the automatic extraction of areas of interest (spots) on TLC plates, thus facilitating the rapid, objective, and reproducible identification of flavonoids [5]. This raises the following challenge: how to design and implement a method integrating digital technologies, such as image segmentation, to automate flavonoid identification?

The main objective is to establish a system capable of automatically detecting, classifying, and quantifying flavonoids present on a chromatographic plate, with greater precision and reproducibility than traditional interpretation methods. Specifically, this research will involve extracting and separating flavonoids using thin-layer chromatography, performing digital processing of the chromatograms using segmentation, and comparing the performance of the digital approach with chemical analysis.

This dissertation is structured into three main chapters, in addition to the introduction and conclusion. The first chapter provides general information on the topic; the second details the equipment and methods used; and finally, the third chapter presents the results obtained and provides a discussion.

# 2. Materials and Methods

## 2.1. Materials

### 2.1.1. Chemical Reagents and Experimental Design

In our study of flavonoids, we used several devices.

For compound extraction, we used an AGROLAB M2-A analog magnetic stirrer with heating and a stirring water bath (Figure 1); a magnetic mill and a balance (see
<figure><img src="image_4.png" /><figcaption>Figure 1. (a) An AGROLAB M2-A analog heating magnetic stirrer; (b) A stirring water bath.</figcaption></figure>

<figure><img src="image_5.png" /><figcaption>Figure 2. (a) A magnetic crusher; (b) A balance.</figcaption></figure>

For the thin-layer study, we used:

* A TLC chromatography plate,

* An eluent or mobile phase,

* A chromatography cuvette,

* A 254 nm and 366 nm ultraviolet (UV) lamp (see Figure 3).

<figure><img src="image_6.png" /><figcaption>Figure 3. A 366 nm and 254 nm UV lamp.</figcaption></figure>

For image processing, we used:

* An HP Probook 440 G6 laptop with the following specifications:

* An Intel Core i5-8265U CPU 1.60 GHz 1.80 GHz,

* 16 GB of RAM,

* Windows 11 Professional operating system version 23H2.

* Matlab software: version 9.13.0.2049777 (R2022b).
* The rear camera of an iPhone 12.

* A 12-megapixel wide-angle camera with a 120° viewing angle (equivalent to 26 mm in 35 mm format),

* A 12-megapixel ultra-wide-angle sensor with a 120° viewing angle (equivalent to 13 mm in 35 mm format).

### 2.1.2. Plant Material

A survey of medicinal plant sellers identified two types of plants, namely *Paullinia pinnata* Lim, a species widespread in secondary forest regions undergoing restation and along riverbanks in savannahs. It is never found in overly dry areas. It is found in all plant formations in Côte d'Ivoire under the names: Ahé-biébun (Akyé); Trondi (Baoulé); Mlan nomon (Malinké), or Gbessagbébroh (Bété). This plant is presented in **Figure 4**.

<figure><img src="image_7.png" /><figcaption>Figure 4. *Paullinia pinnata*.</figcaption></figure>

This plant has many therapeutic effects; a decoction of the leaves is used in infants with oral candidiasis and can be administered orally or rectally. Portions of the roots macerated in palm wine make an aphrodisiac drink. We also used *Morinda lucida*, which is a species of grassy savannahs, thickets, and forests. It is common from the forest region to the savannah and is known as Lélik'n in Adioukrou. It is shown in **Figure 5**.

<figure><img src="image_8.png" /><figcaption>Figure 5. *Morinda lucida*.</figcaption></figure>

Like *Paullinia pinnata*, *Morinda lucida* also possesses numerous therapeutic effects. Decoctions of the roots, bark, and leaves are recognized remedies for various
types of fever, including yellow fever, malaria, and fever during childbirth. It is
also used to treat diabetes, hypertension, dysentery, and stomach aches.

**2.2. Methods**

**2.2.1. Extraction of Phytocompounds**

**1) Hydromethanolic Maceration**

Each plant sample is ground and 15 g of each of the two powders obtained are macerated in 100 ml of 80% (v/v) MeOH for 24 hours with constant stirring. The process is repeated twice, keeping the same grounds, but with a fresh solvent. After filtration through a Büchner funnel, the combined hydromethanolic macerates were concentrated under reduced pressure at 75°C using a water bath to give two crude hydromethanolic extracts of *Morinda lucida* leaves (E₁) and *Paullinia pin-nata* leaves (E₂).

**2) Preparation of Selective Extracts**

Extracts E1 and E2 were treated with 3 × 20 mL of hexane, chloroform, and ethyl acetate, respectively. The different organic fractions are concentrated in a water bath under reduced pressure, then stored in the refrigerator to give the selective chloroform extracts (E₁² and E₂²), ethyl acetate (E₁³ and E₂³) which were used for tests (phytochemical screening).

**3) Phytochemical Screening**

The screening was carried out following the analytical procedures described in
the work of [6].

Two drops of each selective extract were deposited using a capillary tube onto the points (2.5 cm apart) of the baseline, drawn 1 cm from the bottom of the chromatoplates. The deposits were allowed to dry for a moment before introducing the plates into the chromatography tank containing the migration solvent (developing agent). After development and drying, the chromatograms were revealed with reagents specific to the groups of phytocompounds sought, then visualized first in the visible light and then under a UV lamp at 365 nm.

The migration solvents used were:

* CHCl₃/AcOEt/hexane (10:10:5; v/v/v) and CHCl₃/(CH₃)₂CO/(Et)₂ NH (10:8:2; v/v/v) for the chloroform fractions.

* CHCl₃/AcOEt/CH₃ CO₂H (12:10:1; v/v/v) and AcOEt/CH₃OH/H₂O/CHCl₃ (18:2, 4:2, 1:6; v/v/v/v) for the ethyl acetate fractions.

The developers used are:

* Aluminum chloride (AlCl₃) which reveals flavonoids as a yellow spot in the visible spectrum and as a blue to brown spot under UV at 365 nm.

* Potassium hydroxide (KOH) which reveals coumarins as yellow spots in the visible spectrum and as a spot whose color varies from intense yellow to blue or green under UV.

* Ammonia which reveals flavonoids with a green color in the visible spectrum and under UV. It also reveals anthocyanins with a blue or violet color under UV.

* Aluminum chloride + acetone (as a substitute for Neu's reagent) which reveals flavonoids as yellow and brown spots immediately or after 15 minutes in the
visible spectrum and as orange, red, yellow, blue, and green spots under UV [7].

## 2.2.2. Image Processing Method

### 1) Convolution Product

2D discrete convolution (formula 8) is applied to each image to enhance the contours of the segmented regions.

We implemented the code for processing the various images using the Sobel kernel, a powerful edge detection filter in Matlab. Since the image is represented as a 3D matrix (colors), we used the Sobel edge detection kernel using the following equation:

$$K = \begin{bmatrix} -1 & 0 & 1 \\ -2 & 0 & 2 \\ -1 & 0 & 1 \end{bmatrix} \qquad (1)$$

### 2) Image Segmentation

Image analysis was performed using a color-based region segmentation algorithm. Each chromatographic spot is considered a region of interest (ROI). Thus, several parameters were extracted, including the average pixel intensity of the segmented region given by the formula:

$$at = I_{moy} = \frac{1}{M * N} \sum_{i=0}^{M-1} \sum_{j=0}^{N-1} I(i, j) \qquad (2)$$

Where *M* and *N* are the image dimensions (*MN* is the total number of pixels) [8].

The entropy by the formula:

$$H = \sum_{i=0}^{L-1} p(i) \log_2 p(i) \qquad (3)$$

Where *p(i)* denotes the probability of occurrence of gray level *i*, *L* denotes the total number of possible gray levels (256) [9].

The eccentricity (it measures the elongation of the region; the region is circular if it is 0 and it is elongated if it is 1) is given by the formula:

$$Exc = \sqrt{1 - \frac{a^2}{b^2}} \qquad (4)$$

where *a* and *b* denote the length of the major and minor semi-axes, respectively [10]. The standard deviation is defined by:

$$s = \sqrt{\frac{1}{n-1} \sum_{i=1}^{n} (x_i - \bar{x})^2} \qquad (5)$$

where $\bar{x}$ denotes the mean of the variables $x_i$ and defined by:

$$\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n} \qquad (6)$$

We also have *ct*, which denotes the weighted centroid of the pixels (it determines the luminous center of the spots), and also which represents the orienta-
tion.

Once the various parameters have been calculated, they will allow us to establish a database that will automatically identify flavonoids on thin films. To do this, we will calculate normalized Euclidean distances.

Normalized Euclidean distance is a variant of classical Euclidean distance that incorporates a normalization step before calculating the data. Normalization becomes necessary when variables have different scales, which could bias the importance that each dimension contributes to the overall distance [11]. Variable normalization is defined by:

$$x'_{i} = \frac{x_{i} - \mu_{i}}{\sigma_{i}} \qquad (7)$$

where $x_i$ is the variable to be normalized, $\mu_i$ is the mean of variables $x_b$ and $\sigma_i$ is the standard deviation of variables $x_i$ [12].

We used normalized Euclidean distance by calculating the distance between the characteristic vectors of the ores. It is calculated according to the following formula:

$$d_{norm}(R_i, T) = \sqrt{\frac{\sum_{i} (a_i - b_i)}{\sigma_i}} \qquad (8)$$

where:

$a_i$ and $b_i$ represent the parameter values in the compared regions, respectively.

$\sigma_i$ is the standard deviation of variable $i$, used to normalize the distance and avoid bias.

# 3. Results and Discussions

## 3.1. Results

### 3.1.1. Presentation of the Extracts and Developers Used

#### 1) Nature of the Extracts and Choice of Developers

For this study, we used chloroform and ethyl acetate extracts. These solvents were used due to their polarity; their difference in polarity allows for better extraction. Chloroform, being slightly polar, allows for the extraction of less hydroxylated or glycosylated flavonoids. Ethyl acetate, being more polar, allows for the extraction of more hydroxylated or less methylated flavonoids [13].

#### 2) Initial Qualitative Observations

The chromatograms obtained after development indicate the presence of spots of varying colors and intensities depending on the developers and extracts. We observed distinct, separate spots, as well as overlapping spots. These preliminary results confirm the presence of phenolic compounds and are recorded in Figure 6 in the form of chromatogram images, where each letter represents the use or absence of developer.

Similarly, the chromatograms for the ethyl acetate extracts are obtained in Figure 7.
<figure><img src="image_9.png" /><figcaption>Figure 6. Chloroform fractions.</figcaption></figure>

<figure><img src="image_10.png" /><figcaption>Figure 7. Ethyl acetate extracts.</figcaption></figure>

### 3) Observation with the convolution product

After being processed by the various developers, the image was then processed by the convolution product using the Sobel kernel. The latter was used for its sensitivity to the contours of a region but also for its computational speed [14]. The convolution product therefore allowed us to obtain the following images in Figures 8-10.

* For the chloroform fractions.

<figure><img src="image_11.png" /><figcaption>Figure 8. AlCl₃ and KOH extracts treated by convolution.</figcaption></figure>

* For ethyl acetate fractions.

### 3.1.2. Extraction and Processing of Image Parameters

#### 1) Segmentation Method and Visualization of Segmented Images

Image analysis was performed using an algorithm based on pixel color and intensity. This choice led us to use region-based segmentation. This method allows
us to segment grayscale images in order to extract various parameters from them,
as shown in **Figure 11** and **Figure 12**.

<figure><img src="image_12.png" /><figcaption>**Figure 9.** AlCl₃ and AlCl₃ + acetone extracts treated by convolution.</figcaption></figure>

<figure><img src="image_13.png" /><figcaption>**Figure 10.** KOH and developer-free extracts processed by convolution.</figcaption></figure>

<figure><img src="image_14.png" /><figcaption>**Figure 11.** Chloroform fractions (gray level).</figcaption></figure>

<figure><img src="image_15.png" /><figcaption>**Figure 12.** Ethyl acetate fractions (gray level).</figcaption></figure>

The segmented images allowed us to determine the characteristic parameters,
the values of which are listed in **Table 1** and **Table 2**, depending on the fractions
and developers used. In the table, at represents the standard deviation, bt the av-
erage pixel intensity, ct the weighted centroid, and the orientation, S the equidis-
tance and E the entropy.
<table><caption>**Table 1.** Parameter values of the chloroform fraction.</caption><thead><tr><th>Parameter</th><th>at</th><th>bt</th><th>ct</th><th>et</th><th>S</th><th>E</th></tr></thead><tbody><tr><td>AlCl<sub>3</sub></td><td>118.11</td><td>0.6695</td><td>635.8027</td><td>73.1913</td><td>5.2097</td><td>9.2495</td></tr><tr><td>KOH</td><td>112.62</td><td>0.8423</td><td>650.7392</td><td>73.4299</td><td>4.7954</td><td>7.6464</td></tr><tr><td>Without developer</td><td>68.59</td><td>0.7584</td><td>591.5805</td><td>23.5993</td><td>2.4102</td><td>3.2901</td></tr></tbody></table>

<table><caption>**Table 2.** Values of the parameters of the ethyl acetate fraction.</caption><thead><tr><th>Parameter</th><th>at</th><th>bt</th><th>ct</th><th>et</th><th>S</th><th>E</th></tr></thead><tbody><tr><td>AlCl<sub>3</sub> + acetone</td><td>74.13</td><td>0.7546</td><td>330.9494</td><td>17.1366</td><td>4.481</td><td>4.1661</td></tr><tr><td>KOH</td><td>74.28</td><td>0.854</td><td>329.71765</td><td>17.6278</td><td>2.6497</td><td>3.3746</td></tr><tr><td>Without developer</td><td>76.9</td><td>0.929</td><td>281.02295</td><td>20.838</td><td>2.8393</td><td>3.53</td></tr><tr><td>AlCl<sub>3</sub></td><td>73.91</td><td>0.855</td><td>322.9612</td><td>17.6667</td><td>3.288</td><td>3.2206</td></tr></tbody></table>

### 3.1.3. Visualization by Histograms

The extracted parameters allowed us to create band histograms. Each histogram represents a well-defined fraction. Each band represents a parameter, and each group of bands represents a developer. Figure 13 and Figure 14 thus yield a representation of the parameters as a function of the developers.

<figure><img src="image_16.png" /><figcaption>**Figure 13.** Chloroform fraction.</figcaption></figure>

<figure><img src="image_17.png" /><figcaption>**Figure 14.** Ethyl acetate fraction.</figcaption></figure>
From the histograms, we note that the parameters at, bt, ct, and have approximately the same height regardless of the developer used. Analysis of these histograms allows us to conclude that a single developer may be sufficient to identify flavonoids.

### 3.1.4. Statistical Analysis of Parameters

#### 1) Calculation of Mean Parameter Values and Standard Deviation

Mean parameter values were calculated for each fraction. This step provides an overall representation of the behavior of each extract. The mean parameter values reflect the overall trend of the parameters. To do this, we calculated the error on the mean $\sigma_{\bar{x}}$, expressed by formula 13:

$$ \sigma_{\bar{x}} = \frac{s}{\sqrt{n}} \qquad (9) $$

The various results are shown in Table 3 and Table 4. These tables present the mean values of the characteristic parameters of flavonoids according to the fractions.

<table><caption>**Table 3.** Mean parameters (Chloroform).</caption><thead><tr><th>Parameter</th><th>at</th><th>bt</th><th>ct</th><th>et</th><th>S</th><th>E</th></tr></thead><tbody><tr><td>AlCl<sub>3</sub></td><td>118.11</td><td>0.6695</td><td>635.30275</td><td>73.1913</td><td>5.2097</td><td>9.2495</td></tr><tr><td>KOH</td><td>112.62</td><td>0.8423</td><td>650.23925</td><td>73.4299</td><td>4.7954</td><td>7.6464</td></tr><tr><td>Without developer</td><td>68.59</td><td>0.7584</td><td>591.5805</td><td>23.5993</td><td>2.4102</td><td>3.2901</td></tr><tr><td>x̄</td><td>99.7733333</td><td>0.75673333</td><td>626.040833</td><td>56.7401667</td><td>4.13843333</td><td>6.72866667</td></tr><tr><td>σ<sub>x̄</sub></td><td>15.6720051</td><td>0.04989002</td><td>17.7614816</td><td>16.5705765</td><td>0.8723539</td><td>1.78047634</td></tr></tbody></table>

<table><caption>**Table 4.** Parameter means (ethyl acetate).</caption><thead><tr><th>Parameter</th><th>at</th><th>bt</th><th>ct</th><th>et</th><th>S</th><th>E</th></tr></thead><tbody><tr><td>AlCl<sub>3</sub> + acétone</td><td>74.13</td><td>0.7546</td><td>330.9494</td><td>17.1366</td><td>4.481</td><td>4.1661</td></tr><tr><td>KOH</td><td>74.28</td><td>0.854</td><td>329.71765</td><td>17.6278</td><td>2.6497</td><td>3.3746</td></tr><tr><td>Without developer</td><td>76.9</td><td>0.929</td><td>281.02295</td><td>20.838</td><td>2.8393</td><td>3.53</td></tr><tr><td>AlCl<sub>3</sub></td><td>73.91</td><td>0.855</td><td>322.9612</td><td>17.6667</td><td>3.288</td><td>3.2206</td></tr><tr><td>x̄</td><td>74.805</td><td>0.84815</td><td>316.1628</td><td>18.317275</td><td>3.3145</td><td>3.572825</td></tr><tr><td>σ<sub>x̄</sub></td><td>0.70245403</td><td>0.03578811</td><td>11.8441434</td><td>0.84885568</td><td>0.41121756</td><td>0.20759833</td></tr></tbody></table>

The various average parameter values obtained constitute control vectors for flavonoid identification. We created a database from these values.

#### 2) Flavonoid Identification

Figure 15 and Figure 17 present different segmented regions of the chloroform and ethyl acetate fractions, respectively. These regions include secondary metab-
olites to be identified. Regions R1, R2, and R3 in **Figure 15** are the regions to be characterized in the chloroform fraction. Regions R1, R2, and R3 in **Figure 16** are the regions to be characterized in the ethyl acetate fraction.

<figure><img src="image_18.png" /><figcaption>**Figure 15.** Chloroform fraction (test) and its segmented regions.</figcaption></figure>

<figure><img src="image_19.png" /><figcaption>**Figure 16.** Segmented regions in gray level (chloroform extract).</figcaption></figure>

**Figure 17** and **Figure 18** present the binary images resulting from the segmentations of the chloroform and ethyl acetate fraction regions, respectively. The characteristic parameter values are obtained after segmentation and binarization of these regions.

<figure><img src="image_20.png" /><figcaption>**Figure 17.** Ethyl acetate extract and its segmented regions.</figcaption></figure>

<figure><img src="image_21.png" /><figcaption>**Figure 18.** Segmented regions in grayscale (ethyl acetate).</figcaption></figure>
The different parameter values for each fraction constitute characteristic vectors of these regions and the secondary metabolites they contain. These different vectors were used to characterize the regions by calculating the normalized Euclidean distance.

* Calculation of Normalized Euclidean Distances

To identify secondary metabolites in thin layers, we calculated the normalized Euclidean distances of the different vectors obtained. A comparative study was carried out based on the control vectors and the vectors containing the parameters of the regions (spots) to be identified. We chose 0.05 as the normalized Euclidean distance threshold; a value chosen in the work of [15] to demonstrate strong similarity between two elements. Thus, two elements will be identical if the Euclidean distance is less than or equal to 0.05. Table 5 and Table 7 contain the elements of the control vectors and the vectors containing the parameters of the regions to be identified for the chloroform and ethyl acetate fractions, respectively. Table 6 and Table 8 present the values of the normalized Euclidean distances between the control vectors and the vectors containing the parameters of the regions to be identified.

<table><caption>Table 5. Normalized vectors (chloroform).</caption><thead><tr><th>Vectors</th><th>at</th><th>bt</th><th>ct</th><th>et</th><th>S</th><th>E</th></tr></thead><tbody><tr><td>V<sub>t</sub></td><td>99.7733333</td><td>0.75673333</td><td>626.040833</td><td>56.7401667</td><td>4.13843333</td><td>6.72866667</td></tr><tr><td>V<sub>R1</sub></td><td>116.13</td><td>0.4419</td><td>590.7339</td><td>51.4255</td><td>2.3818</td><td>3.198</td></tr><tr><td>V<sub>R2</sub></td><td>138.05</td><td>0.7324</td><td>93.57425</td><td>53.8183</td><td>3.2629</td><td>3.5242</td></tr><tr><td>V<sub>R3</sub></td><td>99.65</td><td>0.7523</td><td>626.12105</td><td>56.7319</td><td>4.1264</td><td>6.7081</td></tr></tbody></table>

<table><caption>Table 6. Normalized Euclidean distance (chloroform).</caption><thead><tr><th>Vectors</th><th>(V<sub>b</sub> V<sub>R1</sub>)</th><th>(V<sub>b</sub> V<sub>R2</sub>)</th><th>(V<sub>b</sub> V<sub>R3</sub>)</th></tr></thead><tbody><tr><td>d<sub>norm</sub></td><td>4.88480437</td><td>4.3225579</td><td>0.04024532</td></tr></tbody></table>

Table 6 presents the normalized Euclidean distance between the control vectors and the vectors of the regions to be characterized for the chloroform fraction. The values of the distances dnorm (V<sub>b</sub> V<sub>R1</sub>) and dnorm (V<sub>b</sub> V<sub>R2</sub>) are greater than the threshold of 0.05. These values indicate that these regions do not contain flavonoids. However, the value of the distance dnorm (V<sub>b</sub> V<sub>R3</sub>) is less than 0.05. This result demonstrates the presence of flavonoids in this region.

<table><caption>Table 7. Normalized vectors (acetate).</caption><thead><tr><th></th><th>at</th><th>bt</th><th>ct</th><th>et</th><th>S</th><th>E</th></tr></thead><tbody><tr><td>V<sub>t</sub></td><td>74.805</td><td>0.8481</td><td>316.1628</td><td>18.317</td><td>3.3145</td><td>3.5728</td></tr><tr><td>V<sub>R1</sub></td><td>73.25</td><td>0.8042</td><td>310.6527</td><td>17.3467</td><td>3.2176</td><td>4.0374</td></tr><tr><td>V<sub>R2</sub></td><td>149.68</td><td>0.8446</td><td>183.61485</td><td>89.638</td><td>12.3589</td><td>5.2353</td></tr><tr><td>V<sub>R3</sub></td><td>74.83</td><td>0.8487</td><td>315.8241</td><td>18.313</td><td>3.4001</td><td>3.573</td></tr></tbody></table>
<table><caption>**Table 8.** Normalized Euclidean distance (ethyl acetate).</caption><thead><tr><th>Vectors</th><th>(V<sub>b</sub>, V<sub>R1</sub>)</th><th>(V<sub>b</sub>, V<sub>R2</sub>)</th><th>(V<sub>b</sub>, V<sub>R3</sub>)</th></tr></thead><tbody><tr><td>d<sub>norm</sub></td><td>2.45303378</td><td>5.23192175</td><td>0.03934469</td></tr></tbody></table>

**Table 8** presents the normalized Euclidean distance between the control vectors and the vectors of the regions to be characterized for the ethyl acetate fraction. The values of the distances dnorm (V<sub>b</sub>, V<sub>R1</sub>) and dnorm (V<sub>b</sub>, V<sub>R2</sub>) are greater than the threshold 0.05. These values show that these regions do not contain flavonoids. On the other hand, the value of the distance dnorm (V<sub>b</sub>, V<sub>R3</sub>) is less than 0.05. This result shows the presence of flavonoids in this region for the ethyl acetate fraction.

## 3.2. Discussions

The characterization of digital images integrating secondary metabolites from thin layers allowed us to highlight flavonoids. Several parameters were calculated, based on which we plotted histograms. These histograms allowed us to conclude that it is possible to characterize the chloroform and ethyl acetate fractions using a single developer.

The results obtained indicate that the R3 regions of the chloroform and ethyl acetate fractions are flavonoids (their Euclidean distances are respectively less than 0.05, indicating a strong correlation between these areas and our controls), which is not the case for the R2 and R1 regions. These results, verified by [16], confirm the reliability of the implemented image segmentation-based method. By relying on measurable parameters such as average pixel intensity or entropy, it eliminates biases related to subjective interpretation. These results confirm the observations of [17] and [18], which highlight the value of automated reading of chromatograms through image analysis. Finally, the very low normalized Euclidean distances (0.04 for chloroform extracts and 0.03 for acetates) demonstrate the strong consistency between our numerical measurements and the results of conventional methods expected, particularly in chemistry, thus validating the robustness of our method.

Conventional analysis methods present several well-known difficulties, including spot overlap and sometimes insufficient resolution; these limitations are even more pronounced when working with complex mixtures. In this context, the work of [19] has shown that manual identification of flavonoids in polyphenol-rich extracts can lead to false positives, particularly due to interference from other compounds present in the extracts. Faced with these shortcomings, our image segmentation approach provides a concrete solution. Using segmentation algorithms based on pixel color and intensity, we were able to accurately isolate chromatographic spots, even in cases where contrast was low. This represents an advancement compared to simple observation with the naked eye.

Despite the generally satisfactory performance of our method, some technical constraints remain and deserve to be taken into account to optimize the results. One of the first limitations concerns the quality of the captured images, particu-
larly with a smartphone (iPhone 12 in our case). Although this device offers good resolution, it sometimes introduces variations in the extracted parameters, as shown by the relatively high standard deviation observed for the mean intensity in the chloroform extracts (at = 15.67). These fluctuations can affect reproducibility, particularly when seeking to establish a stable and reliable database for automated recognition. In parallel, other technical challenges were observed, including the overlap of certain spots on the chromatograms, often linked to imperfect migration or high concentrations. In this case, the algorithm can merge several spots, where the human eye still perceives differences. To overcome this limitation, more advanced approaches, such as active contours (Snakes) or methods derived from deep learning such as [20], would allow better separation of the areas of interest. Finally, the processing of undeveloped extracts has proven to be more complex: the spots are often not very marked and their detection less reliable. The addition of adaptive contrast preprocessing or the use of a more sensitive universal developer would improve the initial detection, particularly for compounds present in trace amounts.

## 4. Conclusion

This work has demonstrated that it is entirely possible to automate the identification of flavonoids on thin films (TLC) through the integration of digital tools such as image segmentation. This approach provides a fast, reliable, and reproducible alternative to traditional manual methods, which are often time-consuming and subject to interpretation. In a context such as that of Côte d'Ivoire, where more and more people are turning to traditional medicine, this solution makes perfect sense. It addresses a concrete need to better supervise the analysis of medicinal plants, using modern tools, without relying on cumbersome infrastructure or expensive resources. The results obtained showed good agreement with traditional visual and chemical observations, while providing significant gains in accuracy and speed. The very low Euclidean distances between the test and control profiles, as well as the increased sensitivity to weakly revealed stains, demonstrate the real potential of this method.

## Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

## References

[1] Kabran (2014) Chemical and Cytotoxic Study of Ten Ivory Coast of Breast Plants, Used in the Traditional Treatment of Breast Cancer.

[2] Chen, S., Wang, X., Cheng, Y., Gao, H. and Chen, X. (2023) A Review of Classification, Biosynthesis, Biological Activities and Potential Applications of Flavonoids. *Molecules*, **28**, Article 4982. https://doi.org/10.3390/molecules28134982

[3] Komsta, Ł. and Kobyłka, M. (2012) Chemometric Approach to Selectivity in TLC with Densitometric Detection. *Journal of Chromatographic Science*, **51**, 400-405. https://doi.org/10.1093/chromsci/bms154
[4] Derivaux, S., Lefèvre, S., Wemmert, C. and Korczak, J.J. (2007) Supervised Image Segmentation Using Watershed Transform, Fuzzy Classification and Evolutionary Computation. *Pattern Recognition Letters*, **31**, 2364-2374.
https://doi.org/10.1016/j.patrec.2010.07.007

[5] Fichou, D., Ristivojević, P. and Morlock, G.E. (2016) Proof-of-Principle of rTLC, an Open-Source Software Developed for Image Evaluation and Multivariate Analysis of Planar Chromatograms. *Analytical Chemistry*, **88**, 12494-12501.
https://doi.org/10.1021/acs.analchem.6b04017

[6] Harborne, J.B. (1998) Phytochemical Methods: A Guide to Modern Techniques of Plant Analysis. 3rd Edition, Springer.

[7] Kumar, S. and Pandey, A.K. (2013) Chemistry and Biological Activities of Flavonoids: An Overview. *The Scientific World Journal*, **2013**, Article 162750.
https://doi.org/10.1155/2013/162750

[8] Minaee, S., Boykov, Y., Porikli, F., Plaza, A., Kehtarnavaz, N. and Terzopoulos, D. (2021) Image Segmentation Using Deep Learning: A Survey. *IEEE Transactions on Pattern Analysis and Machine Intelligence*, **44**, 3523-3542.
https://doi.org/10.1109/TPAMI.2021.3059968

[9] Yu, Y., Wang, C., Fu, Q., Kou, R., Huang, F., Yang, B., et al. (2023) Techniques and Challenges of Image Segmentation: A Review. *Electronics*, **12**, Article 1199.
https://doi.org/10.3390/electronics12051199

[10] Xu, Y., Quan, R., Xu, W., Huang, Y., Chen, X. and Liu, F. (2024) Advances in Medical Image Segmentation: A Comprehensive Review of Traditional, Deep Learning and Hybrid Approaches. *Bioengineering*, **11**, Article 1034.
https://doi.org/10.3390/bioengineering1101034

[11] Hidayat, R. (2021) Generalized Normalized Euclidean Distance Based Fuzzy Soft Set Similarity for Data Classification. *Computer Systems Science and Engineering*, **38**, 119-130.
https://doi.org/10.32604/csse.2021.015628

[12] Aggarwal, C.C. (2015) Data Mining: The Textbook. Springer International Publishing.

[13] Gallo, F.R., Multari, G., Federici, E., Palazzino, G., Giambenedetti, M., Petitto, V., Poli, F. and Nicoletti, M. (2011) Chemical Fingerprinting of *Equisetum arvense* L. Using HPTLC Densitometry and HPLC. *Natural Product Research*, **25**, 1261-1270.
https://doi.org/10.1080/14786419.2011.558015

[14] Bi, T.G.T., Sandjé, M., Oscar, R.G., Ouattara, S. and Clement, A. (2022) A Semi-Vectorial Morphological Segmentation Multi-Component Images of Coumarins on Thin Layer Combined with Laser for Better Separation. *Open Journal of Applied Sciences*, **12**, 1054-1068.
https://doi.org/10.4236/ojapps.2022.126072

[15] Sonka, M., Hlavac, V. and Boyle, R. (2014) Image Processing, Analysis, and Machine Vision. 4th Edition, Cengage Learning.

[16] N'Gaman, K.C.C. (2013) Phytochemical Study and Effect of Extracts of Gmelina Arborea Roxb. (Verbenaceae) from Côte d'Ivoire on the Osmotic Stability of Erythrocytes. Thesis of Doctorate, Nangui Abrogoua University.

[17] Winkel-Shirley, B. (2001) Flavonoid Biosynthesis: A Colorful Model for Genetics, Biochemistry, Cell Biology, and Biotechnology. *Plant Physiology*, **126**, 485-493.
https://doi.org/10.1104/pp.126.2.485

[18] Bi, T.G.T., Vangah, W., Jérôme, A.N., Ouattara, S. and Clement, A. (2022) Image Acquisition and Parameter Calculations for Optimization of the Automatic Identification of Terpenes in a Combined Laser Thin Film Extract. *Advances in Materials Physics and Chemistry*, **12**, 141-154.
https://doi.org/10.4236/ampc.2022.126010

[19] Panche, A.N., Diwan, A.D. and Chandra, S.R. (2016) Flavonoids: An Overview. *Jour-
nal of Nutritional Science, 5, e47. https://doi.org/10.1017/jns.2016.41

[20] Otsu, N. (1979) A Threshold Selection Method from Gray-Level Histograms. *IEEE Transactions on Systems, Man, and Cybernetics, 9*, 62-66.
https://doi.org/10.1109/tsmc.1979.4310076