Measurement and representation of grain-boundary texture