WO2015192545A1 - Procédé et appareil de photographie et support de mémoire informatique - Google Patents

Procédé et appareil de photographie et support de mémoire informatique Download PDF

Info

Publication number
WO2015192545A1
WO2015192545A1 PCT/CN2014/088191 CN2014088191W WO2015192545A1 WO 2015192545 A1 WO2015192545 A1 WO 2015192545A1 CN 2014088191 W CN2014088191 W CN 2014088191W WO 2015192545 A1 WO2015192545 A1 WO 2015192545A1
Authority
WO
WIPO (PCT)
Prior art keywords
exposure
area
picture
normal
values
Prior art date
Application number
PCT/CN2014/088191
Other languages
English (en)
Chinese (zh)
Inventor
李黎国
李振华
张文娜
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015192545A1 publication Critical patent/WO2015192545A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a computer storage medium for photographing.
  • the flash light as an important fill light module for taking pictures under low light, is becoming more and more important.
  • the pre-flash phase calculates an exposure value (AE, Auto Exposure) of the photometric target (the subject to be photographed) under the luminance of the pre-flashed LED.
  • AE Exposure
  • the main flash the AE value at the main flash is directly obtained based on the difference in brightness directly from the pre-flash.
  • the pre-flash and main flash LED current values are fixed, that is to say, the brightness value is fixed. Due to the addition of the pre-flash process, the metering target can ensure that the AE converges to normal during the pre-flash phase, that is, the exposure value on the metering target is just right. Thus, since the difference between the pre-flash and the main luminance values is determined, it is ensured that the metering target AE at the main flash is just right, so that a good quality photograph can be taken.
  • the fill light of the flash has a large difference in the reflection of the close-up and the distant view. It is difficult to make the exposure of the close-up and the distant view just right when photographing: if the close-up brightness is normal, the foreground will be black, and if the brightness of the foreground is normal, the close-up There will be overexposure.
  • the embodiments of the present invention are directed to a method, a device, and a computer storage medium for solving a photo in the prior art.
  • the difference in the reflection of the scene is large, and the brightness of the picture taken by the flash is not uniform.
  • the embodiment of the present invention is mainly implemented by the following technical solutions:
  • An embodiment of the present invention provides a method for photographing, the method comprising:
  • the exposure values of the normal exposure area, the overexposed area and the underexposed area determined during the pre-flash are respectively converged to be normal, to obtain three pictures of different exposure values;
  • the method before the exposing the exposure values of the normal exposure area, the overexposed area, and the underexposed area determined at the pre-flash, respectively, the method further includes:
  • the method further includes:
  • the exposure values of the normal exposure area, the overexposed area, and the underexposed area are respectively converge to normal to obtain three pictures of different exposure values;
  • the preset unit is any one of N*N block regions pre-divided by the effective photosensitive area of the photosensitive device.
  • the exposure values of the normal exposure area, the overexposed area, and the underexposed area determined during the pre-flash are respectively converged to obtain three pictures of different exposure values, including:
  • the exposure value converges based on the underexposed area, so that the exposure value of the underexposed area converges normally, and an underexposed picture is obtained.
  • the area in which the exposure values of the three different exposure values converge normally is combined into one picture, including:
  • the embodiment of the invention further provides a device for photographing, the device comprising:
  • the convergence module is configured to converge the exposure values of the normal exposure area, the overexposed area and the underexposed area determined during the pre-flash to the normal flash to obtain three pictures of different exposure values;
  • the processing module is configured to synthesize a region in which the exposure values of the three different exposure values obtained by the convergence module converge to a normal picture into one picture.
  • the device further includes: a recording module and a setting module;
  • the recording module is configured to record an exposure value of each preset unit in the effective exposure area under pre-flash;
  • the setting module is configured to determine the normal exposure area, the overexposed area, and the underexposed area according to an exposure value of each preset unit recorded by the recording module, wherein the preset unit is a photosensitive device
  • the effective photosensitive area is pre-divided into any one of the N*N block areas.
  • the device further includes: a calculation module and a determination module;
  • the calculating module is configured to separately calculate a square of a difference between an exposure value of each of the preset units and a preset value of a pre-flash of a preset unit when previewing, and a difference value of exposure values of all preset units Square summation, get the accumulated value;
  • the determining module is configured to trigger the convergence module when determining that the accumulated value is greater than a preset threshold
  • the preset unit is any one of N*N block regions pre-divided by the effective photosensitive area of the photosensitive device.
  • the convergence module is further configured to: when the flash main flashes, the exposure value is converge based on the normal exposure area, so that the exposure value of the normal exposure area converges normally, and a normal exposure picture is obtained; Exposing the exposure value to make the exposure value converge, so that the exposure value of the overexposed area converges normally, and the overexposed picture is obtained; the exposure value converges based on the underexposed area, so that the exposure value of the underexposed area converges normally, and the underexposure is obtained. image.
  • the processing module includes: a setting submodule and a computing submodule;
  • the setting sub-module is configured to set weights of respective corresponding pixel points according to exposure values of respective preset units in the normal exposure picture, the over-exposed picture, and the under-exposed picture;
  • the calculation sub-module is configured to perform weighted averaging of the corresponding YUV information of each of the pixel points according to the weight of the pixel points set by the setting sub-module, and integrate the processing into one picture.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing photographing method.
  • the embodiment of the present invention processes the overexposed area and the underexposed area in the preflash to be normal Exposure value area, and re-integration of the processed area, finally making the brightness of the picture taken by the flash more uniform, thus effectively solving the difference in the prior art due to the difference in the reflection of the flash light to the close-range and the distant view.
  • FIG. 1 is a flowchart of a method for photographing according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a device for photographing according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another apparatus for photographing according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of still another apparatus for photographing according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of still another apparatus for photographing according to an embodiment of the present invention.
  • the main purpose of the embodiments of the present invention is to provide a method, a device, and a computer storage medium for photographing.
  • the exposure values of the normal exposure area, the overexposed area, and the underexposed area of the preflash are respectively converged normally, and Three images of different exposure values, and the areas in which the exposure values of the three different exposure values converge normally are combined into a more uniform picture. In this way, the distant view and the close-up view in the picture are clear, which greatly improves the photo effect of the flash.
  • the technical solutions of the present invention will be described in detail below through several specific embodiments.
  • An embodiment of the present invention provides a method for photographing. Referring to FIG. 1, the method includes:
  • the exposure value AE of the target area (the target being photographed) is made to converge normally, thereby determining the normal exposure area, the overexposed area, and the underexposed area
  • the flash main flashes according to the preflash a normal exposure area, an overexposed area, and an underexposed area respectively converge the exposure values of the normal exposure area, the overexposed area, and the underexposed area to obtain three pictures of different exposure values;
  • the normal exposure area in the embodiment of the present invention is a block area in the picture obtained by normalizing the exposure value of the target area, and the overexposed area and the underexposed area are defined with respect to the exposure value of the normal exposure area.
  • the overexposed area and the underexposed area in the preflash are processed into a normal exposure value area, and the processed area is re-integrated, thereby finally obtaining a picture with more uniform brightness, thereby greatly improving the image.
  • the photo effect of the flash is not limited to the embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be a mobile phone, a notebook or a tablet computer or the like that performs photographing by a flash.
  • the step of determining the normal exposure area, the overexposed area, and the underexposed area in the embodiment of the present invention specifically includes: recording the exposure values of each preset unit in the effective exposure area under the pre-flashing under the normal condition of AE convergence; according to each preset The exposure value of the unit determines the normal exposure area, the overexposed area, and the underexposed area, wherein the predetermined unit is a pre-divided N*N (N is a positive integer) block of the photosensitive photosensitive area of the photosensitive device Any area in the area.
  • the embodiment of the present invention divides the effective photosensitive area of the photosensitive device into N*N block areas in advance, and the preset unit is any one of the N*N block areas, and pre-flashes, so that the exposure value AE of the target area converges normally. And recording the exposure values of the respective preset units, and determining the normal exposure area, the overexposed area, and the underexposed area according to the exposure values of the respective preset units pre-flashed.
  • the effective exposure regions of the embodiments of the present invention include a normal exposure region, an overexposed region, and an underexposed region.
  • the method of the embodiment of the present invention further includes: respectively calculating a difference between an exposure value of each preset unit and an exposure value of a corresponding preset unit pre-flash when previewing (previewing a state of the pre-flash front terminal) Squared, and summed the square of the difference of the exposure values of all the preset units to obtain an accumulated value;
  • the accumulated value is less than the preset threshold, it indicates that the flash does not substantially function as a fill light, and the picture output of the overexposed area and the underexposed area is not performed;
  • the exposure values of the normal exposure area, the overexposed area, and the underexposed area are respectively converged to obtain three pictures of different exposure values;
  • the preset unit is any one of N*N block regions pre-divided by the effective photosensitive area of the photosensitive device.
  • the embodiment of the present invention first obtains the square of the difference between the exposure value of the preview of all the preset units and the exposure value of the pre-flash, and then accumulates the square of the difference of the exposure values of all the preset units to obtain An accumulated value is compared with a preset threshold to further determine whether to output three pictures of different exposure values.
  • the exposure values of the normal exposure area, the overexposed area, and the underexposed area are respectively condensed to be normal, and the step of obtaining three pictures of different exposure values specifically includes:
  • the exposure value is condensed based on the normal exposure area, so that the exposure value of the normal exposure area converges normally, and a normal exposure picture is obtained, that is, a picture with a clear target area is obtained.
  • the exposure value converges based on the overexposed area, so that the exposure value of the overexposed area converges normally, and an overexposed picture is obtained, that is, a picture with a clear overexposed area is obtained, in which case the normal exposed area and the underexposed area may not be clear. .
  • the step of synthesizing the regions in which the exposure values of the three different exposure values are normalized into one picture comprises:
  • the weight of the pixel corresponding to the preset unit in which the exposure value in the picture is converged is set to be high, and the weight of the pixel corresponding to the preset unit in which the exposure value of the picture is not converged is low, and then
  • the corresponding YUV information of the pixel points are respectively weighted and averaged, and further synthesized into a picture with more uniform brightness.
  • the method of calculating the weighted average of the YUV information of the i-th pixel is as follows:
  • Y i (aY iH + b Y iM + c Y iL ) / a + b + c;
  • V i (aV iH +b V iM +c V iL )/a+b+c;
  • H represents an overexposed picture
  • M represents an exposure normal picture
  • L represents an underexposed picture
  • the YUV information of the i-th pixel point is obtained, and so on, the YUV information of all the pixel points in the picture is obtained, thereby obtaining a picture with uniform final brightness.
  • the above method for calculating the YUV information of the picture is only a specific example for better understanding of the present invention, and those skilled in the art may also use the other algorithms to perform the above three sheets.
  • the image is processed as long as the final processed image is made clearer.
  • FIG. 2 is a flowchart of another method for photographing according to an embodiment of the present invention. The following describes the embodiment of the present invention in detail with reference to FIG. 2:
  • the camera flash mode is set to the Auto mode, determine whether the current environment needs to open the flash, and if necessary, turn on the flash. If the camera flash mode is set to the On mode, the flash is directly turned on when photographing;
  • the pre-flash current value is fixed, and the target area is exposed as an exposure object, and the exposure values of each preset unit are respectively calculated, and the normal exposure area, the overexposed area, and the underexposure are determined according to the exposure values of the respective preset units in the preflash.
  • S204 the main flash of the flash, and three images are respectively output based on the exposure values during the pre-flash, respectively: a normal exposure picture, an overexposed picture, and an underexposed picture;
  • the AE value at the main flash can be calculated, and the main flash is based on the pre-flash.
  • the normal exposure area, the overexposed area and the underexposed area respectively converge the exposure values of the normal exposure area, the overexposed area and the underexposed area to obtain three pictures of different exposure values;
  • the exposure value is condensed based on the normal exposure area, so that the exposure value of the normal exposure area converges normally, and a normal exposure picture is obtained; and the exposure value is condensed based on the over-exposed area. So that the exposure value of the overexposed area converges normally, and an overexposed picture is obtained; the exposure value converges based on the underexposed area, so that the exposure value of the underexposed area converges normally, and an underexposed picture is obtained;
  • the regions in which the exposure values of the three different exposure values converge normally are combined into one picture, specifically, according to the preset positions of the normal exposure picture, the overexposed picture, and the underexposed picture, respectively.
  • the exposure value sets the weight of each corresponding pixel point, and weights the corresponding YUV information of each of the pixel points to form a picture.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing photographing method.
  • An embodiment of the present invention further provides a device for photographing.
  • the device includes: a convergence module 11 and a processing module 12 connected to each other;
  • the convergence module 11 is configured to converge the exposure values of the normal exposure area, the overexposed area and the underexposed area determined during the preflash to the normal flash to obtain three pictures of different exposure values;
  • the processing module 12 is configured to combine the regions in which the exposure values of the three different exposure values obtained by the convergence module 11 converge to a normal picture into one picture.
  • FIG. 4 is a schematic structural diagram of another apparatus for photographing according to an embodiment of the present invention. As shown in FIG. 4, FIG. 4 is a preferred apparatus according to an embodiment of the present invention, and the apparatus further includes Recording module 13 and setting module 14;
  • the setting module 14 determines the normal exposure area, the overexposed area, and the underexposed area according to the exposure values of the respective preset units recorded by the recording module 13, wherein the preset unit is Any one of the N*N block regions pre-divided by the effective photosensitive area of the photosensitive device.
  • FIG. 5 is a schematic structural diagram of still another apparatus for photographing according to an embodiment of the present invention. As shown in FIG. 5, FIG. 5 is a preferred apparatus according to an embodiment of the present invention.
  • the device further includes a calculation module 15 and a determination module 16;
  • the calculating module 15 respectively calculates the square of the difference between the exposure value of each preset unit and the exposure value of the corresponding preset unit pre-flash when previewing, and the square of the difference between the exposure values of all the preset units Summing, getting the accumulated value;
  • the convergence module 11 is triggered;
  • the convergence module 11 is configured to converge the exposure value based on the normal exposure area, the overexposed area, and the underexposed area according to the pre-flash, when the main flash is flashed, so that the normal exposure area is The exposure value converges normally, and a normal exposure picture is obtained; the exposure value converges based on the overexposed area, so that the exposure value of the overexposed area converges normally, and an overexposed picture is obtained; and the exposure value converges based on the underexposed area, so that The exposure value of the underexposed area converges normally, and an underexposed picture is obtained.
  • FIG. 6 is a schematic structural diagram of still another apparatus for photographing according to an embodiment of the present invention.
  • the processing module 12 further includes: a setting sub-module 121 and a computing sub-module 122;
  • the setting sub-module 121 sets the weights of the respective corresponding pixel points according to the exposure values of the preset units in the normal exposure picture, the over-exposed picture, and the under-exposed picture, respectively;
  • the calculation sub-module 122 performs the weighted average of the YUV information of each of the pixel points according to the weight of the pixel points set by the setting sub-module 121, and synthesizes a picture.
  • the content of the device in the embodiment of the present invention can be understood by referring to related content in the method part, and details are not described herein again.
  • the overexposed area and the underexposed area in the preflash are processed into a normal exposure value area, and the processed area is re-integrated, thereby finally obtaining a picture with uniform brightness, and the picture is made in this way.
  • the medium and long-range scenes are clear, which greatly improves the photo effect of the flash.
  • the photographing method and device and the computer storage medium provided by the embodiment of the invention converge the exposure values of the normal exposure area, the overexposed area and the underexposed area determined during the preflash to the normal flash to obtain three sheets.
  • a picture of different exposure values; the areas in which the exposure values of the three different exposure values converge normally are combined into one picture.
  • the overexposed area and the underexposed area in the preflash are processed into a normal exposure value area, and the processed area is re-integrated, and finally a picture with uniform brightness is obtained, and the picture is made in this way.
  • the medium and long-range scenes are clear, which greatly improves the photo effect of the flash.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

La présente invention porte sur un procédé et un appareil de photographie et un support de mémoire informatique. Le procédé comprend : lorsqu'un faisceau de lumière entre dans un étage de flash principal, convergence séparément de valeurs d'exposition, déterminées dans un étage de pré-éclair, d'une zone d'exposition normale, d'une zone de surexposition, et d'une zone de sous-exposition pour être normales, de manière à obtenir trois images avec différentes valeurs d'exposition (S101) ; et synthèse de zones, avec des valeurs d'exposition amenées à converger pour être normales, dans les trois images avec différentes valeurs d'exposition dans une image (S102).
PCT/CN2014/088191 2014-06-20 2014-10-09 Procédé et appareil de photographie et support de mémoire informatique WO2015192545A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410279489.0A CN105208294A (zh) 2014-06-20 2014-06-20 一种拍照的方法及装置
CN201410279489.0 2014-06-20

Publications (1)

Publication Number Publication Date
WO2015192545A1 true WO2015192545A1 (fr) 2015-12-23

Family

ID=54934782

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088191 WO2015192545A1 (fr) 2014-06-20 2014-10-09 Procédé et appareil de photographie et support de mémoire informatique

Country Status (2)

Country Link
CN (1) CN105208294A (fr)
WO (1) WO2015192545A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071262B (zh) * 2016-12-28 2019-09-17 尚云(广州)信息科技有限公司 拍照方法和拍照装置
TW201915818A (zh) * 2017-10-05 2019-04-16 香港商印芯科技股份有限公司 光學識別模組
CN107566752B (zh) * 2017-10-31 2020-08-11 努比亚技术有限公司 一种拍摄方法、终端及计算机存储介质
CN111064898B (zh) * 2019-12-02 2021-07-16 联想(北京)有限公司 图像拍摄方法及装置、设备、存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7005235B2 (en) * 2002-12-04 2006-02-28 Taiwan Semiconductor Manufacturing Co., Ltd. Method and systems to print contact hole patterns
CN102131051A (zh) * 2010-12-28 2011-07-20 惠州Tcl移动通信有限公司 一种摄像设备及其图像获取方法和装置
CN102129148A (zh) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 相机及照片拍摄与处理方法
CN102129147A (zh) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 相机及照片拍摄与处理方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8018525B2 (en) * 2007-12-21 2011-09-13 Nokia Corporation Camera flash module and method for controlling same
JP5749224B2 (ja) * 2012-07-13 2015-07-15 株式会社東芝 カメラモジュール

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7005235B2 (en) * 2002-12-04 2006-02-28 Taiwan Semiconductor Manufacturing Co., Ltd. Method and systems to print contact hole patterns
CN102129148A (zh) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 相机及照片拍摄与处理方法
CN102129147A (zh) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 相机及照片拍摄与处理方法
CN102131051A (zh) * 2010-12-28 2011-07-20 惠州Tcl移动通信有限公司 一种摄像设备及其图像获取方法和装置

Also Published As

Publication number Publication date
CN105208294A (zh) 2015-12-30

Similar Documents

Publication Publication Date Title
CN111418201B (zh) 一种拍摄方法及设备
WO2020034737A1 (fr) Procédé de commande d'imagerie, appareil, dispositif électronique et support d'informations lisible par ordinateur
CN110445988B (zh) 图像处理方法、装置、存储介质及电子设备
CN108322646B (zh) 图像处理方法、装置、存储介质及电子设备
CN107846556B (zh) 成像方法、装置、移动终端和存储介质
CN107948538B (zh) 成像方法、装置、移动终端和存储介质
JP6110574B2 (ja) ハイダイナミックレンジ画像化方法及びカメラ
WO2015101001A1 (fr) Méthode et dispositif de capture, et terminal associé
WO2020029679A1 (fr) Procédé et appareil de commande, dispositif d'imagerie, dispositif électronique et support de stockage lisible
CN103780840A (zh) 一种高品质成像的双摄像成像装置及其方法
CN109922275B (zh) 曝光参数的自适应调整方法、装置及一种拍摄设备
CN108337446B (zh) 基于双摄像头的高动态范围图像获取方法、装置及设备
WO2020034701A1 (fr) Procédé et appareil de commande d'imagerie, dispositif électronique et support de stockage lisible
CN108337449A (zh) 基于双摄像头的高动态范围图像获取方法、装置及设备
WO2020034702A1 (fr) Procédé de commande, dispositif, équipement électronique et support d'informations lisible par ordinateur
WO2016082414A1 (fr) Procédé et dispositif de compensation de luminosité
TWI486057B (zh) 影像擷取裝置及其影像合成方法
JP2012109900A (ja) 撮影装置、撮影方法、およびプログラム
US11496694B2 (en) Dual sensor imaging system and imaging method thereof
WO2020034739A1 (fr) Procédé et appareil de commande, dispositif électronique et support de stockage lisible par ordinateur
WO2015192545A1 (fr) Procédé et appareil de photographie et support de mémoire informatique
JP2014123915A (ja) 撮像装置及びその制御方法、プログラム、並びに記憶媒体
JP2017112462A (ja) 撮像装置及びその制御方法、プログラム並びに記憶媒体
JP6741881B2 (ja) 画像処理装置、撮像装置、画像処理方法、およびプログラム
CN111526299B (zh) 一种高动态范围图像合成方法和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895346

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14895346

Country of ref document: EP

Kind code of ref document: A1