Image analysis of aggregates