Hierarchical Bayesian image analysis: From low-level modeling to robust supervised learning. (January 2019)