Towards a versatile automated cell-detection system for science and diagnostics