Learning multi-scale local conditional probability models of images