New algorithm can analyze information from medical images to identify diseased areas of the brain an