Digital processing of biomedical images