CN1633181A - Continuous image compression method - Google Patents
Continuous image compression method Download PDFInfo
- Publication number
- CN1633181A CN1633181A CN 200410079690 CN200410079690A CN1633181A CN 1633181 A CN1633181 A CN 1633181A CN 200410079690 CN200410079690 CN 200410079690 CN 200410079690 A CN200410079690 A CN 200410079690A CN 1633181 A CN1633181 A CN 1633181A
- Authority
- CN
- China
- Prior art keywords
- value
- dct
- parameter
- continuous image
- dct parameter
- 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.)
- Granted
Links
Abstract
This invention relates to a continuous image method, which utilizes DCT parameter values generate in JPEG encoding to carry out mobile detection judgment to decide if the high frequency part in the DCT parameter value is output in terms of the result of the mobile detection judgment to save data volume generated in coding.
Description
Technical field
The invention relates to a kind of continuous image compressing method.
Background technology
The video streams majority that is applied to the image-type digital supervision at present carries out video coding and compression with motion jpeg (motion JPEG), few part with the MPEG algorithm; The motion jpeg coding has no lag characteristic, and algorithm complexity is lower, and is lower on the demand of usefulness when encoding, but when encoding only at each picture absolute coding, if when several image contents were identical continuously, identical data will repeat output or transmission; And mpeg encoded is except to the single picture coding, also can be relatively and contiguous image content between difference, if with contiguous image content same or analogous part is arranged, will produce motion-vector (motionvector) and represent the low volume data of otherness to save data volume; Yet, the MPEG algorithm is complicated, need higher usefulness requirement when encoding, and mpeg encoded is with picture group (GOP, group of pictures) be unit, can be subjected to the frame numbers influence among each picture group and postpone, bring inconvenience for the application on various imaging monitorings, and can't reach best monitoring effect.
This shows that the method for above-mentioned prior art still has big defective, demand urgently improving.
Summary of the invention
The object of the present invention is to provide the continuous image compressing method that a kind of algorithm is simple, data volume is few, need to be applied to online program or the system that carries out the digital video crossfire in internet, as digital supervision and video streams mechanism, to reduce the fluency of internet data transmission quantity and enhancement video pictures.
Continuous image compressing method of the present invention, be to be core with the JPEG compiling method, except at every picture absolute coding, in cataloged procedure, also carry out mobile detection with last image content, the method of carrying out is: when the picture of input carries out the JPEG coding, it is the block of unit with 8 * 8 pixels that picture at first is cut into nonoverlapping, each block uses discrete cosine transform (DCT separately then, Discrete Cosine Transform) obtains 64 parameter values, DCT parameter value with same position block in these 64 parameter values and last the picture compares again, if the similarity subcritical value of these two groups of parameter values, two pictures have produced otherness before and after just being considered as in this block of 8 * 8, the condition of (motion) that promptly moves is set up, and carries out next code so just keep these 64 parameter values; If the similarity of these two groups of parameter values is not less than critical value, two pictures are same or analogous before and after just being considered as in this block of 8 * 8, just only keep DC coefficient (DC coefficient) value this moment, all the other 63 ac coefficient values (AC coefficient) all are made as 0, proceed the flow process of encoding then, the meaning of DC value representative is the average brightness value in this 8 * 8 block, if the otherness between the picture of front and back is little, only needs that then the renewal of the brightness value in the old block is become new picture and get final product.
After receiving coded data, promptly deciphers receiving terminal, in the DCT parameter value separating out, if having only the DC value non-vanishing, just must obtain the DCT parameter of last picture earlier, the DC value that then new DC value is replaced former DCT parameter continues the decoding flow process then; If there is plural parameter non-vanishing in the DCT parameter value, just representing this DCT parameter is complete parameter value, can directly carry out follow-up decoding flow process.
Continuous image compressing method provided by the present invention when comparing mutually with prior art, has more following advantage:
1. coding side uses the jpeg algorithm encoding compression, and is lower on the demand of usefulness when encoding because of algorithm complexity is low than the MPEG algorithm, and do not have lag characteristic, and it is required to meet most of digitized video supervisory control system reality.
2. when raw frames is encoded, can carry out mobile detection, not need to carry out in addition the mobile detection program raw frames is made mobile detection.
3. when the same block content of continuous two pictures is same or similar, only need to produce DC value modified block average brightness value, save the data volume that transmits or store.
Therefore, the present invention need can be applicable to online program or the system that carries out the digital video crossfire in internet, as digital supervision and video streams mechanism, has reached the purpose that reduces the internet data transmission quantity and promote the fluency of video pictures.
Description of drawings
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
Fig. 1 is the coding side operation workflow figure of continuous image compressing method of the present invention;
Fig. 2 is the decoding end operation workflow figure of continuous image compressing method of the present invention.
Embodiment
The coding side operation workflow of continuous image compressing method provided by the present invention, as shown in Figure 1, raw frames 10 at first is cut into the block 11 of nonoverlapping 8 * 8 pixels, coding side uses discrete cosine transform (DCT at each block, DiscreteCosine Transform) obtains 64 parameter values 12, this moment, the DCT parameter value 13 with same position block in these 64 parameter values and last the picture compared, if the similarity of these two groups of DCT parameter values is not less than critical value 14, two pictures are same or analogous before and after promptly being considered as in this block of 8 * 8, that is dynamically the condition of (motion) is false, just only keep DC coefficient (DC coefficient) value (upper left corner ash color part) this moment, all the other 63 ac coefficient values (ACcoefficient) all are made as 0 (white portion); If the similarity subcritical of these two groups of DCT parameter values value 14, promptly be considered as in this block of 8 * 8 before and after two pictures 12 and 13 produced otherness, promptly dynamically the condition of (motion) is set up, so do not adjust this 64 parameter values; So can obtain all new DCT parameter values 15, it is the coding processing mode of available general JPEG compiling method to all DCT parameter values that next code is handled, such as quantization encoding 16, huffman coding 17 and variable length code 18, come all new DCT parameter values of encoding process, produce coding back data 19.Above-mentioned critical value can be used one group 8 * 8 the table of comparisons (look-up table) 14, as the critical value of 8 * 8 indivedual similarities of DCT parameter, also can use the critical value of 1 critical value as 8 * 8 DCT parameter overall similarities.
The decoding end operation workflow of continuous image compressing method provided by the present invention, as shown in Figure 2, the decoding end is promptly deciphered step after receiving coded data 21: Hofmann decoding 22 and re-quantization decode 23, in the DCT parameter value 24 separating out, if have only DC value (upper left corner ash color part) non-vanishing, two pictures are same or analogous before and after promptly representing in this block of 8 * 8, just must obtain 8 * 8 DCT parameters 25 of last the same block of picture this moment earlier, the DC value 26 that then new DC value is replaced former DCT parameter is to obtain adjusted 8 * 8 DCT parameter values 27; If have plural parameter non-vanishing in these 8 * 8 DCT parameter values 24 that decode, then need not adjust this 8 * 8 DCT parameters; So can obtain all new DCT parameter values 26, subsequent decoding is handled the decoding processing mode of available general JPEG decoding method to all DCT parameter values, deciphers and handles all new DCT parameter values, to obtain decoded picture 28.
Claims (5)
1, a kind of continuous image compressing method is characterized in that: will importing picture earlier, to be cut into nonoverlapping N * N pixel be the block of unit, and each block uses discrete cosine transform (DCT, Discrete Cosine Transform) to obtain N separately
2Individual parameter value is again with this N
2In individual parameter value and last the picture DCT parameter value of same position block relatively, if the similarity subcritical value of these two groups of parameter values then keeps this N
2Individual parameter value carries out next code to be handled; If the similarity of these two groups of parameter values is not less than critical value, then keep DC coefficient (DC coefficient) value, all the other (N
2-1) individual ac coefficient value (ACcoefficient) all is made as 0, and carries out next code and handle; After receiving terminal is received coded data, promptly decipher, in the DCT parameter value of being deciphered out,, then need not adjust this DCT parameter value, can directly carry out follow-up decoding and handle if there is plural parameter non-vanishing; If in the DCT parameter value that is decoded, have only the DC value non-vanishing, then the DCT parameter with last picture is a benchmark, and the DC value that this is new replaces the DC value of former DCT parameter, and carries out follow-up decoding flow process.
2, continuous image compressing method as claimed in claim 1 is characterized in that: the critical value of described DCT parameter value similarity is to use the critical value of the table of comparisons of one group of N * N (look-up table) as N * N the indivedual similarities of DCT parameter.
3, continuous image compressing method as claimed in claim 1 is characterized in that: the critical value of described DCT parameter value similarity is to use the critical value of 1 critical value as N * N DCT parameter overall similarity.
4, continuous image compressing method as claimed in claim 1 is characterized in that: described next code is handled the coding processing mode of available JPEG compiling method to all DCT parameter values, comes all new DCT parameter values of encoding process.
5, continuous image compressing method as claimed in claim 1 is characterized in that: the decoding processing mode of available JPEG decoding method to all DCT parameter values handled in described follow-up decoding, deciphers and handles all new DCT parameter values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410079690 CN100490534C (en) | 2004-12-23 | 2004-12-23 | Continuous image compression method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410079690 CN100490534C (en) | 2004-12-23 | 2004-12-23 | Continuous image compression method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1633181A true CN1633181A (en) | 2005-06-29 |
CN100490534C CN100490534C (en) | 2009-05-20 |
Family
ID=34847153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410079690 Expired - Fee Related CN100490534C (en) | 2004-12-23 | 2004-12-23 | Continuous image compression method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100490534C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635735A (en) * | 2014-11-25 | 2016-06-01 | 黑莓有限公司 | Perceptual image and video coding |
-
2004
- 2004-12-23 CN CN 200410079690 patent/CN100490534C/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635735A (en) * | 2014-11-25 | 2016-06-01 | 黑莓有限公司 | Perceptual image and video coding |
CN105635735B (en) * | 2014-11-25 | 2019-04-26 | 黑莓有限公司 | Perceptual image and Video coding |
Also Published As
Publication number | Publication date |
---|---|
CN100490534C (en) | 2009-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1112045C (en) | Carry out video compression with error information coding method repeatedly | |
CN100423539C (en) | Image compression method, image compression device, image transmission system, data compression pre-processing device, and computer program | |
US7936824B2 (en) | Method for coding and decoding moving picture | |
US8902992B2 (en) | Decoder for selectively decoding predetermined data units from a coded bit stream | |
JPH0775105A (en) | Method and device for encoding and decoding image data | |
CN101068350A (en) | Image coding and decoding processing method based on picture element st atistical characteristic and visual characteristic | |
CN1672166A (en) | Digital image encoding | |
WO2005001760B1 (en) | Fast loss less image compression system based on neighborhood comparisons | |
TW200307463A (en) | Animation encoding method, animation encoding device, and animation encoding processing program | |
US20220417524A1 (en) | Systems and methods for compressing video | |
Wang et al. | United coding for compound image compression | |
EP1755341A1 (en) | Method of quantization of transform coefficients | |
CN1691780A (en) | Video encoder and method for detecting and encoding noise | |
WO2003043343A3 (en) | Method and system for detecting intra-coded pictures and for extracting intra dct precision and macroblock-level coding parameter s from uncompressed digital video | |
CN1315109A (en) | Image processing circuit and method for modifying a pixel valve | |
US6847684B1 (en) | Zero-block encoding | |
EP2920961A1 (en) | Method, apparatus and computer program product for video compression | |
CN1926878A (en) | System and method for global indication of MPEG impairments in compressed digital video | |
Philips et al. | State-of-the-art techniques for lossless compression of 3D medical image sets | |
CN100490534C (en) | Continuous image compression method | |
CN101068328B (en) | Automatic video recording method | |
CN111182310A (en) | Video processing method and device, computer readable medium and electronic equipment | |
Bracamonte et al. | Adaptive block-size transform coding for image compression | |
CN108235038B (en) | Method and device for image coding, decoding and compressing | |
WO2015164537A1 (en) | Systems and methods for improving quality of color video streams |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090520 Termination date: 20131223 |