Method and System for Image Analysis to Detect Cancer