Quantitative image analysis of food microstructure