CN100440930C - Camera head system and method for getting static image in vedio flow of camera head - Google Patents
Camera head system and method for getting static image in vedio flow of camera head Download PDFInfo
- Publication number
- CN100440930C CN100440930C CNB2006101307667A CN200610130766A CN100440930C CN 100440930 C CN100440930 C CN 100440930C CN B2006101307667 A CNB2006101307667 A CN B2006101307667A CN 200610130766 A CN200610130766 A CN 200610130766A CN 100440930 C CN100440930 C CN 100440930C
- Authority
- CN
- China
- Prior art keywords
- camera
- still image
- image
- property pages
- size
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000003068 static effect Effects 0.000 title abstract description 10
- 230000008569 process Effects 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 claims description 2
- 230000002596 correlated effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
Abstract
This invention discloses a camera head system and a method for getting static images in the camera head video flow, in which, a user calls the attribute page interface by an applied program to set parameters of the necessary static images and send an order obtaining static images, after the drive program receives the order, it collocates correlated registor according to the size of the static images to let the digital signal processor output related size images then to get one static image to be fed back to the upper layer applied program to store it and informs the applied program getting the static image then switches it to the original video collocation, so as to get qualified static images of different sizes and different resolutions.
Description
Technical field
The present invention relates to the image acquisition field, particularly a kind of camera system and in camera video stream, obtain the method for still image.
Technical background
At present, can use computer camera to carry out Video show in a lot of MSNs such as MSN, QQ or other the video communication software.The data of computer camera output generally all are continuous video flowings, but sometimes, the user also needs to obtain static image, are used as the head portrait displayed map of oneself or send to the other side etc. such as obtaining an image.Usually, the quality requirement of Jing Tai image is than the quality height of video flowing.
In the prior art, in the video flowing of camera, obtain still image dual mode is arranged.
First method is that when the user needed single image, application program directly from the image stream of opening, intercepted an image the same with video stream format wherein, and preserves.As shown in Figure 1, in the process that video flowing obtains, received the order of obtaining still image, just in video flowing, intercepted a two field picture, under in computer, preserving then.The advantage of this method is: principle is simple, and the whole process of obtaining still image does not change hardware setting, and the discord Drive Layer takes place related.Its shortcoming is: can only obtain the still image with the current video same size, can not obtain the image of different size.Obtain the image of different size as need, can only obtain through the convergent-divergent of back-end software, but the software interpolation can cause the loss of image information, so can't obtain high-quality still image.
Microsoft in order to allow the user obtain the single image of different-format, provides a kind of new solution when the microcomputer network camera head solution is provided---Still Pin (still image interface).When generally using camera, use video flowing to catch interface Capture Pin and obtain video flowing.When the user need flow (Video Stream) different single image of form with current video, camera just suspended Video Stream; And the relief camera produces the new Video Stream the same with needed still image form, and switches to Still Pin; Driver therefrom intercepts an image as still image, returns to upper level applications by Still Pin; After obtaining still image, camera recovers the Video Stream of old form, switches back CapturePin, gets back to the normal function of camera.This mode is shown in the schematic diagram of Fig. 2, and it is Pin that two interfaces are provided in camera, and one is video flowing interface Capture Pin, and one is still image interface StillPin.Wherein Capture Pin is used to transmit video flowing, and the meaning of the Video Renderer that is connected with Capture Pin provides video and is used for preview.And Still Pin is connected to Sample Grabber, obtaining under the pattern of still image, the image of required form is come out by Still Pin, obtaining still image by Sample Grabber then also preserves, it is connected to Null Renderer, and Null Renderer represents that it does not show as video flowing.Its method flow diagram as shown in Figure 3.At first distribute video interface and still image interface bandwidth and internal memory, start video flowing then; If centre at preview video stream, receive the order of obtaining a still image, then driver can be configured part relevant with picture size in the video flowing register, at this moment driving meeting switches to as shown in Figure 2 Still Pin with interface, Still Pin just sends the image that produces according to new configuration then, and Sample Grabber can preserve it get off as still image subsequently; The register of camera can return to the order configuration before of obtaining still image then, and interface switches back CapturePin again, carries out obtaining and exporting of video with original configuration.This method can be exported the still image of better quality, but it relies on the solution of the Still Pin that Microsoft provides, complex structure, and require driver must support Still Pin, corresponding application also will be supported the interface of Still Pin.And a lot of application programs are not supported the solution of Still Pin, so this scheme and impracticable.
Summary of the invention
In view of this, the technical issues that need to address of the present invention are exactly under the situation that does not have Still Pin, obtain the problem of high-quality still image.
In order to solve the problems of the technologies described above, the invention provides a kind of camera system, can be used for obtaining still image, comprise camera, main frame and data-interface thereof; Wherein comprise transducer and digital signal processor in the camera; Described transducer is used for light signal is converted to the signal of telecommunication, exports original view data; Described digital signal processor is used for described transducer is provided with, and described raw image data is carried out being uploaded to main frame by data-interface after the relevant treatment; All include register in described transducer and the digital signal processor, be used for being provided with the relevant parameter that transducer and digital signal processor are used in the deal with data process; The application program that the webcam driver program is installed in the described main frame and uses camera; Described webcam driver program is used to drive the work of camera, comprising system-level driver and property pages; Described system-level driver is used for the data processing and the transmission of control data interface, and property pages interface and video flowing interface are provided, and uses with the property pages and the application program on upper strata and carries out communication; Comprising various adjustable parameters in the described property pages, described parameter is used to regulate the image attributes of the video flowing of camera, and the user can be provided with the still image size in property pages, and sends the order of obtaining still image by property pages; After described system-level driver receives this order, can reconfigure the relevant register of camera, make it to export the image of corresponding size according to the size of still image; System-level driver therefrom intercepts a frame and preserves as still image after obtaining correct video flowing, and the application program on notice upper strata; Described application program is used for display of video streams and calls the property pages of described camera.
Preferably, described data-interface is a USB interface.
Further, describedly relative parameters setting in the property pages is also comprised to image brightness, contrast gray scale, the isoparametric setting of white balance.
Further, the memory size of distributing to camera is the required space size of a maximum still image that camera can obtain.
Further, obtaining current frame image as still image and after under preserving, the configuration that promptly recovers the original video stream register makes camera output original video stream.
The present invention also provides a kind of method of obtaining still image in camera video stream, comprising: start camera, distribute video interface bandwidth and internal memory, the beginning transmitting video-frequency flow; By the property pages in the application call webcam driver program in the main frame, the relevant parameter to camera in property pages is provided with, and sends the order of obtaining still image then, and the parameter that comprises in the described order comprises the size of images parameter; After described driver is received the order of obtaining still image, the need parameter of the related register in the camera according to still image is configured, camera is with new configuration outputting video streams; Obtain current frame image and be uploaded to main frame as still image.
Preferably, described data-interface is a USB interface.
Further, describedly relative parameters setting in the property pages is also comprised to image brightness, contrast gray scale, the isoparametric setting of white balance
Further, the memory size of distributing to camera is the required space size of a maximum still image that camera can obtain.
Further, obtaining current frame image as still image and after under preserving, the configuration that promptly recovers the video flowing register makes camera export the video flowing of normal condition.
The present invention does not need Still pin interface, the user can be by the property pages interface of application call camera, the size of required still image is set in property pages, the order of still image is obtained in transmission, after the order of obtaining still image is received in driving, related register according to the requirement of required still image configuration camera obtains a width of cloth still image then and turns back to the upper strata from new video flowing, switch back former video configuration then.Utilize the present invention, can obtain different size is the still image of different resolution, and does not have Still Pin among the present invention, thereby structure is simpler, and the scope of application is more extensive.
Description of drawings
Fig. 1 is first kind of method flow diagram that obtains still image in the prior art;
Fig. 2 is second kind of schematic diagram that obtains the still image mode in the prior art;
Fig. 3 is second kind of flow chart that obtains the still image method in the prior art;
Fig. 4 is apparatus of the present invention schematic diagram;
Fig. 5 obtains the hardware of still image mode and the connection diagram of driving for the present invention;
Fig. 6 is the inventive method flow chart.
Embodiment
Below in conjunction with accompanying drawing, describe device and method of the present invention in detail.
As shown in Figure 4, be structure drawing of device of the present invention, comprise camera and main frame, wherein comprise transducer, digital signal processor in the camera.Transducer is used for light signal is converted to the signal of telecommunication, thereby obtains raw image data.Data signal processor is used for raw image data is carried out relevant treatment such as automatic exposure, Automatic white balance, goes bad some removal, compression etc.Main frame can be the computer that is connected with camera, and application program is arranged on main frame, and as MSN, QQ or other video software, main frame also is equipped with the driver of described camera, comprising system-level driver and property pages.The user can be by the property pages of application call camera, to the relevant parameter in the property pages such as image brightness, contrast, gray scale, parameters such as white balance are provided with, the webcam driver program will be carried out relevant configuration to the video flowing register in the camera according to the described parameter that is provided with then, makes camera according to new configuration outputting video streams.For instance, application program such as MSN can open " instrument-IP Camera setting-senior ", the camera property pages of program in will call driver then, the user can carry out the setting of relevant options such as image type, size, brightness, frame per second to required video flowing in property pages, then the video flowing of new output is just exported according to the new parameter that is provided with.It also is to be provided with in this property pages that the present invention will obtain still image, and in general the size of the required still image of user is bigger than the size of video flowing, so the size of required still image need be set in property pages.If the form of system default video flowing is a rgb format, then the user is provided with required still image and is of a size of 1280*960 in property pages, in property pages, order " obtaining a still image " then, then driver can carry out relevant configuration to the still image register of camera, make camera according to new configuration outputting video streams, intercept present frame then and preserve, can obtain a rgb format image that is of a size of 1280*960.
Method of the present invention may further comprise the steps as shown in Figure 6:
100 start camera, distribute video interface bandwidth and internal memory, the beginning transmitting video-frequency flow;
After connecting at the driver that installs camera on the main frame and with camera and main frame, in application program, open camera then, at this moment drive and to distribute video interface bandwidth and internal memory to camera, suppose that at this moment video flowing is rgb format, is of a size of 640*480 that so in general internal memory should be 640*480*3Bytes under the default setting.But in the present invention, when obtaining the better quality still image at needs, internal memory does not overflow, so in this step be the required space of a frame static image data of the camera maximum that can obtain with memory setting.The maximum image that can obtain as camera is of a size of the image of the 1280*960 of rgb format, and then memory size should be 1280*960*3Bytes.Start video flowing then, just at this moment transmitting video-frequency flow normally can carry out Video chat or video conference etc.
200 by the property pages in the application call webcam driver program in the main frame, and the relevant parameter to camera in property pages is provided with, and sends the order of obtaining still image then, is comprising described parameter in the described order;
If obtain still image at this intermediate demand, then the user can utilize the property pages of application call camera to carry out the size setting of required still image.The resolution of general required still image is that all the size than video flowing is big for size, here suppose that required image is for being of a size of 1280*960, can in property pages, send the order of obtaining still image then, comprise above-mentioned newly-installed picture size information in this order.
After 300 described drivers are received the order of obtaining still image, the need parameter of the related register in the camera according to still image is configured, camera is with new configuration outputting video streams;
Described related register comprises the video flowing register of camera, and through this step, then video flowing is promptly exported with new configuration;
400 obtain current frame image preserves as still image.
Obtain current frame image as under the still image preservation in new video flowing, this image is the rgb format image that a frame size is 1280*960.The still image that is obtained can be saved in predefined position on the main frame, can give application program with preserving position informing then.
After having obtained still image, can recover the video flowing register configuration that original video flowing is of a size of 640*480, normally carry out obtaining and transmitting of video flowing.
The process of more than obtaining still image and obtaining video flowing is all carried out at Capture Pin, do not relate to Still Pin, therefore the whole process of dynamic mapping picture size is only carried out on Capture Pin, image data transmission is also uninterrupted during this period, so accurately the judgment data signal processor uploads to the size of the view data of main frame, avoid misoperation, internal memory overflows, system crash otherwise may cause.And owing to there is not Still Pin, driver can not be the internal memory of the independent memory allocated view data of still image, so must be when driving distribution Capture Pin internal memory, still image size with maximum is distributed, make this memory headroom be enough to hold the still image of various sizes, otherwise, can cause internal memory to overflow equally.
The present invention is without Still Pin, and by the customization interface, dynamic Switch Video size of images, thus obtain the high-quality still image.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement etc., all should be included within protection scope of the present invention.
Claims (7)
1, a kind of camera system can be used for obtaining still image, it is characterized in that, comprises camera, main frame and data-interface thereof;
Wherein comprise transducer and digital signal processor in the camera; Described transducer is used for light signal is converted to the signal of telecommunication, exports original view data; Described digital signal processor is used for described transducer is provided with, and described raw image data is carried out being uploaded to main frame by data-interface after the relevant treatment; All include register in described transducer and the digital signal processor, be used for being provided with the relevant parameter that transducer and digital signal processor are used in the deal with data process;
The application program that the webcam driver program is installed in the described main frame and uses camera; Described webcam driver program is used to drive the work of camera, comprising system-level driver and property pages; Described system-level driver is used for the data processing and the transmission of control data interface, and property pages interface and video flowing interface are provided, and is used for carrying out communication with the property pages and the application program on upper strata; Comprising various adjustable parameters in the described property pages, described parameter is used to regulate the image attributes of the video flowing of camera, and the user is provided with the still image size in property pages, and sends the order of obtaining still image by property pages; After described system-level driver receives this order, can reconfigure the relevant register of camera, make it to export the image of corresponding size according to the size of still image; System-level driver therefrom intercepts a frame and preserves as still image after obtaining correct video flowing, and the application program on notice upper strata; Described application program is used for display of video streams and calls the property pages of described camera, and the memory size of distributing to camera is the required space size of a maximum still image that camera can obtain.
2, system according to claim 1 is characterized in that, described data-interface is a USB interface.
3, system according to claim 1 is characterized in that, relative parameters setting in the property pages is also comprised image brightness, contrast, gray scale, the isoparametric setting of white balance.
According to the described system of one of claim 1 to 3, it is characterized in that 4, obtaining current frame image as still image and after under preserving, the configuration that promptly recovers the original video stream register makes camera output original video stream.
5, a kind of method of obtaining still image in camera video stream is characterized in that, comprising:
Start camera, distribute video interface bandwidth and internal memory, the beginning transmitting video-frequency flow;
By the property pages in the application call webcam driver program in the main frame, relevant parameter to camera in property pages is provided with, send the order of obtaining still image then, the parameter that comprises in the described order comprises the size of images parameter, and the memory size of distributing to camera is the required space size of a maximum still image that camera can obtain;
After described driver is received the order of obtaining still image, the need parameter of the related register in the camera according to still image is configured, camera is with new configuration outputting video streams;
Obtain current frame image and be uploaded to main frame as still image.
6, method according to claim 5 is characterized in that, described in property pages the relevant parameter of camera the setting also comprises image brightness, contrast, gray scale, the isoparametric setting of white balance.
7, according to any described method among the claim 5-6, obtaining current frame image as still image and after under preserving, the configuration that promptly recovers the original video stream register makes camera export the video flowing of normal condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101307667A CN100440930C (en) | 2006-12-30 | 2006-12-30 | Camera head system and method for getting static image in vedio flow of camera head |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006101307667A CN100440930C (en) | 2006-12-30 | 2006-12-30 | Camera head system and method for getting static image in vedio flow of camera head |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101001323A CN101001323A (en) | 2007-07-18 |
CN100440930C true CN100440930C (en) | 2008-12-03 |
Family
ID=38693119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006101307667A Expired - Fee Related CN100440930C (en) | 2006-12-30 | 2006-12-30 | Camera head system and method for getting static image in vedio flow of camera head |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100440930C (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101134668B1 (en) * | 2007-10-15 | 2012-04-09 | 니폰덴신뎅와 가부시키가이샤 | Image generation method, device, its program and recording medium with program recorded therein |
CN101459802B (en) * | 2009-01-14 | 2013-09-18 | 北京中星微电子有限公司 | Method and apparatus for configuring register of sensor for image output |
CN101483710A (en) * | 2009-01-22 | 2009-07-15 | 中兴通讯股份有限公司 | Terminal and method for providing real-time screenshot of mobile phone television program |
CN102799384A (en) * | 2012-07-18 | 2012-11-28 | 上海量明科技发展有限公司 | Method, client and system for outdoor scene screenshot |
CN103634574B (en) * | 2013-12-16 | 2017-04-05 | 苏州科达科技股份有限公司 | Transparent data channel mode realizes the method and system that client is loaded into |
CN105451198B (en) * | 2014-09-30 | 2019-04-09 | 阿里巴巴集团控股有限公司 | Share the method and apparatus of picture in instant messaging |
CN104994270A (en) * | 2015-08-06 | 2015-10-21 | 麦格纳斯太尔汽车技术(上海)有限公司 | Vehicle-mounted camera image processing system in low light environment |
CN105430247A (en) * | 2015-11-26 | 2016-03-23 | 上海创米科技有限公司 | Method and device for taking photograph by using image pickup device |
CN107786803A (en) * | 2016-08-29 | 2018-03-09 | 中兴通讯股份有限公司 | A kind of image generating method, device and terminal device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1999040723A1 (en) * | 1998-02-06 | 1999-08-12 | Intel Corporation | Method and apparatus for still image capture during video streaming operations of a tethered digital camera |
US6151069A (en) * | 1997-11-03 | 2000-11-21 | Intel Corporation | Dual mode digital camera for video and still operation |
EP1523173A2 (en) * | 2003-10-07 | 2005-04-13 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling an auto-zooming operation of a mobile terminal |
CN1622601A (en) * | 2004-12-28 | 2005-06-01 | 北京中星微电子有限公司 | A method for implementing digital zooming and computer pick-up head |
CN1719873A (en) * | 2005-06-14 | 2006-01-11 | 北京中星微电子有限公司 | Method for obtaining static image by external camera |
CN1750598A (en) * | 2004-09-15 | 2006-03-22 | 北京中星微电子有限公司 | Method for obtaining single image by microcomputer network camera head |
WO2006101112A1 (en) * | 2005-03-22 | 2006-09-28 | Sony Corporation | Imaging device, information processing device, information processing method, program, and program recording medium |
-
2006
- 2006-12-30 CN CNB2006101307667A patent/CN100440930C/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6151069A (en) * | 1997-11-03 | 2000-11-21 | Intel Corporation | Dual mode digital camera for video and still operation |
WO1999040723A1 (en) * | 1998-02-06 | 1999-08-12 | Intel Corporation | Method and apparatus for still image capture during video streaming operations of a tethered digital camera |
EP1523173A2 (en) * | 2003-10-07 | 2005-04-13 | Samsung Electronics Co., Ltd. | Apparatus and method for controlling an auto-zooming operation of a mobile terminal |
CN1750598A (en) * | 2004-09-15 | 2006-03-22 | 北京中星微电子有限公司 | Method for obtaining single image by microcomputer network camera head |
CN1622601A (en) * | 2004-12-28 | 2005-06-01 | 北京中星微电子有限公司 | A method for implementing digital zooming and computer pick-up head |
WO2006101112A1 (en) * | 2005-03-22 | 2006-09-28 | Sony Corporation | Imaging device, information processing device, information processing method, program, and program recording medium |
CN1719873A (en) * | 2005-06-14 | 2006-01-11 | 北京中星微电子有限公司 | Method for obtaining static image by external camera |
Also Published As
Publication number | Publication date |
---|---|
CN101001323A (en) | 2007-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100440930C (en) | Camera head system and method for getting static image in vedio flow of camera head | |
EP3253052A1 (en) | Data processing apparatus and control method thereof | |
GB2434271A (en) | Method for replacing an enlarged image with a higher resolution version once obtained from a network camera | |
EP4351125A1 (en) | Lossless photographing method and apparatus for mobile terminal, terminal device and storage medium | |
US20140266978A1 (en) | Computer program product, information processing method, and imformation processing apparatus | |
AU2015229925B2 (en) | News production system with display controller | |
US20080136942A1 (en) | Image sensor equipped photographing apparatus and picture photographing method | |
US8284443B2 (en) | Apparatus and system for managing form data obtained from outside system | |
US6144403A (en) | Image processing apparatus and image processing system | |
JP2010016826A (en) | System and method for efficiently performing image processing operations | |
CN116916072A (en) | Equipment monitoring method of virtual shooting system and main service equipment | |
US8094339B2 (en) | Digital camera and printing method thereof | |
CN113347450B (en) | Method, device and system for sharing audio and video equipment by multiple applications | |
CN112134999B (en) | Method and device for processing video color ring and computer readable storage medium | |
CN105472229A (en) | Portable image acquisition method | |
CN113276570A (en) | Image processing apparatus, image processing method, and storage medium | |
US11665434B2 (en) | Information processing apparatus having capability of appropriately setting regions displayed within an image capturing region using different image categories | |
EP1422659A1 (en) | Image processing device | |
KR100652705B1 (en) | Apparatus and method for enhancing image quality of mobile communication terminal | |
EP3550824B1 (en) | Methods and apparatus for remotely controlling a camera in an environment with communication latency | |
CN113840080A (en) | Image capturing apparatus, control method of image capturing apparatus, and computer readable medium | |
JP4805532B2 (en) | Device equipment | |
JP2008141698A (en) | Chroma key device and video picture synthesizing device | |
JPH1079882A (en) | Image input device | |
TWI588656B (en) | Image processing system and image generation system 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 | ||
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: 20081203 Termination date: 20111230 |