Gravar-mail: Image analysis in biotechnological processes: applications to wastewater treatment