Automatic content assesment of fresh pork meat using colour image analysis.
Teusdea, Alin Cristian ; Bals, Cristina Adriana ; Mintas, Olimpia Smaranda 等
1. INTRODUCTION
The principal aim of this paper is to find a non-invasive and fast
reasearch method to assess the quality of pork meat from quantitative
and hygienic point of view (Fumiere et et al., 2004). The method must be
proper for industrial application and for aggressive environments. Thus,
the main goal is to identify (i.e. to classify) the fresh pork meat
content for two basic classes: fat and muscle (Tan et al., 2000).
For assessing the content of the fresh pork meat several colour
image analysis researches were done (Del Moral et al., 2007; Hopkins,
D.L et al., 2004; Pipek et al., 2004). As a consequence in many
countries there are standards regarding the industrial use of this
method--but not yet in the author's home country. The
classification process is based on converting the digital scanned fresh
pork meat images in CIE [L.sup.*][a.sup.*][b.sup.*] colour space which
has the advantage of being a linear space.
In this paper the classification process has a training stage to
asses the CIE [L.sup.*][a.sup.*][b.sup.*] chromatic limits for each
class by using the reference class images.
2. BACKGROUND
Digital images are usually coded in RGB (Red Green Blue coordinates) colour space. Each coordinate has the integer number range
between 0 and 255. This colour space is used to capture and transfer the
digital images.
In many industries the CIE [L.sup.*][a.sup.*][b.sup.*] colour space
is used because it is approximately a uniform space. The [L.sup.*]
coordinate denotes the lightness and has a range between 0 and 100. The
zero value for [L.sup.*] represents black and the 100 value for
represents white. Coordinates [a.sup.*] and [b.sup.*] have no specific
numerical limits, and they denote the chromaticity. Positive [a.sup.*]
values denote red and negative [a.sup.*] value denotes green. Positive
[b.sup.*] value denotes yellow and negative [b.sup.*] values denote
blue.
The chromatic plane is organized so that [a.sup.*] and [b.sup.*]
axes have complementary colours at their ends.
The main issue, when one wants to process digital captured images,
is to transform their RGB coding to CIE [L.sup.*][a.sup.*][b.sup.*]
coding (Leon et al., 2005). This transformation is done in two steps.
First the RGB space is transformed in XYZ uniform space and then in CIE
[L.sup.*][a.sup.*][b.sup.*] space. The RGB to CIE
[L.sup.*][a.sup.*][b.sup.*] transformation numerical algorithm is as
follow (Leon et al., 2005)
r = R/255; g = G/255; b = B/255 (1)
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (2)
where
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (3)
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (4)
According the CIE [L.sup.*][a.sup.*][b.sup.*] 1992 model the
constants are a = 0.055and [gamma] = 2.2 (Leon et al., 2005). The
tristimulus point coordinates, ([X.sub.0];[Y.sub.0];[Z.sub.0]), depends
on the illuminating source used to capture the image.
The images coded in CIE [L.sup.*][a.sup.*][b.sup.*] colour space
described above can be compared more accurately.
3. RESULTS AND DISCUSSIONS
In this paper, eight samples of fresh pork meat chops without
bones: steak, gammon, reed and rib were scanned. The optical resolution
of the scanned images is 300 x 300 dpi (i.e. 25.4 mm/300=0.0846 mm x
0.0846 mm of a pixel) and the background used is black. The chops were
scanned on both sides, thus there were 64 scanned images. The
preprocessing step consists in an edge preserving smoothing with the
amount of 3 pixel parameter. This step reduces the effect of
pixelization during the scanning process of the pork meat chops with a
high intensity of specular optical reflection.
The aim of the image colour analysis of fresh pork meat is to asses
an algorithm which discriminates the targeted classes: red meat (i.e.
muscle) and fat.
The numerical discrimination algorithm uses the CIE
[L.sup.*][a.sup.*][b.sup.*] colour space coding. So, the first step is
to calculate the CIE [L.sup.*][a.sup.*][b.sup.*] coordinates of the
scanned images (eqns. 1-4).
The second step is to calibrate the discrimination process for the
targeted classes. In this step the operator selects regions of targeted
classes and determines the CIE [L.sup.*][a.sup.*][b.sup.*] properties
(i.e. numerical limits) of them.
In order to determine the numerical values for the tri-chromatic
limits of the two targeted classes, the 2D histogram of the chromatic
plane (coordinates [a.sup.*] and [b.sup.*]) was calculated. Figure 1
presents the histogram for both classes: red meat (dark mesh color with
light wireframes) and fat (light mesh color with dark wireframes).
[FIGURE 1 OMITTED]
[FIGURE 2 OMITTED]
From this histogram the numerical values of the limits which made
the discrimination (classification) of the targeted classes were
depicted. These limits can be represented by rectangular prisms in 3D
CIE [L.sup.*][a.sup.*][b.sup.*] space (figure 2).
The third step is to classificate of the original scanned pork meat
image into targeted classes (figure 3).
Counting the number of the pork meat pixels that belongs to the
targeted classes and generating the meat content report is the last
step.
4. CONCLUSIONS
In the present paperwork, the percentage content of fresh pork meat
(i.e. red meat and fat) was assessed. This task was done by using the
non-invasive research with colour image analysis technique (NIR-CIA).
The percentage content of the fresh pork meat was generated as a result.
Figure 4 presents the fresh pork meat content report as being the
averaged values. The fat/red meat content of the steak, gammon, reed and
rib pork chops categories, are in the limits prescribed by worldwide
standards (Pipek et al., 2004; Tan et al., 2000). A minimum of 2.5% gap
between the fat/red meat categories can be noticed. This fact reveals a
possible categories discrimination criterium that the NIR-CIA method can
achieve. Furthermore it can be noticed a very large standard deviation
values that the reed and rib pork meat categories present. The main
cause that generates this issue is that the designated fresh pork meat
samples were chopped to close to a different category region. This means
that, from the eight samples of each of these categories, some could be
corrupted.
[FIGURE 3 OMITTED]
[FIGURE 3 OMITTED]
The NIR-CIA method, previously presented, is proved to be very
accurate and fast for revealing the fresh pork meat content that can
generate a quality meat product report. Future work can involve a larger
category sample database in order to generate analysis results with
greater statistical significance.
5. REFERENCES
Del Moral, F.G.; O'Valle, F.; Masseroli, M. & Del Moral,
R.G. (2007). Image analysis for automatic quantification of
intramuscular connective tissue in meat, Journal of Food Engineering,
Vol. 81, 33-41, ISSN 0260-8774.
Fumiere, O.; Veys, P.; Boix, A.; von Holst, C;. Baeten, V. & G.
Berben (2004). Methods of detection, species identification and
quantification of processed animal proteins in feedingstuffs,
Biotechnol. Agron. Soc. Environ., Vol. 13 (S), 59-70, ISSN 1370-6233.
Hopkins, D.L.; Safari, E.; Thompson, J.M & Smith, C.R. (2004).
Video image analysis in the Australian meat industry--precision and
accuracy of predicting lean meat yield in lamb carcasses, Meat Science,
Vol. 67, 269-274, ISSN 0309-1740.
Leon, K.; Mery, D.; Pedreschi, F. & Leon, J. (2005). Color
Measurement in [L.sup.*][a.sup.*][b.sup.*] units from RGB digital
images, Food Research International, Vol. 39, Issue 10, (December 2006),
1084-1091, ISSN 0963-9969.
Pipek, P.; Jelenikova, J. & L. Sarnovsky (2004). The use of
video image analysis for fat content estimation, Czech J. Anim. Sci.,
Vol. 49, No. (3), 115-120, ISSN 1212-1819.
Tan, F. J.; Morgan, M. T.; Ludas, L. I.; Forrest, J. C. &
Gerrard, D. E. (2000). Assessment of fresh pork color with color machine
vision, J. Anim. Sci., Vol. 78, 3078-3085, ISSN 1525-3163.