Next Article in Journal
Physicochemical Properties and Protein Denaturation of Pork Longissimus Dorsi Muscle Subjected to Six Microwave-Based Thawing Methods
Previous Article in Journal
Some Key Factors Affecting Consumers’ Intentions to Purchase Functional Foods: A Case Study of Functional Yogurts in Vietnam
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Digital Image Filtering Optimization Supporting Iberian Ham Quality Prediction

by
Francisco Perán-Sánchez
1,
Salud Serrano
1,*,
Eduardo Gutiérrez de Ravé
2,
Elena Sánchez-López
2,
Ana Cumplido
1 and
Francisco J. Jiménez-Hornero
2
1
Department of Food Hygiene and Technology, University of Córdoba, Campus Rabanales, Edif. Darwin, Anexo, 14071 Cordoba, Spain
2
Department of Graphic Engineering and Geomatics, University of Córdoba, Campus Rabanales, Edif. Mendel, 14071 Córdoba, Spain
*
Author to whom correspondence should be addressed.
Foods 2020, 9(1), 25; https://doi.org/10.3390/foods9010025
Submission received: 25 November 2019 / Revised: 19 December 2019 / Accepted: 21 December 2019 / Published: 25 December 2019

Abstract

:
Digital images of food for later analysis tend to be heterogeneous in terms of color and luminosity. Improving these images by using filters is necessary and crucial before further processing. This paper compares the non-use of filters and the use of high-pass filters in the images of hand-cut Iberian ham that will be used in a multifractal analysis for the study of fat and its infiltration. The yielded results show that with the use of a high-pass filter, more accurate fractal dimensions were obtained, which can be featured in predictive techniques of Iberian ham quality.

1. Introduction

The Iberian pig is a Spanish breed of great economic importance that is raised under different rearing systems. The dry-cured ham from this Iberian pig is classified in different categories, such as acorn or feed, depending on the feeding regimen that is provided. The main contributors to the quality characteristic and intense flavour of this product are the (i) meat quality, (ii) rearing system, mainly during the final fattening period, called “montanera”, during which the pigs are fed with pasture and acorns from the Quercus genus, the predominant species in the “Dehesa” (Mediterranean silvopastoral system), (iii) age of animals, (iv) pig genotype, and (v) conditions of the ripening process [1].
Acorn-fed ham comes from Iberian pigs raised on free-range farms with a diet of acorns and grass, while feed-fed ham comes from pigs raised on confined farms and fed with concentrated feed. It is regulated by the Spanish government (Royal Decree 4/2014) [2].
Particularly, pure Iberian pigs reared outdoor and fed on “montanera” provide the highest sensory quality and are the most highly appreciated by consumers [3]; therefore, their prices are consistently higher than those of other dry-cured meat products. Furthermore, Diaz-Caro et al. [4] stated that this type of feed is the most preferred attribute by consumers, in line with the sensory analysis.
Intramuscular fat (IMF), recognized by the consumer as marbling, is the most important characteristic for the Iberian ham quality. Marbling is a visual attribute of meat that affects the acceptability and palatability and that is defined as the amount and spatial distribution of the visible fat within the muscle [5]. Marbling can be assessed visually, or measured using image analysis, while chemical analyses are unable to supply the information on the spatial distribution and characteristics of streaks of fat [6].
Image analysis has numerous applications to the food industry, such as classifying pork hams, evaluating the quality of cold meat, assessing the tenderness of beef carcasses, controlling the freshness of gilthead sea bream based on gill and eye color changes, and automatic fishbone detection [7,8,9,10,11,12]. Visible image analysis is one of the most accessible techniques, from which many studies have offered successful results in diverse research areas on versatility and reduced cost possibilities.
The general procedure in most of these studies comprises three main steps: image acquisition, image analysis, and data analysis. Image acquisition requires the scrupulous design of the image capturing system and careful operation to obtain high-quality digital images. Image analysis includes numerous algorithms and methods available for classification and measurement. The automatic colour measurement using computer vision has the advantages of a superior speed, consistency, accuracy, and cost-effectiveness, and therefore, not only can it optimize the quality inspection, it also helps in reducing human inconsistency and subjectiveness [13].
Filtering is often considered as a prerequisite to many image analyses tasks. Digital image filtering refers to the modification of the pixels in an image based on some function of its neighboring pixels [14]. By adjusting the radius of the analyzed pixels according to the pixel on which the filtering is done, different results will be obtained.
Filtering can be carried out on the frequency and/or space domains. If it is about the frequency domains, they amplify or attenuate certain frequency components in an image. If the filter attenuates certain high frequencies of an image, it is commonly known as a low-pass filter. These filters provide smoothness to an image by suppressing high-frequency components. In contrast, high-pass filters suppress the low-frequency components of an image by enhancing its edges [14].
It has been shown that high-pass filters are good homomorphic filters for image enhancement [15]. The Gaussian filter is widely used in various fields such as medical X-ray images [16,17,18] and aquatic images [19].
Image analysis has recently been associated with fractal analysis, that is, a group of calculated algorithms used to study and characterize highly complex systems with chaotic structures to detect measurable patterns that can offer valuable information from a given sample [20]. The extraction of textural information from images is very common for exploring parameters related to food quality. The fractal concept studies the degree of self-similarity found in a structure at all scales. Mainly, the use of fractals allows the identification of recurring patterns. In recent years, there has been growing interest in the use of fractal analysis techniques [21]. Some examples are the characterization of fatty infiltration in Iberian and white pork sirloins, color changes on the surface of fresh cut meat, evaluations of the effects of frozen storage on the tilapia microstructure [22,23,24], quality of meat [25], crystallizing food systems [26], attributes of pork loin [21], and characterization of the pork and salmon composition [20].
The combination of digital food image analysis (DFIA) and predictive techniques to assess meat quality is arousing interest [27] because it offers some advantages over the sensory analysis, such as being non-destructive, less time-consuming, and low cost [28]. The first steps that have been taken to predict pork meat by applying data mining (Iberian ham [29,30] and loin [21,31,32]) and machine learning (marbling [33,34]) are recent. Pork meat quality prediction improves when the fractal analysis framework is taken into account [21,32]. In this sense, it has been shown that Iberian pork sirloin and ham have a fat connective tissue whose distribution can be described by means of some fractal dimensions [24,35]. As a consequence, the multifractal analysis can be regarded as a source of information for the databases used by pork meat quality prediction techniques.
In order to obtain suitable information based on the multifractal parameters, it is necessary to have precise and quick DFIA methods. Thus, it is necessary to increase the role of automated operations to obtain more accurate results. Previous studies, such as Serrano et al. [24,35], proposed a DFIA based on human intervention by manually setting some image acquisition parameters. This fact supposed a potential source of errors that forced multiple revisions to avoid them, with the consequent cost in time. With the aim of overcoming this drawback, some alternatives were explored here in order to introduce a methodology that involves less human intervention.

2. Materials and Methods

2.1. Ham Samples

For the study, a total of 121 samples of ham (hand-cut slices) were used, classified in Table 1.
The samples were donated by the company COVAP (Córdoba, Spain) in vacuum containers. For each designation, two different batches of samples were used.
Due to the complexity of taking pictures of complete slices, a different number of samples were made from each package, depending on the possibility of taking full slices.
It should be mentioned, as this is important for the study, that the samples were not taken from the same areas of the ham, so that in the same package slices could be taken from different muscles of the leg of the pig, with the consequent heterogeneity in the color of the muscle fibers and the amount of infiltrated fat and accumulated fat clusters.

2.2. Image Acquisition

For the acquisition of the images, the method proposed by Serrano et al. [24,35] and based on Valous et al. [36] was used.
The system consists of a cubicle with four Osram fluorescent light sources of 36 w and a color temperature of 5400 K, with an inclination of 60° on a surface with a dark matte cardboard where the samples are placed. The light source must be turned on 30 min before taking pictures to reach the correct color temperature.
The system was completed with a Nikon D60 camera with an 18–55 mm lens placed vertically about 15 cm above the black cardboard. The images were taken using standardized parameters to avoid differences in light and color in the samples. The parameters that gave the best results when taking the images, in terms of the sharpness of the images and homogeneity of light and color, were the following: image size 3872 × 2592 pixels in JPEG format, 36 mm zoom, focal length of 26 mm, speed of 1/60 s shot, f/8 aperture, ISO 200, without flash, and white balance adjusted by gray letter with 18% reflectance.

2.3. Image Processing

Photoshop CC 2018 software and Matlab R2019a software were used to process the images.
First, the method used by Serrano et al. [24,35] was carried out by using Photoshop to cut the 512 × 512 pixel images of the manually established areas.
Subsequently, the squared color images were transformed into black and white using three methods to be compared (Figure 1). Then, they were transformed into black and white binary images via a manual threshold set at 175 through which the red colors, belonging to lean tissue, were transformed into black, and through which the white and yellow ones, belonging to fatty tissue, were transformed into white. Afterwards, the images were processed through a high-pass filter to overcome the problems of heterogeneity in the color of the slices of ham. Two radii of the high-pass filter were established for comparison, 25 and 50 pixels, and were superimposed on the original image. Subsequently, the images were transformed into black and white images setting a threshold of 150. Figure 2 shows an original image of the sample and the quadrate white and black region.
Once the black and white images were obtained by both methods, the images were finally transformed using Matlab into a binary code of three columns, which indicates the horizontal position, vertical position, and pixel color (“1” white color for fat; “2” black color for muscle). This data file was the one used for the performance of the multifractal analysis.

3. Results and Discussion

The multifractal nature of the Iberian ham samples was exhibited for the three image processing methods considered here. Thus, the next step was to check the accuracy of these methods by comparing the values obtained for the following fractal dimensions: D0, box-counting dimension or fractal dimension, related to geometric patterns but insensitive to density distribution. D1, information or entropy dimension, linked to the uniformity in the measure distribution. D2, correlation dimension, indicating the pattern complexity. More details on the multifractal sandbox method that was performed to yield these fractal dimensions can be found in Serrano et al. [24,35] and references cited in these works.
Table 2 lists the fractal dimensions’ mean values and their standard errors for each method used. The data were analyzed by using SPSS Statistics (v.26) software (IBM Corp., Armonk, NY, USA).
There are no rules to set the acceptable standard error values when determining fractal dimensions [36]. Although those found in this work are relatively high, they are suitable because all of them are lower than 0.1 [37]. Each fractal dimension exhibits a clear ascending or descending trend following the order A100IH (Acorn 100% Iberian Ham), AIH (Acorn Iberian Ham), FPIH (Feed/Pasture Iberian Ham) and FIH (Feed Iberian Ham) for the three methods.
Figure 3, Figure 4 and Figure 5 show the relationship between the fractal dimensions and fat pixels in the image. For all these figures, plots (a) and (b) stand by high-pass filter 25 pixels and high-pass filter 50 pixels, respectively, while plots (c) correspond to unfiltered images. In the filtered methods analyzed, there is a clear relationship between the multifractal parameters and the fat fraction, as in the unfiltered method. As can be appreciated, the designations of A100IH and FIH are clearly separated in the three methods. These separations are not so evident in the denominations of AIH and FPIH.
The greatest variation observed between the high-pass filter methods and the unfiltered method is the dispersion of the points belonging to AIH in almost all the multifractal parameters.
As can be seen in Figure 3, Figure 4 and Figure 5, when we compare the designations of A100IH and FIH separately, we can observe that there is a greater separation for parameters D0 and D1 and that the separation between them is greater for high-pass filters than for the unfiltered method. Figure 6, Figure 7 and Figure 8 represent the statistical distributions of the fractal dimensions (minimum, maximum, median, first quartile, and third quartile). As it happens to Figure 3, Figure 4 and Figure 5, plots (a), (b) and (c) in Figure 6, Figure 7 and Figure 8 show the results corresponding to high-pass filter 25 pixels, high-pass filter 50 pixels and unfiltered images, respectively. In general, the distributions are more grouped in filtering methods, which can establish a better discrimination of the results than the unfiltered method can.
In particular, there is a significant difference for A100IH and FIH on the D0, D1, and D2 parameters and, more specifically, for the 25 pixels radius method.
According to Figure 6, Figure 7 and Figure 8, the obtained results show the convenience of using high-pass filters because the error in the estimation of the multifractal parameters decreases compared to the unfiltered images. By means high-pass filters, the heterogeneity in the color of the muscle fibers is reduced, making the fractal dimensions distributions not as scattered as those obtained from the unfiltered images. A lower dispersion was found for the statistical distribution of the multifractal dimensions when high-pass filter 25 pixels was applied. This fact is especially evident for D0, and it is a consequence of dismissing the sensitivity of the multifractal analysis to signal noise by means of high-pass filters.

4. Conclusions

Quick methods to assess the quality of food and to detect food fraud offer numerous benefits for consumers and manufacturers. Nowadays, the determination of racial and feed designations of Iberian pigs requires expensive and slow methods that cannot be possibly applied online in slaughterhouses and cutting rooms.
The metrics derived from the multifractal-based image analysis of highly variable fat-connective tissue may be suitable for inclusion in the databases of predictive techniques of meat quality, such as data mining and machine learning. The multifractal approach extracts the information from the singularities detected for the image without applying any of the smoothing processes frequently used to transform discrete signals into continuous signals to compute their gradient. Therefore, no information is added or lost due to smoothing methods during the multifractal analysis. In addition, the independence of multifractal parameters over a range of scales and the fact that a specific data distribution is not required, as is the case when considering statistical methods, can be regarded as advantages of this approach. The digital food image analysis proposed in this work reduces the human bias, overcoming the sensitivity to noise shown by a multifractal analysis.

Author Contributions

Writing—Original draft, F.P.-S., S.S., E.G.d.R., E.S.-L., A.C. and F.J.J.-H.; Writing—Review and editing, F.P.-S., S.S., E.G.d.R., E.S.-L., A.C. and F.J.J.-H. All authors have read and agreed to the published version of the manuscript.

Funding

XXIII research program (2018) of the University of Cordoba, Spain.

Acknowledgments

Authors gratefully acknowledge the support of the Andalusian Research Plan Groups AGR-202 and TEP-957. Authors would like to thank to “COVAP” Cooperative (Córdoba, Spain) for providing the Iberian Ham samples.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Garrido-Fernández, A.; León-Camacho, M. Assessing the effect of season, montanera length and sampling location on T Iberian pig fat by compositional data analysis and standard multivariate statistics. Food Chem. 2019, 295, 377–386. [Google Scholar] [CrossRef] [PubMed]
  2. Arroyo-Manzanares, N.; Martín-Gómez, M.; Jurado-Campos, N.; Garrido-Delgado, R.; Arce, C.; Arce, L. Target vs spectral fingerprint data analysis of Iberian ham samples for avoiding labelling fraud using headspace–gas chromatography–ion mobility spectrometry. Food Chem. 2018, 246, 65–73. [Google Scholar] [CrossRef] [PubMed]
  3. Ventanas, S.; Ventanas, J.; Ruiz, J. Sensory characteristics of Iberian dry-cured loins: Influence of crossbreeding and rearing system. Meat Sci. 2007, 75, 211–219. [Google Scholar] [CrossRef] [PubMed]
  4. Díaz-Caro, C.; García-Torres, S.; Elghannam, A.; Tejerina, D.; Mesias, F.J.; Ortiz, A. Is production system a relevant attribute in consumers’ food preferences? The case of Iberian dry-cured ham in Spain. Meat Sci. 2019, 158, 107908. [Google Scholar] [CrossRef] [PubMed]
  5. Giaretta, E.; Mordenti, A.L.; Canestrari, G.; Brogna, N.; Palmonari, A.; Formigoni, A. Assessment of muscle Longissimus thoracis et lumborum marbling by image analysis and relationships between meat quality parameters. PLoS ONE 2018, 13, e0202535. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Peña, F.; Molina, A.; Avilés, C.; Juárez, M.; Horcada, A. Marbling in the longissimus thoracis muscle from lean cattle breeds. Computer image analysis of fresh versus stained meat samples. Meat Sci. 2013, 95, 512–519. [Google Scholar] [CrossRef] [PubMed]
  7. Zapotoczny, P.; Szczypin_ski, P.M.; Daszkiewicz, T. Evaluation of the quality of cold meats by computer-assisted image analysis. LWT Food Sci. Technol. 2016, 67, 37–49. [Google Scholar] [CrossRef]
  8. Dowlati, M.; Mohtasebi, S.S.; Omid, M.; Razavi, S.H.; Jamzad, M.; de la Guardia, M. Freshness assessment of gilthead sea bream (Sparus aurata) by machine vision based on gill and eye color changes. J. Food Eng. 2013, 119, 277–287. [Google Scholar] [CrossRef]
  9. Ivorra, E.; Sánchez, A.J.; Verdú, S.; Barat, J.M.; Grau, R. Shelf life prediction of expired vacuum-packed chilled smoked salmon based on a KNN tissue segmentation method using hyperspectral images. J. Food Eng. 2016, 178, 110–116. [Google Scholar] [CrossRef]
  10. Jackman, P.; Sun, D.-W. 10—Computer vision in the fresh and processed meat industries. In Computer Vision Technology in the Food and Beverage Industries; Sun, D.-W., Ed.; Woodhead Publishing: Cambridge, UK, 2012; pp. 255–276. [Google Scholar] [CrossRef]
  11. Konda Naganathan, G.; Cluff, K.; Samal, A.; Calkins, C.R.; Jones, D.D.; Lorenzen, C.L.; Subbiah, J. Hyperspectral imaging of ribeye muscle on hanging beef carcasses for tenderness assessment. Comput. Electron. Agric. 2015, 116, 55–64. [Google Scholar] [CrossRef]
  12. Mery, D.; Lillo, I.; Loebel, H.; Riffo, V.; Soto, A.; Cipriano, A.; Aguilera, J.M. Automated Detection of Fish Bones in Salmon Fillets Using X-ray Testing. In Proceedings of the 2010 Fourth Pacific-Rim Symposium on Image and Video Technology, Singapore, 14–17 November 2010; pp. 46–51. [Google Scholar] [CrossRef]
  13. Wu, D.; Sun, D.W. Colour measurements by computer vision for food quality control—A review. Trends Food Sci. Technol. 2013, 29, 5–20. [Google Scholar] [CrossRef]
  14. Niazi, M.K.K. Image Filtering Methods for Biomedical Applications. In Digital Comprehensive Summaries of Uppsala Dissertations from the Faculty of Science and Technology; Acta Universitatis Upsaliensis: Uppsala, Sweden, 2011; Volume 852, p. 61. [Google Scholar]
  15. Yang, C.-C. Image enhancement by the modified high-pass filtering approach. Optik 2009, 120, 886–889. [Google Scholar] [CrossRef]
  16. Xiao, L.; Li, C.; Wu, Z.; Wang, T. An enhancement method for X-ray image via fuzzy noise removal and homomorphic filtering. Neurocomputing 2016, 195, 56–64. [Google Scholar] [CrossRef]
  17. Dogra, A.; Bhalla, P. Image Sharpening by Gaussian and Butterworth High Pass Filter. Biomed. Pharmacol. J. 2014, 7, 707–713. [Google Scholar] [CrossRef]
  18. Lin, W.-C.; Wang, J.-W. Edge detection in medical images with quasi high-pass filter based on local statistics. Biomed. Signal Process. Control 2018, 39, 294–302. [Google Scholar] [CrossRef]
  19. Ghani, A.S.; Isa, N.A.M. Homomorphic filtering with image fusion for enhancement of details and homogeneous contrast of underwater image. Indian J. Geo Mar. Sci. 2016, 44, 1904–1919. [Google Scholar]
  20. Verdú, S.; Barat, J.M.; Grau, R. Fresh-sliced tissue inspection: Characterization of pork and salmon composition based on fractal analytics. Food Bioprod. Process. 2019, 116, 20–29. [Google Scholar] [CrossRef]
  21. Caballero, D.; Antequera, T.; Caro, A.; Amigo, J.M.; ErsbØll, B.K.; Dahl, A.B.; Pérez-Palacios, T. Analysis of MRI by fractals for prediction of sensory attributes: A case study in loin. J. Food Eng. 2018, 227, 1–10. [Google Scholar] [CrossRef] [Green Version]
  22. He, Q.; Zhu, L.; Shen, Y.; Lin, X.; Xiao, K. Evaluation of the effects of frozen storage on the microstructure of tilapia (Perciformes: Cichlidae) through fractal dimension method. LWT Food Sci. Technol. 2015, 64, 1283–1288. [Google Scholar] [CrossRef]
  23. Quevedo, R.; Valencia, E.; Cuevas, G.; Ronceros, B.; Pedreschi, F.; Bastías, J.M. Color changes in the surface of fresh cut meat: A fractal kinetic application. Food Res. Int. 2013, 54, 1430–1436. [Google Scholar] [CrossRef]
  24. Serrano, S.; Perán, F.; Jiménez-Hornero, F.J.; Gutiérrez de Ravé, E. Multifractal analysis application to the characterization of fatty infiltration in Iberian and White pork sirloins. Meat Sci. 2013, 93, 723–732. [Google Scholar] [CrossRef]
  25. Ávila, M.M.; Durán, M.L.; Caballero, D.; Antequera, T.; Palacios-Pérez, T.; Cernadas, E.; Fernández-Delgado, M. Magnetic Resonance Imaging, texture analysis and regression techniques to non-destructively predict the quality characteristics of meat pieces. Eng. Appl. Artif. Intell. 2019, 82, 110–125. [Google Scholar] [CrossRef]
  26. Joshi, B.; Beccard, S.; Vilgis, T.A. Fractals in crystallizing food systems. Curr. Opin. Food Sci. 2018, 21, 39–45. [Google Scholar] [CrossRef]
  27. Ropodi, A.I.; Panagou, E.Z.; Nychas, G.-J.E. Data mining derived from food analyses using non-invasive/non-destructive analytical techniques; determination of food authenticity, quality & safety in tandem with computer science disciplines. Trends Food Sci. Technol. 2016, 50, 11–25. [Google Scholar] [CrossRef]
  28. Valous, N.A.; Zheng, L.; Sun, D.-W.; Tan, J. Quality Evaluation of Meat Cuts. In Computer Vision Technology for Food Quality Evaluation, 2nd ed.; Sun, D.-W., Ed.; Academic Press: San Diego, CA, USA, 2016; pp. 175–193. [Google Scholar] [CrossRef]
  29. Pérez-Palacios, T.; Caballero, D.; Caro, A.; Rodríguez, P.G.; Antequera, T. Applying data mining and Computer Vision Techniques to MRI to estimate quality traits in Iberian hams. J. Food Eng. 2014, 131, 82–88. [Google Scholar] [CrossRef]
  30. Caballero, D.; Caro, A.; Rodríguez, P.G.; Durán, M.L.; del Mar Ávila, M.; Palacios, R.; Antequera, T.; Pérez-Palacios, T. Modeling salt diffusion in Iberian ham by applying MRI and data mining. J. Food Eng. 2016, 189, 115–122. [Google Scholar] [CrossRef]
  31. Pérez-Palacios, T.; Caballero, D.; Antequera, T.; Durán, M.L.; Ávila, M.; Caro, A. Optimization of MRI Acquisition and Texture Analysis to Predict Physico-chemical Parameters of Loins by Data Mining. Food Bioprocess Technol. 2017, 10, 750–758. [Google Scholar] [CrossRef]
  32. Caballero, D.; Pérez-Palacios, T.; Caro, A.; Amigo, J.M.; Dahl, A.B.; ErsbØll, B.K.; Antequera, T. Prediction of pork quality parameters by applying fractals and data mining on MRI. Food Res. Int. 2017, 99, 739–747. [Google Scholar] [CrossRef]
  33. Barbon, A.P.A.; Barbon, S.; Mantovani, R.G.; Fuzyi, E.M.; Peres, L.M.; Bridi, A.M. Storage time prediction of pork by Computational Intelligence. Comput. Electron. Agric. 2016, 127, 368–375. [Google Scholar] [CrossRef]
  34. Da Costa Barbon, A.P.A.; Barbon, S.; Campos, G.F.C.; Seixas, J.L.; Peres, L.M.; Mastelini, S.M.; Andreo, N.; Ulrici, A.; Bridi, A.M. Development of a flexible Computer Vision System for marbling classification. Comput. Electron. Agric. 2017, 142, 536–544. [Google Scholar] [CrossRef]
  35. Serrano, S.; Perán, F.; de Ravé, E.G.; Cumplido, A.; Jiménez-Hornero, F.J. Multifractal analysis application to the study of fat and its infiltration in Iberian ham: Influence of racial and feeding factors and type of slicing. Meat Sci. 2019, 148, 55–63. [Google Scholar] [CrossRef]
  36. Benguigui, L.; Czamanski, D.; Marinov, M.; Portugali, Y. When and where is a city fractal? Environ. Plan. B Plan. Des. 2000, 27, 507–519. [Google Scholar] [CrossRef] [Green Version]
  37. Chen, Y.; Wang, J.; Feng, J. Understanding the fractal dimensions of urban forms through spatial entropy. Entropy 2017, 19, 600. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The steps to obtain binary images from the original 512 × 512 pixels image.
Figure 1. The steps to obtain binary images from the original 512 × 512 pixels image.
Foods 09 00025 g001
Figure 2. Representation of the original image, and square area of 512 pixels selected and processed to black (lean meat) and white (fatty infiltration) for analysis.
Figure 2. Representation of the original image, and square area of 512 pixels selected and processed to black (lean meat) and white (fatty infiltration) for analysis.
Foods 09 00025 g002
Figure 3. Scatter plots depicting the relationships between the box-counting dimension (or fractal dimension), D0, and the fat fraction found for each ham designation when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used. A100IH: Acorn 100% Iberian Ham, AIH: Acorn Iberian Ham, FPIH: Feed/Pasture Iberian Ham, FIH: Feed Iberian Ham.
Figure 3. Scatter plots depicting the relationships between the box-counting dimension (or fractal dimension), D0, and the fat fraction found for each ham designation when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used. A100IH: Acorn 100% Iberian Ham, AIH: Acorn Iberian Ham, FPIH: Feed/Pasture Iberian Ham, FIH: Feed Iberian Ham.
Foods 09 00025 g003aFoods 09 00025 g003b
Figure 4. Scatter plots showing the associations between the information or entropy dimension, D1, and the fat fraction obtained for each ham designation when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Figure 4. Scatter plots showing the associations between the information or entropy dimension, D1, and the fat fraction obtained for each ham designation when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Foods 09 00025 g004
Figure 5. Scatter plots illustrating the relationships between the correlation dimension, D2, and the fat fraction obtained for each ham designation when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Figure 5. Scatter plots illustrating the relationships between the correlation dimension, D2, and the fat fraction obtained for each ham designation when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Foods 09 00025 g005
Figure 6. Box and whisker plots corresponding to the D0 fractal dimensions obtained for each ham designation from samples when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Figure 6. Box and whisker plots corresponding to the D0 fractal dimensions obtained for each ham designation from samples when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Foods 09 00025 g006
Figure 7. Box and whisker plots corresponding to the D1 fractal dimensions obtained for each ham designation from samples when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Figure 7. Box and whisker plots corresponding to the D1 fractal dimensions obtained for each ham designation from samples when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Foods 09 00025 g007
Figure 8. Box and whisker plots corresponding to the D2 fractal dimensions obtained for each ham designation from samples when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Figure 8. Box and whisker plots corresponding to the D2 fractal dimensions obtained for each ham designation from samples when (a) high-pass filter 25 pixels (b) high-pass filter 50 pixels (c) unfiltered images are used.
Foods 09 00025 g008
Table 1. Number of samples and classification according to breed and nutrition.
Table 1. Number of samples and classification according to breed and nutrition.
BatchA100IHAIHFPIHFIH
112261211
213211412
A100IH: Acorn 100% Iberian Ham, AIH: Acorn Iberian Ham, FPIH: Feed/Pasture Iberian Ham, FIH: Feed Iberian Ham.
Table 2. The mean and standard error for the considered fractal dimensions in the four designations of Iberian ham for each method used.
Table 2. The mean and standard error for the considered fractal dimensions in the four designations of Iberian ham for each method used.
MethodHam DesignFractal Dimension
D0D1D2
MeanStandard ErrorMeanStandard ErrorMeanStandard Error
Unfiltered ImageA100IH1.79910.00941.59670.01481.48850.0171
AIH1.76090.00511.61840.00671.53640.0078
FPIH1.75200.00751.60110.01311.52690.0165
FIH1.71010.01201.60550.01431.55890.0148
High-Pass Filter 25 PixelsA100IH1.80510.00481.67610.01461.58890.0209
AIH1.79390.00531.69060.01131.61400.0154
FPIH1.79140.00431.67600.00921.58750.0139
FIH1.74560.00791.61740.01131.54100.0128
High-Pass Filter 50 PixelsA100IH1.76500.00871.60210.01821.49780.0232
AIH1.74000.00711.60430.01351.51470.0163
FPIH1.73240.00711.57470.01191.47140.0151
FIH1.66660.01181.51930.01221.44560.0118

Share and Cite

MDPI and ACS Style

Perán-Sánchez, F.; Serrano, S.; Gutiérrez de Ravé, E.; Sánchez-López, E.; Cumplido, A.; Jiménez-Hornero, F.J. Digital Image Filtering Optimization Supporting Iberian Ham Quality Prediction. Foods 2020, 9, 25. https://doi.org/10.3390/foods9010025

AMA Style

Perán-Sánchez F, Serrano S, Gutiérrez de Ravé E, Sánchez-López E, Cumplido A, Jiménez-Hornero FJ. Digital Image Filtering Optimization Supporting Iberian Ham Quality Prediction. Foods. 2020; 9(1):25. https://doi.org/10.3390/foods9010025

Chicago/Turabian Style

Perán-Sánchez, Francisco, Salud Serrano, Eduardo Gutiérrez de Ravé, Elena Sánchez-López, Ana Cumplido, and Francisco J. Jiménez-Hornero. 2020. "Digital Image Filtering Optimization Supporting Iberian Ham Quality Prediction" Foods 9, no. 1: 25. https://doi.org/10.3390/foods9010025

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop