Patent ID: 8374443

Claim:
A system for predicting a file size of an image subject to transformation, the system comprising: a processor; and a non-transitory computer readable medium having computer readable instructions stored thereon for execution by the processor, causing the processor to: (a) partition a set of training images into classes of images based on characteristics of the training images in the set of training images; (b) for each class, pre-compute an array of relative file size predictions for the training images subject to training transformations; for the image subject to the transformation: (c) obtain a file size of the image before the transformation, information regarding a quality factor of the image before the transformation, which is inversely proportional to a quantization parameter of the image before the transformation, information regarding a quality factor of the image after the transformation, which is inversely proportional to a quantization parameter of the image after the transformation, and a resolution scaling factor to be applied to the image during the transformation; (d) determine a corresponding class of images in the set of training images, and a corresponding pre-computed array of relative file size predictions; and (e) predict the file size of the image after the transformation using the file size of the image before the transformation, the information regarding the quality factor before the transformation, the quality factor after the transformation, the resolution scaling factor, and the corresponding pre-computed array of relative file size predictions.