At this DIKU Bits lecture, associate professor Francois Lauze, from the Image Analysis, Computational Modelling and Geometry Section (IMAGE), will discuss how inference, and especially Bayesian inference can be used to design optimization algorithms for series of task in Image Analysis.