A Novel Method For Color Determination of Edible Oils in L A B Format
A Novel Method For Color Determination of Edible Oils in L A B Format
Kıvanc¸ Kılıc¸
a
b
A novel method for color determination of
Baran Onal-Ulusoy
˙
Research Paper
oil color is often specified in the trade rules by various wavelengths. The results can be transformed to the
associations in different countries [2]. Lovibond or Wesson color values with a developed
equation. The method is not an alternative for both the
The American Oil Chemists’ Society (AOCS) [3] has pro-
Lovibond and Wesson color methods because of occa-
posed four official methods for the color determination of
fats and oils. These methods are Lovibond color (AOCS sional disagreement, economics, and the firm entrench-
method Cc 13e-92), Wesson color (AOCS method Cc ment of the visual procedure. However, it is still an official
13b-45), spectrophotometer color (AOCS Cc 13c-50) method as well as the only available objective method [1].
and chlorophyll color (AOCS method Cc 13d-55). The
Currently, CIE L*a*b*, XYZ, Hunter Lab, and RGB (Red,
latter method is not applicable to hydrogenated and
Green, Blue) are the alternative color models that might be
deodorized oils because 670 nm, representing the max-
used in objective oil color evaluation. L*a*b* is an
international standard for color measurements, adopted by
˙ the Commission Internationale d’Eclairage (CIE) in 1976 [4].
Correspondence: I smail Hakkı Boyacı, Hacettepe University, The L*a*b* values have been widely used in food studies.
Department of Food Engineering, Beytepe TR 06800, Ankara,
Turkey. Phone: 190 312 2977100, Fax: 190 312 2992123, e- L* is the lightness component ranging from 0 to 100. a*
mail: [email protected] (from green to red) and b* (from blue to yellow) are
two chromatic components ranging from 2120 to 120. common laboratory equipment and uses low-volume
The CIE L*a*b* color is device independent, providing disposable cuvettes in the visible region. An ANN was
consistent color regardless of the input or output device, used for the estimation of L*a*b* values from the absorb-
such as digital cameras, scanners, monitors and printers ance values obtained with the visible spectrophotometer,
[5]. In contrast to other color models such as RGB, XYZ and the performance of the trained network was further
and Hunter Lab, the color perception is uniform in the investigated by testing the size and nature of the input
L*a*b* space, i.e. the Euclidean distance between two matrix of the ANN.
different colors corresponds approximately to the color
perceived by the human eye [6]. Commercial and objec-
tive color measurement instruments measuring the color 2 Materials and methods
with alternative color methods are readily available and
have been used in several studies [7–10], but measure- 2.1 Oil samples
ments with such devices require large amounts of oil
samples (,10–13 mL), which is too much for food re- Refined soybean, corn, cottonseed, hazelnut, sunflower,
searches, and these devices are relatively expensive canola and olive oils, and a sesame oil blend (40%
and use expensive disposable sample cuvettes. sesame and 60% soybean oils), and riviera olive oil, a
blend of virgin and refined olive oils (free fatty acid
Organic molecules can absorb UV/visible light. As a content ,1.5%), and virgin olive oil were purchased from
result of the absorption of light, electronic transitions local markets. The sunflower, refined olive and soybean
occur, leading to a higher energy or excited state of the oils were heated continuously at 180 7C for 8, 8 and 30
mole-cule. Because of the decolorization of the electrons h, respectively, to get oil colors between the color of cot-
along the chromophore, the excited state of the molecule tonseed oil and a sesame oil blend. The 100 oil samples
is of low energy so that absorption of visible light is consisted of nine pure oils, a sesame oil blend, three
enough to give rise to the transition. The human eye heated oils, and binary, ternary, and quaternary mixtures
sees the waves that are left over from the absorption of of these oils (except canola oil) in different ratios, to get
the compounds, and the oil appears colored [10]. more oil samples containing different types and/or levels
of color pigments, were used.
Computerized image analysis systems has been devel-
oped and used successfully to measure the color of the
various solid food samples [8, 9, 11–13]. Fengxia et al. 2.2 Instrumental determination of color
[2] have attempted to develop an objective system to
meas-ure the color of various oils, depending on image The CIE L*a*b* values of the oil samples were measured
analy-ses. The image of the oil samples was captured using a Minolta Spectrophotometer CM-3600d (Minolta
with a scanner and a camera, and it was processed with Camera Co., Japan). The instrument was calibrated with
2 the zero calibration box and the white calibration plate,
soft-ware. A good agreement, R of 0.999, between the
visual Lovibond red color and the image analysis red respectively, and the white calibration plate was used as
color was reported. Since the regulations on oils a target for the calculation of total color difference (DE).
produced in China have limitations only for red readings, The oil samples were put into 13-mL solvent-resistant
the authors report-ed that it is not necessary to correlate cu-vettes (10 mm path length), and the cuvette was
their system to yellow and blue color readings. washed with HPLC grade hexane before each
measurement. The final color score of each oil sample
Recently, knowledge-based approaches such as statis-tical was obtained by averaging the scores of the duplicate
learning, fuzzy logic and artificial neural networks (ANN) measurements. DE values were calculated from the
have been applied successfully to the inspection of food L*a*b* values according to the following equation:
quality, modeling and control of various biological rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
ffiffiffiffiffiffiffiffiffiffi
LL a b
for objective learning [14–16]. The combination of image DE ¼ target þa target þb target
analysis and ANN brings about a powerful tool for machine
vision inspection. ANN have been utilized for classification, 2.3 Absorbance measurement with UV/visible
prediction and segmentation in quality evaluation of food spectrophotometer
products in the recent years [16–18].
Absorbance values of each oil sample were measured in
The objective of this study was to develop a method to the visible region (380–700 nm) with an Agilent 8453 UV-
measure the color of a wide range oil samples in CIE Visible Spectrophotometer (Agilent Technologies, Palo Alto,
L*a*b* format with a visible spectrophotometer, which is a CA, USA) and a disposable polystyrene sample cu-
vette (,3 mL) with a path length of 10 mm. Zero absorb- were used as input variables, and the designed network
ance was set with distilled water as a blank. was trained using training and validation data. The per-
Wavelengths were scanned at room temperature for formance of the trained network was investigated by
each sample in duplicate to check variations. comparison of the L*a*b* values determined with the
Minolta instrument and those estimated with the ANN for the
test samples. However, measuring six absorbance values at
2.4 Data selection six different wavelengths might be difficult with a basic
spectrophotometer. Therefore, training of the net-work using
Absorbance values of selected wavelengths (416, 456, lower numbers of input variables (absorbance values at
483, 537, 611 and 672 nm) and L*a*b* values of each selected wavelengths) were investigated in the second part
sample were collected in Matlab 7.0 structure (The of the study. All the possible combinations of six
Math-works, Natick, MA, USA). Both input (absorbance wavelengths were created and used individually as an input
values) and output (L*a*b* values) data were normalized matrix for training of the network.
using the Matlab function prestd. The means of
normalized data were zero and the standard deviations
of those data were 1. Input data were divided randomly 3 Results and discussion
into three groups: training (50 samples), test (25
samples) and vali-dation (25 samples). Absorbance spectra of nine pure oils, three heated oils and
a sesame oil blend, between 380 and 700 nm, are given in
Fig. 1. Absorption peaks at wavelengths of 416, 456, 483,
2.5 Training and testing the neural network 537, 611 and 672 nm were detected only for the virgin and
riviera olive oils. The absorbance values of the virgin olive
Feedforward neural network was used in this study. The oil at these six wavelengths were higher than the values for
network consists of an input matrix, hidden and output the riviera olive oil. This is not surprising because only the
layers. The hidden and output layers consisted of six and virgin olive oil part of riviera olive oil is not bleached, so it
three neurons, respectively. Logsig and Purelin were preserves its color pigments more than the refined oils. No
chosen as transfer functions for the hidden and output absorbance peaks were detected in the visible region for the
layers, respectively. The Levenberg-Marquardt back- pure oils, including refined olive oil. This is related mainly to
propagation (trainlm) training algorithm with early stop-ping the reduction of the color pigment concentration of edible
method was used for training of the network. In the first part oils during the bleaching process with activated earth.
of the study, six absorbance values, measured at six Absorbance peaks between 380 and 440 nm were detected
different wavelengths selected in a previous section, only for the three heated
oils and the sesame oil blend. These peaks may be Absorbance values at six wavelengths for 50 randomly
relat-ed to colored oxidation products occurring during selected oil samples were used for training the network.
heating of these three oils and during roasting of the The performance of the trained network was investigated
sesame seeds. The absorption peaks detected at 416, by comparison of the measured L*a*b*DE values with
456 and 483 nm mainly belong to isomers of carotene or the estimated L*a*b*DE color values. The relationship
chloro-phyll, because isomers of carotene and some be-tween the L*a*b*DE values measured using the
isomers of chlorophyll have been reported to have Minolta instrument (instrumental L*a*b*DE) and those
absorption peaks at 400–480 and 430–466 nm, estimated by ANN for the training data set is shown in
2
respectively [10, 19]. Since flavonoids and some isomers Fig. 2. The correlation coefficients (R ) between the two
of chlorophyll pigments have been reported to have systems were 0.995, 0.994, 0.997 and 0.996 for L*, a*,
absorption peaks at 500–550 and 670 nm, respectively, b* and DE, respectively. The plots of the instrumental
the absorption peaks at 537 and 672 nm strongly L*a*b*DE vs. the L*a*b*DE estimated with the trained
indicate the presence of color pig-ments and phenolic ANN were linear, having slopes close to unity.
compounds [1, 3, 20, 21]. Although there was no
information found on what kind of a com-pound might The trained network was validated with the absorbance
have an absorption maximum at 611 nm, Paul and Mittal values of 25 oil samples, the second data group. The
[22] have reported that major degradation products results obtained from the ANN were compared with
might have absorption peaks between 550 and 695 nm. those measured with the instrument. Strong correlations
Fig. 2. Experimentally determined L*a*b*DE values vs. estimated L*a*b*DE values for training data.
between the instrumental L*a*b*DE and the L*a*b*DE and DE, respectively. These results indicate that the
estimated with the ANN were found, with correlation ANN successfully estimated the L*a*b* values using
coefficients of 0.986, 0.980, 0.995 and 0.991 for L*, a*, b* absorbance values measured at six wavelengths.
and DE, respectively (Fig. 3). The plots of the instrumental
L*a*b*DE vs. the L*a*b*DE estimated with the ANN were Absorbance measurements at six wavelengths for one
linear and had slopes between 0.966 and 0.988. sample may be time consuming, unless a spectro-
photometer with a diode array detector is used. Chem-
The performance of the trained and validated network was ical compounds may give more than one absorption
further tested with the last group of data collected from 25 peak at different wavelengths. Measurement of absorb-
oil samples having different color intensities. The results of ance at one wavelength may give information about the
the ANN were compared with those obtained from the absorbance values at the other wavelengths. In the
2
instrument (Tab. 1). R values between the instrumental second part of the study, the possibility to train the same
L*a*b*DE and the L*a*b*DE estimated with the ANN were network using a lower number of absorbance values was
determined as 0.989, 0.984, 0.996 and 0.992 for L*, a*, b* investigated. The effect of the number of the
Fig. 3. Experimentally determined L*a*b*DE values vs. estimated L*a*b*DE values for validation data.
§
Tab. 1. Comparison of instrumental and ANN-estimated color measurements for various oil samples .
Tab. 2. Effect of number and combination of the wavelengths used for training of the ANN on the estimation capability of
the network for the test samples.
2
Number Number of Wavelength combination for Average of correlation coefficients (R )
2
of input wavelength which the highest R value was for test samples
variables combinations determined [nm] §
L* a* b* Average
6!
1 6!ð6 6Þ! ¼ 1 416, 456, 483, 537, 611 and 672 0.993 0.990 0.996 0.993
6!
2 5!ð6 5Þ! ¼ 6 456, 483, 537, 611 and 672 0.993 0.988 0.993 0.991
6!
3 4!ð6 4Þ! ¼ 15 456, 537, 611 and 672 0.994 0.988 0.992 0.991
6!
4 3!ð6 3Þ! ¼ 20 483, 537 and 611 0.994 0.989 0.992 0.992
6!
5 2!ð6 2Þ! ¼ 15 483 and 537 0.993 0.980 0.992 0.988
6!
6 1!ð6 1Þ! ¼ 6 537 0.976 0.959 0.986 0.974
§
Average of correlation coefficients of L*a*b* used for the selection of the best wavelength combinations.
www.ejlst.com
Eur. J. Lipid Sci. Technol. 109 (2007) 157–164A new method for color determination of edible oils in L*a*b* format 163
[13] D. W. Hatcher, S. J. Symons, U. Manivannan: olive fruit on the chlorophyll and carotenoid fractions of the
Developments in the use of image analysis for the drupes and virgin olive oils from Arbequina and Farga culti-
assessment of oriental noodle appearance and color. J vars. Food Chem. 2007, 100, 748–755.
Food Eng. 2004, 61, 109– 117.
[14] W. Lou, S. Nakai: Application of artificial neural networks for [20] A. N. Vinha, F. Ferreres, B. M. Silva, P. Valentio, A. Gon-
çalves, J. A. Pereira, M. B. Oliveira, R. M. Seabra, P. B.
predicting the thermal inactivation of bacteria: A combined
Andrade: Phenolic profiles of Portuguese olive fruits (Olea
effect of temperature, pH and water activity. Food Res Int.
europaea L.): Influences of cultivar and geographical
2001, 34, 573–579.
origin. Food Chem. 2005, 89, 561–568.
[15] C. J. Du, D. W. Sun: Recent developments in the applica-
tions of image processing techniques for food quality eval- [21] A. N. Merzlyak, A. E. Solovchenko, A. A. Gitelson: Reflec-
uation. Trends Food Sci Technol. 2004, 15, 230–249. tance spectral features and non-destructive estimation of
˙ chlorophyll, carotenoid and anthocyanin content in apple
[16] D. Bas¸ , F. C. Dudak, I . H. Boyacı: Modeling and optimization.
III. Reaction rate estimation using artificial neural network fruit. Post Harvest Biol Chem. 2003, 27, 197–211.
(ANN) without a kinetic model. J Food Eng. 2007, 79, 622–
628. [22] S. Paul, G. S. Mittal: Dynamics of fat/oil degradation during
˙ frying based on optical properties. J Food Eng. 1996, 30,
[17] K. Kılıç, I . H. Boyacı, H. Köksel, I. Küsmenog˘lu: A classifica- 389–403.
tion system for beans using computer vision system and
artificial neural networks. J Food Eng. 2007, 78, 897–904. [23] S¸ . Aktug˘ Gönül: Dig˘er gıdalarda mikrobiyolojik bozulmalar,
[18] F. Pedreschi, J. Leon, D. Mery, P. Moyano: Development patojen mikrorganizmalar ve muhafaza yöntemleri. In:
of a computer vision system to measure the color of potato Gıda Mikrobiyolojisi. Eds. A. Ünlütürk, F. Turantas¸ , Mengi
chips. Food Res Int. 2006, 39, 1092–1098. ˙
Tan Basımevi, I zmir (Turkey) 1999, pp. 403–423.
[19] M. N. Criado, M. J. Motilva, M. Goni, M. P. Romero: Com-
parative study of the effect of the maturation process of the [Received: September 29, 2006; accepted: December 5, 2006]