Robust automated cell detection using machine learning techniques