Probabilistic Graphical Models: Principles and Applications (Advances in Computer Vision and Pattern Recognition)