Automatic 3D illumination-diagnosis method for large-N arrays: robust data scanner and machine-learning feature provider