CN1852437A - System and method compatible multiple kinds of image compression method - Google Patents

System and method compatible multiple kinds of image compression method Download PDF

Info

Publication number
CN1852437A
CN1852437A CN 200610081313 CN200610081313A CN1852437A CN 1852437 A CN1852437 A CN 1852437A CN 200610081313 CN200610081313 CN 200610081313 CN 200610081313 A CN200610081313 A CN 200610081313A CN 1852437 A CN1852437 A CN 1852437A
Authority
CN
China
Prior art keywords
module
image
data
compressing
compressing image
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.)
Pending
Application number
CN 200610081313
Other languages
Chinese (zh)
Inventor
张倩
陈志华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vimicro Corp
Original Assignee
Vimicro Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vimicro Corp filed Critical Vimicro Corp
Priority to CN 200610081313 priority Critical patent/CN1852437A/en
Publication of CN1852437A publication Critical patent/CN1852437A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The method includes steps: storing multiple image compression methods in storage module; using configurable module of control registers controls image compression methods working for image data compression device; based on selection of the said configurable module of control registers, reading out corresponding image compression method from storage module, the image data compression device outputs the compressed inputted image data. Using common ground and similarity among multiple compression modes, the invention sets up multiple compression methods in common hardware. Thus, the invention implements multiform image compression methods without adding too many RAM and logics under condition in low cost and compatibility.

Description

A kind of system and method for compatible multiple kinds of image compression method
Technical field
The present invention relates to a kind of system and method for method for compressing image, particularly a kind of system and method for compatible multiple kinds of image compression method.
Background technology
Video compression format commonly used at present is MJPEG (Motion Joint Photographic ExpertGroup; Portable consecutive image expert group) and MPEG2 (Moving Pictures Experts Group; Dynamic image expert group) I frame compression.Motion-JPEG (be called for short M-JPEG), it is the JPEG compression of optimizing at live image and claiming.And JPEG comes view data is compressed at a two field picture dct transform, carries out the JPEG compression by each frame to video signal (4:2:2 data), and to reduce the video signal data volume, therefore the benefit of compression is conspicuous.Because data volume reduces at double, has reduced carrying cost, has improved data transmission bauds, has reduced the transmission pressure to the computer bus and the network bandwidth.
And MPEG2I frame compress mode can guarantee can improve compression ratio again significantly by best video image quality, so that reduce data volume better, makes the MPEG2I frame be used for the optimal compression mode of broadcast level video compression beyond doubt.So-called MPEG compression is according to certain similitude principle is arranged between the moving image consecutive frame, pass through motion prediction, similar situation with reference to former frame image and this two field picture, remove the redundant data similar to former frame, and only write down this frame data different with previous frame, thereby improved compression of video data efficient greatly, this compression method is also referred to as the relevant compression of frame.The MPEG compression is a unit with image sets (GOP), is made of I frame, B frame, P frame.Next image sets of ordinary circumstance (GOP) is made up of 15 frames, and first frame is an I frame, is followed successively by 1 P frame, 2 B frames, constitutes I PBB PBBPBB....... structure thus.The I frame is called reference frame, and the called reference frame is all start frames of reference of other frame, thereby the I frame is the frame that can put down in writing these frame all images data fully, also is called full frame; The P frame is a forward predicted frame, be according to the comparison of former frame image, remove the data similar and the frame that constitutes to preceding frame; The B frame is a bi-directional predicted frames, is the frame that obtains according to the comparison with front and back one two field picture, and P frame, B frame are incomplete frames, and it need rely on the I frame and set up.
Fig. 1 is an image data compressing apparatus schematic diagram of realizing MJPEG and the compression of MPEG2 I frame now, as shown in the figure, mainly comprise control module 101, core encoder module 102, first-born one-tenth module 103, and outside SRAM (Static Random Access Memory; Static memory) memory 104, SRAM controller 105, input data cache module 106 and devices such as data output interface 107, memory module 108.The flow process of image compression is from importing sense data in the data cache module, through first-born one-tenth module data encapsulation back is generated head then, encode by the core encoder module, then data being exported.In cataloged procedure, control module is written in the SRAM memory according to the data of the requirement control respective stream of data of core encoder module, perhaps reads corresponding data from the SRAM memory.Compression method required in image compression process then reads from memory module, has only stored a kind of compression method in the memory module usually.
Fig. 2 is the structural representation of core coding module in the image compressing device, mainly comprises preliminary treatment submodule (preprocess), discrete cosine transform submodule (discrete cosine transformation; DCT), quantize submodule (quantization), shape scanning submodule (zigzag) and variable-length encoding submodule (variantlength code; VLC).According to the flow direction of data flow, the roughly process of compression be from the beginning the data to be encoded that come out of generation module successively through preliminary treatment, discrete cosine transform, quantification, shape scanning, variable-length encoding after export.
We as can be seen these two kinds of compress modes be interosculate and exist homophylic, but at present, the one, realize that video compression format is single compress mode still generally, and single compress mode can only realize a kind of method for compressing image, purposes is single dumb; The 2nd, some schemes of MPEG compatible 2 I frames and MJPEG compression standard are simultaneously also arranged, but their deficiency is common ground and the similitude that does not all use these two kinds of compress modes, thereby all needs bigger hardware to be embodied as cost usually.
Summary of the invention
Technical problem solved by the invention has been to provide a kind of system and method for compatible multiple kinds of image compression method, in order to common ground and the similitude of utilizing these two kinds of compress modes, can realize compatible multiple kinds of image compression method simultaneously under low cost.
System of the present invention comprises:
Configurable control register module is used to control the method for compressing image that described image data compressing apparatus carries out work;
Described memory module is used to store multiple method for compressing image;
Described image data compressing apparatus is further used for the selection according to described configurable control register module, from described memory module, read corresponding method for compressing image with the input Image Data Compression after export.
The inventive method applies to the system of described compatible multiple kinds of image compression method, comprises the steps:
A, in image compressing device the storage multiple method for compressing image;
B, select the method for compressing image carry out work as required;
C, image compressing device read corresponding compression method according to the method for compressing image of selecting from the method for compressing image of storage, export after the Image Data Compression with input.
Use the present invention, the common ground and the similitude of multiple compress mode have been utilized, multiple compression method is set in common hardware, make in the hardware implementation procedure, do not increase too much RAM (Random AccessMemory) and too much logic, realized while compatible multiple kinds of image compression method under low cost.
Description of drawings
Fig. 1 is an image data compressing apparatus schematic diagram of realizing MJPEG and the compression of MPEG2I frame now;
Fig. 2 is the structural representation of core coding module in the image data compressing apparatus;
The system configuration schematic diagram of compatible multiple kinds of image compression method described in Fig. 3 embodiment of the invention;
Fig. 4 is the structural representation of the module of core encoder described in the embodiment of the invention;
Fig. 5 is the method flow schematic diagram of compatible multiple kinds of image compression method described in the embodiment of the invention.
Embodiment
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
Based on the similarity of MJPEG and MPEG2I two field picture compression method, the present invention proposes a kind of compatible cheaply resolution system and method.Fig. 3 is the system configuration schematic diagram of compatible multiple kinds of image compression method in the embodiment of the invention, as shown in the figure, system mainly comprises control module 301, core encoder module 302, first-born one-tenth module 303 and configurable control register module more than 304 parts, and outside SRAM memory 305, SRAM controller 306, input data cache module 307 and data output interface 308, memory module 309.
The work of each module is among the embodiment, from importing sense data in the data cache module, generate head through first-born one-tenth module then, encode by the core encoder module, then data are exported, in cataloged procedure, control module requires control data to flow corresponding data to be written in the SRAM memory, perhaps to read corresponding data from the SRAM memory according to the core encoder module.In the process of carrying out Image Data Compression, difference on MJPEG and MPEG2 I frame compression hardware are realized mainly is in the core encoder module, first-bornly becomes in module and the input data cache module, and their required compression methods in image compression process read from memory module.
Fig. 4 is the structural representation of the module of core encoder described in the embodiment of the invention, according to the flow direction of data flow mainly comprise preliminary treatment submodule 401, discrete cosine transform submodule 402, quantize submodule 403, shape scanning submodule 404 and variable-length encoding submodule 405, memory module 309.After the data of the correct generation module input of pretreatment module are carried out preliminary treatment, carry out discrete cosine transform in discrete cosine transform module; After the data of quantization modules after to the discrete cosine transform of input are carried out quantification treatment, the shape scanning carried out of shape scan module; The variable-length encoding module to input shape scanning after data carry out exporting after the variable-length encoding.Wherein exist the compression of MJPEG and MPEG2 I frame different mainly be pretreatment module, quantization modules and variable-length encoding module, their required compression methods in image compression process read from memory module.
Therefrom we can see, the embodiment of the invention is in the implementation procedure of hardware, just can control these MJPEG and the different module of MPEG2 I frame compression by configurable control register module among Fig. 3, just determine to select these modules to use the MJPEG mode at work, perhaps select MPEG2 I frame compress mode by configurable control register module.Though owing to realize not having technology difference place with single method in these modules, method for compressing image also is to be stored in the memory module that has existed, but owing in memory module, preset several different methods in the present invention, therefore regulate and control required compression method by configurable control register block configuration, thereby made full use of hardware exists in these two kinds of methods common ground and similitude, made and under low cost, to have realized compatible multiple kinds of image compression method simultaneously.
Fig. 5 is the method flow schematic diagram of compatible multiple kinds of image compression method described in the embodiment of the invention.As shown in the figure, this method comprises in implementing:
Step 501, in memory module, store multiple method for compressing image, read use for required in the following step;
Step 502, the method for compressing image of selecting input data cache module, first-born one-tenth module, core encoder module to carry out work;
Step 503, input data cache module according to selected method for compressing image with data delivery to first-born one-tenth module;
Step 504, first-born one-tenth module will be sent to the core encoder module after will importing the data encapsulation data head of data cache module input according to selected method for compressing image;
After the data that step 505, core encoder module are sent to according to the correct generation module of selected method for compressing image are encoded, data are exported.
Among the embodiment, because in implementation procedure, the RAM that uses in discrete cosine transform module, quantization modules and data processing big at operand, that hardware realization cost is higher and the cataloged procedure can be public, so simultaneously in the hardware implementation procedure of MJPEG and two kinds of compress modes of MPEG2 I frame, do not increase too much RAM and too much logic, hardware realizes that cost is lower, makes that the present invention is very effective and cost is low.Utilize the common ground and the similitude of these two kinds of compress modes, realized under low cost, realizing compatible multiple kinds of image compression method simultaneously.

Claims (8)

1, a kind of system of compatible multiple kinds of image compression method comprises image data compressing apparatus, memory module, it is characterized in that, also comprises:
Described memory module is used to store multiple method for compressing image;
Configurable control register module is used to control the method for compressing image that described image data compressing apparatus carries out work;
Described image data compressing apparatus is further used for the selection according to described configurable control register module, from described memory module, read corresponding method for compressing image with the input Image Data Compression after export.
2, the system as claimed in claim 1 is characterized in that, described image data compressing apparatus comprises:
The input data cache module is used for the selection according to described configurable control register module, reads corresponding method for compressing image from described memory module, with data delivery to described first-born one-tenth module;
First-born one-tenth module is used for the selection according to described configurable control register module, reads corresponding method for compressing image from described memory module, behind the data encapsulation data head with described input data cache module input, is sent to the core encoder module;
The core encoder module is used for the selection according to described configurable control register module, reads corresponding method for compressing image from described memory module, after the data that described first-born one-tenth module is sent to are encoded, data is exported.
3, system as claimed in claim 2 is characterized in that, described core encoder module comprises:
The preliminary treatment submodule is used for the selection according to described configurable control register module, reads corresponding method for compressing image from described memory module, the data of described first-born one-tenth module input are carried out preliminary treatment after, carry out discrete cosine transform;
Quantize submodule, be used for selection, from described memory module, read corresponding method for compressing image according to described configurable control register module, the data after the discrete cosine transform of input are carried out quantification treatment after, the shape scanning of carrying out;
The variable-length encoding submodule is used for the selection according to described configurable control register module, reads corresponding method for compressing image from described memory module, to input through shape scanning after data carry out exporting after the variable-length encoding.
4, the system as claimed in claim 1 is characterized in that, described memory module is the memory module of having stored MJPEG and MPEG2I two field picture compression method.
5, a kind of method of compatible multiple kinds of image compression method applies to the system as claimed in claim 1, it is characterized in that, comprises the steps:
A, in image compressing device the storage multiple method for compressing image;
B, select the method for compressing image carry out work as required;
C, image compressing device read corresponding compression method according to the method for compressing image of selecting from the method for compressing image of storage, export after the Image Data Compression with input.
6, method as claimed in claim 5 is characterized in that, described image compressing device comprises input data cache module, first-born one-tenth module, core encoder module, and described step c comprises the steps:
C1, described input data cache module be according to selected method for compressing image, reads corresponding compression method from the method for compressing image of storage, with data delivery to described first-born one-tenth module;
C2, described first-born one-tenth module read corresponding compression method according to selected method for compressing image from the method for compressing image of storage, behind the data encapsulation data head with described input data cache module input, be sent to the core encoder module;
C3, described core encoder module read corresponding compression method according to selected method for compressing image from the method for compressing image of storage, after data are encoded data are exported.
7, method as claimed in claim 6 is characterized in that, described core encoder module comprises the preliminary treatment submodule, quantizes submodule, variable-length encoding submodule, and described step c3 comprises the steps:
The preliminary treatment submodule is according to selected method for compressing image, reads corresponding compression method from the method for compressing image of storage, the data of described first-born one-tenth module input are carried out preliminary treatment after, carry out discrete cosine transform;
Quantize submodule according to selected method for compressing image, from the method for compressing image of storage, read corresponding compression method, the data after the discrete cosine transform of input are carried out quantification treatment after, the shape scanning of carrying out;
The variable-length encoding submodule is according to selected method for compressing image, reads corresponding compression method from the method for compressing image of storage, to input through shape scanning after data carry out exporting after the variable-length encoding.
8, method as claimed in claim 5 is characterized in that, described method for compressing image is MJPEG and MPEG2I two field picture compression method.
CN 200610081313 2006-05-16 2006-05-16 System and method compatible multiple kinds of image compression method Pending CN1852437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610081313 CN1852437A (en) 2006-05-16 2006-05-16 System and method compatible multiple kinds of image compression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610081313 CN1852437A (en) 2006-05-16 2006-05-16 System and method compatible multiple kinds of image compression method

Publications (1)

Publication Number Publication Date
CN1852437A true CN1852437A (en) 2006-10-25

Family

ID=37133904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610081313 Pending CN1852437A (en) 2006-05-16 2006-05-16 System and method compatible multiple kinds of image compression method

Country Status (1)

Country Link
CN (1) CN1852437A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923559A (en) * 2010-03-24 2010-12-22 深圳市万兴软件有限公司 Image file management method and system
US8582906B2 (en) 2010-03-03 2013-11-12 Aod Technology Marketing, Llc Image data compression and decompression

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8582906B2 (en) 2010-03-03 2013-11-12 Aod Technology Marketing, Llc Image data compression and decompression
CN101923559A (en) * 2010-03-24 2010-12-22 深圳市万兴软件有限公司 Image file management method and system
CN101923559B (en) * 2010-03-24 2012-10-10 深圳市万兴软件有限公司 Image file management method and system

Similar Documents

Publication Publication Date Title
US5912676A (en) MPEG decoder frame memory interface which is reconfigurable for different frame store architectures
US7907785B2 (en) Image processing apparatus and image processing method
EP0849953B1 (en) System and method for performing motion compensation using a skewed tile storage format for improved efficiency
CN101516031B (en) Image processing apparatus, image processing method
US9247263B2 (en) Video encoding and video/audio/data multiplexing device
JP2912593B2 (en) System for encoding and decoding multimedia data, MPEG system for compressing and expanding multimedia data, and method for compressing and expanding multimedia data
DE112006002148B4 (en) Exchange buffer for video processing
US6714686B2 (en) Image processing device
CN101252694B (en) Address mapping system and frame storage compression of video frequency decoding based on blocks
US20180227588A1 (en) Video decoder memory bandwidth compression
CN1744715A (en) Methods and systems for dv encoding and decoding
EP1078529B1 (en) Method and apparatus for increasing memory resource utilization in an information stream decoder
US6163576A (en) Video encoder having reduced memory bandwidth requirements
CN1852437A (en) System and method compatible multiple kinds of image compression method
CN1117484C (en) Process for decoding and coding compressed video data stream with reduced memory requirements
US20030147468A1 (en) Image data coding apparatus capable of promptly transmitting image data to external memory
CN100444615C (en) Pick-up head and data processing apparatus
CN1688162A (en) Coding method for monitoring image resolution and its apparatus
JPH1056641A (en) Mpeg decoder
CN100481954C (en) System and method for motion compensating
US20210203952A1 (en) Encoder, encoding system and encoding method
JP2009071802A (en) Dynamic image encoding method and device, and imaging system
JPH08163570A (en) Method and device for decoding low delay mode picture
CN117579842A (en) Lossless ARGB compression method based on intra-block prediction
CN1419378A (en) Digital video signal compressing method and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication