On‐line computation of diffractograms for the analysis of SEM images