Machine learning assisted segmentation of scanning electron microscopy images of organic-rich shales with feature extraction and feature ranking