CN104836947B - A kind of image capturing method and device - Google Patents

A kind of image capturing method and device Download PDF

Info

Publication number
CN104836947B
CN104836947B CN201510227761.5A CN201510227761A CN104836947B CN 104836947 B CN104836947 B CN 104836947B CN 201510227761 A CN201510227761 A CN 201510227761A CN 104836947 B CN104836947 B CN 104836947B
Authority
CN
China
Prior art keywords
image
shooting
mrow
brightness
video
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.)
Active
Application number
CN201510227761.5A
Other languages
Chinese (zh)
Other versions
CN104836947A (en
Inventor
吴磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510227761.5A priority Critical patent/CN104836947B/en
Publication of CN104836947A publication Critical patent/CN104836947A/en
Application granted granted Critical
Publication of CN104836947B publication Critical patent/CN104836947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of image capturing method and device.This method includes:Under multi-exposure pattern, shooting duration of video is obtained;After user inputs shooting instruction, according to the frame per second of capture apparatus, at least two images are continuously shot in the shooting duration of video;At least two images are overlapped, to form this shooting image.Image capturing method and device provided in an embodiment of the present invention, the overexposure problem of long exposure image can be easily avoided, improve picture quality.

Description

A kind of image capturing method and device
Technical field
The present embodiments relate to image data processing technique, more particularly to a kind of image capturing method and device.
Background technology
It has been the function that people generally commonly use with the development of science and technology, being taken pictures using mobile terminal.
Current mobile terminal, all with long exposure function, but long exposure function has a defect, i.e., in normal light Under line brightness, it must be overexposure to take the photo come, reduce playability.Can solve this using the annex of light damping plate to ask Topic, but the cost of product can be improved.
The content of the invention
The embodiment of the present invention provides a kind of image capturing method and device, to realize raising picture quality, and greatly carries User's use value is risen.
In a first aspect, the embodiments of the invention provide a kind of image capturing method, this method includes:
Under multi-exposure pattern, shooting duration of video is obtained;
After user inputs shooting instruction, according to the frame per second of capture apparatus, it is continuously shot at least in the shooting duration of video Two images;
At least two images are overlapped, to form this shooting image.
Second aspect, the embodiment of the present invention additionally provide a kind of image capturing device, and the device includes:
Shooting duration of video acquisition module, under multi-exposure pattern, obtaining shooting duration of video;
Shoot instruction input module, for user input shooting instruction after, according to the frame per second of capture apparatus, in the bat Take the photograph in duration and be continuously shot at least two images;
Image synthesis unit, at least two images are overlapped, to form this shooting image.
The embodiments of the invention provide a kind of image capturing method and device, can be obtained under the pattern of multiple-exposure Shooting duration of video, according to the frame per second of capture apparatus, at least two images are continuously shot, two images are overlapped, solved In the case of light is normal, the image of high quality can be also taken, to improve the use value of user.
Brief description of the drawings
Fig. 1 is a kind of image capturing method schematic flow sheet in the embodiment of the present invention one;
Fig. 2 is a kind of image capturing method schematic flow sheet in the embodiment of the present invention two;
Fig. 3 is a kind of image capturing method schematic flow sheet in the embodiment of the present invention three;
Fig. 4 is a kind of image capturing device structural representation in the embodiment of the present invention four;
Fig. 5 is a kind of image capturing device structural representation in the embodiment of the present invention five.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of image capturing method schematic flow sheet that the embodiment of the present invention one provides, and this method can be by moving The image capturing device configured in terminal is performed, and the device can be realized in the form of hardware and/or software.
This method includes:
S110, under multi-exposure pattern, obtain shooting duration of video;
The technical scheme of the present embodiment, multi-exposure pattern is provided with for terminal, in this mode, when obtaining shooting first It is long, it can be specifically that user inputs setting shooting duration of video or presets several shooting duration of video, be selected by user, can also It is the appropriate shooting duration of video of acquiescence.Shooting duration of video is that follow-up shooting process answers duration.
S120, user input shooting instruction after, according to the frame per second of capture apparatus, be continuously shot in the shooting duration of video At least two images;
In aforesaid operations, shooting instruction can be specifically that user presses the shooting push button of mobile terminal when being shot An action command.
Frame per second is exactly the frame number of the picture shot in 1 seconds, frame per second typically can by the performance of picture pick-up device, or The demand of user carrys out static state setting or dynamic adjusts.Aforesaid operations, after user once inputs shooting instruction, picture pick-up device is certainly Move and multiple images are continuously shot in defined shooting duration of video, the specific quantity that shoots is determined by shooting duration of video and frame per second.User Shooting instruction is inputted without repeatedly pressing shutter.
S130, at least two images are overlapped, to form this shooting image.
Multiple images are overlapped, so as to form this shooting image, it is achieved thereby that the technology with multiple-exposure Shoot long exposure image.
The technical scheme of the present embodiment, it is particularly well suited to obtain the long exposure image under ordinary ray, can effectively solves The phenomenon of exposure.Long exposure image can occur the reason for overexposure be because continuously acquired in longer shooting time light into Picture, light excessively abundance is caused to cause overexposure.The technical scheme of the present embodiment, in shooting duration of video, it will once shoot and be decomposed into Repeatedly shooting, then shooting acquisition light accumulated time is shorter every time, and overexposure phenomenon will not occur.Meanwhile multiple are continuously shot Imaging importing, long exposure image can be obtained.The technical scheme of the present embodiment, improves the quality of image, and enriches movement The use function of terminal, brings new user to be worth.
Embodiment two
Fig. 2 is a kind of image capturing method schematic flow sheet provided in an embodiment of the present invention.The technical scheme of the present embodiment Based on embodiment one, further, before shooting duration of video is obtained, in addition to:Current light condition is identified, and current Light condition reaches when imposing a condition, and opens the multi-exposure pattern.Automatic sensing light conditions are enabled the terminal to, are cut The screening-mode of long exposure is changed, avoids overexposure.
Further, current light condition will be identified, and when current light condition reaches and imposed a condition, is opened described more Re-exposure pattern operation optimization is:The automatic sensitivity of the picture pick-up device is obtained, when the automatic sensitivity is less than setting door During limit value, determine that the current light condition reaches and impose a condition, open the multi-exposure pattern.
Operated based on above-mentioned optimization, a kind of image capturing method that the present embodiment provides comprises the following steps:
S200, identification current light condition, and when current light condition reaches and imposed a condition, open the multiple-exposure Pattern;
S201, the automatic sensitivity for obtaining the picture pick-up device, when the automatic sensitivity is less than setting threshold value, really The fixed current light condition, which reaches, to impose a condition, and opens the multi-exposure pattern;
Automatic sensitivity, also known as ISO values, it is the property parameters of picture pick-up device, is to weigh sensitive journey of the egative film for light Degree, by susceptibility test and measures several numerical value to determine.That reflects the susceptibility of film.Picture pick-up device can be according to light ISO values used by selection.Automatic sensitivity is lower, then shows that current light is better.The present embodiment make use of automatic sensitivity This parameter, when the automatic sensitivity is less than setting threshold value, it is believed that current light condition is preferable, then opens described more Re-exposure pattern.
S202, under multi-exposure pattern, obtain shooting duration of video;
S203, user input shooting instruction after, according to the frame per second of capture apparatus, be continuously shot in the shooting duration of video At least two images;
S204, at least two images are overlapped, to form this shooting image.
The technical scheme of the embodiment of the present invention, by a kind of image capturing method, the automatic sensitivity of picture pick-up device is obtained, when When the automatic sensitivity is less than setting threshold value, determines that current light condition reaches and impose a condition, open multi-exposure pattern, To obtain the image of more preferable effect.
Embodiment three
Fig. 3 is a kind of image capturing method schematic flow sheet provided in an embodiment of the present invention.The technical scheme of the present embodiment Based on above-described embodiment, further, at least two images are overlapped, to form this shooting image behaviour It is optimized for:Adjustment saturation degree and the adjustment brightness of every image are calculated according to formula;For by least two images The adjustment saturation degree of corresponding pixel points and adjustment brightness are overlapped, to form the full of this shooting image corresponding pixel points With degree and brightness.
Operation based on optimization, the method that the present embodiment provides comprise the following steps:
S310, under multi-exposure pattern, obtain shooting duration of video;
S320, user input shooting instruction after, according to the frame per second of capture apparatus, be continuously shot in the shooting duration of video At least two images;
S330, the adjustment saturation degree for calculating according to equation below every image and adjustment brightness:
Wherein, SiFor the former saturation degree of image, LiFor the former brightness of image, S 'iFor the adjustment saturation degree of image, L 'iFor figure The adjustment brightness of picture, t are shooting duration of video, and k is frame per second.
S340, for by the adjustment saturation degree of the corresponding pixel points of at least two images and adjustment brightness carry out Superposition, to form the saturation degree of this shooting image corresponding pixel points and brightness.
Aforesaid way actually by the saturation degree of each sub-picture and brightness fair play, is overlapped.It is of course also possible to will The pixel intensity of each sub-picture and the heterogeneous linear superposition of brightness, to obtain the saturation degree of final long exposure image and brightness.
The technical scheme of the embodiment of the present invention, by a kind of image capturing method, with calculation, calculate the tune of image The adjustment brightness of whole saturation degree and image, is being overlapped image, makes image effect more preferably.
Example IV
Fig. 4 show a kind of structural representation of image capturing device of the offer of the embodiment of the present invention four, as shown in figure 4, The device specifically includes:Shooting duration of video acquisition module 410, shooting instruction input module 420 and image synthesis unit 430.
Wherein, shooting duration of video acquisition module 410, under multi-exposure pattern, obtaining shooting duration of video;Shooting instruction is defeated Enter module 420, for after user inputs shooting instruction, according to the frame per second of capture apparatus, continuously being clapped in the shooting duration of video Take the photograph at least two images;Image synthesis unit 430, at least two images are overlapped, to form this shooting figure Picture.
On the basis of such scheme, it is preferred that also include:Light identification module 400, for obtain shooting duration of video it Before, current light condition is identified, and when current light condition reaches and imposed a condition, open the multi-exposure pattern.It is preferred that , light identification module 400, the automatic sensitivity specifically for obtaining the picture pick-up device, when the automatic sensitivity is less than When setting threshold value, determine that the current light condition reaches and impose a condition, open the multi-exposure pattern.
The technical scheme of the embodiment of the present invention, by a kind of image capturing device, automatic identification light condition, reach and set Multi-exposure pattern is opened after fixed condition, to obtain effect better image.
Embodiment five
Fig. 5 is a kind of image capturing device schematic diagram provided in an embodiment of the present invention.The technical scheme of the present embodiment is with reality Based on applying example four, image capturing device is further optimized, the device specifically includes:Shooting duration of video acquisition module 410, clap Take the photograph instruction input module 420 and image synthesis unit 430.
Preferably, image synthesis unit 430 includes:Image computing unit 431 and image superimposition unit 432.
Wherein, image computing unit 431, adjustment saturation degree and the adjustment brightness of every image are calculated according to equation below:
Wherein, SiFor the former saturation degree of image, LiFor the former brightness of image, S 'iFor the adjustment saturation degree of image, L 'iFor figure The adjustment brightness of picture, t are shooting duration of video, and k is frame per second;Image superimposition unit 432, for by the correspondence of at least two images The adjustment saturation degree of pixel and adjustment brightness are overlapped, to form the saturation degree of this shooting image corresponding pixel points And brightness.
The technical scheme of the present embodiment, by a kind of image capturing device, using the mode of calculating, calculate the saturation of image Degree and brightness, efficiency high is convenient and swift, and data are accurate, and then improves picture quality.
The said goods can perform the method that any embodiment of the present invention is provided, and possess the corresponding functional module of execution method And beneficial effect.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (6)

  1. A kind of 1. image capturing method, it is characterised in that including:
    Current light condition is identified, and when current light condition reaches and imposed a condition, automatically turns on multi-exposure pattern;
    Under the multi-exposure pattern, shooting duration of video is obtained;
    After user inputs shooting instruction, according to the frame per second of capture apparatus, at least two are continuously shot in the shooting duration of video Image, the frame per second are the frame number of the picture shot in 1 seconds;
    At least two images are overlapped, to form this shooting image.
  2. 2. according to the method for claim 1, it is characterised in that identification current light condition, and reached in current light condition Include to the multi-exposure pattern when imposing a condition, is automatically turned on:
    The automatic sensitivity of the capture apparatus is obtained, when the automatic sensitivity is less than setting threshold value, it is determined that described work as Preceding light condition, which reaches, to impose a condition, and automatically turns on the multi-exposure pattern.
  3. 3. according to the method for claim 1, it is characterised in that be overlapped at least two images, to form this Secondary shooting image includes:
    Adjustment saturation degree and the adjustment brightness of every image are calculated according to equation below:
    <mrow> <msubsup> <mi>S</mi> <mi>i</mi> <mo>,</mo> </msubsup> <mo>=</mo> <mfrac> <msub> <mi>S</mi> <mi>i</mi> </msub> <mrow> <mi>t</mi> <mo>&amp;times;</mo> <mi>k</mi> </mrow> </mfrac> </mrow>
    <mrow> <msubsup> <mi>L</mi> <mi>i</mi> <mo>,</mo> </msubsup> <mo>=</mo> <mfrac> <msub> <mi>L</mi> <mi>i</mi> </msub> <mrow> <mi>t</mi> <mo>&amp;times;</mo> <mi>k</mi> </mrow> </mfrac> </mrow>
    Wherein, SiFor the former saturation degree of image, LiFor the former brightness of image, S 'iFor the adjustment saturation degree of image, L 'iFor image Brightness is adjusted, t is shooting duration of video, and k is frame per second;
    The adjustment saturation degree of the corresponding pixel points of at least two images and adjustment brightness are overlapped, to form this The saturation degree of secondary shooting image corresponding pixel points and brightness.
  4. A kind of 4. image capturing device, it is characterised in that including:
    Light identification module, for before shooting duration of video is obtained, identifying current light condition, and reach in current light condition When imposing a condition, multi-exposure pattern is automatically turned on;
    Shooting duration of video acquisition module, under the multi-exposure pattern, obtaining shooting duration of video;
    Shoot instruction input module, for user input shooting instruction after, according to the frame per second of capture apparatus, in the shooting At least two images are continuously shot in length, the frame per second is the frame number of the picture shot in 1 seconds;
    Image synthesis unit, at least two images are overlapped, to form this shooting image.
  5. 5. device according to claim 4, it is characterised in that the light identification module is specifically used for:
    The automatic sensitivity of the capture apparatus is obtained, when the automatic sensitivity is less than setting threshold value, it is determined that described work as Preceding light condition, which reaches, to impose a condition, and automatically turns on the multi-exposure pattern.
  6. 6. device according to claim 4, it is characterised in that described image synthesis module includes:
    Image computing unit, adjustment saturation degree and the adjustment brightness of every image are calculated according to equation below:
    <mrow> <msubsup> <mi>S</mi> <mi>i</mi> <mo>,</mo> </msubsup> <mo>=</mo> <mfrac> <msub> <mi>S</mi> <mi>i</mi> </msub> <mrow> <mi>t</mi> <mo>&amp;times;</mo> <mi>k</mi> </mrow> </mfrac> </mrow>
    <mrow> <msubsup> <mi>L</mi> <mi>i</mi> <mo>,</mo> </msubsup> <mo>=</mo> <mfrac> <msub> <mi>L</mi> <mi>i</mi> </msub> <mrow> <mi>t</mi> <mo>&amp;times;</mo> <mi>k</mi> </mrow> </mfrac> </mrow>
    Wherein, SiFor the former saturation degree of image, LiFor the former brightness of image, S 'iFor the adjustment saturation degree of image, L 'iFor image Brightness is adjusted, t is shooting duration of video, and k is frame per second;
    Image superimposition unit, for by the adjustment saturation degree of the corresponding pixel points of at least two images and adjustment brightness It is overlapped, to form the saturation degree of this shooting image corresponding pixel points and brightness.
CN201510227761.5A 2015-05-06 2015-05-06 A kind of image capturing method and device Active CN104836947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510227761.5A CN104836947B (en) 2015-05-06 2015-05-06 A kind of image capturing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510227761.5A CN104836947B (en) 2015-05-06 2015-05-06 A kind of image capturing method and device

Publications (2)

Publication Number Publication Date
CN104836947A CN104836947A (en) 2015-08-12
CN104836947B true CN104836947B (en) 2017-11-14

Family

ID=53814562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510227761.5A Active CN104836947B (en) 2015-05-06 2015-05-06 A kind of image capturing method and device

Country Status (1)

Country Link
CN (1) CN104836947B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108353126B (en) 2015-04-23 2019-08-23 苹果公司 Handle method, electronic equipment and the computer readable storage medium of the content of camera
KR102465212B1 (en) * 2015-10-30 2022-11-10 삼성전자주식회사 Photographing apparatus using multiple exposure sensor and photographing method thereof
CN105872394A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and device for processing pictures
US10009536B2 (en) 2016-06-12 2018-06-26 Apple Inc. Applying a simulated optical effect based on data received from multiple camera sensors
DK180859B1 (en) 2017-06-04 2022-05-23 Apple Inc USER INTERFACE CAMERA EFFECTS
CN107820022A (en) * 2017-10-30 2018-03-20 维沃移动通信有限公司 A kind of photographic method and mobile terminal
US10375313B1 (en) 2018-05-07 2019-08-06 Apple Inc. Creative camera
US11722764B2 (en) 2018-05-07 2023-08-08 Apple Inc. Creative camera
CN110708468B (en) * 2018-07-10 2021-10-12 瑞芯微电子股份有限公司 Image pickup method and apparatus
CN108683863B (en) * 2018-08-13 2020-01-10 Oppo广东移动通信有限公司 Imaging control method, imaging control device, electronic equipment and readable storage medium
US11770601B2 (en) 2019-05-06 2023-09-26 Apple Inc. User interfaces for capturing and managing visual media
US10674072B1 (en) 2019-05-06 2020-06-02 Apple Inc. User interfaces for capturing and managing visual media
US11321857B2 (en) 2018-09-28 2022-05-03 Apple Inc. Displaying and editing images with depth information
US11128792B2 (en) 2018-09-28 2021-09-21 Apple Inc. Capturing and displaying images with multiple focal planes
CN111901479B (en) * 2019-05-06 2021-05-25 苹果公司 Method, electronic device and non-transitory computer-readable storage medium for displaying camera user interface
US11706521B2 (en) 2019-05-06 2023-07-18 Apple Inc. User interfaces for capturing and managing visual media
US11039074B1 (en) 2020-06-01 2021-06-15 Apple Inc. User interfaces for managing media
US11212449B1 (en) 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
US11778339B2 (en) 2021-04-30 2023-10-03 Apple Inc. User interfaces for altering visual media
US11539876B2 (en) 2021-04-30 2022-12-27 Apple Inc. User interfaces for altering visual media
CN115118859A (en) * 2022-06-27 2022-09-27 联想(北京)有限公司 Electronic device and processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761690A (en) * 2011-04-28 2012-10-31 佳能株式会社 Imaging apparatus and method for controlling the same
CN103856718A (en) * 2014-03-26 2014-06-11 深圳市中兴移动通信有限公司 Photo synthesis method and photo synthesis device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5762114B2 (en) * 2011-04-28 2015-08-12 キヤノン株式会社 Imaging apparatus and control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761690A (en) * 2011-04-28 2012-10-31 佳能株式会社 Imaging apparatus and method for controlling the same
CN103856718A (en) * 2014-03-26 2014-06-11 深圳市中兴移动通信有限公司 Photo synthesis method and photo synthesis device

Also Published As

Publication number Publication date
CN104836947A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN104836947B (en) A kind of image capturing method and device
CN104349066B (en) A kind of method, apparatus for generating high dynamic range images
CN105744175B (en) A kind of screen light compensation method, device and mobile terminal
KR100890949B1 (en) Electronic device and method in an electronic device for processing image data
US9531960B2 (en) Imaging apparatus for generating HDR image from images captured at different viewpoints and method for controlling imaging apparatus
WO2017096866A1 (en) Method and apparatus for generating high dynamic range image
CN109413336A (en) Image pickup method, device, electronic equipment and computer readable storage medium
TWI417811B (en) The Method of Face Beautification in Digital Image
DE202013012272U1 (en) Device for controlling a camera
US20130141604A1 (en) Image capturing device and method for capturing details of entire shooting scene
CN101931753A (en) Target following and image tracking apparatus, method of controlling operation thereof and digital camera
CN105230001A (en) Method, the image processing program of image processing equipment, process image, and imaging device
CN104050651A (en) Scene image processing method and device
CN106664366A (en) Image processing device, image capturing apparatus, image processing method, and program
CN105981362B (en) For obtaining the method and multicamera system of picture
JP2018093275A (en) Imaging apparatus and flicker determination method
CN108174082B (en) Image shooting method and mobile terminal
CN106131441A (en) Photographic method and device, electronic equipment
CN107786806A (en) Camera device and focus adjusting method
CN105516611A (en) An imaging device and a shooting method
US20210235016A1 (en) Generating an image using automatic mode settings while in manual mode
JP2021197144A (en) Method for training image noise removal model, method for removing image noise, device, and media
CN106339705A (en) Image acquisition method and device
CN105744172A (en) Photographing method and device and mobile terminal
CN105594196B (en) Camera device and image capture method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

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 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder