Application of an image processing-based algorithm for river-side granular sediment gradation distribution analysis