Automatic segmentation of thin sections with GRASS GIS: first experiments