Real-time recognition of microscopic phase objects