Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regression

The aim of this work is to evaluate the potential of least squares support vector machine (LS-SVM) regression to develop an efficient method to measure the colour of food materials in L*a*b* units by means of a computer vision systems (CVS). A laboratory CVS, based on colour digital camera (CDC), wa...

Full description

Bibliographic Details
Main Authors: Roberto Romaniello, Alessandro Leone, Giorgio Peri
Format: Article
Language:English
Published: PAGEPress Publications 2015-12-01
Series:Journal of Agricultural Engineering
Subjects:
Online Access:http://www.agroengineering.org/index.php/jae/article/view/482
id doaj-15fadd38014a44038374918134cb8b9b
record_format Article
spelling doaj-15fadd38014a44038374918134cb8b9b2020-11-25T04:00:52ZengPAGEPress PublicationsJournal of Agricultural Engineering1974-70712239-62682015-12-0146413814310.4081/jae.2015.482407Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regressionRoberto Romaniello0Alessandro Leone1Giorgio Peri2Department of the Sciences of Agriculture, Food and Environment, University of FoggiaDepartment of the Sciences of Agriculture, Food and Environment, University of FoggiaDepartment of the Sciences of Agriculture, Food and Environment, University of FoggiaThe aim of this work is to evaluate the potential of least squares support vector machine (LS-SVM) regression to develop an efficient method to measure the colour of food materials in L*a*b* units by means of a computer vision systems (CVS). A laboratory CVS, based on colour digital camera (CDC), was implemented and three LS-SVM models were trained and validated, one for each output variables (L*, a*, and b*) required by this problem, using the RGB signals generated by the CDC as input variables to these models. The colour target-based approach was used to camera characterization and a standard reference target of 242 colour samples was acquired using the CVS and a colorimeter. This data set was split in two sets of equal sizes, for training and validating the LS-SVM models. An effective two-stage grid search process on the parameters space was performed in MATLAB to tune the regularization parameters γ and the kernel parameters σ<sup>2</sup> of the three LS-SVM models. A 3-8-3 multilayer feed-forward neural network (MFNN), according to the research conducted by León <em>et al.</em> (2006), was also trained in order to compare its performance with those of LS-SVM models. The LS-SVM models developed in this research have been shown better generalization capability then the MFNN, allowed to obtain high correlations between L*a*b* data acquired using the colorimeter and the corresponding data obtained by transformation of the RGB data acquired by the CVS. In particular, for the validation set, R<sup>2</sup> values equal to 0.9989, 0.9987, and 0.9994 for L*, a* and b* parameters were obtained. The root mean square error values were 0.6443, 0.3226, and 0.2702 for L*, a*, and b* respectively, and the average of colour differences ΔE<sub>ab</sub> was 0.8232±0.5033 units. Thus, LS-SVM regression seems to be a useful tool to measurement of food colour using a low cost CVS.http://www.agroengineering.org/index.php/jae/article/view/482Food colourCIELab colour spacecolour measurementsdigital camera.
collection DOAJ
language English
format Article
sources DOAJ
author Roberto Romaniello
Alessandro Leone
Giorgio Peri
spellingShingle Roberto Romaniello
Alessandro Leone
Giorgio Peri
Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regression
Journal of Agricultural Engineering
Food colour
CIELab colour space
colour measurements
digital camera.
author_facet Roberto Romaniello
Alessandro Leone
Giorgio Peri
author_sort Roberto Romaniello
title Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regression
title_short Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regression
title_full Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regression
title_fullStr Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regression
title_full_unstemmed Measurement of food colour in L*a*b* units from RGB digital image using least squares support vector machine regression
title_sort measurement of food colour in l*a*b* units from rgb digital image using least squares support vector machine regression
publisher PAGEPress Publications
series Journal of Agricultural Engineering
issn 1974-7071
2239-6268
publishDate 2015-12-01
description The aim of this work is to evaluate the potential of least squares support vector machine (LS-SVM) regression to develop an efficient method to measure the colour of food materials in L*a*b* units by means of a computer vision systems (CVS). A laboratory CVS, based on colour digital camera (CDC), was implemented and three LS-SVM models were trained and validated, one for each output variables (L*, a*, and b*) required by this problem, using the RGB signals generated by the CDC as input variables to these models. The colour target-based approach was used to camera characterization and a standard reference target of 242 colour samples was acquired using the CVS and a colorimeter. This data set was split in two sets of equal sizes, for training and validating the LS-SVM models. An effective two-stage grid search process on the parameters space was performed in MATLAB to tune the regularization parameters γ and the kernel parameters σ<sup>2</sup> of the three LS-SVM models. A 3-8-3 multilayer feed-forward neural network (MFNN), according to the research conducted by León <em>et al.</em> (2006), was also trained in order to compare its performance with those of LS-SVM models. The LS-SVM models developed in this research have been shown better generalization capability then the MFNN, allowed to obtain high correlations between L*a*b* data acquired using the colorimeter and the corresponding data obtained by transformation of the RGB data acquired by the CVS. In particular, for the validation set, R<sup>2</sup> values equal to 0.9989, 0.9987, and 0.9994 for L*, a* and b* parameters were obtained. The root mean square error values were 0.6443, 0.3226, and 0.2702 for L*, a*, and b* respectively, and the average of colour differences ΔE<sub>ab</sub> was 0.8232±0.5033 units. Thus, LS-SVM regression seems to be a useful tool to measurement of food colour using a low cost CVS.
topic Food colour
CIELab colour space
colour measurements
digital camera.
url http://www.agroengineering.org/index.php/jae/article/view/482
work_keys_str_mv AT robertoromaniello measurementoffoodcolourinlabunitsfromrgbdigitalimageusingleastsquaressupportvectormachineregression
AT alessandroleone measurementoffoodcolourinlabunitsfromrgbdigitalimageusingleastsquaressupportvectormachineregression
AT giorgioperi measurementoffoodcolourinlabunitsfromrgbdigitalimageusingleastsquaressupportvectormachineregression
_version_ 1724448775999586304