A transferable method for the automated grain sizing of river gravels