CN108616687B - A photographing method, device and mobile terminal - Google Patents
A photographing method, device and mobile terminal Download PDFInfo
- Publication number
- CN108616687B CN108616687B CN201810243314.2A CN201810243314A CN108616687B CN 108616687 B CN108616687 B CN 108616687B CN 201810243314 A CN201810243314 A CN 201810243314A CN 108616687 B CN108616687 B CN 108616687B
- Authority
- CN
- China
- Prior art keywords
- image
- target area
- area
- photo
- light metering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
本发明公开了一种拍照方法、装置及移动终端,该方法包括:在接收到拍照指令后,识别拍摄区域中的目标区域;将测光点确定在所述目标区域进行测光,并拍摄照片得到第一图像;将测光点确定在非目标区域进行测光,并拍摄照片得到第二图像,所述目标区域与所述非目标区域的光亮度差值大于设定阈值;将所述第一图像中目标区域的图像,和所述第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片。拼接得到的第三图像中,目标区域和非目标区域的图像都分别进行了测光,可保证照片亮度正常,不会出现过曝现象,也不会出现过暗的现象,相对于现有技术而言,提高了照片的质量。
The invention discloses a photographing method, device and mobile terminal. The method includes: after receiving a photographing instruction, identifying a target area in a photographing area; determining a light metering point in the target area to perform light metering, and photographing a photograph Obtain a first image; determine the light metering point in a non-target area for photometry, and take a photo to obtain a second image, where the brightness difference between the target area and the non-target area is greater than a set threshold; The image of the target area in one image and the image of the non-target area in the second image are spliced and synthesized to obtain a third image as a photo. In the third image obtained by splicing, the images of the target area and the non-target area are separately metered, which can ensure that the brightness of the photo is normal, and there will be no overexposure or overdarkness. Compared with the prior art In terms of improving the quality of the photos.
Description
技术领域technical field
本发明涉及通信领域/终端领域,尤其涉及一种拍照方法、装置和移动终端。The present invention relates to the field of communications/terminals, and in particular, to a photographing method, device and mobile terminal.
背景技术Background technique
随着数码产品的普及,越来越多的数码设备都具备了拍照功能。在某些拍照场景下,取景范围内往往会既有强光区域,又有弱光区域。With the popularization of digital products, more and more digital devices have the function of taking pictures. In some photographing scenes, there are often both strong light areas and weak light areas within the framing range.
当基于弱光区域进行测光拍照时,测光算法会尽可能使弱光区域内物体的亮度达到正常的水平,而强光区域则可能出现过曝现象,这样便无法区分强光区域照片的细节,得到的照片质量不高。When taking metered photos based on the low-light area, the metering algorithm will try to make the brightness of the objects in the low-light area reach a normal level, while the high-light area may be overexposed, so that it is impossible to distinguish the brightness of the photos in the high-light area. Details, the resulting photos are not of high quality.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种拍照方法,以解决现有拍照方法得到的照片会出现过爆现象的问题。The embodiment of the present invention provides a photographing method, so as to solve the problem that the photograph obtained by the existing photographing method may have an over-explosion phenomenon.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,提供了一种拍照方法,该方法包括:In a first aspect, a photographing method is provided, the method comprising:
在接收到拍照指令后,识别拍摄区域中的目标区域;After receiving the photographing instruction, identify the target area in the photographing area;
将测光点确定在所述目标区域进行测光,并拍摄照片得到第一图像;Determine the light metering point to perform light metering in the target area, and take a photo to obtain a first image;
将测光点确定在非目标区域进行测光,并拍摄照片得到第二图像,所述目标区域与所述非目标区域的光亮度差值大于设定阈值;Determine the light metering point to perform light metering in the non-target area, and take a photo to obtain a second image, where the brightness difference between the target area and the non-target area is greater than a set threshold;
将所述第一图像中目标区域的图像,和所述第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片。The image of the target area in the first image and the image of the non-target area in the second image are spliced and synthesized to obtain a third image as a photo.
第二方面,提供了一种终端设备,该终端设备包括:In a second aspect, a terminal device is provided, and the terminal device includes:
识别模块,在接收到拍照指令后,识别拍摄区域中的目标区域;The identification module, after receiving the photographing instruction, identifies the target area in the photographing area;
第一拍摄模块,将测光点确定在所述目标区域进行测光,并拍摄照片得到第一图像;The first photographing module determines the light metering point to perform light metering in the target area, and takes a photo to obtain a first image;
第二拍摄模块,将测光点确定在非目标区域进行测光,并拍摄照片得到第二图像,所述目标区域与所述非目标区域的光亮度差值大于设定阈值;The second photographing module determines the light metering point in a non-target area for photometry, and takes a photo to obtain a second image, where the brightness difference between the target area and the non-target area is greater than a set threshold;
合成模块,将所述第一图像中目标区域的图像,和所述第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片。The synthesis module splices and synthesizes the image of the target area in the first image and the image of the non-target area in the second image to obtain a third image as a photo.
第三方面,提供了一种终端设备,该终端设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, a terminal device is provided, the terminal device includes a processor, a memory, and a computer program stored on the memory and executable on the processor, when the computer program is executed by the processor The steps of implementing the method as described in the first aspect.
第四方面,提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method according to the first aspect are implemented .
在本发明实施例中,通过对拍摄区域中的目标区域和非目标区域分布进行测光并拍摄照片,这样拼接得到的第三图像中,目标区域和非目标区域的图像都分别进行了测光,可保证照片亮度正常,不会出现过曝现象,也不会出现过暗的现象,相对于现有技术而言,提高了照片的质量。In the embodiment of the present invention, by performing photometry on the distribution of the target area and the non-target area in the shooting area and taking a photo, in the third image obtained by splicing, the images of the target area and the non-target area have been metered respectively. , which can ensure that the brightness of the photo is normal, and the phenomenon of overexposure and darkness will not appear. Compared with the prior art, the quality of the photo is improved.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:
图1是本发明实施例提供的一种拍照方法的第一种流程示意图;1 is a first schematic flow chart of a photographing method provided by an embodiment of the present invention;
图2是本发明实施例提供的一种拍照方法的第二种流程示意图;2 is a second schematic flowchart of a photographing method provided by an embodiment of the present invention;
图3是本发明实施例提供的拍照装置的第一种结构示意图;3 is a first structural schematic diagram of a photographing device provided by an embodiment of the present invention;
图4为本发明实施例提供的移动终端的一种结构示意图。FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在某些拍照场景下,取景范围内往往会既有强光区域,又有弱光区域。而拍照时,默认的对焦点和测光点往往位于图片的中心或某个特定区域,那么当基于弱光区域进行测光拍照时,背景部分便会出现过曝现象,导致照片无法区分细节。In some photographing scenes, there are often both strong light areas and weak light areas within the framing range. When taking pictures, the default focus point and metering point are often located in the center of the picture or a specific area, so when taking a photo based on a low-light area, the background part will be overexposed, resulting in inability to distinguish details in the photo.
比如,在进行自拍时,如果背景光很强,那么人像区域的亮度会远低于背景区域的亮度,而如果基于人像区域进行测光拍照,人像区域的亮度会显示正常,但是背景区域的亮度则会过高导致过曝。For example, when taking a selfie, if the background light is strong, the brightness of the portrait area will be much lower than the brightness of the background area. If you take a photo based on the portrait area, the brightness of the portrait area will be normal, but the brightness of the background area will be displayed. Too high will result in overexposure.
而当基于强光区域进行拍照时,则弱光区域则会显示过暗,照片在显示时无法区分。When taking a photo based on a strong light area, the weak light area will be displayed too dark, and the photos cannot be distinguished when displayed.
本说明书一个或多个实施例中,在接收到拍照指令后,可以识别拍摄区域中的目标区域,将测光点确定在所述目标区域进行测光,并拍摄照片得到第一图像;然后将测光点确定在非目标区域进行测光,并拍摄照片得到第二图像;再将所述第一图像中目标区域的图像,和所述第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片。这样,获得的照片的目标区域和非目标区域都即可获得目标区域和非目标区域都清晰的照片。In one or more embodiments of this specification, after receiving the photographing instruction, the target area in the photographing area may be identified, the light metering point may be determined in the target area for light metering, and a photo may be taken to obtain a first image; then The light metering point is determined to perform light metering in the non-target area, and a photo is taken to obtain a second image; and then the image of the target area in the first image and the image of the non-target area in the second image are spliced and synthesized to obtain The third image serves as a photo. In this way, both the target area and the non-target area of the obtained photo can obtain a photo in which both the target area and the non-target area are clear.
为便于描述,本说明书一个或多个实施例中,拍照方法的执行主体可以是具备拍照功能的终端设备,例如智能手机、平板电脑、数码相机等。另外,该方法的执行主体也可以是控制相机拍照的软件本身。后文以执行主体为相机为例,对该方法的实施方式进行介绍。可以理解,该方法的执行主体为相机只是一种示例性的说明,并不应理解为对该方法的限定。For ease of description, in one or more embodiments of the present specification, the execution body of the photographing method may be a terminal device having a photographing function, such as a smart phone, a tablet computer, a digital camera, and the like. In addition, the execution body of the method may also be the software itself that controls the camera to take pictures. Hereinafter, the implementation of the method will be introduced by taking the execution subject as the camera as an example. It can be understood that the execution subject of the method is a camera, which is only an exemplary description, and should not be construed as a limitation of the method.
在本说明书一个或多个实施例中,拍照方法的实现流程示意图如图1所示,包括下述步骤:In one or more embodiments of this specification, a schematic diagram of the implementation flow of the photographing method is shown in FIG. 1 , including the following steps:
步骤S100:在接收到拍照指令后,识别拍摄区域中的目标区域;Step S100: after receiving the photographing instruction, identify the target area in the photographing area;
拍照指令可以用来控制相机拍照,比如,拍照指令可以是用户通过按压相机的快门键触发的,或者在智能终端设备中,拍照指令也可以是用户通过点击人机交互界面中预设的拍照按钮所触发的。本说明书中不对拍照指令的触发形式做具体限定。The photographing instruction can be used to control the camera to take pictures. For example, the photographing instruction can be triggered by the user pressing the shutter button of the camera, or in an intelligent terminal device, the photographing instruction can also be the user clicking the preset photographing button in the human-computer interaction interface. triggered. This manual does not specifically limit the triggering form of the photographing instruction.
拍摄区域可以是相机的取景区域,一般拍摄区域可以以预览图像的形式实时地反馈给用户。The shooting area may be the viewing area of the camera, and generally the shooting area may be fed back to the user in real time in the form of a preview image.
目标区域可以是拍摄区域中目标物所在的区域,该目标区域可以根据目标物来确定的。在具体实施时,可以预先确定目标物的特征,这样便可以根据目标物的特征,来识别拍摄区域中目标物所在的区域,即目标区域。在具体实施时,可以预先设定目标物的特征,以便在拍摄时根据目标物的特征,识别目标物所在的区域。The target area may be the area where the target object is located in the shooting area, and the target area may be determined according to the target object. In a specific implementation, the characteristics of the target can be predetermined, so that the area where the target is located in the shooting area, that is, the target area, can be identified according to the characteristics of the target. During specific implementation, the characteristics of the target can be preset, so that the region where the target is located can be identified according to the characteristics of the target during shooting.
在根据目标物的特征识别目标物所在的区域时,可以先获取拍摄区域的预览图像,然后对预览图像进行图像识别,即根据目标物的特征来识别预览图像中的目标物。如果识别出目标图像,则可以将目标图像所在的区域作为目标区域。When identifying the area where the target is located according to the characteristics of the target, a preview image of the shooting area can be obtained first, and then image recognition is performed on the preview image, that is, the target in the preview image can be identified according to the characteristics of the target. If the target image is identified, the area where the target image is located can be used as the target area.
在一种实施方式中,目标物可以是人,那么目标区域即为人像所在的区域,那么在识别目标区域时,可以基于人像特征来识别。具体在识别时,可以先获取拍摄区域的预览图像,然后基于预先设置的人像特征,在该预览图像中进行图像识别,如果在该预览图像中识别到人像,则将人像所在的区域作为目标区域。In one embodiment, the target object may be a person, and the target area is the area where the portrait is located. Then, when identifying the target area, the identification may be based on the characteristics of the portrait. Specifically, during recognition, a preview image of the shooting area can be obtained first, and then based on the preset portrait characteristics, image recognition is performed in the preview image. If a portrait is recognized in the preview image, the area where the portrait is located is used as the target area. .
比如,在相机的自拍模式下,由于拍摄的目标物往往是人,那么可以预先设置自拍模式下的目标区域为人像所在的区域。这样在拍照时,即可识别出人像所在区域。For example, in the Selfie mode of the camera, since the target object to be photographed is often a person, the target area in the Selfie mode can be preset as the area where the portrait is located. In this way, when taking pictures, you can identify the area where the portrait is located.
若在拍摄区域中识别到目标区域,则进入步骤S102,否则继续识别拍摄区域中是否存在目标区域。If the target area is identified in the photographing area, go to step S102, otherwise continue to identify whether there is a target area in the photographing area.
步骤S102:将测光点确定在所述目标区域进行测光,并拍摄照片得到第一图像;Step S102: determine the light metering point to perform light metering in the target area, and take a photo to obtain a first image;
将测光点确定在某个位置进行测光时,会通过调节拍照时的光学参数,使得测光位置的亮度达到某一预设数值,该预设数值往往是使得测光区域显示正常的值,由开发人员预先设定。所谓的显示正常,一般是在肉眼观察下,图像亮度既不会太高导致过曝,也不会太暗导致图像不清楚。When the metering point is determined at a certain position for metering, the optical parameters when taking pictures will be adjusted to make the brightness of the metering position reach a certain preset value. The preset value is often the value that makes the metering area display normal. , preset by the developer. The so-called display is normal, generally under the naked eye observation, the image brightness is neither too high to cause overexposure, nor too dark to cause the image to be unclear.
那么,当将测光点确定在所述目标区域进行测光时,会使得目标区域的亮度显示正常,此时拍摄得到的第一图像中,目标区域的亮度便会显示正常。Then, when the light metering point is determined in the target area for light metering, the brightness of the target area will be displayed normally, and in the first image captured at this time, the brightness of the target area will be displayed normally.
步骤S104:将测光点确定在非目标区域进行测光,并拍摄照片得到第二图像;Step S104: determining the light metering point in the non-target area to perform light metering, and taking a photo to obtain a second image;
非目标区域,包括拍摄区域中除目标区域外的区域,也就是说,在非目标区域进行测光时,可以在拍摄区域中目标区域以外的一部分区域进行测光并拍照,比如对目标区域外的某个位置进行测光并拍摄照片,或者还可以对目标区域外的多个位置分布进行测光并拍摄照片。The non-target area includes the area other than the target area in the shooting area, that is to say, when metering is performed in the non-target area, you can perform light metering and take pictures in a part of the area other than the target area in the shooting area, such as measuring outside the target area. meter and take a photo at a location in the target area, or you can meter and take a photo of a distribution of multiple locations outside the target area.
目标区域与非目标区域的光亮度差值可以大于设定阈值,这样通过分别对目标区域和非目标区域进行测光,可以保证目标区域和非目标区域的图像可以正常显示,而不会出现过曝或过暗的现象。这里的设定阈值的具体取值可以由开发人员预先设定,本实施例对此不做具体限定。一般情况下,如果该亮度差值大于设定阈值,在基于目标区域进行拍照时,非目标区域则会出现过曝现象,而如果亮度差值不大于该设定阈值时,非目标区域不会出现过曝现象。The brightness difference between the target area and the non-target area can be greater than the set threshold. In this way, by metering the target area and the non-target area respectively, it can ensure that the images of the target area and the non-target area can be displayed normally without appearing too much. overexposed or too dark phenomenon. The specific value of the set threshold here may be preset by the developer, which is not specifically limited in this embodiment. In general, if the brightness difference is greater than the set threshold, when taking pictures based on the target area, the non-target area will be overexposed, and if the brightness difference is not greater than the set threshold, the non-target area will not be overexposed. Overexposure occurs.
在一种实施方式中,可以将测光点确定在非目标区域的某个位置,然后针对该位置进行测光并拍摄照片,得到第二图像。当将测光点确定在该非目标区域进行测光时,会使得非目标区域的亮度显示正常,此时拍摄得到的第二图像中,非目标区域的亮度便会显示正常。In one embodiment, the light metering point may be determined at a certain position of the non-target area, and then light metering is performed for the position and a photo is taken to obtain the second image. When the light metering point is determined in the non-target area for light metering, the brightness of the non-target area will be displayed normally, and in the second image captured at this time, the brightness of the non-target area will be displayed normally.
当然,非目标区域可能亮度并不均一,那么可以对非目标区域的多个不同位置分别进行测光。在一种实施方式中,可以将测光点确定在非目标区域的不同位置,然后针对每个位置分别进行测光并拍摄照片,得到每个测光点下拍摄的各第二子图像,然后对每个第二子图像进行合成,得到第二图像。这样,第二图像也是针对多个点进行测光后得到的,提高了第二图像的照片质量。Of course, the brightness of the non-target area may not be uniform, so the light metering can be performed on different positions of the non-target area respectively. In one embodiment, the light metering points may be determined at different positions of the non-target area, and then light metering is performed for each position and a photo is taken to obtain each second sub-image taken under each light metering point, and then Each second sub-image is synthesized to obtain a second image. In this way, the second image is also obtained by performing light metering for multiple points, which improves the photo quality of the second image.
需要说明的是,如果对非目标区域进行多次测光拍摄多张照片的话,可将拍摄的多张照片称为第二子图像,将对第二子图像合成后得到的图像称为第二图像。这样,对非目标区域进行测光拍照得到的图像可称为第二图像,以方便后续描述时引用。本发明中所用的“第一”、“第二”、“子”等术语可以用来区分不同事物,以清晰地阐述本发明的核心思想,而不应当理解为对本发明的绝对限定。It should be noted that if the non-target area is subjected to multiple metering and multiple photos are taken, the multiple photos taken can be called the second sub-image, and the image obtained by combining the second sub-images is called the second sub-image. image. In this way, the image obtained by performing photometry on the non-target area may be referred to as the second image for convenience of reference in subsequent descriptions. Terms such as "first", "second" and "sub" used in the present invention can be used to distinguish different things to clearly illustrate the core idea of the present invention, and should not be construed as an absolute limitation of the present invention.
在对得到的多个第二子图像进行合成时,可以确定多个第二子图像中同一位置处的像素点的像素平均值。在实际应用中,可以确定多个第二子图像中相同坐标的每个像素点的像素值,然后取该些像素值的平均值,得到像素平均值,这样,可以得到每个位置处像素点的像素平均值。When synthesizing the plurality of obtained second sub-images, the pixel average value of the pixels at the same position in the plurality of second sub-images may be determined. In practical applications, the pixel value of each pixel of the same coordinates in the multiple second sub-images can be determined, and then the average value of these pixel values can be obtained to obtain the pixel average value. In this way, the pixel point at each position can be obtained. pixel average of .
然后,可以将第二图像中第一位置处像素点的像素值设置为,第二子图像中第一位置处的像素点的像素平均值。在一种实施方式中,第二图像中每个位置处像素点的像素值,可以设置为上面计算得到的相同位置处的像素平均值。Then, the pixel value of the pixel at the first position in the second image may be set as the pixel average value of the pixel at the first position in the second sub-image. In one embodiment, the pixel value of the pixel at each position in the second image may be set to the average value of the pixels at the same position calculated above.
通过取像素的平均值,可以使得第二图像中第二区域在整体上亮度更加均匀,不会出现某些地方过亮,或者某些地方过暗的情况,使得图像的整体效果较好。By taking the average value of the pixels, the overall brightness of the second region in the second image can be more uniform, and some places are not too bright or some places are too dark, so that the overall effect of the image is better.
在一种实施方式中,目标区域为人像区域,在对非目标区域进行测光拍照时,可以在非目标区域的第一位置进行测光并拍摄照片,该第一位置位于人像区域外部的左上角,也可以在非目标区域的第二位置进行测光并拍摄照片,第二位置位于人像区域外部的右上角。这里对第一位置和第二位置进行测光并拍照的执行顺序不做限定。In one embodiment, the target area is a portrait area, and when metering and taking a photo of a non-target area, light metering and taking a photo may be performed at a first position of the non-target area, where the first position is located at the upper left outside the portrait area You can also meter and take a photo at the second position of the non-target area, which is located in the upper right corner outside the portrait area. The execution sequence of performing light metering and photographing at the first position and the second position is not limited here.
由于对人进行拍照时,背景区域一般位于人像的左上角和右上角。而且人像的左上角和右上角往往是灯光、太阳等高亮度光源所处的区域,那么,通过在左上角和右上角分别进行测光,可以更好地对人像场景中的背景进行测光,使得人像场景下得到的背景照片更加清晰。Because when a person is photographed, the background area is generally located at the upper left corner and the upper right corner of the portrait. Moreover, the upper left corner and upper right corner of the portrait are often the areas where high-brightness light sources such as lights and the sun are located. Then, by metering the upper left corner and upper right corner respectively, the background in the portrait scene can be better metered. Makes the background photo obtained in the portrait scene clearer.
在具体实施时,第一位置在图像中的具体位置可以是,纵向位置距离人像区域最低点的距离为人像高度的3/4,横向位置为,纵向位置处人像区域右边缘到图像右边缘之间的中心点。第二位置在图像中的具体位置可以是,纵向位置距离人像区域最低点的距离为人像高度的3/4,横向位置为,纵向位置处人像区域左边缘到图像左边缘之间的中心点。In specific implementation, the specific position of the first position in the image may be that the distance between the vertical position and the lowest point of the portrait area is 3/4 of the height of the portrait, and the horizontal position is the distance between the right edge of the portrait area and the right edge of the image at the vertical position. center point between. The specific position of the second position in the image may be that the distance between the vertical position and the lowest point of the portrait area is 3/4 of the height of the portrait, and the horizontal position is the center point between the left edge of the portrait area and the left edge of the image at the vertical position.
步骤S106:将所述第一图像中目标区域的图像,和所述第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片。Step S106 : splicing and synthesizing the image of the target area in the first image and the image of the non-target area in the second image to obtain a third image as a photo.
基于上述步骤,可以获得目标区域亮度正常的第一图像和非目标区域亮度正常的第二图像,那么,可以将第一图像中目标区域的图像,和第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片。Based on the above steps, a first image with normal brightness in the target area and a second image with normal brightness in the non-target area can be obtained. Then, the image of the target area in the first image and the image of the non-target area in the second image can be stitched together Combined, a third image is obtained as a photo.
在一种实施方式中,可以提取第一图像中目标区域的图像,然后将提取的目标区域的图像,覆盖到第二图像中的目标区域,得到第三图像。这样,第三图像中目标区域的图像即为亮度正常的图像,非目标区域的图像也是亮度正常的图像。In one embodiment, the image of the target area in the first image may be extracted, and then the extracted image of the target area may be overlaid on the target area in the second image to obtain the third image. In this way, the image of the target area in the third image is an image with normal brightness, and the image of the non-target area is also an image with normal brightness.
在一种实施方式中,由于步骤S100中已经识别出了目标区域,那么可根据步骤S100中识别出的目标区域,对第一图像中的目标区域和非目标区域进行分割,得到目标区域的图像。In one embodiment, since the target area has been identified in step S100, the target area and non-target area in the first image can be segmented according to the target area identified in step S100 to obtain an image of the target area .
在另一种实施方式中,考虑到步骤S100中识别的目标区域可能与后续拍摄得到的第一图像中的目标区域有偏差,那么在提取目标区域的图像时,可以根据待识别的图像的特征在第一图像中识别出目标区域,然后对第一图像中的目标区域和非目标区域进行分割,即可得到目标区域的图像。In another embodiment, considering that the target area identified in step S100 may deviate from the target area in the first image obtained by subsequent shooting, when extracting the image of the target area, the characteristics of the image to be identified may be The target area is identified in the first image, and then the target area and the non-target area in the first image are segmented to obtain an image of the target area.
这样在得到目标区域的图像后,即可将该目标区域图像和第二图像中非目标区域的图像进行拼接合成。最终得到的第三图像目标区域的图像和非目标区域的图像都分别进行了测光,可保证照片亮度正常,不会出现过曝现象,也不会出现过暗的现象,相对于现有技术而言,提高了照片的质量。In this way, after the image of the target area is obtained, the image of the target area and the image of the non-target area in the second image can be spliced and synthesized. The final image of the target area of the third image and the image of the non-target area are separately metered, which can ensure that the brightness of the photo is normal, and there will be no overexposure or overdarkness. Compared with the prior art In terms of improving the quality of the photos.
需要说明的是,本申请中在测光后拍摄得到的第一图像、第二子图像、第二图像等图像,图像的尺寸默认是相同的尺寸,以便进行后续的分割和合并,如果其尺寸不同,则可先对图像进行对齐处理。另外,每个图像在拍摄时的取景范围之间的差别可以尽可能地小,因此在拍摄图片时的时间间隔可以尽可能地短,以避免由于抖动等外界原因导致拍摄得到的多张照片间取景范围差距较大。It should be noted that, in this application, in the first image, second sub-image, second image and other images obtained after photometry, the size of the images is the same size by default, so that subsequent segmentation and merging can be performed. If different, the image can be aligned first. In addition, the difference between the framing range of each image can be as small as possible, so the time interval when taking pictures can be as short as possible, to avoid jitter and other external reasons that cause the difference between the multiple photos taken. The viewing range is quite different.
基于本申请的上述发明构思,为了便于更好的理解本申请的技术特征、手段和效果,下面对本说明书一个或多个实施例中的拍照方法做进一步说明,下文中没有介绍到的概念可参见前文中的相关描述。Based on the above-mentioned inventive concept of the present application, in order to facilitate a better understanding of the technical features, means and effects of the present application, the photographing method in one or more embodiments of the present specification will be further described below. For the concepts not introduced below, please refer to The relevant descriptions in the preceding paragraphs.
本说明书一个或多个实施例中的拍照方法,可应用于人像拍照场景中,比如自拍场景,在人像拍照场景中,目标区域为人像所在的区域。在人像拍照场景中,可以基于人像分割技术来实现拍照合成,具体拍照方法的实现流程示意图如图2所示,包括下述步骤:The photographing method in one or more embodiments of this specification can be applied to a portrait photographing scene, such as a self-portrait scene. In the portrait photographing scene, the target area is the area where the portrait is located. In the portrait photography scene, photography and synthesis can be realized based on the portrait segmentation technology. The schematic diagram of the implementation process of the specific photography method is shown in Figure 2, including the following steps:
步骤S201:接收拍照指令;Step S201: receiving a photographing instruction;
步骤S202:识别拍摄区域中是否存在的人像;Step S202: identifying whether there is a portrait in the shooting area;
具体识别方法参见步骤S100中的相关描述,此处不做赘述。若在拍摄区域中识别到人像,则进入步骤S203,否则继续识别拍摄区域中是否存在人像。For the specific identification method, refer to the relevant description in step S100, which is not repeated here. If a portrait is identified in the shooting area, then go to step S203, otherwise, continue to identify whether there is a portrait in the shooting area.
步骤S203:若在拍摄区域中识别到人像,则将测光点确定在人像所在区域进行测光,并拍摄照片,得到照片A;Step S203: if a portrait is identified in the shooting area, the metering point is determined in the area where the portrait is located for metering, and a photo is taken to obtain a photo A;
具体可将测光点确定在人像中心点进行测光。Specifically, the metering point can be determined at the center of the portrait for metering.
步骤S204:在人像区域外部的左上角和右上角分别测光并拍摄照片,得到照片B和照片C;Step S204: Measure light at the upper left corner and the upper right corner outside the portrait area respectively and take a photo to obtain a photo B and a photo C;
步骤S205:混合照片B和C,得到新的照片D;Step S205: mixing photos B and C to obtain a new photo D;
在一种实施方式中,具体混合方式包括:求照片B和照片C同一位置的像素点的像素平均值,然后将像素平均值作为照片D中相同位置上像素点的像素值。In one embodiment, the specific mixing method includes: calculating the pixel average value of the pixels at the same position in the photo B and the photo C, and then using the pixel average value as the pixel value of the pixel at the same position in the photo D.
比如,在RGB色彩模式下,可以求每个像素点中R的平均值、G的平均值以及B的平均值:For example, in the RGB color mode, you can find the average value of R, the average value of G, and the average value of B in each pixel:
其中,照片B中某个像素点的像素值可表示为(R1,G1,B1),照片C中与该像素点相同位置的像素点的像素值可表示为(R2,G2,B2),最终得到照片D中该位置的像素点的像素值可表示为(R,G,B)。通过该方法,即可得到照片D中每个位置的像素点的像素值。Among them, the pixel value of a certain pixel in the photo B can be expressed as (R 1 , G 1 , B 1 ), and the pixel value of the pixel at the same position as the pixel in the photo C can be expressed as (R 2 , G 2 , B 2 ), and finally the pixel value of the pixel at this position in the photo D can be expressed as (R, G, B). Through this method, the pixel value of the pixel at each position in the photo D can be obtained.
步骤S206:通过人像分割,获取照片A中的人像;Step S206: obtaining the portrait in the photo A through portrait segmentation;
即获取照片A中的人像区域的图像数据。That is, the image data of the portrait area in the photo A is acquired.
步骤S207:将照片A中的人像覆盖到照片D中,得到照片E。Step S207: Covering the portrait in photo A to photo D to obtain photo E.
将照片E作为响应步骤S201中拍照指令的照片进行存储。The photo E is stored as the photo responding to the photographing instruction in step S201.
最终得到的照片E中人像区域(前景)和人像区域以外区域(背景)分别进行了测光,可保证照片亮度正常,有效的避免只对前景进行测光而导致在逆光环境下背景画面过曝的问题,也不会出现前景过暗的问题,相对于现有技术而言,提高了照片的质量。In the final photo E, the portrait area (foreground) and the area outside the portrait area (background) are metered separately, which can ensure the normal brightness of the photo, and effectively avoid the background image being overexposed in the backlight environment by metering only the foreground. There is no problem that the foreground is too dark, and the quality of the photo is improved compared with the prior art.
以上为本申请实施例提供的拍照方法,基于同样的思路,本申请实施例还提供相应的拍照装置,如图3所示,该装置具体包括:The above-mentioned photographing method provided by the embodiment of the present application, based on the same idea, the embodiment of the present application also provides a corresponding photographing device, as shown in FIG. 3 , the device specifically includes:
识别模块301,在接收到拍照指令后,识别拍摄区域中的目标区域;The
第一拍摄模块302,将测光点确定在所述目标区域进行测光,并拍摄照片得到第一图像;The first photographing
第二拍摄模块303,将测光点确定在非目标区域进行测光,并拍摄照片得到第二图像;The second photographing
合成模块304,将所述第一图像中目标区域的图像,和所述第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片。The
在一种实施方式中,所述第二拍摄模块303,具体用于:In one embodiment, the
将测光点确定在所述非目标区域的不同位置,针对每个位置分别进行测光并拍摄照片,得到每个测光点下拍摄的各第二子图像;Determine the light metering points at different positions of the non-target area, perform light metering and take pictures for each position respectively, and obtain each second sub-image taken under each light metering point;
对每个所述第二子图像进行合成,得到所述第二图像。Combining each of the second sub-images to obtain the second image.
在一种实施方式中,所述第二拍摄模块303,具体用于:In one embodiment, the
确定多个所述第二子图像同一位置处的像素点的像素平均值;determining a pixel average value of a plurality of pixel points at the same position of the second sub-images;
将所述第二图像中第一位置处像素点的像素值设置为,所述第二子图像中所述第一位置处的像素点的像素平均值。The pixel value of the pixel at the first position in the second image is set as the pixel average value of the pixel at the first position in the second sub-image.
在一种实施方式中,所述目标区域为人像区域,所述第二拍摄模块303具体用于:In one embodiment, the target area is a portrait area, and the
在非目标区域的第一位置进行测光并拍摄照片,所述第一位置位于所述人像区域外部的左上角;Perform light metering and take a photo at a first position of the non-target area, the first position being located at the upper left corner outside the portrait area;
在非目标区域的第二位置进行测光并拍摄照片,所述第二位置位于所述人像区域外部的右上角。A photo is metered and photographed at a second location of the non-target area, the second location being located in the upper right corner outside the portrait area.
在一种实施方式中,所述目标区域为人像区域,则所述识别模块301,具体用于:In one embodiment, the target area is a portrait area, and the identifying
获取所述拍摄区域的预览图像;obtaining a preview image of the shooting area;
基于人像特征,对所述预览图像进行图像识别;Perform image recognition on the preview image based on the portrait feature;
若在所述预览图像中识别到人像,则将人像所在的区域作为所述目标区域。If a portrait is recognized in the preview image, the area where the portrait is located is taken as the target area.
在一种实施方式中,所述合成模块304,具体用于:In one embodiment, the
提取所述第一图像中目标区域的图像;extracting the image of the target area in the first image;
将提取的目标区域的图像,覆盖到所述第二图像中的目标区域,得到第三图像。Covering the extracted image of the target area on the target area in the second image to obtain a third image.
本发明实施例提供的拍照装置能够实现图1至图2的方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。本发明提供的拍照装置,通过对拍摄区域中的目标区域和非目标区域分布进行测光并拍摄照片,这样拼接得到的第三图像中,目标区域和非目标区域的图像都分别进行了测光,可保证照片亮度正常,不会出现过曝现象,也不会出现过暗的现象,相对于现有技术而言,提高了照片的质量。The photographing apparatus provided by the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiments of FIG. 1 to FIG. 2 , and to avoid repetition, details are not described here. In the photographing device provided by the present invention, by measuring the distribution of the target area and the non-target area in the photographing area and taking pictures, in the third image obtained by splicing in this way, the images of the target area and the non-target area are respectively subjected to photometry , which can ensure that the brightness of the photo is normal, and the phenomenon of overexposure and darkness will not appear. Compared with the prior art, the quality of the photo is improved.
图4为实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图4中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 4 is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention. The
其中,处理器110,用于在接收到拍照指令后,识别拍摄区域中的目标区域;The
将测光点确定在所述目标区域进行测光,并拍摄照片得到第一图像;Determine the light metering point to perform light metering in the target area, and take a photo to obtain a first image;
将测光点确定在非目标区域进行测光,并拍摄照片得到第二图像;Determine the metering point for metering in the non-target area, and take a photo to obtain a second image;
将所述第一图像中目标区域的图像,和所述第二图像中非目标区域的图像进行拼接合成,得到第三图像作为照片;splicing and synthesizing the image of the target area in the first image and the image of the non-target area in the second image to obtain a third image as a photo;
通过对拍摄区域中的目标区域和非目标区域分布进行测光并拍摄照片,这样拼接得到的第三图像中,目标区域和非目标区域的图像都分别进行了测光,可保证照片亮度正常,不会出现过曝现象,也不会出现过暗的现象,相对于现有技术而言,提高了照片的质量。By metering the distribution of the target area and the non-target area in the shooting area and taking a photo, in the third image obtained by splicing, the images in the target area and the non-target area have been metered respectively, which can ensure the normal brightness of the photo. There is no overexposure phenomenon and no overdark phenomenon. Compared with the prior art, the quality of the photo is improved.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110 处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
移动终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041 对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质) 中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击) 等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元 106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071 可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器 110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072 可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071 检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图4中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元108为外部装置与移动终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/ 输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器 109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,移动终端100包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种移动终端,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention also provides a mobile terminal, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiments of the photographing method can be realized, and the same technical effect can be achieved. , in order to avoid repetition, it will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810243314.2A CN108616687B (en) | 2018-03-23 | 2018-03-23 | A photographing method, device and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810243314.2A CN108616687B (en) | 2018-03-23 | 2018-03-23 | A photographing method, device and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108616687A CN108616687A (en) | 2018-10-02 |
| CN108616687B true CN108616687B (en) | 2020-07-21 |
Family
ID=63658769
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810243314.2A Active CN108616687B (en) | 2018-03-23 | 2018-03-23 | A photographing method, device and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108616687B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109490311B (en) * | 2018-10-25 | 2021-09-10 | 武汉精立电子技术有限公司 | Backlight panel defect detection system and method based on multi-angle shooting |
| CN110018167B (en) * | 2019-04-04 | 2021-10-29 | 武汉精立电子技术有限公司 | Method and system for rapidly detecting appearance defects of curved screen |
| WO2022001615A1 (en) * | 2020-06-29 | 2022-01-06 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and system for automatically removing glare regions |
| CN111815531B (en) * | 2020-07-09 | 2024-03-01 | Oppo广东移动通信有限公司 | Image processing method, device, terminal equipment and computer readable storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103905732A (en) * | 2014-04-02 | 2014-07-02 | 深圳市中兴移动通信有限公司 | Shooting method and shooting device |
| CN107343140A (en) * | 2017-06-14 | 2017-11-10 | 努比亚技术有限公司 | A kind of image processing method and mobile terminal |
| CN107392087A (en) * | 2017-05-27 | 2017-11-24 | 华勤通讯技术有限公司 | A kind of image processing method and device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8107762B2 (en) * | 2006-03-17 | 2012-01-31 | Qualcomm Incorporated | Systems, methods, and apparatus for exposure control |
| JP2010268441A (en) * | 2009-04-16 | 2010-11-25 | Sanyo Electric Co Ltd | Image processor, imaging device, and image reproducing device |
| CN106550184B (en) * | 2015-09-18 | 2020-04-03 | 中兴通讯股份有限公司 | Photo processing method and device |
| CN105554411B (en) * | 2016-02-15 | 2018-03-06 | 广东欧珀移动通信有限公司 | A kind of photographic method based on screen light filling, device and mobile terminal |
| CN105959559A (en) * | 2016-06-08 | 2016-09-21 | 维沃移动通信有限公司 | Night scene shooting method and mobile terminal |
| CN107241559B (en) * | 2017-06-16 | 2020-01-10 | Oppo广东移动通信有限公司 | Portrait photographing method and device and camera equipment |
| CN107197169B (en) * | 2017-06-22 | 2019-12-06 | 维沃移动通信有限公司 | high dynamic range image shooting method and mobile terminal |
-
2018
- 2018-03-23 CN CN201810243314.2A patent/CN108616687B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103905732A (en) * | 2014-04-02 | 2014-07-02 | 深圳市中兴移动通信有限公司 | Shooting method and shooting device |
| CN107392087A (en) * | 2017-05-27 | 2017-11-24 | 华勤通讯技术有限公司 | A kind of image processing method and device |
| CN107343140A (en) * | 2017-06-14 | 2017-11-10 | 努比亚技术有限公司 | A kind of image processing method and mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108616687A (en) | 2018-10-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107770438B (en) | A kind of photographic method and mobile terminal | |
| CN107580184B (en) | A shooting method and mobile terminal | |
| CN109688322B (en) | Method and device for generating high dynamic range image and mobile terminal | |
| CN108540724A (en) | A kind of image pickup method and mobile terminal | |
| CN107566730B (en) | A panoramic image shooting method and mobile terminal | |
| CN107820011A (en) | Photographic method and camera arrangement | |
| CN110602401A (en) | Photographing method and terminal | |
| CN107592471A (en) | A kind of high dynamic range images image pickup method and mobile terminal | |
| CN109218626B (en) | Photographing method and terminal | |
| CN107948505B (en) | A panorama shooting method and mobile terminal | |
| CN107592459A (en) | A kind of photographic method and mobile terminal | |
| CN108616687B (en) | A photographing method, device and mobile terminal | |
| CN109104578B (en) | Image processing method and mobile terminal | |
| CN107820022A (en) | A kind of photographic method and mobile terminal | |
| CN111246102A (en) | Shooting method, device, electronic device and storage medium | |
| CN108462826A (en) | A kind of method and mobile terminal of auxiliary photo-taking | |
| CN110198428A (en) | A kind of multimedia file producting method and first terminal | |
| CN107623818A (en) | A kind of image exposure method and mobile terminal | |
| CN111432122A (en) | Image processing method and electronic equipment | |
| CN108513067A (en) | A kind of filming control method and mobile terminal | |
| CN108449541A (en) | A kind of panoramic picture image pickup method and mobile terminal | |
| CN107888833A (en) | A kind of image capturing method and mobile terminal | |
| CN110213484A (en) | A kind of photographic method, terminal device and computer readable storage medium | |
| CN108848309A (en) | A kind of camera programm starting method and mobile terminal | |
| CN108174081B (en) | A kind of image pickup method and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |