Gravar-mail: Applications of quantitative image analysis in wastewater treatment