[go: up one dir, main page]

CN105657289A - Control method and device and electronic device - Google Patents

Control method and device and electronic device Download PDF

Info

Publication number
CN105657289A
CN105657289A CN201610188467.2A CN201610188467A CN105657289A CN 105657289 A CN105657289 A CN 105657289A CN 201610188467 A CN201610188467 A CN 201610188467A CN 105657289 A CN105657289 A CN 105657289A
Authority
CN
China
Prior art keywords
control
value
exposure
module
imaging device
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
Application number
CN201610188467.2A
Other languages
Chinese (zh)
Other versions
CN105657289B (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 CN201610188467.2A priority Critical patent/CN105657289B/en
Publication of CN105657289A publication Critical patent/CN105657289A/en
Application granted granted Critical
Publication of CN105657289B publication Critical patent/CN105657289B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/60Extraction of image or video features relating to illumination properties, e.g. using a reflectance or lighting model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/165Detection; Localisation; Normalisation using facial parts and geometric relationships
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Studio Devices (AREA)

Abstract

本发明公开了一种控制方法,用于控制成像装置,成像装置包括合成模块。控制方法中,首先识别预览图像中的人脸区域。然后识别人脸区域的明部及暗部。接着计算明部与暗部的第一反差值并根据第一反差值计算多个曝光补偿值。最后,控制成像装置根据曝光补偿值曝光以获得多张素材图像。合成模块用于对多张素材图像进行HDR处理以得到合成图像,合成图像中人脸区域的第二反差值大于等于第一预定值。如此,通过HDR处理以得到合成图像。合成图像的人脸图像的整体亮度较均衡,各个区域的细节都能充分展现,且人脸区域的明部与暗部仍有一定的反差值,因此人脸能呈现较好的立体感与真实感。本发明还公开了一种控制装置及电子装置。

The invention discloses a control method for controlling an imaging device, and the imaging device includes a synthesis module. In the control method, the face area in the preview image is first identified. Then identify the bright and dark parts of the face area. Then calculate the first contrast value of the light part and the dark part, and calculate a plurality of exposure compensation values according to the first contrast value. Finally, the imaging device is controlled to expose according to the exposure compensation value to obtain multiple material images. The composition module is used to perform HDR processing on multiple material images to obtain a composite image, and the second contrast value of the face area in the composite image is greater than or equal to the first predetermined value. In this way, a composite image is obtained through HDR processing. The overall brightness of the face image of the synthesized image is relatively balanced, the details of each area can be fully displayed, and there is still a certain contrast between the bright and dark parts of the face area, so the face can present a better three-dimensional and realistic sense . The invention also discloses a control device and an electronic device.

Description

控制方法、控制装置及电子装置Control method, control device and electronic device

技术领域technical field

本发明涉及拍照技术,特别涉及一种控制方法、控制装置及电子装置。The invention relates to photographing technology, in particular to a control method, a control device and an electronic device.

背景技术Background technique

现有的高动态范围(highdynamicrange,HDR)通过采用不同的曝光时间拍摄多帧图像,然后合成图像,使得合成图像的明部及暗部都合理曝光,从而能同时呈现明部及暗部的细节。然而,使用HDR功能有可能带来其他问题,例如,反差降低可能使得人脸立体感不足,还容易使皮肤失去光泽及凸显过多的皮肤细节,用户体验较差。The existing high dynamic range (high dynamic range, HDR) takes multiple frames of images with different exposure times, and then synthesizes the images, so that the bright and dark parts of the synthesized image are properly exposed, so that the details of the bright and dark parts can be presented at the same time. However, using the HDR function may cause other problems. For example, the reduced contrast may make the face less three-dimensional, and it is easy to lose the luster of the skin and highlight too many skin details. The user experience is poor.

发明内容Contents of the invention

本发明的实施方式旨在至少解决现有技术中存在的技术问题之一。为此,本发明的实施方式需要提供一种控制方法、控制装置及电子装置。Embodiments of the present invention aim to solve at least one of the technical problems existing in the prior art. Therefore, the embodiments of the present invention need to provide a control method, a control device and an electronic device.

本发明提供一种控制方法,用于控制成像装置,所述成像装置包括合成模块;所述控制方法包括以下步骤:The present invention provides a control method for controlling an imaging device, and the imaging device includes a synthesis module; the control method includes the following steps:

第一识别步骤,识别所述预览图像中的人脸区域;The first recognition step is to recognize the face area in the preview image;

第二识别步骤,识别所述人脸区域的明部及暗部;The second identification step is to identify the bright part and dark part of the human face area;

第一计算步骤,计算所述明部与暗部的第一反差值并根据所述第一反差值计算多个曝光补偿值;及A first calculation step, calculating a first contrast value between the bright part and the dark part and calculating a plurality of exposure compensation values according to the first contrast value; and

第一控制步骤,控制所述成像装置根据所述曝光补偿值曝光以获得多张素材图像;所述合成模块用于对所述多张素材图像进行HDR处理以得到合成图像,所述合成图像中所述人脸区域的第二反差值大于等于第一预定值。The first control step is to control the imaging device to expose according to the exposure compensation value to obtain multiple material images; the synthesis module is used to perform HDR processing on the multiple material images to obtain a composite image, in which the composite image The second contrast value of the face area is greater than or equal to a first predetermined value.

如此,通过HDR处理以得到合成图像,同时保证合成图像的人脸区域有一定的反差值。合成图像的人脸图像的整体亮度较均衡,各个区域的细节都能充分展现,且人脸区域的明部与暗部仍有一定的反差值,因此人脸能呈现较好的立体感与真实感。解决了现有技术某些问题。In this way, the synthesized image is obtained through HDR processing, and at the same time, a certain contrast value is ensured in the face area of the synthesized image. The overall brightness of the face image of the synthesized image is relatively balanced, and the details of each area can be fully displayed, and there is still a certain contrast between the bright and dark parts of the face area, so the face can present a better three-dimensional and realistic sense . Some problems of the prior art are solved.

在某些实施方式中,所述控制方法包括:In some embodiments, the control method includes:

第二计算步骤,计算所述人脸区域在所述预览图像的面积占比;及The second calculation step is to calculate the area ratio of the human face area in the preview image; and

第一判断步骤,判断所述面积占比是否大于第二阈值且小于第一阈值,若是,进入所述第二识别步骤。The first judging step is judging whether the area proportion is greater than the second threshold and smaller than the first threshold, and if so, enter the second identifying step.

在某些实施方式中,所述控制方法包括:In some embodiments, the control method includes:

第二控制步骤,在所述面积占比大于或等于所述第一阈值时控制所述成像装置曝光成像。The second control step is controlling the imaging device to expose and image when the area ratio is greater than or equal to the first threshold.

在某些实施方式中,所述控制方法包括:In some embodiments, the control method includes:

第三控制步骤,在所述面积占比小于或等于所述第二阈值时根据所述预览图像的第三反差值进行HDR处理。A third control step is to perform HDR processing according to a third contrast value of the preview image when the area ratio is less than or equal to the second threshold.

在某些实施方式中,所述控制方法包括:In some embodiments, the control method includes:

第二判断步骤,判断所述第一反差值是否小于第二预定值;及A second judging step, judging whether the first contrast value is smaller than a second predetermined value; and

第四控制步骤,在所述第一反差值小于第二预定值控制所述成像装置曝光成像。The fourth control step is to control the imaging device to expose and form images when the first contrast value is smaller than a second predetermined value.

在某些实施方式中,所述控制方法包括:In some embodiments, the control method includes:

第三计算步骤,计算所述人脸区域的综合亮度;The third calculation step is to calculate the comprehensive brightness of the human face area;

调节步骤,根据所述综合亮度调节曝光度以使所述预览图像的所述综合亮度达到预定亮度值并根据当前的所述曝光度获得曝光基准值,所述曝光补偿值以所述曝光基准值为基准;及an adjustment step, adjusting exposure according to the integrated brightness so that the integrated brightness of the preview image reaches a predetermined brightness value and obtaining an exposure reference value according to the current exposure, and the exposure compensation value is based on the exposure reference value as a basis; and

所述第一控制步骤包括控制子步骤,所述控制子步骤控制所述成像装置根据所述曝光基准值及所述曝光补偿值曝光以获得所述多张素材图像。The first control step includes a control sub-step, the control sub-step controls the imaging device to expose according to the exposure reference value and the exposure compensation value to obtain the multiple material images.

本发明还提供一种控制装置,用于控制成像装置,所述成像装置包括合成模块;所述控制装置包括:The present invention also provides a control device for controlling an imaging device, and the imaging device includes a synthesis module; the control device includes:

第一识别模块,用于识别所述预览图像中的人脸区域;A first identification module, configured to identify the face area in the preview image;

与所述第一识别模块连接的第二识别模块,用于识别所述人脸区域的明部及暗部;A second identification module connected to the first identification module, used to identify the bright and dark parts of the face area;

与所述第二识别模块连接的第一计算模块,用于计算所述明部与暗部的第一反差值并根据所述第一反差值计算多个曝光补偿值;及A first calculation module connected to the second identification module, configured to calculate a first contrast value between the bright part and the dark part and calculate a plurality of exposure compensation values according to the first contrast value; and

与所述第一计算模块连接的第一控制模块,用于控制所述成像装置根据所述曝光补偿值曝光以获得多张素材图像;所述合成模块用于对所述多张素材图像进行HDR处理以得到合成图像,所述合成图像中所述人脸区域的第二反差值大于等于第一预定值。A first control module connected to the first calculation module, configured to control the exposure of the imaging device according to the exposure compensation value to obtain multiple material images; the synthesis module is used to perform HDR on the multiple material images processing to obtain a composite image, where the second contrast value of the face area in the composite image is greater than or equal to a first predetermined value.

在某些实施方式中,所述控制装置包括:In some embodiments, the control device includes:

第二计算模块,用于计算所述人脸区域在所述预览图像的面积占比;及The second calculation module is used to calculate the area ratio of the human face area in the preview image; and

第一判断模块,用于判断所述面积占比是否大于第二阈值且小于第一阈值;所述第二识别用于在所述面积占比小于所述第一阈值且大于所述第二阈值时识别所述人脸区域的明部及暗部;The first judging module is used to judge whether the area ratio is greater than the second threshold and smaller than the first threshold; the second identification is used to judge whether the area ratio is smaller than the first threshold and larger than the second threshold Identify the bright part and dark part of the face area in real time;

在某些实施方式中,所述控制装置包括:In some embodiments, the control device includes:

第二控制模块,用于在所述面积占比大于或等于所述第一阈值时控制所述成像装置曝光成像。The second control module is configured to control the exposure and imaging of the imaging device when the area ratio is greater than or equal to the first threshold.

在某些实施方式中,所述控制装置包括:In some embodiments, the control device includes:

第三控制模块,用于在所述面积占比小于或等于所述第二阈值时根据所述预览图像的第三反差值进行HDR处理。A third control module, configured to perform HDR processing according to a third contrast value of the preview image when the area ratio is less than or equal to the second threshold.

在某些实施方式中,所述控制装置包括:In some embodiments, the control device includes:

第二判断模块,用于判断所述第一反差值是否小于第二预定值;A second judging module, configured to judge whether the first contrast value is smaller than a second predetermined value;

第四控制模块,用于在所述第一反差值小于第二预定值控制所述成像装置曝光成像。A fourth control module, configured to control the imaging device for exposure and imaging when the first contrast value is less than a second predetermined value.

在某些实施方式中,所述控制装置包括:In some embodiments, the control device includes:

第三计算模块,用于计算所述人脸区域的综合亮度;及The third calculation module is used to calculate the comprehensive brightness of the human face area; and

调节模块,用于根据所述综合亮度调节曝光度以使所述预览图像的所述综合亮度达到预定亮度值并将当前的所述曝光度作为曝光基准值,所述曝光补偿值以所述曝光基准值为基准;及An adjustment module, configured to adjust exposure according to the integrated brightness so that the integrated brightness of the preview image reaches a predetermined brightness value and use the current exposure as an exposure reference value, and the exposure compensation value is based on the exposure the benchmark value is the benchmark; and

所述第一控制模块包括控制子模块,所述控制子模块控制所述成像装置根据所述曝光基准值及所述曝光补偿值曝光以获得所述多张素材图像。The first control module includes a control submodule, and the control submodule controls the imaging device to expose according to the exposure reference value and the exposure compensation value to obtain the multiple material images.

本发明还提供一种电子装置,在某些实施方式中,包括成像装置及上述实施方式所述的控制装置。The present invention also provides an electronic device, in some embodiments, including an imaging device and the control device described in the above embodiments.

在某些实施方式中,所述电子装置包括手机或平板电脑。In some embodiments, the electronic device includes a mobile phone or a tablet computer.

在某些实施方式中,所述成像装置包括所述电子装置或所述平板电脑的前置相机。In some embodiments, the imaging device includes a front-facing camera of the electronic device or the tablet computer.

本发明的实施方式的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实施方式的实践了解到。Additional aspects and advantages of embodiments of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of the invention.

附图说明Description of drawings

本发明的实施方式的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of embodiments of the present invention will become apparent and readily understood from the description of the embodiments in conjunction with the following drawings, in which:

图1是本发明实施方式的控制方法的流程示意图。Fig. 1 is a schematic flowchart of a control method according to an embodiment of the present invention.

图2是本发明实施方式的控制装置及电子装置的功能模块示意图。FIG. 2 is a schematic diagram of functional modules of a control device and an electronic device according to an embodiment of the present invention.

图3是本发明实施方式的控制方法的原理示意图。Fig. 3 is a schematic diagram of the principle of the control method according to the embodiment of the present invention.

图4是本发明实施方式的控制方法的原理示意图。Fig. 4 is a schematic diagram of the principle of the control method according to the embodiment of the present invention.

图5是本发明实施方式的控制方法的流程示意图。Fig. 5 is a schematic flowchart of a control method according to an embodiment of the present invention.

图6是本发明实施方式的控制装置及电子装置的功能模块示意图。FIG. 6 is a schematic diagram of functional modules of a control device and an electronic device according to an embodiment of the present invention.

图7是本发明实施方式的控制方法的流程示意图。Fig. 7 is a schematic flowchart of a control method in an embodiment of the present invention.

图8是本发明实施方式的控制装置及电子装置的功能模块示意图。FIG. 8 is a schematic diagram of functional modules of a control device and an electronic device according to an embodiment of the present invention.

图9是本发明实施方式的预览图像的示意图。FIG. 9 is a schematic diagram of a preview image according to an embodiment of the present invention.

图10是本发明实施方式的控制方法的流程示意图。Fig. 10 is a schematic flowchart of a control method in an embodiment of the present invention.

图11是本发明实施方式的控制装置及电子装置的功能模块示意图。FIG. 11 is a schematic diagram of functional modules of a control device and an electronic device according to an embodiment of the present invention.

图12是本发明实施方式的预览图像的示意图。Fig. 12 is a schematic diagram of a preview image according to an embodiment of the present invention.

图13是本发明实施方式的控制方法的流程示意图。Fig. 13 is a schematic flowchart of a control method in an embodiment of the present invention.

图14是本发明实施方式的控制装置及电子装置的功能模块示意图。FIG. 14 is a schematic diagram of the functional modules of the control device and the electronic device according to the embodiment of the present invention.

图15是本发明实施方式的控制方法的流程示意图。Fig. 15 is a schematic flowchart of a control method in an embodiment of the present invention.

图16是本发明实施方式的控制装置及电子装置的功能模块示意图。FIG. 16 is a schematic diagram of the functional modules of the control device and the electronic device according to the embodiment of the present invention.

具体实施方式detailed description

下面详细描述本发明的实施方式,实施方式的示例在附图中示出,其中相同或类似的标号自始至终表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明的实施方式,而不能理解为对本发明的实施方式的限制。Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary, are only for explaining the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.

请参阅图1-4,本发明实施方式的控制方法可用于控制成像装置130,成像装置130可包括合成模块131。请参阅图1,控制方法可包括以下步骤:Referring to FIGS. 1-4 , the control method according to the embodiment of the present invention can be used to control the imaging device 130 , and the imaging device 130 can include a synthesis module 131 . Referring to Figure 1, the control method may include the following steps:

步骤S01,识别预览图像200中的人脸区域210;Step S01, identifying the face area 210 in the preview image 200;

步骤S02,识别人脸区域210的明部211及暗部213;Step S02, identifying the bright part 211 and dark part 213 of the face area 210;

步骤S03,计算明部211与暗部213的第一反差值并根据反差值计算多个曝光补偿值;及Step S03, calculating the first contrast value of the bright part 211 and the dark part 213 and calculating a plurality of exposure compensation values according to the contrast value; and

步骤S04,控制成像装置130根据曝光补偿值曝光以获得多张素材图像300。其中合成模块131用于对多张素材图像300进行HDR处理以得到合成图像400,合成图像400中人脸区域210的第二反差值大于等于第一预定值。Step S04 , controlling the imaging device 130 to expose according to the exposure compensation value to obtain a plurality of material images 300 . The composition module 131 is used to perform HDR processing on multiple material images 300 to obtain a composite image 400, and the second contrast value of the face area 210 in the composite image 400 is greater than or equal to the first predetermined value.

请参阅图2,本发明实施方式的控制方法可由本发明实施方式的控制装置110实现。控制装置110可包括第一识别模块111、第二识别模块112、第一计算模块113及第一控制模块114。其中步骤S01可由第一识别模块111实现,步骤S02可由第二识别模块112实现,步骤S03可由第一计算模块113实现,步骤S04可由第一控制模块114实现。Please refer to FIG. 2 , the control method of the embodiment of the present invention can be implemented by the control device 110 of the embodiment of the present invention. The control device 110 may include a first identification module 111 , a second identification module 112 , a first calculation module 113 and a first control module 114 . Step S01 can be implemented by the first identification module 111 , step S02 can be implemented by the second identification module 112 , step S03 can be implemented by the first calculation module 113 , and step S04 can be implemented by the first control module 114 .

也就是说,第一识别模块111可用于识别预览图像200中的人脸区域210。第二识别模块112可用于识别人脸区域210的明部211及暗部213。第一计算模块113可用于计算明部211与暗部213的第一反差值并根据反差值计算多个曝光补偿值。第一控制模块114可用于控制成像装置130根据曝光补偿值曝光以获得多张素材图像300。That is to say, the first identification module 111 can be used to identify the face area 210 in the preview image 200 . The second identification module 112 can be used to identify the bright part 211 and the dark part 213 of the face area 210 . The first calculation module 113 can be used to calculate the first contrast value of the bright portion 211 and the dark portion 213 and calculate a plurality of exposure compensation values according to the contrast value. The first control module 114 can be used to control the exposure of the imaging device 130 according to the exposure compensation value to obtain a plurality of material images 300 .

本发明实施方式的控制方法或控制装置110可应用于本发明实施方式的电子装置100。The control method or the control device 110 of the embodiment of the present invention can be applied to the electronic device 100 of the embodiment of the present invention.

目前很多手机、平板电脑等可拍照的装置都带有HDR(highdynamicrange)拍照功能。HDR原理是通过采用不同的曝光时间拍摄多帧图像,然后合成图像400,使得合成图像400的明部211及暗部213都合理曝光,从而能同时呈现明部211及暗部213的细节。然而,使用HDR功能时,尤其是针对有人脸的图像,有可能带来其他问题,例如,明暗反差降低可能使得图像上人脸立体感不足,还容易使皮肤失去光泽及凸显过多的皮肤细节等,用户体验较差。At present, many mobile phones, tablet computers and other devices that can take pictures are equipped with HDR (high dynamic range) photo taking function. The principle of HDR is to take multiple frames of images with different exposure times, and then synthesize the image 400, so that the bright part 211 and the dark part 213 of the synthesized image 400 are properly exposed, so that the details of the bright part 211 and the dark part 213 can be presented at the same time. However, when using the HDR function, especially for images with human faces, there may be other problems. For example, the reduction of light and dark contrast may make the face on the image less three-dimensional, and it is easy to make the skin lose its luster and highlight too many skin details. etc., poor user experience.

请参阅图2,预览图像200指拍照前成像装置130的图像传感器感测外部光线而生成的图像,图像的数据暂存于缓存中,预览图像200可供用户查看以根据当前的拍摄效果决定要不要按下拍照键拍照。在本发明实施方式中,首先识别预览图像200的人脸区域210及人脸区域210的明部211和暗部213,然后计算明部211和暗部213的第一反差值。其中第一反差值可以是明部211与暗部213的亮度值的差值的绝对值,例如将明部211区域及暗部213区域分别求其亮度的平均值再做减法。Please refer to FIG. 2 , the preview image 200 refers to the image generated by the image sensor of the imaging device 130 sensing external light before taking a picture, and the data of the image is temporarily stored in the cache. Do not press the camera button to take pictures. In the embodiment of the present invention, the face area 210 of the preview image 200 and the bright portion 211 and the dark portion 213 of the face area 210 are first identified, and then the first contrast value of the bright portion 211 and the dark portion 213 is calculated. The first contrast value can be the absolute value of the difference between the brightness values of the bright part 211 and the dark part 213, for example, the average brightness of the bright part 211 and the dark part 213 are respectively calculated and subtracted.

然后根据第一反差值计算曝光补偿值,计算的限定条件是要保证采用上述曝光补偿值得到的照片进行HDR合成后得到的合成图像400的人脸区域210的第二反差值大于等于第一预定值。其中第二反差值可以与第一反差值相同,即采用与第一反差值相同的计算方法计算合成图像400的人脸区域210的明部211和暗部213的亮度值的差。第二反差值要大于一个第一预定值,这样才能保证HDR处理后得到的合成图像400的人脸明部211和暗部213仍有一定的对比度从而使人脸仍保持一定的立体感,使合成图像400看上去更真实和更舒服。Then, the exposure compensation value is calculated according to the first contrast value. The limiting condition of the calculation is to ensure that the second contrast value of the face area 210 of the synthesized image 400 obtained after HDR synthesis of the photo obtained by using the above exposure compensation value is greater than or equal to the first predetermined value. value. The second contrast value may be the same as the first contrast value, that is, the brightness difference between the bright part 211 and the dark part 213 of the face area 210 of the synthetic image 400 is calculated using the same calculation method as the first contrast value. The second contrast value must be greater than a first predetermined value, so as to ensure that the bright part 211 and dark part 213 of the human face in the composite image 400 obtained after HDR processing still have a certain contrast, so that the human face still maintains a certain three-dimensional effect, and the composite The image 400 looks more realistic and comfortable.

衡量曝光补偿值、第一反差值及第二反差值的单位可以是eV(ExposureValue),eV是由快门速度值和光圈值组合表示摄影镜头通光能力的一个数值,一般来说eV越高,成像装置130的进光量越多,拍出的照片整体上越亮;eV越低,成像装置130的进光量越少,拍出的照片整体上越暗。曝光补偿值是一个相对于基准图像的相对值。The unit for measuring the exposure compensation value, the first contrast value and the second contrast value can be eV (ExposureValue). eV is a value that represents the light-passing ability of a photographic lens by combining the shutter speed value and the aperture value. Generally speaking, the higher the eV, the higher the value. The more light entering the imaging device 130 , the brighter the picture taken overall; the lower the eV, the less light entering the imaging device 130 , and the darker the picture taken overall. The exposure compensation value is a relative value to the reference image.

请参阅图4,例如,预览图像200的人脸区域210的明部211与暗部213的第一反差值为4eV,可设明部211的亮度值为2eV,暗部213为-2eV(即以中间亮度作为基准),以传统的HDR处理方法,可能会分别生成明部211的曝光补偿值为-2eV的素材图像300及暗部213的曝光补偿值+2eV的素材图像300,以及无曝光补偿的基准素材图像310,将其合并,于是获得的合成图像400的人脸区域210的原明部211区域与原暗部213区域的亮度值会比较接近。Referring to Fig. 4, for example, the first contrast value of the bright part 211 and the dark part 213 of the face area 210 of the preview image 200 is 4eV, the brightness value of the bright part 211 can be set as 2eV, and the dark part 213 is -2eV (that is, in the middle luminance as a benchmark), with the traditional HDR processing method, it is possible to generate a material image 300 with an exposure compensation value of -2eV in the bright part 211 and a material image 300 with an exposure compensation value of +2eV in the dark part 213, and a benchmark without exposure compensation The material images 310 are combined, so that the luminance values of the original bright part 211 and the original dark part 213 of the face area 210 of the obtained synthetic image 400 will be relatively close.

而采用本发明实施方式的控制方法,要保证合成图像400的人脸区域210仍有一定的对比度,例如第一预定值为1eV,则可分别生成明部211的曝光补偿值为-1.5eV的素材图像300及暗部213的曝光补偿值为+1.5eV的素材图像300,则经HDR处理合成的得到的合成图像400的人脸区域210的明部211的亮度变为0.5eV,暗部213的亮度变为-0.5eV,明部211及暗部213仍有1eV的反差值,可满足大于等于第一预定值的要求。如此,合成图像400的人脸图像的整体亮度较均衡,各个区域的细节都能充分展现,且人脸区域210的明部211与暗部213仍有一定的反差值,因此人脸能呈现较好的立体感与真实感。本发明实施方式的素材图像300的数量不局限于3张,也可以是5张、7张等。With the control method of the embodiment of the present invention, it is necessary to ensure that the face area 210 of the synthesized image 400 still has a certain contrast. For example, the first predetermined value is 1eV, and the exposure compensation value of the bright part 211 can be respectively generated as -1.5eV. For the material image 300 whose exposure compensation value of the material image 300 and the dark part 213 is +1.5eV, the brightness of the bright part 211 of the human face area 210 of the synthetic image 400 obtained through HDR processing and synthesis becomes 0.5eV, and the brightness of the dark part 213 is 0.5eV. When it becomes -0.5eV, the bright part 211 and the dark part 213 still have a contrast value of 1eV, which can meet the requirement of being greater than or equal to the first predetermined value. In this way, the overall brightness of the face image in the synthesized image 400 is relatively balanced, and the details of each area can be fully displayed, and there is still a certain contrast value between the bright part 211 and the dark part 213 of the face area 210, so the face can be presented better. Stereoscopic and realistic. The number of material images 300 in the embodiment of the present invention is not limited to 3, and may also be 5, 7, and so on.

请参阅图5-6,在某些实施方式中,控制方法可包括:步骤S05,计算人脸区域210在预览图像200的面积占比;及Please refer to FIGS. 5-6. In some embodiments, the control method may include: step S05, calculating the area ratio of the face area 210 in the preview image 200; and

步骤S06,判断面积占比是否大于第一阈值且小于第二阈值,若是,进入步骤S02。Step S06, judging whether the area ratio is greater than the first threshold and smaller than the second threshold, if so, proceed to step S02.

其中步骤S05可由某些实施方式第二计算模块115实现,步骤S06可由某些实施方式的第一判断模块116实现。也就是说,第二计算模块115用于计算人脸区域210在预览图像200的面积占比。第一判断模块116用于判断面积占比是否小于第一阈值且大于第二阈值。第二识别模块112用于在面积占比小于第一阈值且大于第二阈值时识别人脸区域210的明部211及暗部213。Step S05 can be realized by the second calculating module 115 in some embodiments, and step S06 can be realized by the first judging module 116 in some embodiments. That is to say, the second calculation module 115 is used to calculate the area ratio of the human face area 210 in the preview image 200 . The first judging module 116 is used for judging whether the area proportion is smaller than the first threshold and larger than the second threshold. The second identification module 112 is used for identifying the bright part 211 and the dark part 213 of the face area 210 when the area ratio is smaller than the first threshold and larger than the second threshold.

也就是说,在人脸区域210的面积占整个预览图像200的比值落在一定范围时采用本发明实施方式的HDR处理方法。如此,针对每张预览图像200的不同情况采用不同的处理方式,可得到更符合用户需求的图像。That is to say, when the ratio of the area of the face area 210 to the entire preview image 200 falls within a certain range, the HDR processing method in the embodiment of the present invention is adopted. In this way, different processing methods are adopted for different situations of each preview image 200 , so that an image more in line with user needs can be obtained.

请参阅图7-9,在本实施方式中,控制方法可包括:Referring to Figures 7-9, in this embodiment, the control method may include:

步骤S07,在面积占比大于或等于第一阈值时控制成像装置130曝光成像。Step S07 , controlling the imaging device 130 to expose and image when the area ratio is greater than or equal to the first threshold.

步骤S07可由某些实施方式的第二控制模块117实现,即第二控制模块117用于在面积占比大于或等于第一阈值时控制成像装置130曝光成像。Step S07 may be implemented by the second control module 117 in some embodiments, that is, the second control module 117 is configured to control the imaging device 130 to expose and image when the area ratio is greater than or equal to the first threshold.

请结合参阅图9,也就是说,若人脸区域210面积占比太大,大于一个第一阈值(如0.8),甚至几乎覆盖整个预览图像200,则不进行HDR合成(包括传统的HDR处理方式及本发明实施方式的控制方法的HDR处理方式)。由于HDR处理后得到合成图像400会更充分地展示各个区域的细节,甚至凸显过多的皮肤细节,不能满足用户的审美要求,因此可采用普通曝光方式曝光拍照。Please refer to FIG. 9 in conjunction, that is to say, if the area ratio of the face area 210 is too large, greater than a first threshold (such as 0.8), or even almost covers the entire preview image 200, HDR synthesis (including traditional HDR processing) will not be performed. mode and the HDR processing mode of the control method of the embodiment of the present invention). Since the synthesized image 400 obtained after HDR processing will more fully display the details of each area, and even highlight too many skin details, which cannot meet the user's aesthetic requirements, so the ordinary exposure method can be used to expose and take photos.

请参阅图10-12,在某些实施方式中,控制方法可包括:Referring to Figures 10-12, in some embodiments, the control method may include:

步骤S08,在面积占比小于或等于第二阈值时根据预览图像200的第三反差值进行HDR处理。Step S08 , when the area ratio is less than or equal to the second threshold, HDR processing is performed according to the third contrast value of the preview image 200 .

步骤S08可由某些实施方式的控制装置110的第三控制模块118实现,即第三控制模块118可用于在面积占比小于或等于第二阈值时根据预览图像200的反差值进行HDR处理。Step S08 can be implemented by the third control module 118 of the control device 110 in some embodiments, that is, the third control module 118 can be used to perform HDR processing according to the contrast value of the preview image 200 when the area ratio is less than or equal to the second threshold.

请结合参阅图12,也就是说,若人脸区域210的面积占比过小,小于一个第二阈值(如0.04),此时人脸不再是整个预览图像200的主体,可能人的躯体或周围景物才是预览图像200的主体,人们查看或欣赏此图像时一般也不会太关注人脸的细节,因此可对整幅预览图像200采用普通的HDR处理方式处理,即根据整个预览图像200的第三反差值进行HDR处理,获得曝光度不同的多张素材图像300,再进行HDR合成以得到合成图像400。如此,在人脸不太醒目时,更多地照顾预览图像200的整体呈现效果,符合用户的审美需求,提升了成像装置130的智能化程度,可提升用户体验度。Please refer to FIG. 12 in conjunction, that is to say, if the area ratio of the face area 210 is too small, less than a second threshold (such as 0.04), the face is no longer the subject of the entire preview image 200, and the human body may Or the surrounding scenery is the main body of the preview image 200. People generally do not pay too much attention to the details of the face when viewing or appreciating this image. The third contrast value of 200 is subjected to HDR processing to obtain multiple material images 300 with different exposures, and then HDR synthesis is performed to obtain a composite image 400 . In this way, when the human face is not very conspicuous, more attention is paid to the overall presentation effect of the preview image 200, which meets the user's aesthetic needs, improves the intelligence of the imaging device 130, and improves user experience.

请参阅图13-14,在某些实施方式中,控制方法可包括:Referring to Figures 13-14, in some embodiments, the control method may include:

步骤S09,判断第一反差值是否小于第二预定值;及Step S09, judging whether the first contrast value is smaller than a second predetermined value; and

步骤S10,在第一反差值小于第二预定值控制成像装置130曝光成像。Step S10 , controlling the imaging device 130 to expose and image when the first contrast value is smaller than the second predetermined value.

步骤S09可采用某些实施方式第二判断模块119,步骤S10可采用某些实施方式的第四控制模块121实现。即第二判断模块119用于判断第一反差值是否小于第二预定值。第四控制模块121可用于在第一反差值小于第二预定值控制成像装置130曝光成像。Step S09 can be implemented by using the second judging module 119 of some implementations, and step S10 can be implemented by using the fourth control module 121 of some implementations. That is, the second judging module 119 is used to judge whether the first contrast value is smaller than the second predetermined value. The fourth control module 121 can be used for controlling the exposure and imaging of the imaging device 130 when the first contrast value is smaller than the second predetermined value.

也就是说,如果预览图像200的人脸区域210的第一反差值过小,小于一个第二预定值,就不必采用本发明实施方式的控制方法的HDR处理方式进行处理了。例如将第二预定值调为1.3eV,当第一反差值小于1.3eV时,说明人脸区域210的明部211与暗部213的亮度对比不是很强列,说明预览图像200中人脸的立体感可能本来就不强,若进行HDR处理,会进一步削弱其立体感及真实感,以及带来其他问题。That is to say, if the first contrast value of the face area 210 of the preview image 200 is too small, less than a second predetermined value, it is not necessary to use the HDR processing method of the control method of the embodiment of the present invention for processing. For example, if the second predetermined value is adjusted to 1.3eV, when the first contrast value is less than 1.3eV, it means that the brightness contrast between the bright part 211 and the dark part 213 of the face area 210 is not very strong, and it means that the face in the preview image 200 is stereoscopic. The sense of reality may not be strong in the first place. If HDR processing is performed, it will further weaken its three-dimensional sense and sense of reality, and cause other problems.

而且在本发明实施方式的控制方法中要求合成图像400的第二反差值要大于等于第一预定值(如1eV),因此,进行HDR处理的素材图像300的曝光补偿的空间就很小。在某些实施方式中,第二预定值可以与第一预定值相同,如都为1eV。Moreover, in the control method of the embodiment of the present invention, the second contrast value of the synthesized image 400 is required to be greater than or equal to the first predetermined value (such as 1eV). Therefore, there is little room for exposure compensation of the material image 300 subjected to HDR processing. In some implementations, the second predetermined value may be the same as the first predetermined value, such as both being 1 eV.

请参阅图15-16,在某些实施方式中,控制方法可包括:Referring to Figures 15-16, in some embodiments, the control method may include:

步骤S11,计算人脸区域210的综合亮度;及Step S11, calculating the integrated brightness of the face area 210; and

步骤S12,根据综合亮度调节曝光度以使预览图像200的综合亮度达到预定亮度值并根据当前的曝光度获得曝光基准值,曝光补偿值以曝光基准值为基准;Step S12, adjust the exposure according to the integrated brightness so that the integrated brightness of the preview image 200 reaches a predetermined brightness value and obtain an exposure reference value according to the current exposure, and the exposure compensation value is based on the exposure reference value;

步骤S04可包括步骤S0401,步骤S0401控制成像装置130根据曝光基准值及曝光补偿值曝光以获得多张素材图像300。Step S04 may include step S0401. Step S0401 controls the imaging device 130 to expose according to the exposure reference value and the exposure compensation value to obtain a plurality of material images 300 .

步骤S11、步骤S12及步骤S0401可由某些实施方式的控制装置110实现。其中S11可由控制装置110的第三计算模块122实现,步骤S12可由控制装置110的调节模块123实现,步骤S0401可由控制装置110的第一控制模块114的控制子模块1141实现。Step S11 , step S12 and step S0401 can be implemented by the control device 110 in some embodiments. Wherein S11 can be realized by the third calculation module 122 of the control device 110 , step S12 can be realized by the adjustment module 123 of the control device 110 , and step S0401 can be realized by the control sub-module 1141 of the first control module 114 of the control device 110 .

即第三计算模块122可用于计算人脸区域210的综合亮度。调节模块123可用于根据综合亮度调节曝光度以使预览图像200的综合亮度达到预定亮度值并将当前的曝光度作为曝光基准值,曝光补偿值以曝光基准值为基准。第一控制模块114包括控制子模块1141可控制子模块1141控制成像装置130根据曝光基准值及曝光补偿值曝光以获得多张素材图像300。That is, the third calculation module 122 can be used to calculate the comprehensive brightness of the face area 210 . The adjustment module 123 can be used to adjust the exposure according to the integrated brightness so that the integrated brightness of the preview image 200 reaches a predetermined brightness value, and the current exposure is used as the exposure reference value, and the exposure compensation value is based on the exposure reference value. The first control module 114 includes a control sub-module 1141 capable of controlling the sub-module 1141 to control the imaging device 130 to expose according to the exposure reference value and the exposure compensation value to obtain a plurality of material images 300 .

HDR处理的原理是以一张亮度中等的图像作为基准图像,拍摄获取比这张图像更亮及更暗的图像作为素材图像300,如曝光补偿值为+2eV的素材图像300及曝光补偿值为-2eV的素材图像300。The principle of HDR processing is to use an image with medium brightness as a reference image, and capture an image that is brighter and darker than this image as the material image 300, such as the material image 300 with an exposure compensation value of +2eV and an exposure compensation value of Footage image 300 for -2eV.

通常情况下会调整曝光度以使预览图像200的整体亮度为18度灰(即中性灰)时曝光拍得图像作为基准图像。而在本实施方式中,并不根据整幅预览图像200的亮度,而是仅根据人脸区域210的综合亮度(如平均亮度)调整曝光度以使人脸区域210的整体亮度达到预定亮度值(如18度灰)。如此,有利于提升人脸区域210的观感,有助于满足用户尤其是自拍用户的审美需求。Usually, the exposure is adjusted so that the overall brightness of the preview image 200 is 18 shades of gray (ie, neutral gray) and the captured image is used as the reference image. However, in this embodiment, the exposure is not adjusted according to the brightness of the entire preview image 200, but only according to the comprehensive brightness (such as the average brightness) of the human face region 210 so that the overall brightness of the human face region 210 reaches a predetermined brightness value (such as 18 shades of gray). In this way, it is beneficial to improve the look and feel of the face area 210, and helps to meet the aesthetic needs of users, especially selfie users.

其他素材图像300的曝光补偿值(+2eV,-2eV等)都是以这张基准素材图像310对应的曝光基准值为基准和参考的,然后根据曝光基准值及多个曝光补偿值曝光以获得多张素材图像300,再进行HDR合成。可以理解,最后终获得的合成图像400的人脸区域210的亮度应是在预定亮度值(如18度灰)的上下浮动的,从而使人脸区域210的亮度适宜,有助于满足用户尤其是自拍用户的审美需求。The exposure compensation values (+2eV, -2eV, etc.) of other material images 300 are based on the exposure reference value corresponding to this reference material image 310, and then exposed according to the exposure reference value and multiple exposure compensation values to obtain Multiple material images 300, and then HDR synthesis. It can be understood that the brightness of the human face region 210 of the finally obtained synthetic image 400 should fluctuate up and down at a predetermined brightness value (such as 18-degree gray), so that the brightness of the human face region 210 is suitable, which is helpful to satisfy the user's particular needs. It is the aesthetic needs of selfie users.

请参阅图2,本发明实施方式的电子装置100,可包括成像装置130及上述实施方式的控制装置110。Please refer to FIG. 2 , the electronic device 100 according to the embodiment of the present invention may include an imaging device 130 and the control device 110 in the above embodiment.

在某些实施方式中,电子装置100可包括手机或平板电脑。其中,成像装置130以是电子装置100或平板电脑的前置相机。In some embodiments, the electronic device 100 may include a mobile phone or a tablet computer. Wherein, the imaging device 130 may be a front camera of the electronic device 100 or a tablet computer.

手机或平板电脑方便易携,目前是人们较广泛使用的拍照设备。且手机或平板电脑广泛同时配置前置相机及后置相机,前置相机广泛被用户用于自拍,用户进行自拍时,一般照片的人脸区域210的美感的要求很高而常常不太重视人脸周围的景物,此时适宜采用本发明实施方式的控制方法、控制装置110或电子装置100拍照。Mobile phones or tablet computers are convenient and easy to carry, and are currently widely used camera devices. Moreover, mobile phones or tablet computers are widely equipped with front cameras and rear cameras at the same time. Front cameras are widely used by users to take selfies. For the scenery around the face, it is suitable to use the control method, the control device 110 or the electronic device 100 of the embodiment of the present invention to take pictures at this time.

本发明实施方式的电子装置100中未展开的其它部分,可参以上实施方式的控制装置110或控制方法的对应部分,在此不再详细展开。For other unexpanded parts of the electronic device 100 in the embodiment of the present invention, reference may be made to the corresponding parts of the control device 110 or the control method in the above embodiment, and will not be elaborated here.

在本发明的实施方式的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”、“顺时针”、“逆时针”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明的实施方式和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的实施方式的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明的实施方式的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In describing the embodiments of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front ", "Back", "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inside", "Outside", "Clockwise", "Counterclockwise", etc. The orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the embodiment of the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, use a specific configuration and operation, and therefore should not be construed as limiting the embodiments of the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of said features. In the description of the embodiments of the present invention, "plurality" means two or more, unless otherwise specifically defined.

在本发明的实施方式的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通讯;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明的实施方式中的具体含义。In the description of the embodiments of the present invention, it should be noted that unless otherwise specified and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense, for example, it can be a fixed connection or a It is a detachable connection, or an integral connection; it can be mechanically connected, it can be electrically connected, or it can communicate with each other; it can be directly connected or indirectly connected through an intermediary, and it can be internal communication between two components or two components interaction relationship. Those of ordinary skill in the art can understand the specific meanings of the above terms in the embodiments of the present invention according to specific situations.

在本发明的实施方式中,除非另有明确的规定和限定,第一特征在第二特征之“上”或之“下”可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征“之上”、“上方”和“上面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度小于第二特征。In the embodiments of the present invention, unless otherwise clearly specified and limited, the first feature being "on" or "under" the second feature may include direct contact between the first and second features, and may also include the first and second features. The second features are not in direct contact but through another feature between them. Moreover, "above", "above" and "above" the first feature on the second feature include that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is horizontally higher than the second feature. "Below", "below" and "under" the first feature to the second feature include that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is less horizontal than the second feature.

下文的公开提供了许多不同的实施方式或例子用来实现本发明的实施方式的不同结构。为了简化本发明的实施方式的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明的实施方式可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本发明的实施方式提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。The following disclosure provides many different embodiments or examples for implementing different structures of embodiments of the present invention. In order to simplify the disclosure of the embodiments of the present invention, components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the invention. Furthermore, embodiments of the present invention may repeat reference numerals and/or reference letters in different instances, such repetition is for simplicity and clarity and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed. . In addition, embodiments of the present invention provide examples of various specific processes and materials, but one of ordinary skill in the art may recognize the use of other processes and/or the use of other materials.

在本说明书的描述中,参考术语“一个实施方式”、“一些实施方式”、“示意性实施方式”、“示例”、“具体示例”或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of this specification, reference to the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific examples" or "some examples" etc. Specific features, structures, materials, or features described in an embodiment or example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment for use. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. processing to obtain the program electronically and store it in computer memory.

应当理解,本发明的实施方式的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the embodiments of the present invention may be implemented by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本发明的各个实施例中的各功能单元可以集成在一个处理器中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processor, each unit may physically exist separately, or two or more units may be integrated into a module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

Claims (15)

1.一种控制方法,用于控制成像装置,其特征在于,所述成像装置包括合成模块;所述控制方法包括以下步骤: 1. A control method, for controlling an imaging device, characterized in that, the imaging device comprises a synthesis module; the control method comprises the following steps: 第一识别步骤,识别所述预览图像中的人脸区域; The first recognition step is to recognize the face area in the preview image; 第二识别步骤,识别所述人脸区域的明部及暗部; The second identification step is to identify the bright part and dark part of the human face area; 第一计算步骤,计算所述明部与暗部的第一反差值并根据所述第一反差值计算多个曝光补偿值;及 A first calculation step, calculating a first contrast value between the bright part and the dark part and calculating a plurality of exposure compensation values according to the first contrast value; and 第一控制步骤,控制所述成像装置根据所述曝光补偿值曝光以获得多张素材图像;所述合成模块用于对所述多张素材图像进行HDR处理以得到合成图像,所述合成图像中所述人脸区域的第二反差值大于等于第一预定值。 The first control step is to control the imaging device to expose according to the exposure compensation value to obtain multiple material images; the synthesis module is used to perform HDR processing on the multiple material images to obtain a composite image, in which the composite image The second contrast value of the face area is greater than or equal to a first predetermined value. 2.如权利要求1所述的控制方法,其特征在于,所述控制方法包括:第二计算步骤,计算所述人脸区域在所述预览图像的面积占比;及 2. The control method according to claim 1, characterized in that, the control method comprises: a second calculation step, calculating the area ratio of the human face area in the preview image; and 第一判断步骤,判断所述面积占比是否大于第二阈值且小于第一阈值,若是,进入所述第二识别步骤。 The first judging step is judging whether the area proportion is greater than the second threshold and smaller than the first threshold, and if so, enter the second identifying step. 3.如权利要求2所述的控制方法,其特征在于,所述控制方法包括: 3. The control method according to claim 2, characterized in that, the control method comprises: 第二控制步骤,在所述面积占比大于或等于所述第一阈值时控制所述成像装置曝光成像。 The second control step is controlling the imaging device to expose and image when the area ratio is greater than or equal to the first threshold. 4.如权利要求3所述的控制方法,其特征在于,所述控制方法包括: 4. control method as claimed in claim 3 is characterized in that, described control method comprises: 第三控制步骤,在所述面积占比小于或等于所述第二阈值时根据所述预览图像的第三反差值进行HDR处理。 A third control step is to perform HDR processing according to a third contrast value of the preview image when the area ratio is less than or equal to the second threshold. 5.如权利要求1所述的控制方法,其特征在于,所述控制方法包括: 5. The control method according to claim 1, characterized in that, the control method comprises: 第二判断步骤,判断所述第一反差值是否小于第二预定值;及 A second judging step, judging whether the first contrast value is smaller than a second predetermined value; and 第四控制步骤,在所述第一反差值小于第二预定值控制所述成像装置曝光成像。 The fourth control step is to control the imaging device to expose and form images when the first contrast value is smaller than a second predetermined value. 6.如权利要求1所述的控制方法,其特征在于,所述控制方法包括: 6. The control method according to claim 1, characterized in that, the control method comprises: 第三计算步骤,计算所述人脸区域的综合亮度; The third calculation step is to calculate the comprehensive brightness of the human face area; 调节步骤,根据所述综合亮度调节曝光度以使所述预览图像的所述综合亮度达到预定亮度值并根据当前的所述曝光度获得曝光基准值,所述曝光补偿值以所述曝光基准值为基准;及 an adjustment step, adjusting exposure according to the integrated brightness so that the integrated brightness of the preview image reaches a predetermined brightness value and obtaining an exposure reference value according to the current exposure, and the exposure compensation value is based on the exposure reference value as a basis; and 所述第一控制步骤包括控制子步骤,所述控制子步骤控制所述成像装置根据所述曝光基准值及所述曝光补偿值曝光以获得所述多张素材图像。 The first control step includes a control sub-step, the control sub-step controls the imaging device to expose according to the exposure reference value and the exposure compensation value to obtain the multiple material images. 7.一种控制装置,用于控制成像装置,其特征在于,所述成像装置包括合成模块;所述控制装置包括: 7. A control device for controlling an imaging device, characterized in that, the imaging device includes a synthesis module; the control device includes: 第一识别模块,用于识别所述预览图像中的人脸区域; A first identification module, configured to identify the face area in the preview image; 与所述第一识别模块连接的第二识别模块,用于识别所述人脸区域的明部及暗部; A second identification module connected to the first identification module, used to identify the bright and dark parts of the face area; 与所述第二识别模块连接的第一计算模块,用于计算所述明部与暗部的第一反差值并根据所述第一反差值计算多个曝光补偿值;及 A first calculation module connected to the second identification module, configured to calculate a first contrast value between the bright part and the dark part and calculate a plurality of exposure compensation values according to the first contrast value; and 与所述第一计算模块连接的第一控制模块,用于控制所述成像装置根据所述曝光补偿值曝光以获得多张素材图像;所述合成模块用于对所述多张素材图像进行HDR处理以得到合成图像,所述合成图像中所述人脸区域的第二反差值大于等于第一预定值。 A first control module connected to the first calculation module, configured to control the exposure of the imaging device according to the exposure compensation value to obtain multiple material images; the synthesis module is used to perform HDR on the multiple material images processing to obtain a composite image, where the second contrast value of the face area in the composite image is greater than or equal to a first predetermined value. 8.如权利要求7所述的控制装置,其特征在于,所述控制装置包括:第二计算模块,用于计算所述人脸区域在所述预览图像的面积占比;及 8. The control device according to claim 7, characterized in that, the control device comprises: a second calculation module, configured to calculate the area ratio of the human face area in the preview image; and 第一判断模块,用于判断所述面积占比是否大于第二阈值且小于第一阈值;所述第二识别用于在所述面积占比小于所述第一阈值且大于所述第二阈值时识别所述人脸区域的明部及暗部。 The first judging module is used to judge whether the area ratio is greater than the second threshold and smaller than the first threshold; the second identification is used to judge whether the area ratio is smaller than the first threshold and larger than the second threshold Identify the bright part and dark part of the face area at the same time. 9.如权利要求8所述的控制装置,其特征在于,所述控制装置包括: 9. The control device according to claim 8, wherein the control device comprises: 第二控制模块,用于在所述面积占比大于或等于所述第一阈值时控制所述成像装置曝光成像。 The second control module is configured to control the exposure and imaging of the imaging device when the area ratio is greater than or equal to the first threshold. 10.如权利要求8所述的控制装置,其特征在于,所述控制装置包括: 10. The control device of claim 8, wherein the control device comprises: 第三控制模块,用于在所述面积占比小于或等于所述第二阈值时根据所述预览图像的第三反差值进行HDR处理。 A third control module, configured to perform HDR processing according to a third contrast value of the preview image when the area ratio is less than or equal to the second threshold. 11.如权利要求7所述的控制装置,其特征在于,所述控制装置包括: 11. The control device of claim 7, wherein the control device comprises: 第二判断模块,用于判断所述第一反差值是否小于第二预定值; A second judging module, configured to judge whether the first contrast value is smaller than a second predetermined value; 第四控制模块,用于在所述第一反差值小于第二预定值控制所述成像装置曝光成像。 A fourth control module, configured to control the imaging device for exposure and imaging when the first contrast value is less than a second predetermined value. 12.如权利要求1所述的控制装置,其特征在于,所述控制装置包括: 12. The control device of claim 1, wherein the control device comprises: 第三计算模块,用于计算所述人脸区域的综合亮度;及 The third calculation module is used to calculate the comprehensive brightness of the human face area; and 调节模块,用于根据所述综合亮度调节曝光度以使所述预览图像的所述综合亮度达到预定亮度值并将当前的所述曝光度作为曝光基准值,所述曝光补偿值以所述曝光基准值为基准;及 An adjustment module, configured to adjust exposure according to the integrated brightness so that the integrated brightness of the preview image reaches a predetermined brightness value and use the current exposure as an exposure reference value, and the exposure compensation value is based on the exposure the benchmark value is the benchmark; and 所述第一控制模块包括控制子模块,所述控制子模块控制所述成像装置根据所述曝光基准值及所述曝光补偿值曝光以获得所述多张素材图像。 The first control module includes a control submodule, and the control submodule controls the imaging device to expose according to the exposure reference value and the exposure compensation value to obtain the multiple material images. 13.一种电子装置,其特征在于,包括成像装置及如权利要求7-12任意一项所述的控制装置。 13. An electronic device, comprising an imaging device and the control device according to any one of claims 7-12. 14.如权利要求13所述的电子装置,其特征在于,所述电子装置包括手机或平板电脑。 14. The electronic device according to claim 13, wherein the electronic device comprises a mobile phone or a tablet computer. 15.如权利要求14所述的电子装置,其特征在于,所述成像装置包括所述电子装置或所述平板电脑的前置相机。 15. The electronic device according to claim 14, wherein the imaging device comprises a front camera of the electronic device or the tablet computer.
CN201610188467.2A 2016-03-28 2016-03-28 Control method, control device and electronic device Expired - Fee Related CN105657289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610188467.2A CN105657289B (en) 2016-03-28 2016-03-28 Control method, control device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610188467.2A CN105657289B (en) 2016-03-28 2016-03-28 Control method, control device and electronic device

Publications (2)

Publication Number Publication Date
CN105657289A true CN105657289A (en) 2016-06-08
CN105657289B CN105657289B (en) 2018-05-08

Family

ID=56496451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610188467.2A Expired - Fee Related CN105657289B (en) 2016-03-28 2016-03-28 Control method, control device and electronic device

Country Status (1)

Country Link
CN (1) CN105657289B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959566A (en) * 2016-06-21 2016-09-21 北京奇虎科技有限公司 Image pickup mode switching method and device, and automobile data recorder
CN106131449A (en) * 2016-07-27 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106657798A (en) * 2017-02-28 2017-05-10 上海传英信息技术有限公司 Photographing method for intelligent terminal
CN106791451A (en) * 2017-02-28 2017-05-31 上海传英信息技术有限公司 A kind of photographic method of intelligent terminal
CN107155063A (en) * 2017-06-19 2017-09-12 深圳市泰衡诺科技有限公司上海分公司 Night scene filming control method, system and equipment
CN107172364A (en) * 2017-04-28 2017-09-15 努比亚技术有限公司 A kind of image exposure compensation method, device and computer-readable recording medium
CN108337450A (en) * 2017-01-19 2018-07-27 卡西欧计算机株式会社 Image processing apparatus, image processing method and recording medium
CN109688389A (en) * 2018-11-23 2019-04-26 苏州佳世达电通有限公司 Imaging device and parameter regulation means
CN109729275A (en) * 2019-03-14 2019-05-07 Oppo广东移动通信有限公司 Imaging method, device, terminal and storage medium
CN111090381A (en) * 2018-10-24 2020-05-01 广州金山移动科技有限公司 Display position adjusting method and device and electronic equipment
CN111510626A (en) * 2020-04-21 2020-08-07 Oppo广东移动通信有限公司 Image synthesis method and related device
CN114268745A (en) * 2020-09-16 2022-04-01 北京小米移动软件有限公司 Brightness adjusting method, device, equipment and storage medium
CN115514875A (en) * 2021-06-22 2022-12-23 北京小米移动软件有限公司 Image processing method and device
CN115829888A (en) * 2021-09-16 2023-03-21 北京极感科技有限公司 Exposure compensation value determining method and image fusion method
CN117560552A (en) * 2024-01-10 2024-02-13 荣耀终端有限公司 Shooting control method, electronic device and readable storage medium
WO2025147935A1 (en) * 2024-01-10 2025-07-17 荣耀终端股份有限公司 Image display method and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170650A (en) * 2006-10-24 2008-04-30 致伸科技股份有限公司 Method and system for generating high dynamic range image of specific scene
CN101841660A (en) * 2009-01-27 2010-09-22 索尼公司 Imaging device and formation method
US8305453B2 (en) * 2009-05-20 2012-11-06 Pentax Ricoh Imaging Company, Ltd. Imaging apparatus and HDRI method
CN103095979A (en) * 2011-11-07 2013-05-08 华晶科技股份有限公司 Image processing method for face overexposure and image capturing device thereof
CN104038704A (en) * 2014-06-12 2014-09-10 小米科技有限责任公司 Backlight portrait scene photographing processing method and device
CN104869319A (en) * 2014-02-20 2015-08-26 华硕电脑股份有限公司 Image processing method and image processing device
CN104881644A (en) * 2015-05-25 2015-09-02 华南理工大学 Face image acquisition method under uneven lighting condition

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170650A (en) * 2006-10-24 2008-04-30 致伸科技股份有限公司 Method and system for generating high dynamic range image of specific scene
CN101841660A (en) * 2009-01-27 2010-09-22 索尼公司 Imaging device and formation method
US8305453B2 (en) * 2009-05-20 2012-11-06 Pentax Ricoh Imaging Company, Ltd. Imaging apparatus and HDRI method
CN103095979A (en) * 2011-11-07 2013-05-08 华晶科技股份有限公司 Image processing method for face overexposure and image capturing device thereof
CN104869319A (en) * 2014-02-20 2015-08-26 华硕电脑股份有限公司 Image processing method and image processing device
CN104038704A (en) * 2014-06-12 2014-09-10 小米科技有限责任公司 Backlight portrait scene photographing processing method and device
CN104881644A (en) * 2015-05-25 2015-09-02 华南理工大学 Face image acquisition method under uneven lighting condition

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959566A (en) * 2016-06-21 2016-09-21 北京奇虎科技有限公司 Image pickup mode switching method and device, and automobile data recorder
CN106131449A (en) * 2016-07-27 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106131449B (en) * 2016-07-27 2019-11-29 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108337450A (en) * 2017-01-19 2018-07-27 卡西欧计算机株式会社 Image processing apparatus, image processing method and recording medium
CN108337450B (en) * 2017-01-19 2020-10-30 卡西欧计算机株式会社 Image processing apparatus, image processing method, and recording medium
CN106657798A (en) * 2017-02-28 2017-05-10 上海传英信息技术有限公司 Photographing method for intelligent terminal
CN106791451A (en) * 2017-02-28 2017-05-31 上海传英信息技术有限公司 A kind of photographic method of intelligent terminal
CN106791451B (en) * 2017-02-28 2020-09-22 上海传英信息技术有限公司 Photographing method of intelligent terminal
CN107172364A (en) * 2017-04-28 2017-09-15 努比亚技术有限公司 A kind of image exposure compensation method, device and computer-readable recording medium
CN107155063A (en) * 2017-06-19 2017-09-12 深圳市泰衡诺科技有限公司上海分公司 Night scene filming control method, system and equipment
CN111090381A (en) * 2018-10-24 2020-05-01 广州金山移动科技有限公司 Display position adjusting method and device and electronic equipment
CN109688389A (en) * 2018-11-23 2019-04-26 苏州佳世达电通有限公司 Imaging device and parameter regulation means
CN109729275A (en) * 2019-03-14 2019-05-07 Oppo广东移动通信有限公司 Imaging method, device, terminal and storage medium
CN111510626A (en) * 2020-04-21 2020-08-07 Oppo广东移动通信有限公司 Image synthesis method and related device
WO2021213031A1 (en) * 2020-04-21 2021-10-28 Oppo广东移动通信有限公司 Image synthesis method and related apparatus
CN111510626B (en) * 2020-04-21 2022-01-04 Oppo广东移动通信有限公司 Image synthesis method and related device
EP4135308A4 (en) * 2020-04-21 2023-10-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. IMAGE SYNTHESIS METHOD AND APPARATUS
CN114268745A (en) * 2020-09-16 2022-04-01 北京小米移动软件有限公司 Brightness adjusting method, device, equipment and storage medium
CN115514875A (en) * 2021-06-22 2022-12-23 北京小米移动软件有限公司 Image processing method and device
CN115829888A (en) * 2021-09-16 2023-03-21 北京极感科技有限公司 Exposure compensation value determining method and image fusion method
CN117560552A (en) * 2024-01-10 2024-02-13 荣耀终端有限公司 Shooting control method, electronic device and readable storage medium
CN117560552B (en) * 2024-01-10 2024-05-31 荣耀终端有限公司 Shooting control method, electronic device and readable storage medium
WO2025147935A1 (en) * 2024-01-10 2025-07-17 荣耀终端股份有限公司 Image display method and related device

Also Published As

Publication number Publication date
CN105657289B (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN105657289B (en) Control method, control device and electronic device
US11563897B2 (en) Image processing method and apparatus which determines an image processing mode based on status information of the terminal device and photographing scene information
US11558558B1 (en) Frame-selective camera
CN109218628B (en) Image processing method, device, electronic device and storage medium
CN108495050B (en) Photographing method, device, terminal and computer-readable storage medium
WO2020034737A1 (en) Imaging control method, apparatus, electronic device, and computer-readable storage medium
WO2019148978A1 (en) Image processing method and apparatus, storage medium and electronic device
CN105554411B (en) A kind of photographic method based on screen light filling, device and mobile terminal
CN104754239B (en) Photographic method and device
CN110198417A (en) Image processing method, image processing device, storage medium and electronic equipment
CN114827487B (en) High dynamic range image synthesis method and electronic device
CN109194882A (en) Image processing method, image processing device, electronic equipment and storage medium
CN107846556B (en) Imaging method, imaging device, mobile terminal and storage medium
CN109729274B (en) Image processing method, device, electronic device and storage medium
CN105306806A (en) Mobile terminal and photographing method thereof
CN104333710A (en) Camera exposure method, device and equipment
JP7591937B2 (en) Image processing device and image processing method
CN105744175A (en) Screen light fill method and device and mobile terminal
CN112785537A (en) Image processing method, device and storage medium
CN116437222B (en) Image processing method and electronic device
CN113905182A (en) A shooting method and equipment
CN112085686A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN106657798A (en) Photographing method for intelligent terminal
CN106878606B (en) An electronic device-based image generation method and electronic device
CN110971833B (en) Image processing method and device, electronic equipment and storage medium

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

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

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180508