Optical granulometry of coarse aggregates and sediments