[go: up one dir, main page]

CN100444615C - Pick-up head and data processing apparatus - Google Patents

Pick-up head and data processing apparatus Download PDF

Info

Publication number
CN100444615C
CN100444615C CNB2006100119478A CN200610011947A CN100444615C CN 100444615 C CN100444615 C CN 100444615C CN B2006100119478 A CNB2006100119478 A CN B2006100119478A CN 200610011947 A CN200610011947 A CN 200610011947A CN 100444615 C CN100444615 C CN 100444615C
Authority
CN
China
Prior art keywords
module
image
selection
data
compression
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.)
Expired - Fee Related
Application number
CNB2006100119478A
Other languages
Chinese (zh)
Other versions
CN1852439A (en
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 CNB2006100119478A priority Critical patent/CN100444615C/en
Publication of CN1852439A publication Critical patent/CN1852439A/en
Application granted granted Critical
Publication of CN100444615C publication Critical patent/CN100444615C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention discloses a camera head which comprises an image sensor, a microcontroller, an interface module of the image sensor, an image processing module, an image compression module and a USB bus module, wherein the interface module of the image sensor receives image data collected by the image sensor and transmits the image data to the image processing module and the image compression module or the USB bus module, and the USB bus module receives and outputs the image data of the modules. Furthermore, the image compression module comprises a head generation module, a core encoding module, a storage module and a selection module, wherein the storage module is used for storing various image compression methods, and the selection module is used for controlling the image compression methods by which the core encoding module works. In addition, the head generation module and the core encoding module are used for reading the corresponding image compression methods from the storage module and carrying out corresponding processing to the input image data according to the selection of the selection module.

Description

A kind of camera and data processing equipment
Technical field
The present invention relates to the image compression field, relate in particular to a kind of camera of compatible multiple kinds of image compression method.
Background technology
At present, camera generally has two kinds of forms when output image data: 1) without the view data of overcompression; 2) use Motion JPEG (Motion Joint Photographic Expert Group, MJPEG) view data after the compression.Wherein, JPEG (Joint Photographic Expert Group) is a kind of unified still image compression international standard, and for MJPEG, it is as a kind of moving image compression scheme, though used the JPEG compression algorithm to come each frame of moving image is carried out compressing in the frame, it also fails to become a kind of unified international standard.Like this, though the image compression that is applied to camera that present MJPEG is widely used, but owing to do not have unified standard, and all incompatible between the various MJPEG compression algorithms, to such an extent as to cannot decode with unified software to the MJPEG packed data of various PC camera outputs.
This result not only causes each camera chip design manufacturer to need to develop the software of oneself, also cause when camera uses, special driving software being installed, like this, not only caused the overlapping development of software, also caused inconvenience in the use to the user.
Therefore, demand occurring the camera of the multiple compression standard of a kind of compatibility urgently.
Summary of the invention
The invention provides a kind of camera and data processing equipment that can compatible multiple compression standard, in order to solve the problem of the camera that exists in the prior art.
According to an aspect of the present invention, camera provided by the invention comprises imageing sensor, microcontroller, image sensor interface module, image processing module, image compression module and usb bus module.Described imageing sensor is used for the images acquired signal; Described image sensor interface module receives the view data that described imageing sensor is gathered, and sends view data to image processing module or usb bus module; Described image processing module is used for the view data that receives is handled; Described microcontroller transmits control signal to described image sensor interface module and image processing module; Described image compression module is used for the view data after the image processing module processing is compressed; Described usb bus module receives view data that image sensor interface module, image processing module or image compression module send and with its output; Wherein, described image compression module comprises that first-born one-tenth module, core encoder module, memory module and selection module, described memory module are used to store multiple method for compressing image, described selection module is used to control the method for compressing image that described core encoder module is carried out work, wherein, described first-born one-tenth module and described core encoder module are used for the selection according to described selection module, read corresponding method for compressing image from described memory module the view data of input is carried out respective handling.
Further, described selection module is configurable register.
Further, described core encoder module comprises: the preliminary treatment submodule, be used for selection according to described selection module, and from described memory module, read corresponding method for compressing image, after the data of described first-born one-tenth module input are carried out preliminary treatment, carry out discrete cosine transform; Quantize submodule, be used for selection, from described memory module, read corresponding method for compressing image according to described selection 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 selection 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.
Further, described memory module has been stored MJPEG and the compression of MPEG2I two field picture.
According to a further aspect in the invention, data processing equipment provided by the invention comprises microcontroller, image sensor interface module, image processing module, image compression module and usb bus module.Described image sensor interface module receives the external image data, and sends view data to image processing module or usb bus module; Described image processing module is used for the view data that receives is handled; Described microcontroller transmits control signal to described image sensor interface module and image processing module; Described image compression module is used for the view data after the image processing module processing is compressed; Described usb bus module receives view data that image sensor interface module, image processing module or image compression module send and with its output; Wherein, described image compression module comprises first-born one-tenth module, core encoder module, memory module and selection module, described memory module is used to store multiple method for compressing image, described selection module is used to control the method for compressing image that described core encoder module is carried out work, wherein, described first-born one-tenth module and described core encoder module are used for the selection according to described selection module, read corresponding method for compressing image from described memory module the view data of input is carried out respective handling.
Further, described selection module is configurable register.
Further, described core encoder module comprises: the preliminary treatment submodule, be used for selection according to described selection module, and from described memory module, read corresponding method for compressing image, after the data of described first-born one-tenth module input are carried out preliminary treatment, carry out discrete cosine transform; Quantize submodule, be used for selection, from described memory module, read corresponding method for compressing image according to described selection 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 selection 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.
Further, described memory module has been stored MJPEG and the compression of MPEG2I two field picture.
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
The structural representation of the camera that Fig. 1 designs for the present invention;
The structural representation of the image compression module in the camera that Fig. 2 designs for the present invention;
Fig. 3 is the structural representation of the core encoder module in the image compression module among the present invention.
Embodiment
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
As shown in Figure 1, be the structural representation of camera provided by the invention, as seen from the figure, camera of the present invention comprises imageing sensor 100 and data processing equipment 200.
Described imageing sensor 100 is used for photosignal is converted to digital picture and sends view data to described data processing equipment 200.Described data processing equipment 200 comprises image sensor interface module 10, image processing module 20, image compression module 30, microcontroller 40, usb bus module 60.
Described image sensor interface module 10 is gathered the view data of imageing sensor 100 according to the level and the vertical direction synchronizing signal of own inner generation or imageing sensor generation.The data of described image sensor interface module collection can directly be delivered to USB (universal serial bus) bus module, pass to then on the PC (personal computer); Also can carry out some image processing, and then pass on the PC by usb bus module 60 through image processing module 20.Communication between image sensor interface module and the imageing sensor can be a serial communication mode.
Described image processing module 20 receives the view data that image sensor interface modules 10 send, and to image amplify, dwindle, associative operations such as gain-adjusted, color treatments.
For network application, because bandwidth is of great value, in general also to send usb bus module 50 again to through data after the image processing, like this through the compression of image compression module 30, reduce the shared space of view data, with effective reduction transmitted data amount.Hereinafter, will be described in detail image compression module 30.
Whether described microcontroller 40 also carries out the various Control Parameter registers of image processing and compression and image processing and compression by the register decision of setting other module, thereby reaches the requirement of user to picture quality.It can also be accepted interruption that each module feeds back during certain function in operation and this interruption is handled accordingly.
In the present invention, described image compression module 30 can compatibility have multiple Standard of image compression.In this enforcement, just with compatible Motion JPEG compress mode and MPEG2 (Moving Pictures ExpertsGroup; Dynamic image expert group) I frame compress mode is that example is introduced image compression module 30.
At first introduce the MPEG2 compression, so-called MPEG2 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, thus having improved compression of video data efficient greatly, this compression method is also referred to as the relevant compression of frame.The MPEG2 compression is a unit with image sets (GOP), is made of I frame, B frame, P frame.As a kind of standard MPEG2 that aims at the moving image compression and develop, be a kind of unified international standard.Though complete mpeg 2 encoder is too expensive for the hardware of camera is realized, the hard-wired cost of mpeg 2 encoder of only doing the compression of I frame is lower, is fit to camera and uses.
Please refer to shown in Figure 2ly, image compression module 30 comprises control module 301, core encoder module 302, first-born one-tenth module 303 and SRAM (Static Random Access Memory; Static memory) memory 305, SRAM controller 306, input data-interface 307 and dateout interface 308.
The workflow of each module is in the described image compression module 30, be input to first-born one-tenth module 303 by input data-interface 307 view data by image processing module 20, after view data is generated head, encode by core encoder module 301, then view data is outputed to the usb bus module through dateout interface 308.In cataloged procedure, control module 301 is controlled the data communication of itself and SRAM memory according to the demand of core encoder module 302.
In the process of carrying out above-mentioned Image Data Compression, MJPEG compress mode and the MPEG2I frame compress mode difference on hardware is realized mainly is to be that core encoder module 302 becomes in the module 303 with first-born.Based on MJPEG compress mode and the MPEG2I frame compress mode identical point on hardware is realized, identical part that image compression module among the present invention 30 is shared.Become module 303 for difference core encoder module 302 with first-born, image compression module 30 of the present invention further provides selection module 304 and memory module 309.Wherein, the algorithm that stores first-born one-tenth module 303 needs when being fit to carry out the MJPEG compression in the memory module 309 also stores the algorithm of first-born one-tenth module 303 needs when being fit to carry out the compression of MPEG2I frame, the algorithm of core encoder module 302 needs when in addition, the algorithm that also stores core encoder module 302 needs when being fit to carry out the MJPEG compression in the described memory module 309 also stores and is fit to carry out the MPEG2I frame and compresses.Described selection module 304 can be made up of configurable register, and it is used for determining core encoder module 302 and first-born to become module 303 current be to select MJPEG compression algorithm or MPEG2I frame compression algorithms from memory module 309.
Further, please referring to shown in Figure 3, described core encoder module 302 comprises preliminary treatment submodule (preprocess module) 401, discrete cosine transform submodule (discrete cosine transformationmodule; DCT) 402, quantize submodule (quantization module) 403, shape scanning submodule (zigzag module) 404 and variable-length encoding submodule (variant length code module; VLC) 405.After the data of described pretreatment module 401 correct generation module 303 inputs are carried out preliminary treatment, carry out discrete cosine transform in discrete cosine transform module 402; After data after the discrete cosine transform of 403 pairs of inputs of quantization modules are carried out quantification treatment, the shape scanning carried out of shape scan module 404; 405 pairs of inputs of variable-length encoding module shape scanning after data carry out exporting after the variable-length encoding.
Wherein, in the core encoder process, the difference between MJPEG compress mode and the MPEG2I frame compress mode mainly is to be pretreatment module 401, quantization modules 403 and variable-length encoding module 405.Therefore, image compression module 30 of the present invention has made full use of the common ground between them, only stores these three disparate modules and be applicable to MJPEG compress mode and MPEG2I frame compress algorithm in storage module.By, the selection of selected cell 304 can make pretreatment module 401, quantization modules 403 and variable-length encoding module 405 be operated under the MJPEG compress mode and also can be operated under the MPEG2I frame compress mode.
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 MPEG2I frame compression by selecting module among Fig. 3, just determine to select these modules to use the MJPEG mode at work, perhaps select MPEG2I frame compress mode by configurable control register module.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.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (8)

1, a kind of camera comprises imageing sensor, microcontroller, image sensor interface module, image processing module, image compression module and usb bus module,
Described imageing sensor is used for the images acquired signal;
Described image sensor interface module receives the view data that described imageing sensor is gathered, and sends view data to image processing module or usb bus module;
Described image processing module is used for the view data that receives is handled;
Described microcontroller transmits control signal to described image sensor interface module and image processing module;
Described image compression module is used for the view data after the image processing module processing is compressed;
Described usb bus module receives view data that image sensor interface module, image processing module or image compression module send and with its output;
It is characterized in that: described image compression module comprises first-born one-tenth module, core encoder module, memory module and selection module, described memory module is used to store multiple method for compressing image, described selection module is used to control the method for compressing image that described core encoder module is carried out work, wherein, described first-born one-tenth module and described core encoder module are used for the selection according to described selection module, read corresponding method for compressing image from described memory module the view data of input is carried out respective handling.
2, camera as claimed in claim 1 is characterized in that, described selection module is configurable register.
3, camera as claimed in claim 1 is characterized in that, described core encoder module comprises:
The preliminary treatment submodule is used for the selection according to described selection 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 selection 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 selection 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, camera as claimed in claim 1 is characterized in that, described memory module has been stored MJPEG and the compression of MPEG2I two field picture.
5, a kind of data processing equipment, it comprises microcontroller, image sensor interface module, image processing module, image compression module and usb bus module,
Described image sensor interface module receives the external image data, and sends view data to image processing module or usb bus module;
Described image processing module is used for the view data that receives is handled;
Described microcontroller transmits control signal to described image sensor interface module and image processing module;
Described image compression module is used for the view data after the image processing module processing is compressed;
Described usb bus module receives view data that image sensor interface module, image processing module or image compression module send and with its output;
It is characterized in that: described image compression module comprises first-born one-tenth module, core encoder module, memory module and selection module, described memory module is used to store multiple method for compressing image, described selection module is used to control the method for compressing image that described core encoder module is carried out work, wherein, described first-born one-tenth module and described core encoder module are used for the selection according to described selection module, read corresponding method for compressing image from described memory module the view data of input is carried out respective handling.
6, data processing equipment as claimed in claim 5 is characterized in that, described selection module is configurable register.
7, data processing equipment as claimed in claim 5 is characterized in that, described core encoder module comprises:
The preliminary treatment submodule is used for the selection according to described selection 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 selection 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 selection 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.
8, data processing equipment as claimed in claim 5 is characterized in that, described memory module has been stored MJPEG and the compression of MPEG2I two field picture.
CNB2006100119478A 2006-05-19 2006-05-19 Pick-up head and data processing apparatus Expired - Fee Related CN100444615C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100119478A CN100444615C (en) 2006-05-19 2006-05-19 Pick-up head and data processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100119478A CN100444615C (en) 2006-05-19 2006-05-19 Pick-up head and data processing apparatus

Publications (2)

Publication Number Publication Date
CN1852439A CN1852439A (en) 2006-10-25
CN100444615C true CN100444615C (en) 2008-12-17

Family

ID=37133906

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100119478A Expired - Fee Related CN100444615C (en) 2006-05-19 2006-05-19 Pick-up head and data processing apparatus

Country Status (1)

Country Link
CN (1) CN100444615C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI421674B (en) 2009-02-09 2014-01-01 Asustek Comp Inc Computer apparatus and image collector
CN105657427A (en) * 2016-01-25 2016-06-08 成都国铁电气设备有限公司 High-definition image compression method and system suitable for catenary
CN107257474B (en) * 2017-08-16 2020-03-10 郑州云海信息技术有限公司 Video information compression system and method for BMC chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2501269Y (en) * 2001-04-10 2002-07-17 深圳市华之巨科技有限公司 Multifunctional computer camera
CN1386007A (en) * 2002-06-26 2002-12-18 张学武 Video camera platform
US20050147385A1 (en) * 2003-07-09 2005-07-07 Canon Kabushiki Kaisha Recording/playback apparatus and method
CN1741578A (en) * 2004-08-25 2006-03-01 三星Techwin株式会社 Control method for digital photographing apparatus for efficient setting operation and digital photographing apparatus using the method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2501269Y (en) * 2001-04-10 2002-07-17 深圳市华之巨科技有限公司 Multifunctional computer camera
CN1386007A (en) * 2002-06-26 2002-12-18 张学武 Video camera platform
US20050147385A1 (en) * 2003-07-09 2005-07-07 Canon Kabushiki Kaisha Recording/playback apparatus and method
CN1741578A (en) * 2004-08-25 2006-03-01 三星Techwin株式会社 Control method for digital photographing apparatus for efficient setting operation and digital photographing apparatus using the method

Also Published As

Publication number Publication date
CN1852439A (en) 2006-10-25

Similar Documents

Publication Publication Date Title
JP4138056B2 (en) Multi-standard decompression and / or compression device
US20020015445A1 (en) Image processing device
JP4682102B2 (en) Image coding apparatus and image coding method
JP2010515397A (en) Architecture for image compression in video hardware
US20100220215A1 (en) Video acquisition and processing systems
WO2010080646A2 (en) Video acquisition and processing systems
JP2003244446A (en) Image processor and image processing method
US20160301945A1 (en) Image compression/decompression device
US8417042B2 (en) Image processing apparatus, control method and computer-readable medium
KR101158345B1 (en) Method and system for performing deblocking filtering
CA2125703A1 (en) Image digitizer including pixel engine
JPH0832037B2 (en) Image data compression device
CN100444615C (en) Pick-up head and data processing apparatus
US6212300B1 (en) Image processing apparatus, method and computer-executable program product for converting the format of data for specific image data
US6097843A (en) Compression encoding apparatus, encoding method, decoding apparatus, and decoding method
JP2776284B2 (en) Image coding device
JP2019201288A5 (en)
EP1116154B1 (en) Data compression encoding system
JP7509143B2 (en) Image processing device and image processing method
EP1233375B1 (en) Image data encoding apparatus and method
US20050147306A1 (en) Method of encoding and decoding digital images
JP2006203270A (en) Image compression method and device
JP7451131B2 (en) Image encoding device, image encoding method, and program
JP2006352335A (en) Image coding equipment
CN1852437A (en) System and method compatible multiple kinds of image compression method

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: 20081217

Termination date: 20120519