1. A method, comprising: Extracting visual descriptors from at least one image; Creating model parameters of a generative probabilistic model from the extracted visual descriptors in a maximum likelihood sense; quantizing and encoding said model parameters; quantizing said extracted visual descriptors; and, applying a model-based arithmetic encoding to said quantized extracted visual descriptors using said encoded model parameters.