CN104618675A - Video recording method and device - Google Patents
Video recording method and device Download PDFInfo
- Publication number
- CN104618675A CN104618675A CN201510102646.5A CN201510102646A CN104618675A CN 104618675 A CN104618675 A CN 104618675A CN 201510102646 A CN201510102646 A CN 201510102646A CN 104618675 A CN104618675 A CN 104618675A
- Authority
- CN
- China
- Prior art keywords
- camera
- image
- preset value
- distance
- shooting distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Studio Devices (AREA)
Abstract
The invention is applicable to the technical field of information, and provides a video recording method and a video recording device. The method comprises the following steps: determining a shooting distance according to the distance between an object space focal plane and an image space focal plane; when the shooting distance is greater than a first preset value, acquiring a first video recorded by a first camera; when the shooting distance is less than or equal to a first preset value, acquiring a second video recorded by a second camera; synthesizing a video according to the acquired first and second videos. According to the method and the device, the shooting distance is determined according to the distance between the object space focal plane and the image space focal plane; when the shooting distance is greater than a first preset value, the first video recorded by the first camera is acquired; when the shooting distance is less than or equal to a first preset value, the second video recorded by the second camera is acquired; the video is synthesized according to the acquired first and second videos; therefore, the definition of the video is guaranteed in a far and near scene switching process; the video quality is improved.
Description
Technical field
The invention belongs to areas of information technology, particularly relate to kinescope method and device.
Background technology
Recording apparatus generally comprises two kinds of focusing modes.The first is the focusing mode of locking image distance, and this kind of focusing mode, in video process, is if desired carried out far and near scape switching, then needed to carry out manual focus.The second is mode of in good time focusing, and this kind of focusing mode starts auto-focusing when far and near scape switches.But the image recorded in the process that existing two kinds of focusing modes switch at far and near scape all exists from fuzzy to process clearly, and that is, the image definition that existing video recording mode is recorded in the time period that far and near scape switches is lower, impact video recording quality.
Summary of the invention
Given this, embodiments provide a kind of kinescope method and device, to solve the lower problem of image definition that existing video recording mode records in the time period that far and near scape switches.
On the one hand, embodiments provide a kind of kinescope method, comprising:
According to the distance determination shooting distance between object space focal plane and image space focal plane;
When described shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded;
When described shooting distance is less than or equal to described first preset value, obtain the second image that second camera is recorded;
According to described first image obtained and described second Image compounding image.
Second aspect, embodiments provides a kind of recording apparatus, comprising:
Shooting distance determining unit, for according to the distance determination shooting distance between object space focal plane and image space focal plane;
First image capturing unit, for when described shooting distance is greater than the first preset value, obtains the first image that the first camera is recorded;
Second image capturing unit, for when described shooting distance is less than or equal to described first preset value, obtains the second image that second camera is recorded;
Image compounding unit, for according to obtain described first image and described second Image compounding image.
The beneficial effect that the embodiment of the present invention compared with prior art exists is: the embodiment of the present invention is according to the distance determination shooting distance between object space focal plane and image space focal plane, when shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded, when shooting distance is less than or equal to the first preset value, obtain the second image that second camera is recorded, again according to the first image obtained and the second Image compounding image, ensure that the definition of image in the process switched at far and near scape thus, improve the quality of image.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow figure of the kinescope method that the embodiment of the present invention provides;
Fig. 2 is the realization flow figure of the kinescope method that another embodiment of the present invention provides;
Fig. 3 is the realization flow figure of the kinescope method that another embodiment of the present invention provides;
Fig. 4 is the realization flow figure of the kinescope method that another embodiment of the present invention provides;
Fig. 5 is the structured flowchart of the recording apparatus that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the realization flow figure of the kinescope method that the embodiment of the present invention provides, and details are as follows:
In step S101, according to the distance determination shooting distance between object space focal plane and image space focal plane.
It should be noted that, the executive agent of the embodiment of the present invention can be mobile terminal or other recording apparatus, in this no limit.Mobile terminal can comprise mobile phone (or being called " honeycomb " phone) and have the computer of mobile terminal, such as, can be portable, pocket, hand-hold type or built-in computer mobile device, they and wireless access network exchange language and/or data.Such as, Personal Communications Services (Personal Communication Service, PCS) phone, cordless telephone, Session initiation Protocol (SessionInitiation Protocol, SIP) phone, wireless local loop (Wireless Local Loop, WLL) stand, personal digital assistant (Personal Digital Assistant, the equipment such as PDA), in this no limit.
The executive agent of the embodiment of the present invention comprises the first camera and second camera.
Object space focal plane referred to the first focus and perpendicular to the plane of system primary optical axis, and image space focal plane referred to the second focus and perpendicular to the plane of system primary optical axis.Wherein, the first focus is front focus or object focus, and the second focus is back focus or rear focus.Object space focal plane is object place plane, and image space focal plane is imageing sensor place plane.Calculate the distance of object space focal plane and image space focal plane, obtain shooting distance.
In step s 102, when described shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded.
In step s 103, when described shooting distance is less than or equal to described first preset value, obtain the second image that second camera is recorded.
Such as, the first preset value is 3 meters, when shooting distance is greater than 3 meters, obtains the first image that the first camera is recorded, and when shooting distance is less than or equal to 3 meters, obtains the second image that second camera is recorded.The image distance that first camera is corresponding is greater than image distance corresponding to second camera.In embodiments of the present invention, when shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded, when shooting distance is less than or equal to the first preset value, obtain the second image that second camera is recorded, the image of the first camera or second camera recording is chosen thus according to the distance of subject, higher to ensure the definition of the image chosen.
In step S104, according to described first image obtained and described second Image compounding image.
Here, according to the recording time of the first image and the recording time of the second image, the first image and the second image are synthesized, synthesize an image.
Fig. 2 shows the realization flow figure of the kinescope method that another embodiment of the present invention provides, with reference to Fig. 2:
In step s 201, arranging image distance corresponding to described first camera is the second preset value, and the image distance that described second camera is corresponding is the 3rd preset value;
In step S202, according to the distance determination shooting distance between object space focal plane and image space focal plane;
In step S203, when described shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded;
In step S204, when described shooting distance is less than or equal to described first preset value, obtain the second image that second camera is recorded;
In step S205, according to described first image obtained and described second Image compounding image.
The image distance that first camera is corresponding refers to the distance of the image sensor surface of the first camera and the optical center of lens of the first camera, the picture that namely the first camera is corresponding and the distance of optical center of lens.The image distance that second camera is corresponding refers to the distance of the image sensor surface of second camera and the optical center of lens of second camera, the picture that namely second camera is corresponding and the distance of optical center of lens.The image distance that first camera is corresponding is less than image distance corresponding to second camera, and namely the second preset value is less than the 3rd preset value.
Arranging image distance corresponding to the first camera is the second preset value, the image distance that second camera is corresponding is that the 3rd preset value is specially: arranging image distance corresponding to the first camera is the second preset value, the image distance that second camera is corresponding is the 3rd preset value, and image distance corresponding for a camera is fixed as the second preset value, the image distance that second camera is corresponding is fixed as the 3rd preset value.
Fig. 3 shows the realization flow figure of the kinescope method that another embodiment of the present invention provides, with reference to Fig. 3:
In step S301, arranging image distance corresponding to described first camera is the second preset value, and the image distance that described second camera is corresponding is the 3rd preset value;
In step s 302, according to the distance determination shooting distance between object space focal plane and image space focal plane;
In step S303, when described shooting distance is greater than described first preset value, start described first camera, described first camera is recorded a video according to described second preset value, close described second camera, and obtain the first image of described first camera recording;
In step s 304, when described shooting distance is less than or equal to described first preset value, start described second camera, described second camera is recorded a video according to described 3rd preset value, close described first camera, and obtain the second image of described second camera recording;
In step S305, according to described first image obtained and described second Image compounding image.
As one embodiment of the present of invention, when shooting distance is greater than the first preset value, starts the first camera and record a video, close second camera simultaneously; When shooting distance is less than or equal to the first preset value, starts second camera and record a video, close the first camera simultaneously.The embodiment of the present invention can reduce the power consumption of recording apparatus.
Fig. 4 shows the realization flow figure of the kinescope method that another embodiment of the present invention provides, with reference to Fig. 4:
In step S401, arranging image distance corresponding to described first camera is the second preset value, and the image distance that described second camera is corresponding is the 3rd preset value;
In step S402, start described first camera and described second camera, described first camera is recorded a video according to described second preset value, described second camera is recorded a video according to described 3rd preset value;
In step S403, according to the distance determination shooting distance between object space focal plane and image space focal plane;
In step s 404, when described shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded;
In step S405, when described shooting distance is less than or equal to described first preset value, obtain the second image that second camera is recorded;
In step S406, according to described first image obtained and described second Image compounding image.
As an alternative embodiment of the invention, the first camera and second camera are recorded a video simultaneously.Recording apparatus, when shooting distance is greater than the first preset value, chooses the first image of the first camera admission; When shooting distance is less than or equal to the first preset value, choose the second image of second camera admission.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
The embodiment of the present invention is according to the distance determination shooting distance between object space focal plane and image space focal plane, when shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded, when shooting distance is less than or equal to the first preset value, obtain the second image that second camera is recorded, again according to the first image obtained and the second Image compounding image, ensure that the definition of image in the process switched at far and near scape thus, improve the quality of image.
Fig. 5 shows the structured flowchart of the recording apparatus that the embodiment of the present invention provides, and this device may be used for the kinescope method described in service chart 1 to Fig. 4.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.With reference to Fig. 5, described device comprises:
Shooting distance determining unit 51, for according to the distance determination shooting distance between object space focal plane and image space focal plane;
First image capturing unit 52, for when described shooting distance is greater than the first preset value, obtains the first image that the first camera is recorded;
Second image capturing unit 53, for when described shooting distance is less than or equal to described first preset value, obtains the second image that second camera is recorded;
Image compounding unit 54, for according to obtain described first image and described second Image compounding image.
Further, described device also comprises:
Image distance setting unit 55 is the second preset value for arranging image distance corresponding to described first camera, and the image distance that described second camera is corresponding is the 3rd preset value.
Preferably, described first image capturing unit 52 specifically for:
When described shooting distance is greater than described first preset value, start described first camera, described first camera is recorded a video according to described second preset value, closes described second camera, and obtain the first image of described first camera recording;
Described second image capturing unit 53 specifically for:
When described shooting distance is less than or equal to described first preset value, start described second camera, described second camera is recorded a video according to described 3rd preset value, closes described first camera, and obtain the second image of described second camera recording.
Preferably, described device also comprises:
Video record unit 56 simultaneously, for starting described first camera and described second camera, described first camera is recorded a video according to described second preset value, described second camera is recorded a video according to described 3rd preset value.
The embodiment of the present invention is according to the distance determination shooting distance between object space focal plane and image space focal plane, when shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded, when shooting distance is less than or equal to the first preset value, obtain the second image that second camera is recorded, again according to the first image obtained and the second Image compounding image, ensure that the definition of image in the process switched at far and near scape thus, improve the quality of image.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.
Claims (8)
1. a kinescope method, is characterized in that, comprising:
According to the distance determination shooting distance between object space focal plane and image space focal plane;
When described shooting distance is greater than the first preset value, obtain the first image that the first camera is recorded;
When described shooting distance is less than or equal to described first preset value, obtain the second image that second camera is recorded;
According to described first image obtained and described second Image compounding image.
2. the method for claim 1, is characterized in that, described according to the distance determination shooting distance between object space focal plane and image space focal plane before, described method also comprises:
Arranging image distance corresponding to described first camera is the second preset value, and the image distance that described second camera is corresponding is the 3rd preset value.
3. method as claimed in claim 2, is characterized in that, described when described shooting distance is greater than the first preset value, and the first image obtaining the first camera recording comprises:
When described shooting distance is greater than described first preset value, start described first camera, described first camera is recorded a video according to described second preset value, closes described second camera, and obtain the first image of described first camera recording;
When described shooting distance is less than or equal to described first preset value, the second image obtaining second camera recording comprises:
When described shooting distance is less than or equal to described first preset value, start described second camera, described second camera is recorded a video according to described 3rd preset value, closes described first camera, and obtain the second image of described second camera recording.
4. method as claimed in claim 2, it is characterized in that, to arrange image distance corresponding to described first camera be the second preset value described, after the image distance that described second camera is corresponding is the 3rd preset value, described according to before the distance determination shooting distance between object space focal plane and image space focal plane, described method also comprises:
Start described first camera and described second camera, described first camera is recorded a video according to described second preset value, described second camera is recorded a video according to described 3rd preset value.
5. a recording apparatus, is characterized in that, comprising:
Shooting distance determining unit, for according to the distance determination shooting distance between object space focal plane and image space focal plane;
First image capturing unit, for when described shooting distance is greater than the first preset value, obtains the first image that the first camera is recorded;
Second image capturing unit, for when described shooting distance is less than or equal to described first preset value, obtains the second image that second camera is recorded;
Image compounding unit, for according to obtain described first image and described second Image compounding image.
6. device as claimed in claim 5, it is characterized in that, described device also comprises:
Image distance setting unit is the second preset value for arranging image distance corresponding to described first camera, and the image distance that described second camera is corresponding is the 3rd preset value.
7. device as claimed in claim 6, is characterized in that, described first image capturing unit specifically for:
When described shooting distance is greater than described first preset value, start described first camera, described first camera is recorded a video according to described second preset value, closes described second camera, and obtain the first image of described first camera recording;
Described second image capturing unit specifically for:
When described shooting distance is less than or equal to described first preset value, start described second camera, described second camera is recorded a video according to described 3rd preset value, closes described first camera, and obtain the second image of described second camera recording.
8. device as claimed in claim 6, it is characterized in that, described device also comprises:
Video record unit simultaneously, for starting described first camera and described second camera, described first camera is recorded a video according to described second preset value, described second camera is recorded a video according to described 3rd preset value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510102646.5A CN104618675B (en) | 2015-03-09 | 2015-03-09 | Kinescope method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510102646.5A CN104618675B (en) | 2015-03-09 | 2015-03-09 | Kinescope method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104618675A true CN104618675A (en) | 2015-05-13 |
CN104618675B CN104618675B (en) | 2018-01-26 |
Family
ID=53152934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510102646.5A Active CN104618675B (en) | 2015-03-09 | 2015-03-09 | Kinescope method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104618675B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106295624A (en) * | 2016-08-31 | 2017-01-04 | 中控智慧科技股份有限公司 | Palm image acquisition device and palm image acquisition method |
CN109644229A (en) * | 2016-08-31 | 2019-04-16 | 三星电子株式会社 | For controlling the method and its electronic equipment of camera |
CN112887430A (en) * | 2021-03-12 | 2021-06-01 | 胡冬冬 | Household health management device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200718170A (en) * | 2005-10-17 | 2007-05-01 | Asia Optical Co Inc | Image capturing system |
CN101931793A (en) * | 2009-06-18 | 2010-12-29 | 霍尼韦尔国际公司 | To observing the system and method that limited video surveillance fields carries out addressing |
CN102075679A (en) * | 2010-11-18 | 2011-05-25 | 无锡中星微电子有限公司 | Method and device for acquiring image |
CN103281492A (en) * | 2013-05-23 | 2013-09-04 | 深圳锐取信息技术股份有限公司 | Video picture switching method, video picture switching system, recording and broadcasting server and video recording and broadcasting system |
JP2014106274A (en) * | 2012-11-26 | 2014-06-09 | Nec Casio Mobile Communications Ltd | Camera module, camera, camera control method and control program |
-
2015
- 2015-03-09 CN CN201510102646.5A patent/CN104618675B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200718170A (en) * | 2005-10-17 | 2007-05-01 | Asia Optical Co Inc | Image capturing system |
CN101931793A (en) * | 2009-06-18 | 2010-12-29 | 霍尼韦尔国际公司 | To observing the system and method that limited video surveillance fields carries out addressing |
CN102075679A (en) * | 2010-11-18 | 2011-05-25 | 无锡中星微电子有限公司 | Method and device for acquiring image |
JP2014106274A (en) * | 2012-11-26 | 2014-06-09 | Nec Casio Mobile Communications Ltd | Camera module, camera, camera control method and control program |
CN103281492A (en) * | 2013-05-23 | 2013-09-04 | 深圳锐取信息技术股份有限公司 | Video picture switching method, video picture switching system, recording and broadcasting server and video recording and broadcasting system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106295624A (en) * | 2016-08-31 | 2017-01-04 | 中控智慧科技股份有限公司 | Palm image acquisition device and palm image acquisition method |
WO2018040147A1 (en) * | 2016-08-31 | 2018-03-08 | 中控智慧科技股份有限公司 | Palm image acquisition device and method |
CN109644229A (en) * | 2016-08-31 | 2019-04-16 | 三星电子株式会社 | For controlling the method and its electronic equipment of camera |
CN109644229B (en) * | 2016-08-31 | 2022-02-18 | 三星电子株式会社 | Method for controlling camera and electronic device thereof |
CN112887430A (en) * | 2021-03-12 | 2021-06-01 | 胡冬冬 | Household health management device |
CN112887430B (en) * | 2021-03-12 | 2022-12-20 | 深圳市环阳通信息技术有限公司 | Household health management device |
Also Published As
Publication number | Publication date |
---|---|
CN104618675B (en) | 2018-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021175055A1 (en) | Video processing method and related device | |
US9628703B2 (en) | Mobile terminal and controlling method thereof | |
CN104333703A (en) | Method and terminal for photographing by virtue of two cameras | |
JP4875206B2 (en) | Auto focus assembly | |
JP5190117B2 (en) | System and method for generating photos with variable image quality | |
US20090096927A1 (en) | System and method for video coding using variable compression and object motion tracking | |
CN104333748A (en) | Method, device and terminal for obtaining image main object | |
US8493431B2 (en) | Video conference system, processing method used in the same, and machine-readable medium | |
CN104754234A (en) | Photographing method and device | |
CN103841326B (en) | Video recording method and device | |
CN104618675A (en) | Video recording method and device | |
CN110675458A (en) | Method and device for calibrating camera and storage medium | |
US20130093850A1 (en) | Image processing apparatus and method thereof | |
KR20180052255A (en) | Method and Apparatus for Providing and Storing Streaming Contents | |
CN105933602A (en) | Camera shooting method and device | |
CN105516609A (en) | Shooting method and device | |
CN105630493A (en) | Method and device for regulating sleep time of mobile terminal | |
KR102629934B1 (en) | Imaging apparatus, and control method thereof | |
CN104935815A (en) | Shooting method, shooting device, camera and mobile terminal | |
CN105306829A (en) | Shooting method and apparatus | |
CN106331847A (en) | Audio and video playing method and device | |
CN103905718A (en) | Information processing method and device and electronic device | |
CN104780341A (en) | Information processing method and information processing device | |
EP3619679B1 (en) | Chromatic aberration modeling in image compression and enhancement | |
CN104660906A (en) | Blind shooting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |