Distributing limited storage among a collection of media objects
First Claim
1. A computer-implemented method for automatically selecting a quality level when compressing each of a set of image files to produce compressed image files, so that a total size of the compressed image file does not exceed a predefined limit, comprising the steps of:
- (a) processing the image files to determine a maximally compressed file size for each image file when compressed to a predefined minimum quality level and to determine a nominal compressed file size when compressed to a nominal quality level, and to determine a weight for each image file based upon a high frequency energy content of the image file;
(b) identifying image files of the set that are to be compressed with the predefined minimum quality level as a function of;
(i) the maximally compressed file size of each image file when compressed to the predefined minimum quality level; and
(ii) the weight of each image file;
(c) for all other image files of the set that were not identified to be compressed with the predefined minimum quality level in step (b), determining a quality level for compressing the other image files so that each of the other image files is to be compressed to a desired size selected as a function of the weight of the image file and so that the total size of the compressed image files does not exceed the predefined limit; and
(d) compressing the image files identified in step (b) with the predefined minimum quality level, and all of the other image files not identified in step (b) with the quality level that was determined in step (c).
5 Assignments
0 Petitions
Accused Products
Abstract
A quality level determining the extent to which each image file is compressed is automatically computed for each image file in a set to ensure that the total size of the compressed image files does not exceed a predefined limit. The compressed size of each image file is initially determined when compressed at a predefined minimum acceptable level and at a nominal level. The relative complexity of the image files is determined based upon their high frequency energy content. As a function of the image file complexity, and starting with the compressed sizes initially determined, the appropriate quality level is determined for compressing each of the image files in an iterative process that ensures the total size of the compressed image files does not exceed the predefined limit, while retaining acceptable quality. Thus, a set of image files can be compressed optimally to fit within a limited storage.
-
Citations
13 Claims
-
1. A computer-implemented method for automatically selecting a quality level when compressing each of a set of image files to produce compressed image files, so that a total size of the compressed image file does not exceed a predefined limit, comprising the steps of:
-
(a) processing the image files to determine a maximally compressed file size for each image file when compressed to a predefined minimum quality level and to determine a nominal compressed file size when compressed to a nominal quality level, and to determine a weight for each image file based upon a high frequency energy content of the image file; (b) identifying image files of the set that are to be compressed with the predefined minimum quality level as a function of; (i) the maximally compressed file size of each image file when compressed to the predefined minimum quality level; and (ii) the weight of each image file; (c) for all other image files of the set that were not identified to be compressed with the predefined minimum quality level in step (b), determining a quality level for compressing the other image files so that each of the other image files is to be compressed to a desired size selected as a function of the weight of the image file and so that the total size of the compressed image files does not exceed the predefined limit; and (d) compressing the image files identified in step (b) with the predefined minimum quality level, and all of the other image files not identified in step (b) with the quality level that was determined in step (c). - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for automatically selecting a quality level when compressing each of a set of image files to produce compressed image files, so that a total size of the compressed image files does not exceed a predefined limit, comprising:
-
(a) a memory in which are stored a plurality of machine instructions, said memory also storing the set of image files; (b) a processor that is coupled to the memory, said processor executing the plurality of machine instructions, causing the processor to; (i) determine a maximally compressed file size for each image file when compressed to a predefined minimum quality level and determine a nominal compressed file size when compressed to a nominal quality level, and determine a weight for each image file based upon a high frequency energy content of the image file; (ii) identify image files that are to be compressed with a predefined minimum quality level as a function of; (1) the maximally compressed file size of each image file when compressed to the predefined minimum quality level; and (2) the weight of each image file; (iii) for all other image files of the set that were not identified to be compressed with the predefined minimum quality level in subparagraph (ii), determining a quality level for compressing the other image files so that each of the other image files is to be compressed to a desired size selected as a function of the weight of the image file and so that the total size of the compressed image files does not exceed the predefined limit; and (iv) compressing the image files identified in subparagraph (ii) with the predefined minimum quality level, and compressing all the other image files not identified in subparagraph (ii) with the quality level that was determined in subparagraph (iii). - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification