Recent Advances and Applications of Hyperspectral Imaging for Fruit and Vegetable Quality Assessment
Summary (5 min read)
1. Introduction
- Most of these factors have traditionally been assessed by visual inspection or destructive sampling performed by trained operators, but currently many of them, particularly the external ones, can be estimated with commercial vision systems (Cubero et al., 2011).
- A multispectral vision system developed by Kleynen et al. (2005) included four wavelength bands in the visible/NIR range for sorting apples cv. Jonagold based on the presence of defects.
- This work was later enhanced by extracting several features from defective skins with the aim of classifying the fruit in different categories (Unay et al., 2011).
- Beyond multispectral imaging, the use of hyperspectral sensors makes it possible to conduct a more sophisticated analysis of the scene by acquiring a set of images corresponding to particular wavelengths, normally in the visible and NIR part of the electromagnetic spectrum.
2. Technologies for hyperspectral image acquisition
- The essential elements for constructing hyperspectral imaging systems include light sources, wavelength selection devices, and area detectors (Sun, 2010).
- Depending on the technology used, the selection of the wavelengths can be performed by dispersing the incident radiation into its individual wavelength or blocking the radiation in such a way that only the desired wavelength reaches the detector.
- The most frequently used are usually imaging spectrographs, liquid crystal tunable filters (LCTF) and, to a lesser extent, acousto-optic tunable filters (AOTF).
- There are also other kinds of equipment that have been developed for the acquisition of reflectance hyperspectral images (Kim et al., 2001).
2.1. Liquid crystal tunable filters
- An LCTF is a solid-state instrument that uses electronically controlled liquid crystal cells to transmit light with a selectable wavelength, while excluding all others.
- The LCTF is based on Lyot filters, which are built from a series of optical stages, each consisting of a combination of a birefringent retarder (an optical property of a material that causes the polarisations of light to travel at different speeds) and a liquid crystal layer sandwiched between two parallel polarisers.
- Typically, it takes tens of milliseconds to switch from one wavelength to another, which is far longer than the response time of the AOTF.
- The main characteristics included two liquid crystal filters, with spectral ranges of 400 nm to 720 nm, and 650 nm to 1100 nm respectively.
- Spectral images from Red Delicious and Golden Delicious apples were acquired from 650 to 1000 nm in increments of 10 nm. Gómez-Sanchis et al. (2008a) studied the feasibility of an LCTF hyperspectral system for detecting decay in citrus fruits in the early stages of infection using halogen lighting instead of the traditional inspection using UV lighting.
2.2. Acousto-optic tunable filters
- In recent years, technology based on AOTF has grown, thereby providing an alternative to LCTF and to imaging spectrographs (Vila et al., 2005), and its use is starting to be introduced for optimising agricultural and chemical processes (Bei et al., 2004).
- Jiménez et al. (2008) used an AOTF to obtain the spectrum of olive oil from inside a horizontal centrifugal decanter.
- The acoustic waves change the refractive index of the crystal by compressing and relaxing the crystal lattice.
- Therefore, the wavelength of the diffracted beam is controlled by changing the frequency of the RF source (Vila-Francés et al., 2011).
- Since AOTF is an advanced electronically tunable filter, it includes important features similar to those to be found in LCTF, such as accessibility to random wavelengths, flexible controllability, high spectral resolution, fast wavelength switching, wide spectral range, narrow bandwidth, and a relatively large optical aperture.
2.3. Imaging spectrographs
- An imaging spectrograph is an optical device that is capable of dispersing incident broadband light into different wavelengths instantaneously on an area detector (e.g. a CCD detector).
- The light from a scanning line is dispersed into different wavelengths and they are projected onto the area detector, creating a special twodimensional image: one dimension represents spatial information and the other the spectral dimension.
- Therefore, it is not possible to acquire an entire image without properly synchronising the image acquisition with the movement of the object.
- Some examples where this technology is well described include ElMasry et al. (2008), where a hyperspectral imaging system based on a spectrograph was used in the spectral region between 400 and 1000 nm for early detection of bruises on different background colours of apples cv. McIntosh.
- Polder et al. (2003) used an imaging spectrograph (393-710 nm) to estimate lycopene and chlorophyll contents, which play a role in the ripening of tomatoes.
3. Most commonly used statistical techniques
- Having a large number of bands is of great interest but also increases the complexity of the analysis of the information.
- This technique is widely used in hyperspectral imaging, as it is considered a powerful and robust tool for obtaining an overview of such complex data and for reducing the large dimension of the data provided by the hyperspectral images.
- The study showed that both methods gave very similar results for the detection of disease, fungal contamination, bruises and soil contamination on apples.
- The PCA technique has been widely applied for data reduction.
- Later, Xing et al. (2007a) used PCA in the same spectral region to reduce the number of bands for separating stem-end/calyx regions from true bruises on apples cv. Golden Delicious and cv. Jonagold.
3.2. Partial least squares
- PLS regression is an unsupervised statistical method used when not only a data array coming from X data is available, but also a Y array that the authors want to predict from their X data.
- Moreover, PLS analysis is related to PCA.
- PLS models were developed between the average reflectance spectra and the measured quality parameters in order to predict quality parameters.
- In order to study ripening in tomatoes, Polder et al. (2004) analysed concentrations of different compounds using HPLC and by analysing spectral images using PLS regression at the pixel level and at the tomato level.
- It was found that the PLS-DA models that were developed were capable of satisfactorily identifying undamaged regions, casing soil and enzymatically damaged areas on mushrooms from the validation sets.
3.3. Linear discriminant analysis
- Discriminant analysis is a statistical technique for classifying objects into mutually exclusive groups based on a set of measurable features of the objects, which in the case of hyperspectral images are normally spectral features.
- This supervised method is focused on maximizing the ratio of the variance between groups and variance within groups (Jobson, 1992).
- The discriminant functions from LDA were able to separate the pixels and classify the objects as tuber or clod under wet and dry conditions with higher rates than with just colour information.
- The hyperspectral images analysed using LDA also offered better results than the traditional RGB systems.
- The reasonably low misclassification rates obtained for classification of undamaged mushrooms and mushrooms just after thawing highlights the high potential of hyperspectral imaging combined with PCA to reduce the original data dimensional space and LDA for the early identification of mushrooms subjected to freeze damage.
3.4. Artificial neural networks
- An ANN is a non-linear statistical data-modelling tool that attempts to mimic the fault-tolerance and capacity to learn of biological neural systems by modelling the low-level structure of the brain.
- The most popular ANN is the multilayer perceptron (MLP), which is a feedforward ANN model that maps sets of input data onto a set of appropriate outputs, and consists of multiple layers of nodes on a directed graph that is fully connected from one layer to the next.
- ANN is a commonly used pattern recognition tool in hyperspectral image processing because of the fact that it is capable of handling a large amount of heterogeneous data with considerable flexibility and due to its non-linear property (Plaza et al., 2009).
- A combination of PCA and ANN was also used by Bennedsen et al. (2007) to detect surface defects on apples cv. Golden Delicious.
- Each set consisted of two categories based on the arrangement of the images: ‘vertical’ and ‘horizontal’.
4. Dimensionality reduction and selection of spectral features
- With a spectral resolution of about 5 nm, a system working between 400 and 1000 nm could acquire about 120 images , which normally contain redundant information or may exhibit a high degree of correlation.
- Methods for reducing the dimensionality can be divided into feature selection and feature extraction.
- PLS and stepwise discriminant analysis were used to reduce data dimensionality and to select the effective wavelengths.
- The images at the selected wavelengths were averaged, thereby creating a new image that was the basis for bruise area identification using a multilevel adaptive thresholding method.
- A different approach was taken by Ariana and Lu (2010), who used hyperspectral imaging under the transmittance mode to select important wavebands that can be used in a further development of an in-line inspection system to detect internal defects in pickling cucumbers and whole pickles.
5. Estimation of fruit quality
- Hyperspectral imaging has recently emerged as a powerful inspection tool for quality assessment of fruits and vegetables.
- The quality of a piece of fruit or vegetable is defined by several attributes that determine its marketability and shelf life.
- Quality assessment is therefore one of the most important goals of the highly competitive food industry.
- Even though such techniques offer important advantages like real-time operation, lower cost or simulation of human processes, they also have some limitations, the main one being the fact that the human eye is restricted to the visible part of the electromagnetic spectrum and misses important information that is outside these limits.
- Therefore, to expand quality inspection beyond human limitations, it is necessary to employ instrumental measurements such as hyperspectral imaging (Sun, 2010).
5.1. Estimation of external quality parameters
- Detection of skin defects is one of the most widesprad uses of hyperspectral imaging in the inspection of fruits and vegetables, since the perceived quality is highly associated with a good appearance of the product.
- The contour plots for the first PC score images were used to distinguish between sound apples and bruised apples, the result being a classification rate for sound apples of 84.6% and 77.5% for bruised apples.
- Other works have also demonstrated the value of hyperspectral imaging for the detection of skin defects and damage in other species of fruits like citrus fruits.
- Both simple band ratio algorithms and PCA were tested to discriminate good cucumber skins from those of chilling-injured cucumbers.
5.2. Estimation of internal quality parameters
- Hyperspectral imaging has also been widely used (mostly n apples) to measure internal quality attributes of fruits, such as sugar or SSC, flesh and skin colour, firmness, acidity and starch index, and so forth.
- These results indicated that while LD parameters at single wavelengths were related to fruit firmness, they were insufficient for accurate prediction of fruit firmness.
- The fluorescence and reflectance models both yielded poorer prediction results for TA.
- The starch index was also employed by Nguyen Do Trong et al. (2011) to estimate the optimal cooking time of potatoes.
- Hyperspectral imaging has also been used for determining the internal quality of other fruits and vegetables, apart from apples.
6. Future trends
- The price of the equipment is constantly decreasing, while the technology allows more accurate imaging systems to be developed that are capable of going further into the electromagnetic spectrum.
- This would enable researchers to create new applications oriented towards the non-destructive estimation of internal compounds related with the organoleptic quality or shelf life of the products.
- There are still two challenges to be overcome using this technology.
- In these cases, for example, different studies can obtain different sets of wavelengths for similar applications.
7. Conclusions
- This paper has summarised the current state of the ar on the application of hyperspectral imaging for fruit and vegetable inspection.
- Most of works deal with statistical techniques to reduce the dimensionality of the problem, being the most used based on ANN, PCA, PLS or LDA.
- Many current works try to provide the industry with important practical solutions.
- Very few of them investigate the physical-chemical and biological phenomena that are evidenced in the images.
- In general, this is a technology whose use is beginning to extend to inspect the external and internal quality of many horticultural products, mainly because of the constant price reduction of the components and the increment in computation capacity of modern computers.
Did you find this useful? Give us your feedback
Citations
461 citations
Cites background or methods from "Recent Advances and Applications of..."
...Multispectral/hyperspectral imaging has been applied to determine the levels of maturity of peach and tomato (Herrero-Langreo, Lunadei, Lleó, Diezma, & Ruiz-Altisent, 2011; Lorente et al., 2012)....
[...]
...Several reviews and books on application of hyperspectral imaging in food quality assessment have already been published in the last years (Gowen, O'Donnell, Cullen, Downey, & Frias, 2007; Lorente et al., 2012; Nicolai et al., 2007; Sun, 2010)....
[...]
...…researches on using hyperspectral imaging for the determination of lycopene, lutein,β-carotene, chlorophyll-a, and chlorophyll-b concentrations during the ripening of tomatoes, which is a complex process including the breakdown of chlorophyll and build-up of carotenes (Lorente et al., 2012)....
[...]
...…using the hyperspectral imaging systems with the scatter mode for fruits such as apple, kiwifruit, melon, banana, strawberries, blueberries, pear, and grapes (Baiano, Terracone, Peri, & Romaniello, 2012; Cen et al., 2012; Leiva-Valenzuela et al., 2012; Lorente et al., 2012; Nicolai et al., 2007)....
[...]
...Hyperspectral imaging has been used for detection of surface defects of apple, cherry, and citrus (Lorente et al., 2012; Nicolai et al., 2007) and internal defect of cucumber (Ariana & Lu, 2010a)....
[...]
351 citations
319 citations
Cites background from "Recent Advances and Applications of..."
...The most common computer vision system for external quality inspection is traditional computer vision system which is based on RGB color video cameras that imitate the vision of the human eyes by capturing images using three filters centered at red (R), green (G) and blue (B) wavelengths (Lorente et al., 2012)....
[...]
...Hyperspectral and multispectral computer vision systems provide powerful tools not only to detect skin defects but also to differentiate between a variety of defects that have similar color and texture or even to detect some defects that are not clearly visible (Lorente et al., 2012)....
[...]
...As the human eyes are sensitive to the primary colors — red, green and blue, the traditional computer vision system is normally based on RGB color cameras that imitate the vision of the human eyes by capturing images using three filters centered at red, green and blue (RGB) wavelengths (Lorente et al., 2012)....
[...]
289 citations
Cites methods from "Recent Advances and Applications of..."
...The technique has drawn tremendous interest from both academic and industrial areas, and has been developed rapidly during the past decade (Gowen et al., 2007; Sun, 2010; Lorente et al., 2012)....
[...]
269 citations
References
14,773 citations
14,509 citations
"Recent Advances and Applications of..." refers background in this paper
...Guyon and Elisseeff (2003) summarised the main benefits of variable selection as improving the inference performance, providing faster and cost-effective predictors, and better understanding of the underlying process that generates the data....
[...]
14,009 citations
"Recent Advances and Applications of..." refers methods in this paper
...This technique is related to ANOVA and regression analysis, which also attempt to express one dependent variable as a linear combination of other features or measurements (Fisher 1936; McLachlan 2004)....
[...]
[...]
3,102 citations
3,017 citations
Related Papers (5)
Frequently Asked Questions (17)
Q2. What future works have the authors mentioned in the paper "Recent advances in hyperspectral imaging for fruit and vegetable quality assessment" ?
The future of hyperspectral systems applied to food inspection is promising, since both the industry and consumers are becoming increasing aware of need to ensure the quality and safety of food, and this technology is an important tool for the automatic inspection and monitoring of these parameters. The price of the equipment is constantly decreasing, while the technology allows more accurate imaging systems to be developed that are capable of going further into the electromagnetic spectrum. The partial solution is to search for a small set of important wavelengths that can be used to deal with each problem individually but which sometimes miss important information or limit the potential scope of the final application.
Q3. What are the essential elements for constructing hyperspectral imaging systems?
The essential elements for constructing hyperspectral imaging systems include light sources, wavelength selection devices, and area detectors (Sun, 2010).
Q4. What was used to study the changes in reflectance of avocados?
Hyperspectral reflectance imaging was used by Karimi et al. (2009) to study the changes in reflectance (350-2500 nm) of avocados coated with different formulations.
Q5. What is the common use of spectral imaging in the inspection of fruits and vegetables?
Detection of skin defects is one of the most widespread uses of hyperspectral imaging in the inspection of fruits and vegetables, since the perceived quality is highly associated with a good appearance of the product.
Q6. How many varieties of apples were used to test the combined performance of the segmentation routines?
Apples of eight varieties were used to test the combined performance of the segmentation routines, with a success rate ranging from 78% to 92%.
Q7. How many wavelengths were found that could be used to detect bruises in apples?
Three wavelengths in the NIR region (750, 820, 960 nm) were found that could potentially be implemented in multispectral imaging systems for the detection of bruises in this cultivar of apples.
Q8. How many wavelengths were required to predict the maturity of banana fruits?
Eight wavelengths were required to predict the maturity stages of banana fruits representing the quality attribute in terms of the features that were studied.
Q9. Why did the algorithm adapt to the large variability of intensities and shapes of the image regions?
Due to the unsupervised nature of the procedure, it could adapt itself to the large variability of intensities and shapes of the image regions.
Q10. What is the method for detecting surface defects in apple inspection systems?
Results showed that among many classification and thresholding-based methods, MLP was the most promising for segmenting surface defects in high-speed machine vision-based apple inspection systems.
Q11. What is the way to assess the internal quality of apples?
Other applications of hyperspectral imaging systems to the assessment of the internal quality of apples have been cited in recent literature, such as chilling injury detection.
Q12. How did Polder et al. (2004) study ripening in tomatoes?
In order to study ripening in tomatoes, Polder et al. (2004) analysed concentrations of different compounds using HPLC and by analysing spectral images using PLS regression at the pixel level and at the tomato level.
Q13. How many spectral ranges were used to determine the sugar content of apples?
On applying the PLS method to the spectral profiles of the fruits, it was found that the optimal spectral range for sugar content was 704-805 nm.
Q14. What are the attributes of a fruit that can influence the decision to eat it?
Such attributes include its ripeness, size, weight, shape, colour, the presence of blemishes and disease, the presence or absence of fruit stems, the presence of seeds, and so on, as well as a series of internal properties like sweetness, acidity, texture, hardness, etc. that can influence the consumer’s decision as to whether to repeat the consumption of a particular fruit or not.
Q15. What are the common techniques used to reduce the dimensionality of the problem?
Most of works deal with statistical techniques to reduce the dimensionality of the problem, being the most used based on ANN, PCA, PLS or LDA.
Q16. How was the accuracy of the classification of aflatoxin-contaminated hazelnuts?
The algorithm classified the flakes into aflatoxin-contaminated and uncontaminated classes with a 79.2% accuracy rate, so that the level of aflatoxin in the test set was decreased from 38.26 ppb to 22.85 by removal of the ones that were classified as contaminated.
Q17. What was the method for comparing LD parameters to fruit firmness?
In addition, for each wavelength, a multi-linear regression analysis was attempted between firmness and LD parameters for both cultivars.