Deep Learning Characterization and Mechanical Ranking of Microstructure Features in Geomaterials