The paper provides statistical analysis of the photographs of four various granular materials (peas, pellets, triticale, wood chips). For analysis, the (parametric) ANOVA and the (nonparametric) Kruskal-Wallis tests were applied. Additionally, the (parametric) two-sample t-test and (non-parametric) Wilcoxon Rank-Sum Test for pairwise comparisons were performed. In each case, the Bonferroni correction was used. The analysis shows a statistical evidence of the presence of differences between the respective average discrete pixel intensity distributions (PID), induced by the histograms in each group of photos, which cannot be explained only by the existing differences among single granules of different materials. The proposed approach may contribute to the development of a fast inspection method for comparison and discrimination of granular materials differing from the reference material, in the production process.