Performance of a Novel Algorithm Using Automated Digital Microscopy for Diagnosing Tuberculosis.