Related Experiment Video
Updated: Aug 23, 2026

Computer-assisted Large-scale Visualization and Quantification of Pancreatic Islet Mass, Size Distribution and Architecture
Published on: March 4, 2011
Measurement of gas holes and mechanical openness in cheese by image analysis
M Caccamo1, C Melilli, D M Barbano
1CoRFiLaC, Regione Siciliana, 97100 Ragusa, Italy.
Abstract:
A method to measure the amount of the surface area of cheese slices occupied by gas holes was developed to reflect the relative gas production among different cheeses. A digital camera mounted on a copy stand with lighting was used to make digital images of each slice of cheese. A commercial digital image analysis software program was used and an algorithm was written to measure the area of the image of the cheese slice occupied by holes. The image was cropped and scanned to determine which color channel produced the best image contrast. The MATLAB program allowed the user to eliminate mechanical openness or false holes and then to scan the image to produce a percent distribution of pixels in the image as a function of pixel intensity. The user then determined a threshold value to differentiate pixels that were in holes from those representing areas with no holes. The percentage of the total surface area occupied by holes was calculated. The coefficient of variation of the method ranged from 2.43% with gas holes of about 1% of the surface of the cheese slice to a coefficient of variation of 0.92% with gas holes of about 6.8% of the surface area of the cheese slice. Examples of applications of this method are given for Emmental, Ragusano, and Cheddar cheeses. The method can be used as a tool in research studies to correlate the amount of gas production with manufacturing conditions or as a quality control tool in cheese manufacturing.

