1. A mineralogy segmentation method for a multimodality imaging system, the method comprising: generating one or more image datasets of a sample; creating one or more two dimensional mineral maps covering at least part of the one or more image datasets using energy dispersive x-ray spectroscopy to identify the minerals within the sample; applying the one or more two dimensional mineral maps to the one or more image datasets to identify and label regions in the image datasets associated with minerals within the sample; extracting feature vectors from the labeled regions by extracting texture and edges via feature generators including filters that extract the texture and edges; executing machine learning training algorithms upon the extracted feature vectors to learn behavior information of the feature vectors; and applying the behavior information learned from the machine learning training algorithms to the labeled one or more image datasets to construct a segmented image representation of the sample that classifies the minerals within the sample.