Method for preparing compressed image data file, image data compression device, and photographic device
First Claim
1. A method for preparing a compressed image data file by compressing image data, the method comprising:
- extracting a portion of a predetermined size from the image data, and preparing a predetermined number of compressed partial data compressed with different compression parameter values from the partial data 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, and the method further comprising calculating 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 preparing 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.
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.
-
Citations
26 Claims
-
1. A method for preparing a compressed image data file by compressing image data, the method comprising:
-
extracting a portion of a predetermined size from the image data, and preparing a predetermined number of compressed partial data compressed with different compression parameter values from the partial data 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, and the method further comprising calculating 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 preparing 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. - View Dependent Claims (2, 3, 4)
-
-
5. An image data compression device which compresses image data to prepare a compressed image data file, the device comprising:
-
partial data acquiring means, interleave compression means, and data file preparing means, wherein the partial data acquiring means acquires a portion of a predetermined size from the image data, the interleave compression means prepares a number of compressed partial data compressed with different compression parameter values from the partial data by repeating preparation of compressed partial data by compressing the partial data in predetermined format for a predetermined number of times with the compression parameter value used in the predetermined format changed for each compression and outputs the compressed partial data sequentially, and the data file preparing means 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. - View Dependent Claims (6, 7, 8, 10)
-
-
9. An image data compression device which compresses image data to prepare a compressed image data file, the device 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 portion of a predetermined size from the image data and stores the partial data temporarily, the interleave compression section compresses the partial data stored in the partial data acquiring section in predetermined format to prepare compressed partial data, 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 the partial data, the data output section outputs the 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 the total of the data sizes of all of compressed partial data prepared 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 for each of the different compression parameter values, 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 the compressed image data file from compressed partial data compressed with the optimum compression parameter value. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A photographic device 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 portion 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 the partial data stored in the partial data acquiring section in predetermined format to prepare compressed partial data, the data transmitting section transmits the 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 the 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 the total of the data sizes of all of compressed partial data prepared 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 for each of the different compression parameter values, 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 including information of the entirely compressed image data 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 (17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
Specification