Mineral Froth Image Classification and Segmentation