https://medium.com/analytics-vidhya/traditional-image-semantic-segmentation-for-core-samples-f315157913e8