Fig. 4

(a) Histogram of foam fractions, based on thresholding the grayscale imageries, with foamy pixels exhibiting intensities greater than 160. (b) Example of image segmentation with LDPE cup specimens in a foamy flow with three labels (water, foam, and plastics). The foam fraction is equal to 12.4% of FOV.