Segmenting images automatically for granulometry and sedimentology: a martian case study in Icarus (Q243939)