Adaptive Image Processing for Bubbles in Flotation Process