Reach Us +1-845-458-6882
All submissions of the EM system will be redirected to Online Manuscript Submission System. Authors are requested to submit articles directly to Online Manuscript Submission System of respective journal.

Modeling Grape Leaf Quality using Image Processing Technique

Mohammad Mohammadi Hashemi1*, Omid Bahmani2

1 Department of Water Engineering, Islamic Azad University, Islamshahr, Iran

2 Department of Water Engineering, Bu-Ali Sina University, Hamedan, Iran

*Corresponding Author:
Mohammad Mohammadi Hashemi
Department of Water Engineering,
Islamic Azad University,
[email protected]

Received: 29-Jul-2022, Manuscript No. jfpdt-22-72058; Editor assigned: 03-Aug-2022, Pre QC No. jfpdt-22-72058 (PQ); Reviewed: 17-Aug-2022, QC No. jfpdt-22-72058; Revised: 24-Aug-2022, Manuscript No. jfpdt-22-72058 (A); Published: 31-Aug-2022, DOI: 10.4172/2321-6204.10.4.004

Visit for more related articles at Research & Reviews: Journal of Food and Dairy Technology


With the aim of quality investigation of the grape leaves by using image processing technique, the geometrical characteristics of the grape leaf including its area and perimeter are extracted and numerical value is given based on the defined index. For this purpose, leaves of four grape varieties were collected from different areas of Boroujerd City in Iran and modeling was done according to this research method. By categorizing the results that range between zero and one, two grape varieties have better Quality Index than other varieties and it is suggested as a suitable type for leaf use.


Grape leave; Modeling; Image processing; Quality index


The use of grape leaves as a food has a long history in many countries. Thus, the importance of its quality has been considered by many researchers. In addition to previous studies on grape leave other studies have been performed with physiological subject. One has examined the quality of four types of grape leaves in Sarma (a traditional Turkish dish) preparation. In the research, Hacitesbihi, Agrazaki, Karaerik, and Kabuguyufka varieties were considered and it found that Karaerik variety was better than other ones [1-4].

In a research it was compared 12 different equations to estimate leaf area. The simplest and most accurate of them is LAi=0.587LW with a value of R2=0987. Their research method is using image processing which has been done in globlab software. The variables of the study were maximum width, leaf length, and petiole length and leaf dry weight. In another study it has presented a method based on image processing to determine leaf disease and its classification. The proposed model includes these steps: Image acquisition, Image pre-processing, Image pre-processing, Image segmentation, Feature extraction and Statistical analysis and comparison. They considered three diseases, Black rot, Downy Mildew and Powdery mildew. The research results indicate the efficiency of the model in determining leaf diseases of plants. Grape leaves that have been cooked and salted in a can contain 76% water, 12% carbs, 4% protein, and 2% fat. The leaves are a rich source (20% or more of the Daily Value, DV) of salt (119% DV), vitamin A (105% DV), copper (95% DV), pantothenic acid (43% DV), and a number of other B vitamins and dietary minerals. 100 grammes (3.5 oz) of the leaves provide 69 calories [5-8].

In this research, the physical characteristics of the leaf have been extracted using image processing technique and the leaf surface quality index has been defined for it. This index has the quality of application in the food industry. The overwhelming majority of table grape plantings today are seedless cultivars. Grapevines do not have a problem reproducing because they are vegetative propagated via cuttings. Breeders have a problem because they either have to utilize a seeded variety as the female parent or use tissue culture methods to save embryos that are still in the early stages of development. The seedlessness characteristic has a number of sources, but practically all commercial farmers derive it from one of three sources: Russian Seedless and Thompson Seedless are both Vitis vinifera varieties. Grapes without seeds currently come in more than a dozen different kinds. Several have been specifically cultivated for hardiness and quality in the relatively cold climates of Einset Seedless, Benjamin Gunnels’ Prime seedless grapes, Reliance, and Venus.

Materials and Methods


In this study, grape leaf quality was defined based on the lowest groove and maximum leaf area integrity. So, in general terms, the following equation can be written:


In the above formula, the Initial Quality Index has a unit of (L), leaf area unit of (L2) and leaf perimeter unit of (L). Since the quality index changes as the leaf area increases or decreases, a constant form of the index is needed. Thus, by dividing the index by the index corresponding to the equal circle with the area of the leaf, the dimensionless index is obtained that called Quality Index (QI).


The equation (2) can be written as follows.


The equation (3) can be summarized below.


We know that equation so, equation (4) can be summarized below.


And finally, we will have the simple form of QI Equation as below.


In relation (6), A is leaf area in unit of (L2) and P is leaf perimeter in unit of (L). The QI value is in the range of zero for worst case and one for best case (0<QI ≤ 1).

Image processing

“Image J” image processing software was used to determine the geometric characteristics (area and perimeter) of grape leaves. This software is an open-source model that has many capabilities in the field of image processing. In order to achieve the desired result, the image used in image processing must be of acceptable quality. The photos used in this review were taken and used by a Canon D80 camera. In using Image J Software there must be an index to define the scale. Therefore, a 10 cm marker was used in this study [9,10].

To determine the geometry values of the image, first its need to have a scale. Then converting the image type to 4-bits and specify the boundary of the phenomenon in the image is need. The actual and transformed image of a sample is under investigation (Figures 1 and 2).


Figure 1: Actual picture of grape leaf.


Figure 2: Effect of Concentration of NaXS on de-lignification of dried foliage at 900 rpm, 100°C, 5% w/w leaf loading concentration, 300 min extraction time.

Finally, by selecting the desired range, and performing the analysis, the leaf area and perimeter values are determined. The outputs of Image J software analysis are various. But determination of two parameters of area and perimeter is sufficient in this research.

Results and Discussion

Four grape varieties (a, b, c and d) were studied. The types of grape leaves studied in this research. The types of grapes studied are Ruby Grape, Sour Grape, Sultana Grape (variety 1) and Sultana Grape (variety 2). Each grape variety is unique in terms of the appearance of the leaves, but they are all somewhat similar. The subject of study is the amount of leaf surface integrity and the number of grooves in grape leaf (Figure 3).


Figure 3: Grapes and their leaves.

In each of the grape varieties, 2 samples were selected. Using the Image J software and equation 5, the QI was determined and summarized in accordance with (Table 1).

Grape Pic. Leaf Pic. Pic. No Area (cm2) Perimeter (cm) QI Ave. QI
equation equation 8379 194.876 116.989 0.42 0.39
8380 142.158 116.383 0.36
equation equation 8386 84.898 75.952 0.43 0.36
8388 142.361 150.344 0.28
equation equation 8391 88.779 60.952 0.55 0.57
8392 81.391 54.399 0.59
equation equation 8395 67.386 55.389 0.53 0.57
8397 50.42 40.939 0.61

Table 1. QI Value of four grape leaf types.

According to the equations of this study, the value of the QI can be between zero and one, which is the value of the worst and the best quality subsequently. It can be seen from Table 1 that types 1 and 2 have a lower QI and types 1 and 2 have a higher one. According to the governing equations in the present study, the value of QI depends on the degree of leaf integrity as well as the low grooves. So, types 1 and 2 are more desirable in terms of quality. In the quality rating system of leaves, the QI can be used as a good indicator along with other quantities. It is described as a "three-way grape" because it can be used to make wine, raisins, and table grapes. It serves as the foundation for the type of wine known as "chablis" in the United States. Although this wine bears the name of the French region of Chablis, it is not a genuine Chablis wine. This relative index is the result of dividing the initial index by the circles quality index as well as the leaf area. The initial index is also the result of dividing the leaf area by the amount of leaf perimeter.


In this research, image processing method was used to evaluate the quality of grape leaves and by using geometrical equations an index for numerical presentation of leaf quality was introduced. Using image processing software, an image was taken from the grape leaf surface and geometrical components including grape leaf area and perimeter were determined by defined scale. What makes the application of image processing software imperative is its ability to calculate the geometric properties of irregular shapes. Because without the software, it is not possible to easily calculate these values accurately.

With the geometrical parameters of the grape leaf, the quality of the leaf can be affected by the integrity and absence of grooves in the leaf. In order to properly compare the leaves in terms of quality and in any size and shape, the quality index was defined relative. White wine is also made from the sultana grape, which is renowned for its "sweet blandness" in this application. In order to evaluate the model of this study, 4 types of grapes were studied. These four types are Ruby Grape, Sour Grape, Sultana Grape (variety 1) and Sultana Grape (variety 2), all of which are from different parts of Boroujerd city in Iran. The results showed that two types Sultana Grape (variety 1) and Sultana Grape (variety 2) have better quality than the types of are Ruby Grape and Sour Grape From the results, it can be concluded that the index presented in this study is capable of expressing grape leaf quality.