CN2755645Y - Computer camera head for realizing digital focal variation - Google Patents

Computer camera head for realizing digital focal variation Download PDF

Info

Publication number
CN2755645Y
CN2755645Y CN200420118873.4U CN200420118873U CN2755645Y CN 2755645 Y CN2755645 Y CN 2755645Y CN 200420118873 U CN200420118873 U CN 200420118873U CN 2755645 Y CN2755645 Y CN 2755645Y
Authority
CN
China
Prior art keywords
image
dsp chip
wdm
sensor
zoom
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
CN200420118873.4U
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 CN200420118873.4U priority Critical patent/CN2755645Y/en
Application granted granted Critical
Publication of CN2755645Y publication Critical patent/CN2755645Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a computer camera head, which comprises a sensor for collecting images, a digital signal processing chip for processing image data and a WDM drive module. The utility model is characterized in that the WDM drive module further comprises a digital zoom processing unit which is arranged between a decompression unit and a format converting unit and is used for updating configuration parameters in a DSP chip register according to currently-arranged zoom coefficients. The DSP chip obtains QVGA images according to the configuration data of the register of the DSP chip and received VGA images emitted by the sensor, and then transfers the obtained QVGA images to the WDM drive module so as to carry out digital zoom processing. Devices taking the utility model can simultaneously carry out digital zoom without increasing resource occupation and interface transmission bandwidth, and can assure that fluent video stream is provided to make users conveniently use.

Description

A kind of computer camera of realizing digital zoom
Technical field
The utility model relates to the digital zoom technology, refers to a kind of computer camera (PCCamera) of realizing digital zoom especially.
Background technology
Along with the develop rapidly of multimedia technology and video electronic product with popularize, the application of PC Camera more and more widely, PC Camera is the changeable intelligent camera of a kind of microminiature profile, can be used in notebook computer, automobile, security system and the multiple image processing equipment.Present PC Camera mainly can realize normal video flowing demonstration and catch normal still image, have USB interface.
At present, do not have digital zoom functions mostly among the PC Camera of market popularity, have the PC Camera of digital zoom functions on a small quantity, mainly adopt dual mode to realize digital zoom: a kind of is to realize digital zoom at application layer; Another kind is the function that a kind of special video solution of definition realizes digital zoom, and the both has certain limitation.Here, described digital zoom also claims Digital Zoom (Digital Zoom), is by the digital equipment internal processor, each elemental area in the picture is increased, thereby reach the amplification purpose.Usually, adopt interpolation algorithm to amplify.
Specifically: realize digital zoom at application layer, be image to be carried out cutting-interpolation arithmetic by application-specific, though this method realizes simple, and do not need to change bottom layer driving, be easy to safeguard that still, the inherent weakness of the mode of this realization digital zoom is that versatility is poor, can only bundle the specific video application program and carry out browsing of video flowing and zoom, other video application then can't be realized digital zoom.And for this mode, when enlargement factor was increasing, picture quality worse and worse.
The mode of described definition special video solution realizes in Drive Layer, in order to dwindle the interpolation multiple, improve picture quality, someone has defined special picture size separately, as 320*241,320*242 or the like, here, why picture size to be defined as 320*241,320*242 etc. and to be in order to distinguish with the QVGA image model of standard, the picture size of standard QVGA image model is 320*240.
This specifically defined mode, in concrete the application, when the user selects 320*241 by attribute interface (Pin Property), the Drive Layer actual disposition be the original image of VGA form, promptly picture size is 640*480.So, the implementation procedure of concrete digital zoom is under this mode: the VGA sensor sends the VGA image information that the received SIF interface by sensor and digital signal processing (DSP) chip to dsp chip, DSP compresses image information, provide original VGA image by USB interface to Drive Layer afterwards through overcompression, this picture size is 640*480, Drive Layer less than 2 o'clock, utilizes interpolation algorithm that image is reduced at zoom (Zoom) coefficient; The Zoom coefficient utilized interpolation algorithm that image is amplified greater than 2 o'clock, thereby reached whole digital zoom functions.
This specifically defined mode is to realize in Drive Layer, so highly versatile, and application layer can be used different video tour programs, all has digital zoom functions; And because the picture size of actual raw image data correspondence is 640*480, under the situation of 4 times of zooms, actual enlargement factor has only 2 times, and picture quality is better.But this mode operates more loaded down with trivial details, needs the user to open stream again by Pin Property, and the form of 320*241 is given the nonstandard sensation of people.In addition, because actual image data stream is the VGA pattern, so it is more serious to take cpu resource.And, for the camera of general USB1.1, can only reach 15FPS, but will avoid the not smooth number of pictures per second that requires of action can not be lower than 30 usually, promptly requiring minimum FPS is 30, this specifically defined mode obviously can not meet the demands.
The utility model content
In view of this, fundamental purpose of the present utility model is to provide a kind of computer camera, make it can export smooth video image, and it is more convenient to make the user use.
For achieving the above object, the technical solution of the utility model is achieved in that
A kind of computer camera, comprise the sensor that is used for images acquired, to digital signal processing chip, WDM driver module that view data is handled, described WDM driver module comprises the irrelevant module of Flame Image Process and contains the Flame Image Process correlation module of decompression unit and format conversion unit; Described sensor links to each other by the SIF interface with described digital signal processing chip, and described digital signal processing chip and WDM module are by general-purpose serial bus USB interface transmission data; Key is,
Described WDM driver module further comprises the digital zoom processing unit, is arranged between decompression unit and the format conversion unit, is used for the configuration parameter according to the zoom coefficient update dsp chip register of Set For Current; The QVGA image that the dsp chip transmission that also is used for receiving current amplifies, smoothing processing; The VGA Image Acquisition QVGA image that described dsp chip is sent according to the configuration data of self register and the sensor that received sends the QVGA image that obtains to the digital zoom processing unit of WDM driver module again.
Wherein, described sensor is the VGA sensor.Configuration parameter in the described dsp chip register is provided with by Drive Layer.
The computer camera of realization digital zoom provided by the utility model has the following advantages and characteristics:
1) whole digital zoom functions is based on all that the pattern of 320*240 realizes in the utility model, and the user needn't go to select specific 320*241,320*242 isotype, uses more convenient.And the utility model also is suitable for various modes such as 160*120,176*144,352*288, and usable range is wider, highly versatile.
2) data stream is the size of QVGA in the utility model, therefore, when not increasing cpu resource consumption and USB interface bandwidth, can keep the video flowing of 30FPS.
3) the utility model the zoom coefficient more than or equal to 2 situation under, the image that DSP directly obtains central 1/4 position of original VGA image sends to Drive Layer, utilize interpolation algorithm that image is amplified by Drive Layer again, be equivalent to before image being carried out the interpolation amplification, just not obtaining the zoom coefficient by interpolation arithmetic is 2 image, so, can guarantee that picture quality is better.
4) the utility model can be selected the secondary line interpolation algorithm for use when using interpolation algorithm, so, can reduce the consumption of CPU.
5) the utility model further utilizes smoothing algorithm that image is carried out smoothing processing after carrying out interpolation algorithm, can improve image effect to a certain extent, improves the quality of output image.
6) interpolation algorithm that the utility model adopted and smoothing algorithm do not limit and must use which kind of algorithm, can select for use arbitrarily in existing various interpolation, smoothing algorithm as required, therefore implement more flexible, convenient.
7) the utility model is also realized in Drive Layer, therefore can support application layer to use different video tour programs, highly versatile.
Description of drawings
Fig. 1 is the composition structural drawing of the utility model computer camera;
Fig. 2 realizes the process flow diagram of digital zoom for the utility model computer camera;
Fig. 3 is the synoptic diagram of Gauss's template.
Embodiment
In order in PC Camera, to realize digital zoom, the utility model provides a kind of PC Camera, as shown in Figure 1, PC Camera of the present utility model mainly comprise the sensor (Sensor) that is used for images acquired, digital signal processing chip (DSP) that view data is handled and as the WDM driver module of core processing module.Wherein, the WDM driver module meets the Windows driver mode, support plug and play, power management and form management regulation (WMI) technology, comprise a lot of functional modules in the WDM driver module, transmit control and property pages interface etc. as power management, equipment plug, Remote Wake Up, USB band width configuration, ISO transmission control, interruption (Interrupt) transmission control, BULK transmission control, Control.Angle from Flame Image Process, can will be referred to as the irrelevant module of Flame Image Process, and the module relevant with Flame Image Process such as decompression unit, format conversion unit are referred to as the Flame Image Process correlation module with the irrelevant module of Flame Image Process such as power management, equipment plug, Remote Wake Up, USB band width configuration or the like.
Among Fig. 1, sensor links to each other with the interface (SIF) of multimedia digital process chip by sensor with dsp chip, and dsp chip and WDM module be by USB (universal serial bus) (USB) interface transmission data, and view data all is that the ISO passage by USB transmits.Because the utility model only relates to image processing process, therefore, Fig. 1 has only provided the module relevant with Flame Image Process and the schematic construction of unit, does not provide the whole of PC Camera and forms structure in detail, but do not represent that PC Camera includes only module and unit that Fig. 1 provides.
Dsp chip is handled image information according to the configuration data in self register in the utility model.
WDM driver module in the utility model also further comprises the digital zoom processing unit, this digital zoom processing unit is arranged between decompression unit and the format conversion unit, be used to receive the zoom coefficient of Set For Current, and according to the configuration parameter in the zoom coefficient update dsp chip register of Set For Current; And this digital zoom processing unit also is used for the selected interpolation algorithm of QVGA imagery exploitation that the current dsp chip transmission that receives is amplified, and utilizes selected smoothing algorithm that the image through the interpolation processing and amplifying is carried out smoothing processing.Wherein, if interpolation algorithm and/or smoothing algorithm by the property pages setting, this digital zoom processing unit also will receive the interpolation algorithm and/or the smoothing algorithm of current selection.
Based on structure shown in Figure 1, PC Camera to the basic process of Flame Image Process is: the digital zoom processing unit in the WDM driver module according to the zoom coefficient of Set For Current whether less than the configuration datas in the 2 change dsp chip registers; Simultaneously, the real-time images acquired information of sensor also sends the VGA image of being gathered to dsp chip by the SIF interface, dsp chip is according to the configuration data QVGA image required according to original VGA Image Acquisition in self register, send the QVGA image that is obtained to the WDM module via USB interface again, after decompressing, send the digital zoom processing unit again to, described digital zoom processing unit to the image that receives amplify, smoothing processing, afterwards treated image information is required to change accordingly according to picture size and output format; At last satisfactory image information output is browsed for the user or caught interface by still image and export.
Wherein, when the zoom coefficient less than 2 the time, the configuration parameter that the digital zoom processing unit is provided with in the dsp chip register is a configuration data of getting normal QVGA image; When the zoom coefficient more than or equal to 2 the time, it is the configuration data of getting original VGA image central authorities 1/4 location drawing picture that the digital zoom processing unit is provided with configuration parameter in the dsp chip register.
Core concept of the present utility model is: according to the difference of zoom coefficient, the dsp chip that is used for the multi-media image processing obtains different QVGA images by different modes and sends to Drive Layer, then, by Drive Layer the selected interpolation algorithm of the current QVGA imagery exploitation that obtains is amplified again.
Based on above-mentioned computer camera structure, the process of the utility model realization digital zoom is finished by the WDM driver module in Drive Layer, as shown in Figure 2, specifically may further comprise the steps:
Step 201~203:WDM driver module is provided for the configuration data of the dsp chip register of multi-media image processing according to current zoom coefficient.Such as: whether the WDM driver module judges the zoom coefficient of Set For Current more than or equal to 2, if the zoom coefficient more than or equal to 2, then the configuration parameter in the WDM drive module setting dsp chip register is a configuration data of getting original VGA image central authorities 1/4 location drawing picture; If the zoom coefficient is less than 2, then the configuration parameter in the WDM drive module setting dsp chip register is a configuration data of getting normal QVGA image.
Described dsp chip such as ZC30X family chip are used for multi-media image is handled, and different QVGA image models can be provided; Store the configuration parameter relevant with Flame Image Process in the described dsp chip register, this configuration parameter comprises at least: get the initial row train value of image information, promptly which which row of row to begin to get image information from; The size of required image; The pattern of required image, i.e. VGA or QVGA; The DSP clock; Exposure parameter or the like.Based on this, the configuration parameter of WDM driver module by preserving in the change dsp chip register, promptly the may command dsp chip obtains normal QVGA image; Or 1/4 image that obtains original VGA image diverse location is as the QVGA image, such as 1/4 image of positions such as upper left, lower-left, upper right, bottom right, central authorities, is the image that obtains central 1/4 position in the utility model.
Here, the zoom coefficient can be set by property pages as required by the user, specific implementation process and principle are: the user opens property pages (Property page) and carries out the setting of various image attributes by the com interface of attribute setting (filter property) in the Video Applications software.Wherein, property pages is a com component, has standard interface.Described property pages is set interface by self and WDM driver module with corresponding attribute, send the WDM driver module to, the WDM driver module will be handled accordingly according to the attribute that sets, such as: according to the zoom parameters that sets image information is carried out processing and amplifying; Simultaneously, property pages also can obtain current attribute from the WDM driver module and set situation.Because the corresponding different attribute of different attributes is provided with interface, for the utility model, it is the image attributes that increases newly that zoom parameters is set, corresponding, and the attribute that needs to increase corresponding zoom parameters setting is provided with interface.
The WDM driver module in the configuration parameter, also will be provided with the configuration parameter in the sensors register in the DSP register is set.
Step 204: described dsp chip obtains required QVGA image, and the current QVGA image that obtains is sent to the WDM driver module according to the original VGA image of current stored configuration parameters in self register and current collection.
In this step, described image information collection is finished by sensor, and this sensor provides the original image of VGA pattern to dsp chip, and this sensor is the VGA sensor.
Because sensor can only provide the original image of VGA size to dsp chip, it is the image of 640*480, in order to reach 30FPS, just need dsp chip when carrying out Flame Image Process with the image of original VGA image transformation for QVGA size 320*240, send the QVGA image to the WDM driver module by USB interface more afterwards.The mapping mode of described normal QVGA image is: the original VGA compression of images that dsp chip is sent sensor sends to the WDM driver module for the QVGA image.
In the utility model, because the WDM driver module can be changed configuration data in the dsp chip register according to the zoom coefficient, specifically: at the zoom coefficient less than 2 o'clock, the WDM driver module can be provided with the configuration data that obtains normal QVGA image in the dsp chip register, make dsp chip when carrying out Flame Image Process, under the prerequisite that keeps unchanged view angle, original VGA compression of images is become the image of QVGA; More than or equal to 2 o'clock, the WDM driver module can be provided with the configuration data that obtains central 1/4 location drawing picture of original VGA image in the dsp chip register at the zoom coefficient.Therefore, the zoom coefficient was less than 2 o'clock, and the QVGA image that dsp chip obtains original visual angle sends to the WDM driver module as required QVGA image, that is to say, the QVGA image aspects is identical with original VGA image aspects; The zoom coefficient was more than or equal to 2 o'clock, and the image that dsp chip can directly obtain central 1/4 position of original VGA image sends to the WDM driver module as required QVGA image, and at this moment, the QVGA image aspects is 1/2 of an original VGA image aspects.
The interpolation algorithm that the utilization of step 205:WDM driver module is selected carries out interpolation to the current QVGA image of receiving and amplifies.
Described interpolation algorithm is also selected as required to determine, can be pre-determined and be arranged in the WDM driver module; Also can be by the user by the property pages setting, the method that is provided with property pages is identical with the concrete method to set up of zoom coefficient, and in this case, it is the image attributes that increases newly that interpolation algorithm is set, accordingly, need the attribute of the corresponding interpolation algorithm setting of increase that interface is set.The interpolation algorithm that is adopted can be selected any one existing interpolation algorithm as required for use, such as: secondary linear interpolation algorithm, BiCubic interpolation algorithm or the like, in order to reduce the resource consumption of CPU, preferable employing secondary linear interpolation algorithm in the utility model.As for how to realize the amplification of image is belonged to prior art, do not repeat them here by selected interpolation algorithm.
Step 206~207: utilize selected smoothing algorithm that the QVGA image through interpolation processing is carried out smoothing processing, will show through the image output of smoothing processing again.
At interpolation algorithm such as the more serious problem of secondary linear interpolation processing back edge burr phenomena, the utility model can carry out smoothing processing to image by selected smoothing algorithm, to guarantee to improve to a certain extent image effect.Described smoothing algorithm is also selected as required to determine, can be pre-determined and be arranged in the WDM driver module; Also can be by the user by the property pages setting, the method that is provided with property pages is identical with the concrete method to set up of zoom coefficient, and in this case, it is the image attributes that increases newly that smoothing algorithm is set, accordingly, need the attribute of the corresponding smoothing algorithm setting of increase that interface is set.The smoothing algorithm that is adopted can select for use any one existing template to carry out smoothing processing as required, such as: adopt Gauss's template to carry out smoothly, Gauss's template is as shown in Figure 3.Owing to how image is smoothly belonged to prior art, does not repeat them here.
In general, the utility model is realizing that maximum interpolation coefficients is 2 under the situation of 4 times of zooms, and therefore the image effect that obtains is better, and the user only need select the zoom multiple to get final product, and is easy to use.Especially from start to finish, what USB transmission and Drive Layer were handled all is the QVGA image, has both saved cpu resource, can easily reach the video effect of 30FPS again, has very strong superiority.
In a word, the above is preferred embodiment of the present utility model only, is not to be used to limit protection domain of the present utility model.

Claims (3)

1, a kind of computer camera, comprise the sensor that is used for images acquired, to digital signal processing chip, WDM driver module that view data is handled, described WDM driver module comprises the irrelevant module of Flame Image Process and contains the Flame Image Process correlation module of decompression unit and format conversion unit; Described sensor links to each other by the SIF interface with described digital signal processing chip, and described digital signal processing chip and WDM module are by general-purpose serial bus USB interface transmission data; It is characterized in that,
Described WDM driver module further comprises the digital zoom processing unit, is arranged between decompression unit and the format conversion unit, is used for the configuration parameter according to the zoom coefficient update dsp chip register of Set For Current; The QVGA image that the dsp chip transmission that also is used for receiving current amplifies, smoothing processing;
The VGA Image Acquisition QVGA image that described dsp chip is sent according to the configuration data of self register and the sensor that received sends the QVGA image that obtains to the WDM driver module again and carries out digital zoom and handle.
2, computer camera according to claim 1 is characterized in that, described sensor is the VGA sensor.
3, computer camera according to claim 1 is characterized in that, the configuration parameter in the described dsp chip register is provided with by Drive Layer.
CN200420118873.4U 2004-12-28 2004-12-28 Computer camera head for realizing digital focal variation Expired - Fee Related CN2755645Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200420118873.4U CN2755645Y (en) 2004-12-28 2004-12-28 Computer camera head for realizing digital focal variation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200420118873.4U CN2755645Y (en) 2004-12-28 2004-12-28 Computer camera head for realizing digital focal variation

Publications (1)

Publication Number Publication Date
CN2755645Y true CN2755645Y (en) 2006-02-01

Family

ID=35929272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200420118873.4U Expired - Fee Related CN2755645Y (en) 2004-12-28 2004-12-28 Computer camera head for realizing digital focal variation

Country Status (1)

Country Link
CN (1) CN2755645Y (en)

Similar Documents

Publication Publication Date Title
CN100359951C (en) Method for sending intersting digital video selected zone by selected acuity
CN101527033A (en) Industrial CCD color imaging system based on super-resolution reconstruction and automatic registration
Jinghong et al. Development of image processing system based on DSP and FPGA
CN1745574A (en) The portable terminal of video camera is equipped with
Yinli et al. The implementation of embedded image acquisition based on V4L2
CN100481886C (en) A method for implementing digital zooming and computer pick-up head
CN2755645Y (en) Computer camera head for realizing digital focal variation
CN106412473A (en) Image processing device, movie subsystem and movie processing circuit
CN106412588A (en) Image frame processing method
CN2886683Y (en) SoC chip with multimedia and network processing function
WO2023226845A1 (en) Image data transmission method and apparatus, and electronic device
CN101860663A (en) Chip for realizing video structuring description treatment and method thereof
CN1556498A (en) Non identification type hand wrighting input method and its device
CN202750182U (en) Compression-ratio-varying image compression system based on FPGA
CN1812472A (en) Digital camera apparatus and method capable of realizing image display format conversion
CN202004899U (en) High definition CMOS (Complementary Metal-Oxide-Semiconductor Transistor) monitoring equipment
CN2750601Y (en) A computer camera realizing specific processing of dynamic image
CN2882151Y (en) Vehicle recorder
US8289417B2 (en) Imaging device
CN201044472Y (en) Image processing device
Fan et al. Design of multispectral remote sensing image compression system
CN2788489Y (en) Embedded H.264 network video frequency server
CN201435200Y (en) Network data conversion device
CN2840552Y (en) Television set
CN1299101A (en) Laptop computer with camera

Legal Events

Date Code Title Description
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: 20060201

Termination date: 20111228