Image Processing and Machine Learning Approaches for Petrographic Thin Section Analysisстатья