Text this: Stratigraphic characterization of reservoirs through segmentation of digital images of well cores from machine learning