Estimating the Bubble Size Distribution Characteristics in Foam Images