WO2013143250A1 - 一种进行图像压缩的方法、装置和设备 - Google Patents
一种进行图像压缩的方法、装置和设备 Download PDFInfo
- Publication number
- WO2013143250A1 WO2013143250A1 PCT/CN2012/079871 CN2012079871W WO2013143250A1 WO 2013143250 A1 WO2013143250 A1 WO 2013143250A1 CN 2012079871 W CN2012079871 W CN 2012079871W WO 2013143250 A1 WO2013143250 A1 WO 2013143250A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- information
- compressed
- compression
- images
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/115—Selection of the code volume for a coding unit prior to coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
Definitions
- the present invention relates to the field of image processing, and in particular, to a method, device and device for performing image compression. Background technique
- a method for performing image compression in a user equipment is provided, wherein the method comprises the following steps:
- a compression apparatus for performing image compression in a user equipment, wherein the compression apparatus comprises:
- a reduction determining device configured to: according to a predetermined lower compression limit information of the plurality of images to be compressed Determining, by the image size information of each of the images to be compressed, the maximum reduction information of the compressed image in the compressed image;
- a compression parameter determining device configured to determine compression parameter information of the plurality of images to be compressed according to the maximum attenuation information of the image
- a compression ratio determining device configured to respectively determine compression ratio information of each image to be compressed according to the compression parameter information and image size information of each image to be compressed and its maximum image reduction information after compression ;
- a compression processing device configured to perform a compression operation on each image to be compressed according to the compression ratio information
- a sending device configured to send the compressed image to be compressed into a to-be-sent information for transmission.
- the present invention has the following advantages: 1) The invention determines the compression ratio of the image by referring to the predetermined lower compression information, thereby reducing the problem of image quality degradation caused by image over-compression; 2) The invention determines the image compression parameter by determining the maximum reduction of the image after compression, and further determines the image compression ratio, so that the image compression ratio calculation can be greatly simplified, and the optimal compression ratio is determined; 3) The large image is pre-compressed, which reduces the problem of unreasonable image compression caused by excessive image difference; 4) It can estimate the remaining image capacity information in the information to be transmitted, thereby prompting the user to continue the inserted image capacity or quantity. 5) When the predetermined compression limit is satisfied, the image that the user continues to insert may prevent the user from continuing to insert the image when the compressed image size exceeds the remaining image capacity information, thereby ensuring the compression quality of the image.
- FIG. 1 is a flow chart of a method for performing image compression according to an aspect of the present invention
- FIG. 2 is a flow chart of a method for determining remaining image capacity information according to a preferred embodiment of the present invention
- 3 is a schematic structural diagram of a compression apparatus for performing image compression according to an aspect of the present invention
- Figure 4 is a block diagram showing the structure of a compression device for determining remaining image capacity information in accordance with a preferred embodiment of the present invention.
- the method according to the invention comprises a step S1, a step S2, a step S3, a step S4 and a step S5.
- the method of the present invention is mainly implemented by a user equipment.
- the user equipment includes, but is not limited to, a PC, a smartphone, a PDA, an IPTV, a printer, and the like.
- the network where the user equipment is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
- user equipment and the network are only examples, and other existing or future user equipments or networks may be included in the scope of the present invention and included in the reference. herein.
- step S1 the user equipment determines, according to the predetermined compression lower limit information of the plurality of images to be compressed, the image maximum size reduction information of the compressed image to be compressed, and the image size information of each of the images to be compressed.
- the plurality described in the present invention means two or more.
- the plurality of images to be compressed may be determined in a plurality of manners.
- the smart phone determines, according to an image insertion operation performed by the user on the MMS, a plurality of images that need to be compressed and added to the MMS as the image to be compressed; and, for example, when the image transmission time set by the user is reached, the instant installed in the PC
- the communication tool takes a plurality of images in the specified folder as images to be compressed sent in the message to be compressed and added, and the like.
- the predetermined lower compression limit information includes any lower limit that can be used to define a compression lower limit of the image.
- the predetermined lower compression information includes but is not limited to at least one of the following:
- the lower limit of the image size of the image to be compressed after compression is 20k or the like.
- the lower limit of the compression ratio of the image to be compressed is 60% or the like.
- the user equipment can determine the maximum image reduction information of the compressed image to be compressed according to the predetermined compression lower limit information and the image size information in a plurality of manners.
- the manner in which the user equipment determines the maximum attenuation information of the compressed image in the compressed image includes, but is not limited to:
- the user equipment respectively determines minimum image size information that each image to be compressed can be compressed according to image size information of each image to be compressed and predetermined lower compression information, thereby determining maximum attenuation information of each image after compression. And summing the maximum reduction information of each compressed image to be compressed image as the maximum reduction information of the compressed image after compression.
- the determined images to be compressed and their image size information are as shown in Table 1 below:
- the predetermined compression lower limit information includes: The lower limit of the image size of the image to be compressed after compression is
- the user equipment determines, according to the sum of the image size information of the plurality of images to be compressed and the P ⁇ information under the predetermined compression, the maximum image reduction information of the compressed image to be compressed.
- image size information of a plurality of images to be compressed A to D is as shown in Table 1, predetermined pressure
- step S2 the user equipment determines compression parameter information of the plurality of images to be compressed according to the image maximum attenuation information.
- the manner in which the user equipment determines the compression parameter information of the plurality of images to be compressed according to the maximum attenuation information of the image includes but is not limited to:
- the user equipment determines the compression parameter information of the plurality of images to be compressed directly according to the maximum attenuation information of the image.
- the compression parameter information when the maximum attenuation information of the image belongs to 0-100k, the compression parameter information is 90%, and when the maximum attenuation information of the image is greater than 100k and less than or equal to 200k, the compression parameter information is 80%, when the maximum reduction of the image When the information is greater than 200k, the compression parameter information is 70%; in step S1, the maximum attenuation information of the plurality of images to be compressed A to D determined by the user equipment is 116k, and the user equipment is greater than 100k and less than or equal to 200k according to 116k. , determining compression parameter information of the plurality of compressed images A to D is 80%.
- step S6 the user equipment further performs step S6 to obtain image capacity information that can be allocated to the compressed image to be compressed in the information to be transmitted.
- the user equipment according to the maximum attenuation information of the image And image capacity information, determining compression parameter information of the plurality of images to be compressed.
- the plurality of to-be-compressed images are compressed and added to the to-be-sent information for transmission.
- the manner in which the user equipment acquires the image capacity information in step S6 includes but is not limited to In:
- the user equipment directly obtains image capacity information pre-assigned to the compressed plurality of images to be compressed in the information to be transmitted.
- the user equipment directly acquires the image capacity information.
- the user equipment determines image capacity information that can be allocated to the compressed plurality of images to be compressed according to the total information capacity of the information to be transmitted and the amount of information of other information therein.
- the user equipment determines compression parameter information of the plurality of images to be compressed according to the image maximum reduction information and the image capacity information.
- the user equipment determines in step S1 that the image maximum reduction information of the plurality of images to be compressed A to D is 108k, the image capacity information determined in step S6 is 244k, and the predetermined compression lower limit information includes images A to D to be compressed.
- the user equipment may also combine each of the obtained steps S1.
- the minimum image size information to be compressed to be compressed, and the compression parameter information is determined.
- the minimum image size information obtained by the images A to D to be compressed in step S1 is 60k, 36k, 48k and 20k, respectively, and the image capacity information determined in step S6 is 244k, and the images of the images A to D to be compressed are compressed.
- the size information is as shown in Table 1.
- step S3 the user equipment determines the compression ratio information of each image to be compressed according to the compression parameter information and the image size information of each image to be compressed and the maximum attenuation information of the compressed image.
- the user equipment may determine, according to the image size information of each image to be compressed and the predetermined compression lower limit information, that the plurality of to-be-compressed images are in the compressed maximum image reduction information in step S1, and determine each of the to-be-compressed images.
- the maximum attenuation information of the compressed image in the compressed image or, in this step, the user equipment determines, based on the image size information of each image to be compressed and the P ⁇ information under predetermined compression, respectively, that each image to be compressed is compressed.
- the maximum reduction of the image is from
- the user equipment can determine the compression ratio of an image to be compressed in various manners.
- the compression parameter information determined by the user equipment in step S3 is 75.472%
- the image size information of the plurality of images to be compressed ⁇ to D is as shown in Table 1, and the images A to D to be compressed determined in step S1 are compressed.
- the compressed maximum image reduction information is used to determine the compression ratio information of each image to be compressed, for example, the user equipment is further combined with the minimum image that can be compressed to be determined in the process of performing step S1.
- the image size information is used to determine the maximum reduction information of the compressed image in each image to be compressed. For example, the ratio information calculated in the above example is further rounded up as the compression ratio information of the image to be compressed, and the like.
- step S4 the user equipment performs a compression operation on each image to be compressed according to the compression ratio information.
- step S3 there is no absolute sequence between step S3 and step S4; for example, in step S3, each time the user equipment determines the compression ratio information of the image to be compressed, step S4 is performed, and the image to be compressed is executed. Performing a compression operation, then, the user equipment determines another compression ratio information of the image to be compressed, and then performs step S4; for example, after the user equipment determines the compression ratio information of all the images to be compressed in step S3, step S4 is performed. Perform a compression operation on all images to be compressed.
- step S5 the user equipment adds the compressed image to be compressed to a to-be-sent information for transmission.
- the to-be-sent information includes, but is not limited to, a multimedia message, a transmission information of a network printer including an image to be printed, and the like.
- the compression parameter information obtained in step S2 is greater than 100%, the image capacity information that can be allocated to the compressed plurality of images to be compressed in the information to be transmitted is sufficiently large, and the image to be transmitted is not compressed.
- the user equipment may directly perform the step S3 to the step S5, and directly add the plurality of images to be compressed to the to-be-sent information for transmission.
- the present invention determines the compression ratio of an image by referring to P ⁇ information under predetermined compression, thereby reducing the problem of image quality degradation caused by image over-compression; further, the present invention determines by determining the maximum reduction of the image after compression of the image.
- the image compression parameters determine the image compression ratio, so that the optimal compression ratio can be determined while greatly simplifying the image compression ratio calculation.
- the present invention also includes step S7, step S8, step S9 and step S10 which are performed before step S1.
- step S7 when it is detected that the user performs an image insertion operation on the information to be transmitted, the user equipment performs the following step S8 to each of the one or more images selected by the user in the image insertion operation. S10.
- the user equipment performs on each of the images A′, B′, and C.
- step S8 the user equipment determines whether the image size of the image exceeds a predetermined size upper limit.
- the user equipment determines whether the image size of the image A' exceeds 1600x1200.
- step S9 when the image size of the image exceeds the upper limit of the predetermined size, the user equipment pre-compresses the image into an image whose image size is less than or equal to the upper limit of the predetermined size, as one of the plurality of images to be compressed in step S1. .
- the user equipment determines that the image size of the image A′ exceeds 1600 ⁇ 1200 according to the image size of the image A′, and the user equipment pre-compresses the image A′ into the image A with the image size of 1400 ⁇ 1200, as multiple waiting in step S1. Compress one of the images, as an image to be compressed.
- step S10 when the image size of the image does not exceed the upper limit of the predetermined size, the user device takes the image as one of the plurality of images to be compressed in step S1.
- step S8 the user equipment determines that the image size of the image A' does not exceed the upper limit of the predetermined size by 1600 ⁇ 1200. Then, in this step, the user equipment directly takes the image A' as one of the plurality of images to be compressed, such as the image A to be compressed, in the step S1.
- the user equipment performs steps S8 through S10 on images B' and C, respectively.
- the above examples are only for better explaining the technical solutions of the present invention, and are not limited to the present invention.
- the image insertion operation determines whether the image size of the image exceeds a predetermined size upper limit, and when the image size of the image exceeds a predetermined size upper limit, the image is pre-predicted Compressing into an image whose image size is less than or equal to the upper limit of the predetermined size, as one of the plurality of images to be compressed in step S1, when the image size of the image does not exceed the upper limit of the predetermined size, the image is taken as the step S1 Implementations of one of the plurality of images to be compressed are all included within the scope of the present invention.
- the user can perform a plurality of image insertion operations, and the user device performs steps S7 to S10 based on each image insertion operation, thereby determining a plurality of images to be compressed described in step S1 based on the plurality of image insertion operations. For example, after the images A to C have been determined according to the image insertion operation performed by the user, and the user is again determined to perform a new image selection operation in step S7 to select the image D', the user equipment performs step S8 on the image D'. Go to step S10, the image D to be compressed is determined; next, the user performs a transmitting operation, and the user equipment performs steps S1 to S5 on the images A to D to be compressed determined based on the 2 image insertion operations performed by the user.
- the image compression irrational problem caused by excessive image difference is reduced, for example, the image size is reduced due to the existence of an oversized image.
- the image may be over-compressed and may wait.
- step S1 is a flow chart of a method for determining remaining image capacity information in accordance with a preferred embodiment of the present invention.
- the method of this embodiment includes step S1, step S12, step S13, and step S14.
- step S11 when detecting that the user performs an image insertion or deletion operation on the information to be transmitted, the user equipment determines a plurality of images to be compressed.
- the manner in which the user equipment determines multiple images to be compressed includes but is not limited to: 1) When the user equipment has not determined any image to be compressed, the user equipment determines an image selected by the user according to the image insertion operation of the user to send the information, and directly uses the image selected by the user as the image to be sent, or by performing the foregoing step S7. To S10, the image to be transmitted is determined.
- the user equipment determines according to the image insertion or deletion operation performed by the user, and in combination with the previously determined image to be transmitted. Images to be sent.
- the user equipment determines the to-be-sent images A, B, C, D, and E according to the image insertion operation that the user has previously performed; when the user equipment detects that the user wants to send the information, performs an image deletion operation, and determines that it selects to delete the to-be-sent image.
- the user equipment deletes the to-be-sent image E from the to-be-sent images A, B, C, D, and E, and uses the remaining to-be-sent images A to D as a plurality of to-be-sent images.
- the user equipment determines the images to be transmitted A, B, and C according to the image insertion operation that the user has previously performed; when the user equipment detects that the user performs an image insertion operation on the information to be transmitted, and determines that the user selects the insertion image D′, the user The device performs the foregoing steps S8 to S10 to obtain an image to be transmitted D, and the image to be transmitted D and the previously determined images to be transmitted VIII, B and C are taken as a plurality of images to be transmitted.
- step S12 the user equipment determines, according to the predetermined compressed P ⁇ information of the plurality of images to be compressed and the image size information of each image to be compressed, the minimum image size information to which the plurality of images to be compressed can be compressed.
- the predetermined compression lower limit information includes: the lower limit of the compressed image size of the image to be compressed is 20k and the lower limit of the compression ratio of the image to be compressed is 60%, and the image size information of the images to be compressed A to D is as shown in Table 1;
- step S13 the user equipment determines, according to the image capacity information that can be allocated to the compressed image to be compressed, and the minimum image size information that the plurality of images to be compressed can be compressed, according to the information to be transmitted. The remaining image capacity information in the transmission information.
- the image capacity information of the plurality of to-be-compressed images to be compressed in the information to be transmitted is 244.5k
- the minimum image size information determined in step S12 is 162k
- the user equipment determines the remaining images in the information to be transmitted.
- any of the plurality of to-be-suppressed can be allocated according to the information to be sent.
- the image capacity information of the compressed image, and the minimum image size information to which the plurality of images to be compressed can be compressed, and the implementation manner of determining the remaining image capacity information in the information to be transmitted, such as the 82.5k obtained in the above example.
- the value 82k, as the remaining image capacity information and the like, should be included in the scope of the present invention.
- step S14 the user equipment performs a corresponding operation based on the remaining image capacity information.
- the foregoing corresponding operations include but are not limited to:
- the information to be transmitted estimated based on the remaining image capacity information can also be The inserted image quantity information is presented to the user.
- the image remaining capacity is 82.5 k
- the predetermined compression lower limit information includes the compressed image size lower limit information 20k of the image to be compressed
- step S14 further includes the following steps S141 and S142.
- step S141 when detecting that the user performs a new image insertion operation on the information to be transmitted, the user equipment according to the image size information of the one or more images selected by the user in the new image insertion operation and the predetermined lower compression limit Information, determining whether the minimum image size information to which the one or more images can be compressed is greater than the remaining image capacity information.
- the image remaining capacity is 82.5 k
- the predetermined compression lower limit information includes the compressed image size lower limit information 20k of the image to be compressed
- the number of images selected by the user in the new image insertion operation is 5, and the user equipment according to 5*20k > 82.5 k, determining that the minimum image size information to which the image selected by the user in the new image insertion operation can be compressed is larger than the remaining image capacity information.
- step S142 when it is determined that the minimum image size information is greater than the remaining image capacity information, the user is prompted to be unable to insert the one or more images.
- FIG. 3 is a block diagram showing the construction of a compression apparatus for performing image compression according to an aspect of the present invention.
- the compression device of the present invention is included in a user equipment; the compression device includes a reduction determining device 1, a compression parameter determining device 2, a compression ratio determining device 3, a compression processing device 4, and a transmitting device 5.
- the amplitude reduction determining means 1 determines the maximum image reduction information of the plurality of images to be compressed after compression based on the predetermined compression P ⁇ information of the plurality of images to be compressed and the image size information of each of the images to be compressed.
- the plurality of images to be compressed may be determined in a plurality of manners. For example, smart hand The machine determines, according to an image insertion operation performed by the user on the MMS, an image that needs to be compressed and added to the MMS as the image to be compressed; and, for example, when the image transmission time set by the user is reached,
- the instant communication tool installed in the PC takes a plurality of images in the specified folder as images to be compressed sent in the message to be compressed and added, and the like.
- the predetermined lower compression limit information includes any lower limit that can be used to define a compression lower limit of the image.
- the predetermined lower compression information includes but is not limited to at least one of the following:
- the lower limit of the image size of the image to be compressed after compression is 20k or the like.
- the lower limit of the compression ratio of the image to be compressed is 60% or the like.
- the amplitude reduction determining apparatus 1 can determine the maximum image reduction information of the plurality of images to be compressed in the compressed image according to the predetermined compression lower limit information and the image size information in a plurality of manners.
- the manner in which the amplitude reducing determining means 1 determines the maximum image reduction information of the compressed image to be compressed includes, but is not limited to:
- the reduction determining means 1 respectively determines the minimum image size information to which each image to be compressed can be compressed, based on the image size information of each image to be compressed and the predetermined compression lower limit information, thereby determining that the compressed image is maximum for each image.
- the reduction information is used, and the sum of the maximum reduction information of the compressed image to be compressed is used as the maximum reduction information of the compressed image to be compressed.
- the determined images to be compressed and their image size information are as shown in Table 2 below:
- the reduction determining device 1 determines, according to the sum of the image size information of the plurality of images to be compressed and the predetermined compression lower limit information, the maximum reduction signal of the compressed image to be compressed,
- the compression parameter determining means 2 determines the compression parameter information of the plurality of images to be compressed based on the maximum amplitude reduction information of the image.
- the manner in which the compression parameter determining device 2 determines the compression parameter information of the plurality of images to be compressed according to the maximum attenuation information of the image includes but is not limited to:
- the compression parameter determining means 2 directly determines the compression parameter information of the plurality of images to be compressed based on the maximum amplitude reduction information of the image.
- the compression parameter information when the maximum attenuation information of the image belongs to 0-100k, the compression parameter information is 90%, and when the maximum attenuation information of the image is greater than 100k and less than or equal to 200k, the compression parameter information is 80%, when the maximum reduction of the image When the information is greater than 200k, the compression parameter information is 70%; the maximum attenuation information of the plurality of images to be compressed A to D determined by the attenuation determining device 1 is 116k, the compression parameter determining means 2 determines that the compression parameter information of the plurality of compressed images A to D is 80% according to 116k greater than 100k and less than or equal to 200k.
- the compression device further includes a capacity acquisition device (not shown), and the compression parameter determination device 2 includes a sub-compression parameter determination device (not shown).
- the capacity acquisition device acquires image capacity information that can be allocated to the compressed plurality of images to be compressed in the information to be transmitted; and the sub-compression parameter determining device determines the plurality of to-be-compressed according to the image maximum reduction information and the image capacity information.
- the compression parameter information of the image The image to be compressed needs to be compressed and added to the information to be sent for transmission.
- the manner in which the capacity acquisition device acquires the image capacity information includes, but is not limited to: a) the capacity acquisition device directly acquires image capacity information pre-assigned to the compressed plurality of images to be compressed in the information to be transmitted.
- the capacity obtaining device directly acquires the image capacity information.
- the capacity acquisition device determines the image capacity that can be allocated to the compressed plurality of images to be compressed according to the total information capacity of the information to be transmitted and the amount of information of other information therein
- the sub-compression parameter determining means determines compression parameter information of the plurality of images to be compressed based on the image maximum reduction information and the image capacity information.
- the amplitude reduction determining apparatus 1 determines that the image maximum reduction information of the plurality of images to be compressed A to D is 106k, the image capacity information determined by the capacity acquisition apparatus is 244k, and the image size information of the images A to D to be compressed is as shown in Table 2.
- the amplitude reduction determining apparatus 1 determines that the image maximum reduction information of the plurality of images to be compressed A to D is 108k, the image capacity information determined by the capacity acquisition means is 244k, and the predetermined compression lower limit information includes compression of the images A to D to be compressed.
- the sub-compression parameter determining means may further perform each of the obtained by the reduction determining means 1.
- the minimum image size information to be compressed to be compressed, and the compression parameter information is determined.
- the minimum image size information to which the attenuation determining apparatus 1 can compress the images A to D to be compressed is 60k, 36k, 48k, and 20k, respectively, and the image capacity information determined by the capacity acquiring means is 244k, and the images to be compressed A to D
- the compression ratio determining means 3 determines the compression ratio information of each image to be compressed, respectively, based on the compression parameter information and the image size information of each image to be compressed and its maximum image reduction information in the compressed image.
- the compressed maximum image reduction information of each image to be compressed may be determined by the attenuation determining device 1 based on the image size information and the predetermined lower compression information of each image to be compressed, and the compressed image is compressed. Determination of the maximum reduction information; or, by the compression ratio determining means 3 based on image size information and predetermined compression of each image to be compressed The lower limit information is determined.
- the compression ratio determining means 3 can determine the compression ratio information of an image to be compressed in various ways.
- the compression parameter information determined by the compression parameter determining device 2 is 75.472%
- the image size information of the plurality of images to be compressed A to D is as shown in Table 2.
- the images A to D to be compressed determined by the amplitude determining device 1 are compressed.
- the foregoing examples are only for better explaining the technical solutions of the present invention, and are not intended to limit the present invention.
- the implementation of the compression ratio information of each image to be compressed is determined, for example, the compression ratio determining device 3 is further combined with each of the determinations determined by the damping determining device 1 in the process of performing the operation.
- the minimum image size information that the compressed image can be compressed to determine the maximum reduction information of the image to be compressed in the compressed image, and, for example, the ratio information calculated in the above example is further rounded to be the compression ratio information of the image to be compressed. And the like should be included in the scope of the present invention.
- the compression processing means 4 performs a compression operation on each image to be compressed based on the compression ratio information.
- the compression processing device 4 there is no absolute sequence between the operations performed by the compression ratio determining device 3 and the compression processing device 4; for example, each time the compression ratio determining device 3 determines the compression ratio information of an image to be compressed, the compression processing device 4 That is, an operation is performed to perform a compression operation on the image to be compressed, and then, the compression ratio determining means 3 determines the compression ratio information of the other image to be compressed, and the compression processing means 4 performs the operation again; for example, the compression ratio determining means 3 determines all After compressing the compression ratio information of the image to be compressed, the compression processing device 4 performs an operation again to perform a compression operation on all the images to be compressed. Then, the sending device 5 adds the compressed image to be compressed to a to-be-sent information for transmission.
- the to-be-sent information includes, but is not limited to, a multimedia message, a transmission information of a network printer including an image to be printed, and the like.
- the compression parameter information obtained by the compression parameter determining device 2 is greater than 100%, it indicates that the image capacity information that can be allocated to the compressed plurality of images to be compressed in the information to be transmitted is sufficiently large, and the image to be sent is not required to be performed.
- the compression ratio determining device 3, the compression processing device 4, and the transmitting device 5 may perform no operations, and the user equipment directly adds a plurality of images to be compressed to the information to be transmitted for transmission.
- the present invention determines the compression ratio of an image by referring to P ⁇ information under predetermined compression, thereby reducing the problem of image quality degradation caused by image over-compression; further, the present invention determines by determining the maximum reduction of the image after compression of the image.
- the image compression parameters determine the image compression ratio, so that the optimal compression ratio can be determined while greatly simplifying the image compression ratio calculation.
- the compression device further includes a triggering device (not shown), a first determining device (not shown), a pre-compressing device (not shown), and a defining device (not shown).
- the triggering device When detecting that the user performs an image insertion operation on the information to be transmitted, the triggering device triggers the first determining means, the pre-compression means, and each of the one or more images selected by the defining means for the user in the image insertion operation. Perform the operation.
- the trigger device triggers the first determining device, the pre-compression device, and the defining device pair image A′.
- Each of B, and C' performs the following operations.
- the first judging device, the pre-compressing device, and the defining device will be described below by the operation performed on the image A'.
- the first judging means judges whether or not the image size of the image exceeds the upper limit of the predetermined size.
- the first judging device judges whether the image size of the image A' exceeds 1600x1200.
- the pre-compression device pre-compresses the image into an image whose image size is less than or equal to the upper limit of the predetermined size, as the attenuation determining device 1 processing one of a plurality of images to be compressed.
- the pre-compression device pre-compresses the image A′ into the image A with the image size of 1400 ⁇ 1200 as the damping determining device. 1 processing one of a plurality of images to be compressed, such as image A to be compressed.
- the definition means takes the image as one of a plurality of images to be compressed processed by the attenuation determining means 1.
- the first determining means determines that the image size of the image A' does not exceed the upper limit of the predetermined size 1600x1200, and the defining means directly processes the image A' as the damping determining means 1.
- the first judging means, the pre-compression means, and the defining means perform the above operations on the images B' and C, respectively.
- any image insertion operation for the information to be sent by the user is detected, Whether each of the one or more images selected by the user in the image insertion operation determines whether the image size of the image exceeds a predetermined size upper limit, and when the image size of the image exceeds a predetermined size upper limit, the image is pre-predicted Compressing into an image whose image size is less than or equal to the upper limit of the predetermined size, as one of a plurality of images to be compressed processed by the attenuation determining device 1, when the image size of the image does not exceed the upper limit of the predetermined size, the image is used as a reduction It is to be understood that the implementation of one of the plurality of images to be compressed processed by the device 1 is intended to be included within the scope of the present invention.
- the user can perform a plurality of image insertion operations, and the triggering device triggers the first determining device, the pre-compression device, and the defining device based on each image insertion operation, thereby determining that the damping determining device 1 processes based on the multiple image insertion operation.
- Multiple images to be compressed For example, after the image insertion operation performed by the user has been determined, after the images A to C are determined to be compressed, the triggering device detects that the user performs a new image selection operation again, and selects the image D′, the triggering device triggers the first determining device and the pre-compression device.
- the apparatus 1, the compression parameter determining means 2, the compression ratio determining means 3, the compression processing means 4, and the transmitting means 5 perform operations on the images A to D to be compressed determined based on the two image insertion operations performed by the user.
- the image compression irrational problem caused by excessive image difference is reduced, for example, the image size is reduced due to the existence of an oversized image.
- the image may be over-compressed and may wait.
- Figure 4 is a block diagram showing the structure of a compression device for determining remaining image capacity information in accordance with a preferred embodiment of the present invention.
- the compression apparatus of this embodiment further includes an image determining means 11, a minimum image size determining means 12, a remaining capacity determining means 13, and an executing means 14.
- the image determining means 11 determines a plurality of images to be compressed.
- the manner in which the image determining apparatus 11 determines a plurality of images to be compressed includes but is not limited to:
- the image determining device 11 determines the image selected by the user according to the image insertion operation to be performed by the user, and directly selects the image selected by the user as the image to be transmitted, or determines the image.
- the device 11 determines an image to be transmitted by performing operations by the trigger device, the first judging device, the pre-compression device, and the defining device included therein.
- the image determining means 11 determines more based on the image insertion or deletion operation performed by the user this time, in combination with the previously determined image to be transmitted. Images to be sent.
- the image determining device 11 determines the images to be transmitted A, B, C, D, and E according to the image insertion operation that the user has previously performed; when the image determining device 11 detects that the user wants to transmit the information, performs an image deletion operation, and determines its selection.
- the image determining means 11 deletes the image E to be transmitted from the images A, B, C, D and E to be transmitted, and takes the remaining images A to D to be transmitted as a plurality of images to be transmitted.
- the image determining device 11 determines the images to be transmitted A, B, and C according to an image insertion operation that the user has previously performed; the image determining device 11 includes the triggering device, the first determining device, the pre-compressing device, and the defining device; The trigger device detects that the user is to send a letter When performing an image insertion operation and determining that it selects the insertion image D', the first judging means, the pre-compression means, and the defining means perform an operation, determine an image to be transmitted D, and the image to be transmitted D and the previously determined image to be sent Images A, B, and C are sent as a plurality of images to be transmitted.
- the minimum image size determining means 12 determines the minimum image size information to which the plurality of images to be compressed can be compressed, based on the predetermined compression information of the plurality of images to be compressed and the image size information of each image to be compressed.
- the predetermined compression lower limit information includes: the lower limit of the compressed image size of the image to be compressed is 20k, and the lower limit of the compression ratio of the image to be compressed is 60%, and the image size information of the images to be compressed A to D is as shown in Table 2;
- the image size information of the plurality of images to be compressed A to D is as shown in Table 2, and the predetermined compression lower limit information includes a compression ratio lower limit of the image to be compressed of 60%; then the minimum image size determining device 12 determines a plurality of images to be compressed.
- the remaining capacity determining means 13 can image the image capacity information that can be allocated to the compressed plurality of images to be compressed in the information to be transmitted, and the plurality of images to be compressed can be compressed.
- the minimum image size information to be determined, and the remaining image capacity information in the information to be transmitted is determined.
- any of the plurality of to-be-suppressed can be allocated according to the information to be sent.
- the image capacity information of the compressed image, and the minimum image size information to which the plurality of images to be compressed can be compressed, and the implementation manner of determining the remaining image capacity information in the information to be transmitted, such as the 82.5k obtained in the above example.
- the value 82k, as the remaining image capacity information and the like, should be included in the scope of the present invention.
- the executing device 14 performs a corresponding operation based on the remaining image capacity information.
- the foregoing corresponding operations include but are not limited to:
- the image remaining capacity is 82.5 k
- the predetermined compression lower limit information includes the compressed image size lower limit information 20k of the image to be compressed
- the executing device 14 further includes a second judging device (not shown) and a prompting device (not shown).
- the second determining means determines, according to the image size information of the one or more images selected by the user in the new image insertion operation and the predetermined compression lower limit information. Whether the minimum image size information to which the one or more images can be compressed is greater than the remaining image capacity information.
- the image remaining capacity is 82.5 k
- the predetermined compression lower limit information includes the compressed image size lower limit information 20k of the image to be compressed
- the number of images selected by the user in the new image insertion operation is 5, and then the second determining device is based on 5 *20k > 82.5k, judge the user to insert in the new image
- the minimum image size information to which the image selected in the operation can be compressed is larger than the remaining image capacity.
- the prompting device prompts the user that the one or more images cannot be inserted.
- the remaining image capacity information in the information to be transmitted can be estimated, thereby prompting the user to continue the inserted image capacity or quantity; further, when the predetermined lower compression limit is satisfied, the image that the user continues to insert is compressed.
- the image size exceeds the remaining image capacity information the user can be prevented from continuing to insert the image, thereby ensuring the compression quality of the image.
- the present invention can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
- ASIC application specific integrated circuit
- the software program of the present invention can be executed by a processor to implement the steps or functions described above.
- the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
- some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various functions or steps.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Information Transfer Between Computers (AREA)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015502054A JP6017668B2 (ja) | 2012-03-31 | 2012-08-09 | 画像圧縮を行う方法、装置及びデバイス |
| US14/388,930 US9491479B2 (en) | 2012-03-31 | 2012-08-09 | Image compression method, apparatus and device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210093330.0A CN103369313B (zh) | 2012-03-31 | 2012-03-31 | 一种进行图像压缩的方法、装置和设备 |
| CN201210093330.0 | 2012-03-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2013143250A1 true WO2013143250A1 (zh) | 2013-10-03 |
Family
ID=49258149
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/079871 Ceased WO2013143250A1 (zh) | 2012-03-31 | 2012-08-09 | 一种进行图像压缩的方法、装置和设备 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9491479B2 (enExample) |
| JP (1) | JP6017668B2 (enExample) |
| CN (1) | CN103369313B (enExample) |
| WO (1) | WO2013143250A1 (enExample) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140324990A1 (en) * | 2013-04-27 | 2014-10-30 | Xiao Long Zhang | Method and device for transmitting and receiving multiple files |
| CN103793928B (zh) * | 2014-02-20 | 2018-03-16 | Tcl集团股份有限公司 | 一种移动平台信息的自适应图像缩放方法及其装置 |
| CN105243638B (zh) * | 2015-09-25 | 2019-11-15 | 腾讯科技(深圳)有限公司 | 一种上传图像的方法和装置 |
| CN106572281A (zh) * | 2016-11-04 | 2017-04-19 | 青岛海信移动通信技术股份有限公司 | 一种彩信图片的压缩方法及其装置、通信终端 |
| CN109995962B (zh) * | 2017-12-29 | 2020-09-01 | 浙江宇视科技有限公司 | 图片编码尺寸上限的控制方法及系统 |
| KR102022648B1 (ko) | 2018-08-10 | 2019-09-19 | 삼성전자주식회사 | 전자 장치, 이의 제어 방법 및 서버의 제어 방법 |
| KR20230021144A (ko) * | 2020-06-13 | 2023-02-13 | 구글 엘엘씨 | 사용자 선호도를 반영한 기계 학습 기반 이미지 압축 세팅 |
| US12112463B2 (en) | 2020-09-14 | 2024-10-08 | City University Of Hong Kong | Method, device and computer readable medium for intrinsic popularity evaluation and content compression based thereon |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6614942B1 (en) * | 1999-12-17 | 2003-09-02 | Microsoft Corporation | Constant bitrate algorithm for block based image compression |
| CN1498497A (zh) * | 2001-12-26 | 2004-05-19 | ���ṫ˾ | 图像拾取设备和方法 |
| CN101119488A (zh) * | 2007-07-12 | 2008-02-06 | 深圳市融合视讯科技有限公司 | 一种用于视频编码的色度均衡方法 |
| CN101155300A (zh) * | 2006-09-26 | 2008-04-02 | 中国科学院声学研究所 | 一种高误比特率下基于离散小波变换的水声图像压缩方法 |
| US20100103285A1 (en) * | 2008-10-29 | 2010-04-29 | Altek Corporation | Method and electronic device for adjusting compression ratio of jpeg image |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3072240B2 (ja) * | 1995-03-31 | 2000-07-31 | 日立ソフトウエアエンジニアリング株式会社 | 動画像データ提供システム |
| JPH0918867A (ja) * | 1995-07-03 | 1997-01-17 | Fujitsu Ltd | 画像圧縮装置 |
| WO2000078053A1 (fr) * | 1999-06-14 | 2000-12-21 | Nikon Corporation | Codage a compression, support enregistre portant un programme de codage a compression et dispositif imageur |
| US7088276B1 (en) * | 2004-02-13 | 2006-08-08 | Samplify Systems Llc | Enhanced data converters using compression and decompression |
| JP4393319B2 (ja) * | 2004-09-08 | 2010-01-06 | キヤノン株式会社 | 画像符号化装置及び方法、並びにコンピュータプログラム及びコンピュータ可読記憶媒体 |
| JP2006310912A (ja) * | 2005-04-26 | 2006-11-09 | Matsushita Electric Ind Co Ltd | 動画像ビットレート変換方法、動画像ビットレート変換装置、動画像ビットレート変換回路及びプログラム記録媒体 |
| JP4901460B2 (ja) * | 2006-12-26 | 2012-03-21 | 富士フイルム株式会社 | 撮影装置、方法およびプログラム |
| EP2486517A4 (en) * | 2009-10-05 | 2014-06-11 | Icvt Ltd | DEVICE AND METHOD FOR RECOMPRIATING DIGITAL IMAGES |
| EP2549755B1 (en) * | 2010-03-18 | 2017-09-27 | Panasonic Intellectual Property Corporation of America | Data processing device and data processing method |
| JP5520099B2 (ja) * | 2010-03-24 | 2014-06-11 | キヤノン株式会社 | 画像処理装置およびその制御方法 |
| JP6234098B2 (ja) * | 2013-07-19 | 2017-11-22 | キヤノン株式会社 | 画像処理装置、画像処理方法およびプログラム |
-
2012
- 2012-03-31 CN CN201210093330.0A patent/CN103369313B/zh active Active
- 2012-08-09 JP JP2015502054A patent/JP6017668B2/ja active Active
- 2012-08-09 US US14/388,930 patent/US9491479B2/en active Active
- 2012-08-09 WO PCT/CN2012/079871 patent/WO2013143250A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6614942B1 (en) * | 1999-12-17 | 2003-09-02 | Microsoft Corporation | Constant bitrate algorithm for block based image compression |
| CN1498497A (zh) * | 2001-12-26 | 2004-05-19 | ���ṫ˾ | 图像拾取设备和方法 |
| CN101155300A (zh) * | 2006-09-26 | 2008-04-02 | 中国科学院声学研究所 | 一种高误比特率下基于离散小波变换的水声图像压缩方法 |
| CN101119488A (zh) * | 2007-07-12 | 2008-02-06 | 深圳市融合视讯科技有限公司 | 一种用于视频编码的色度均衡方法 |
| US20100103285A1 (en) * | 2008-10-29 | 2010-04-29 | Altek Corporation | Method and electronic device for adjusting compression ratio of jpeg image |
Also Published As
| Publication number | Publication date |
|---|---|
| US20150163504A1 (en) | 2015-06-11 |
| CN103369313A (zh) | 2013-10-23 |
| CN103369313B (zh) | 2017-10-10 |
| JP6017668B2 (ja) | 2016-11-02 |
| US9491479B2 (en) | 2016-11-08 |
| JP2015516734A (ja) | 2015-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8533366B2 (en) | Method of determining image transmission method, image supplying system, image supplying device, image display device, program and computer-readable recording medium | |
| JP6017668B2 (ja) | 画像圧縮を行う方法、装置及びデバイス | |
| US8983190B2 (en) | Dynamic service configuration during OCR capture | |
| EP4239974A1 (en) | Data transmission method and apparatus, and computer-readable medium and electronic device | |
| CN101401434B (zh) | 用于改变视频图像序列的时间频率的方法和装置 | |
| CN103701852B (zh) | 发送文件的方法和终端 | |
| JP2002125004A (ja) | ラジオリンクコントロールでプロトコルデータユニット情報の長さインジケータを処理する方法 | |
| US8331766B2 (en) | Image supply apparatus, image supply system, image supply method, and computer program product | |
| KR20160142200A (ko) | Mjpeg 압축방식을 이용하는 영상촬영장치 | |
| JP2003244698A (ja) | 圧縮画像データ伝送装置及び圧縮画像データ伝送方法 | |
| CN118250394A (zh) | 一种打印数据的传输方法、装置以及电子设备 | |
| US7715357B2 (en) | Radio LAN system using communication apparatus, and method for setting operation mode | |
| JP6297933B2 (ja) | 音声データ送信装置およびその動作方法 | |
| CN114339242B (zh) | 一种图像压缩的方法及装置 | |
| CN114302140A (zh) | 一种预丢帧方法、系统、设备及计算机可读存储介质 | |
| CN111030985A (zh) | 一种数据包发送方法和装置 | |
| CN108347451B (zh) | 图片处理系统、方法和装置 | |
| CN115633181A (zh) | 图片处理方法、系统、装置、图像压缩装置及存储介质 | |
| CN112087635B (zh) | 图像编码控制方法、装置、设备及计算机可读存储介质 | |
| JP5389747B2 (ja) | コンテンツ変換システム、およびコンテンツ変換方法 | |
| JP2010119030A (ja) | 通信装置、通信方法および通信プログラム | |
| CN110266814A (zh) | 传输方法及传输装置 | |
| JP2001197143A (ja) | インターネット上での流動的多重チャンネルと可変的ストリムとを利用した伝送情報の圧縮及び解除装置並びにその方法 | |
| JP3950791B2 (ja) | 画像処理装置及び画像データ処理方法 | |
| JP2017004058A (ja) | データ提供装置、データ提供方法、およびコンピュータプログラム |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12873330 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2015502054 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 14388930 Country of ref document: US |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 12873330 Country of ref document: EP Kind code of ref document: A1 |