Method for preparing compressed image data file, image data compression device, and photographic device
First Claim
1. A method to be implemented in a digital processor, comprising:
- extracting a plurality of partial data of a predetermined size from image data,preparing a predetermined number of compressed partial data compressed with different compression parameter values from each partial data by repeating preparation of compressed partial data by compressing each said partial data in a predetermined JPEG format for the predetermined number of times with the compression parameter value used in the predetermined format changed for each compression, andcalculating, for each of the different compression parameter values, the total of the data sizes of all of the compressed partial data compressed with the same compression parameter value and preparing a compressed image data file from compressed partial data compressed with the same compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold,wherein each compressed partial data includes RST markers defined in JPEG format indicating the compression parameter values used for compression to the compressed partial data.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for carrying out a step of extracting a portion of a predetermined size from the image data, and a step of preparing a predetermined number of compressed partial data compressed with different compression parameter values by repeating preparation of compressed partial data by compressing the partial data in predetermined format for the predetermined number of times with the compression parameter value used in the predetermined format changed for each compression, on the entire image data. The method also calculates the total of the data sizes of all of the compressed partial data compressed with the same compression parameter value for each of the compression parameter values and prepares the compressed image data file from compressed partial data compressed with a compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold.
65 Citations
23 Claims
-
1. A method to be implemented in a digital processor, comprising:
-
extracting a plurality of partial data of a predetermined size from image data, preparing a predetermined number of compressed partial data compressed with different compression parameter values from each partial data by repeating preparation of compressed partial data by compressing each said partial data in a predetermined JPEG format for the predetermined number of times with the compression parameter value used in the predetermined format changed for each compression, and calculating, for each of the different compression parameter values, the total of the data sizes of all of the compressed partial data compressed with the same compression parameter value and preparing a compressed image data file from compressed partial data compressed with the same compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold, wherein each compressed partial data includes RST markers defined in JPEG format indicating the compression parameter values used for compression to the compressed partial data. - View Dependent Claims (2, 3)
-
-
4. An apparatus, comprising:
-
partial data acquiring section, interleave compression section, and data file preparing section, wherein the partial data acquiring section acquires a plurality of partial data of a predetermined size from image data, the interleave compression section prepares a number of compressed partial data compressed with different compression parameter values from each partial data by repeating preparation of compressed partial data by compressing said each partial data in a predetermined JPEG format for a predetermined number of times with the compression parameter value used in the predetermined format changed for each compression and outputs each compressed partial data sequentially, and the data file preparing section calculates, for each of the different compression parameter values, the total of the data sizes of all of the compressed partial data compressed with the same compression parameter value and prepares a compressed image data file from compressed partial data compressed with the same compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold, wherein the interleave compression section gives markers indicating the compression parameter values used for compression to each compressed partial data and wherein RST markers defined in JPEG format are used as the markers. - View Dependent Claims (5, 6)
-
-
7. An apparatus, comprising:
-
an image data compression section, and a data file preparing section, wherein the data compression section comprises; a partial data acquiring section, an interleave compression section, and a data output section, the partial data acquiring section takes in a plurality of partial data of a predetermined size from image data and stores the partial data temporarily, the interleave compression section compresses each partial data stored in the partial data acquiring section in a predetermined format to prepare compressed partial data, wherein the predetermined format is a JPEG format, the data output section outputs the compressed partial data, the interleave compression section comprises a number of compression parameter values used in the predetermined format and prepares a number of compressed partial data compressed with different compression parameter values from each said partial data, the data output section outputs said number of compressed partial data sequentially, the data file preparing section comprises; a data input section, a data storing section, a data size calculating section, a data size determining section, and a data shaping section, the data input section inputs the output compressed partial data, the data storing section stores the compressed partial data input from the data input section, the data size calculating section calculates, for each of the different compression parameter values, the total of the data sizes of all of compressed partial data taken from the same image data and compressed with the same compression parameter value out of the compressed partial data input from the data input section, the data size determining section determines that a compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold is an optimum compression parameter value, and the data shaping section prepares a compressed image data file from compressed partial data compressed with the optimum compression parameter value, wherein the interleave compression section gives markers indicating the compression parameter values used for compression to each compressed partial data and wherein RST markers defined in JPEG format are used as the markers. - View Dependent Claims (8, 9, 10)
-
-
11. An apparatus, comprising:
-
a camera module, and a host module, wherein the camera module comprises; a sensor section, an image data preparing section, a camera-module-side data storing section, a partial data acquiring section, an interleave compression section, and a data transmitting section, the sensor section converts incoming light into an electrical signal, the image data preparing section prepares image data from the electrical signal, the camera-module-side data storing section stores a part or all of the image data temporarily, the partial data acquiring section takes in a plurality of partial data of a predetermined size from the image data stored in the camera-module-side data storing section and stores the partial data temporarily, the interleave compression section compresses each partial data stored in the partial data acquiring section in a predetermined format to prepare compressed partial data, the data transmitting section transmits each said compressed partial data to the host module, the interleave compression section comprises a number of compression parameter values used in the predetermined format and prepares a number of compressed partial data compressed with different compression parameter values from the partial data, the data transmitting section transmits said number of compressed partial data sequentially, the host module comprises; a data receiving section, a host-side data storing section, a data size calculating section, a data size determining section, a data shaping section, and a file storage unit, the data receiving section receives the data transmitted from the camera module, the host-side data storing section stores the compressed partial data received by the data receiving section, the data size calculating section calculates, for each of the different compression parameter values, the total of the data sizes of all of compressed partial data taken from the same image data and compressed with the same compression parameter value out of the compressed partial data received by the data receiving section, the data size determining section determines that a compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold is an optimum compression parameter value, the data shaping section prepares a compressed image data file from compressed partial data compressed with the optimum compression parameter value, and the file storage unit stores the compressed image data file. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. An apparatus, comprising:
-
means for extracting a plurality of partial data of a predetermined size from image data; means for preparing a predetermined number of compressed partial data compressed with different compression parameter values from each partial data by repeating preparation of compressed partial data by compressing each said partial data in a predetermined JPEG format for the predetermined number of times with the compression parameter value used in the predetermined format changed for each compression; and means for calculating, for each of the different compression parameter values, the total of the data sizes of all of the compressed partial data compressed with the same compression parameter value and preparing a compressed image data file from compressed partial data compressed with the same compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold; wherein each compressed partial data includes RST markers defined in JPEG format indicating the compression parameter values used for compression to the compressed partial data.
-
-
23. A computer program product, comprising:
-
a computer readable medium containing computer executable program code; computer executable program code in said medium for extracting a plurality of partial data of a predetermined size from image data; computer executable program code in said medium for preparing a predetermined number of compressed partial data compressed with different compression parameter values from each partial data by repeating preparation of compressed partial data by compressing each said partial data in a predetermined JPEG format for the predetermined number of times with the compression parameter value used in the predetermined format changed for each compression; and computer executable program code in said medium for calculating, for each of the different compression parameter values, the total of the data sizes of all of the compressed partial data compressed with the same compression parameter value and preparing a compressed image data file from compressed partial data compressed with the same compression parameter value for which the total is not larger than a given threshold and which is the closest value to the threshold; wherein each compressed partial data includes RST markers defined in JPEG format indicating the compression parameter values used for compression to the compressed partial data.
-
Specification