A Probabilistic Framework for the Adaptation and
Comparison of Image Codes