A collection of image analysis algorithms based on Bayesian formalism