Ichnofabric characterization in cores : a method of digital image treatment