Measurement of uniformity and anisotropy in granular materials