Bayes method in computational anatomy