https://aumpauskar.github.io/blog/posts/ml/image_analysis_theory/
Image analysis theory