Using machine learning to discriminate between mineral phases and pore morphologies in carbonate systems | Synapse