Master thesis: Artificial intelligence in metallography