Microstructure quantification