CN111901519B - Screen light supplement method and device and electronic equipment - Google Patents
Screen light supplement method and device and electronic equipment Download PDFInfo
- Publication number
- CN111901519B CN111901519B CN202010582693.5A CN202010582693A CN111901519B CN 111901519 B CN111901519 B CN 111901519B CN 202010582693 A CN202010582693 A CN 202010582693A CN 111901519 B CN111901519 B CN 111901519B
- Authority
- CN
- China
- Prior art keywords
- brightness
- screen
- display screen
- target
- adjustment amount
- 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/62—Control of parameters via user interfaces
-
- 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/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The application discloses a screen light supplementing method and device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the shooting effect of the electronic equipment is poor in a shooting environment with complex light. The method comprises the following steps: acquiring a brightness distribution parameter of a target area in a shooting preview picture under the condition of displaying the shooting preview picture; the target area comprises M brightness areas, and each brightness area corresponds to at least one display screen; m is an integer greater than or equal to 2; adjusting the screen brightness of the target display screen according to the brightness distribution parameter; wherein, the target display screen includes: at least one display screen corresponding to a target brightness region of the M brightness regions among the N display screens; n is an integer of 2 or more. The embodiment of the application is applied to scenes shot by using the electronic equipment.
Description
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a screen light supplementing method and device and electronic equipment.
Background
With the development of electronic device technology, the frequency of self-photographing by users using electronic devices is higher and higher.
In the conventional technology, when a user uses the electronic device to perform self-shooting, if the shooting environment brightness is dark, the electronic device generally increases the brightness of the screen to perform light supplement, so that the user can shoot a picture or a video with good image quality.
However, the above method can only improve the intensity of the light irradiated to the face of the user as a whole, and cannot adjust the brightness of a certain area. When the user is in the shooting environment with complicated light, for example, beside a window, the light on one side of the user is stronger, the light on one side is weaker, the shot picture may have 'yin-yang face', and the shooting effect is poorer.
Disclosure of Invention
The embodiment of the application aims to provide a screen light supplementing method and device and electronic equipment, and the problem that the shooting effect of the electronic equipment is poor in a shooting environment with complex light can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for supplementing light to a screen, where the method includes: acquiring a brightness distribution parameter of a target area in a shooting preview picture under the condition of displaying the shooting preview picture; the target area comprises M brightness areas, and each brightness area corresponds to at least one display screen; m is an integer greater than or equal to 2; adjusting the screen brightness of the target display screen according to the brightness distribution parameter; wherein, the target display screen includes: at least one display screen corresponding to a target brightness region of the M brightness regions among the N display screens; n is an integer of 2 or more.
In a second aspect, an embodiment of the present application further provides a screen light supplement device, where the device includes an obtaining module and an adjusting module; the acquisition module is used for acquiring the brightness distribution parameter of the target area in the shooting preview picture under the condition of displaying the shooting preview picture; the target area comprises M brightness areas, and each brightness area corresponds to at least one display screen; m is an integer greater than or equal to 2; the adjusting module is used for adjusting the screen brightness of the target display screen according to the brightness distribution parameter acquired by the acquiring module; wherein, the target display screen includes: at least one display screen corresponding to a target brightness region of the M brightness regions among the N display screens; n is an integer of 2 or more.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the steps of the screen fill lighting method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when a user uses an electronic device comprising N display screens to shoot, the electronic device adjusts the screen brightness of the target display screen corresponding to the target brightness area by acquiring the brightness distribution parameter of the target area in the shooting preview picture. Therefore, the electronic equipment can adjust the screen brightness of different display screens according to the brightness distribution condition of the shooting object in the shooting picture, and then respectively supplement light for different areas of the shooting object, so that a user can shoot a picture or a video with a good effect under a complex lighting condition.
Drawings
Fig. 1 is a schematic view of an interface applied by a screen fill-in light method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating a method for supplementing light to a screen according to an embodiment of the present disclosure;
fig. 3 is a second schematic view of an interface applied in a screen fill-in light method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a screen light supplement device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screen light supplement method provided by the embodiment of the application can be applied to scenes shot by using electronic equipment.
For example, when a user uses an electronic device (e.g., a mobile phone or a tablet) to take a picture in a dark environment, a light supplement needs to be performed on a subject to be taken in order to take a clear picture or video. In the related art, for example, when a user uses a mobile phone to perform self-photographing, if the mobile phone detects that the current ambient light is dark through the light sensor, the mobile phone increases the brightness of the display screen to fill light into the face of the user. However, when the user is in the lighting environment as shown in fig. 1 to perform shooting, as shown in fig. 1, the area 11 and the area 12 are contents displayed in the shooting preview screen of the mobile phone 13. One side of the subject is close to the light source 10 and the other side is far from the light source 10, resulting in a brighter facial area 11 and a darker facial area 12 for the user. At this time, the light sensor of the mobile phone 13 detects a good illumination condition of the environment, and the brightness of the display screen is not increased to supplement light to the photographic subject, and even if the light is supplemented to the photographic subject, the brightness difference of the face of the photographic subject cannot be obviously improved. There is also no good solution in the related art for a foldable device comprising a plurality of display screens.
In view of this problem, in the technical solution provided in the embodiment of the present application, when a user uses a foldable electronic device including a plurality of display screens to perform shooting, the electronic device may divide a shooting object in a shooting preview picture into a plurality of luminance areas, and adjust the luminance of the display screen corresponding to each luminance area by obtaining a luminance parameter of each luminance area. For example, when the user is in a shooting environment as shown in fig. 1, the mobile phone 13 detects that the brightness of the face area 12 of the shooting object is dark, and at this time, the mobile phone 13 can fill in a partial area of the shooting object by individually increasing the screen brightness of the display screen 14 corresponding to the face area 12. So, electronic equipment can be under complicated light environment, through the luminance of adjusting different display screens, come to carry out the light filling to the different regions of shooting the object, simultaneously, because the technical scheme that this application embodiment provided does not only rely on electronic equipment's light sensor to adjust the screen luminance of electronic equipment's display screen, consequently, can carry out the light filling to the shooting object more intelligently when making the user use electronic equipment to shoot, and then shoot better image or the video of effect.
The screen light supplement method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 2, a method for supplementing light to a screen according to an embodiment of the present application may include the following steps 201 and 202:
For example, the target area may be an area where a shooting object is located, for example, a face area of a user in a shooting preview screen, and the electronic device acquires a brightness distribution parameter of the face area of the user in the shooting preview screen.
Illustratively, the target area includes M brightness areas, and each brightness area corresponds to at least one display screen. M is an integer of 2 or more. The brightness area may be divided according to the brightness distribution of the target area, for example, when the brightness distribution of the target area is simple and is only divided into two light and dark areas, the target area may be divided into two brightness areas, and if the brightness distribution of the target area is complex, for example, the target area includes three distinct areas, i.e., dark, bright, and dark, the target area may be divided into three brightness areas, and the three brightness areas correspond to the three dark, bright, and dark areas, respectively.
For example, the electronic device may include N display screens, brightness of the N display screens may be separately adjusted, the N display screens may be connected and rotated by a hinge between the display screens, or the N display screens may be connected and rotated by a hinge with a main body of the electronic device.
For example, the shooting mode may be a shooting mode of the electronic device, and may also be a video recording mode. The shooting preview screen can be understood as follows: when a user uses the electronic equipment to shoot, continuous image frames collected by a camera of the electronic equipment are displayed in a display area of a screen of the electronic equipment, so that the user can conveniently preview the content to be shot. When a user clicks a photographing button or a video recording button of a photographing interface, the electronic equipment intercepts the content in the photographing preview picture and stores the content in the electronic equipment.
For example, the luminance distribution parameter may be a value, may also be a value interval, and may also be a parameter set composed of luminance parameters of each of the M luminance regions, where the parameter set includes the luminance parameters of each of the M luminance regions. The brightness distribution parameter is used for indicating the brightness distribution condition of the shooting object in the shooting preview picture of the electronic equipment.
For example, as shown in fig. 1, the photographic subject may be divided into two regions (region 11 and region 12), where the luminance parameter of the region 11 is 210 (the luminance parameter of the region may be represented by an average value of RGB values of red, green, and blue of each pixel point in the region 11), the luminance parameter of the region 12 is 150, and the luminance distribution parameter of the region where the photographic subject is located may be {210,150 }.
Wherein, above-mentioned target display screen includes: at least one display screen corresponding to a target brightness region of the M brightness regions among the N display screens; n is an integer of 2 or more.
For example, the brightness of the target area may be affected by the brightness of one or more of the N display screens. Therefore, the electronic device can adjust the screen brightness of at least one display screen corresponding to the target brightness area in the M brightness areas in the N display screens according to the brightness distribution parameter of the target area of the shooting object in the shooting preview picture.
Optionally, the adjusting of the screen brightness of the target display screen may be adjusting the brightness of any area in the target display screen according to needs, or adjusting the brightness of the whole display screen, which is not limited in this embodiment of the application.
Illustratively, the target brightness region may include at least one of: one or more luminance regions among the M luminance regions, the luminance regions having a significant difference from the luminance of the other luminance regions; in the M brightness regions, the brightness parameter does not belong to a brightness region within a preset numerical range, and the preset numerical range is a numerical range representing moderate brightness of a target region where a shooting object is located in a shooting preview picture of the electronic device, and may be set by a user or may be default.
For example, for the electronic device, one or more display screens capable of affecting the brightness of the target brightness region may be provided, so that the electronic device may perform light supplement on the photographic subject by adjusting one or more display screens of the N display screens, and further balance the brightness distribution of the target region of the photographic subject in the shooting preview picture.
For example, as shown in fig. 1, the brightness distribution parameter of the photographic subject is {210,150}, which indicates that the brightness of the photographic subject area 12 is lower than that of the area 11, at this time, the mobile phone 13 may increase the screen brightness of the display 14 (i.e., the target display) corresponding to the area 12 to increase the brightness of the photographic subject area 12, or the mobile phone 13 may decrease the brightness of the display 15 to decrease the brightness of the photographic subject area 11, so as to obtain a better photographic effect.
Exemplarily, different from a technical scheme in which the electronic device obtains an illumination condition of a shooting environment according to an illumination sensor in the related art to adjust screen brightness of a display screen of the electronic device, and further perform light supplement on a shot object, according to the screen light supplement method provided by the embodiment of the present application, the electronic device adjusts screen brightness of one or more display screens of the electronic device according to a brightness distribution condition of the shot object in a shooting preview picture to perform light supplement on different areas of the shot object, so that surface brightness of the shot object is balanced.
In the embodiment of the present application, an example is given in which the electronic device divides a target area where a shooting object is located into two luminance areas, and in fact, the electronic device may further divide the target area into a plurality of luminance areas (for example, 4, 6, or 8 luminance areas).
In this way, when a user uses the electronic device including the N display screens to shoot, the electronic device adjusts the screen brightness of the target display screen corresponding to the target brightness area by acquiring the brightness distribution parameter of the target area where the shooting object is located in the shooting preview picture. Therefore, the electronic equipment can adjust the screen brightness of different display screens according to the brightness distribution condition of the shooting object in the shooting picture, and then respectively supplement light for different areas of the shooting object, so that a user can shoot a picture or a video with a good effect under a complex lighting condition.
Optionally, in the embodiment of the present application, in order to more accurately represent the brightness distribution of the light and shade on the surface of the photographic subject, the electronic device may divide the photographic subject in the shooting preview picture into a plurality of regions, and each region corresponds to one brightness parameter. Then, the electronic equipment generates a brightness parameter set according to the brightness parameters of the plurality of areas to indicate the brightness distribution condition of the surface of the shooting object.
Illustratively, the brightness distribution parameters include: m brightness parameters; one luminance region corresponds to one luminance parameter. That is, the electronic device divides a target area where a shooting object is located in a preview picture into M brightness areas, and each brightness area can indicate the brightness of the brightness area by using a brightness parameter.
Illustratively, the step 202 may include the following steps 202a1 or 202a 2:
in step 202a1, when the brightness parameter corresponding to any brightness region is less than or equal to the first threshold, the screen fill-in light device increases the screen brightness of the first display screen corresponding to the any brightness region to the first screen brightness according to the first predetermined brightness adjustment amount.
Step 202a2, in a case that the brightness parameter corresponding to any brightness area is greater than the second threshold, the screen fill-in light device reduces the screen brightness of the first display screen corresponding to the any brightness area to the second screen brightness according to the second predetermined brightness adjustment amount.
For example, the first threshold is smaller than the second threshold, that is, when the brightness parameter corresponding to any brightness region is in the range of the values between the first threshold and the second threshold, the brightness of the brightness region is moderate, and no adjustment is required. When the brightness parameter corresponding to any brightness area is smaller than a first threshold, the brightness of the brightness area is low, and the area needs to be supplemented with light; when the brightness parameter corresponding to any brightness area is greater than the second threshold, it is indicated that the brightness of the area is high, and if a certain display screen of the electronic device is just supplemented with light, the brightness of the display screen can be reduced, so that the brightness of the area is reduced to a proper range.
Illustratively, the first screen brightness and the second screen brightness respectively belong to the brightness range indicated by the first threshold and the second threshold. The first screen brightness and the second screen brightness may be the same or different, as long as they are within the brightness range indicated by the first threshold and the second threshold.
Further optionally, in this embodiment of the application, the first predetermined brightness adjustment amount is: fixing the brightness adjustment quantity, or the brightness adjustment quantity corresponding to the brightness parameter corresponding to any brightness area; the second predetermined brightness adjustment amount is: the brightness adjustment amount is fixed, or the brightness adjustment amount corresponding to the brightness parameter corresponding to any brightness region.
For example, the first predetermined brightness adjustment amount and the second predetermined brightness adjustment amount may be the same or different, and the first predetermined brightness adjustment amount and the second predetermined brightness adjustment amount may be preset or may be adjusted according to actual situations. For example, taking the first threshold as 180, the second threshold as 200, and the first preset brightness adjustment amount as 20 (for convenience of description, the first preset brightness adjustment amount is an amount that can change the brightness of the brightness region by adjusting the brightness of the display screen), and the brightness of any brightness region is 150, at this time, if the electronic device adjusts the brightness of any brightness region according to the first preset adjustment amount, it is necessary to continuously adjust the brightness of any brightness region twice to be within an appropriate range (greater than or equal to the first threshold and less than or equal to the second threshold), and therefore, the electronic device may set the first preset brightness adjustment amount to 40, and thus, the electronic device may directly adjust the brightness of any brightness region to be within the appropriate range without performing multiple adjustments.
In this way, when the brightness of a certain brightness area is brighter or darker, the electronic device can adjust the brightness of the display screen corresponding to the brightness area, so that the brightness of the brightness area is in an appropriate brightness range.
Optionally, in this embodiment of the application, since the user has different adaptive capacities to the brightness of the display screen under different ambient lights, when the electronic device performs light compensation on the photographic object, the facial expression of the user can be recognized in real time, and stimulation of strong light to the eyes of the user is avoided.
For example, after the step 202, the method for supplementing light to a screen provided in the embodiment of the present application may further include the following step 202 b:
step 202b, the screen light supplement device obtains facial feature parameters of the facial image of the shooting object, which are collected by the camera of the electronic equipment.
Illustratively, the above-mentioned obtaining of the facial feature parameter of the facial image of the photographic subject is used for judging the current expression of the photographic subject according to the facial feature parameter.
For example, when the photographic subject is a person, after the facial feature parameters of the photographic subject are acquired, the step 202 may further include the following step 202 c:
step 202c, in the process of adjusting the screen brightness of the target display screen by the screen light supplement device, if the facial feature parameters indicate that the photographic subject has photophobic expressions (for example, the photographic subject has squint expressions), the screen light supplement device reduces the screen brightness of the target display screen according to a third preset brightness adjustment amount.
For example, the third predetermined brightness adjustment amount may be the same as or different from the first predetermined brightness adjustment amount and the second predetermined brightness adjustment amount, and the third predetermined brightness adjustment amount may be preset or may be adjusted according to actual conditions. The specific adjustment method refers to the first predetermined adjustment amount and the second predetermined adjustment amount, and is not described herein again to avoid redundancy.
For example, in general, the electronic device adjusts the screen brightness of the display screen in a step-by-step adjustment process, that is, the screen brightness of the display screen is gradually increased from dark to light, or gradually decreased from light to dark. Therefore, the facial expression of the photographic subject can be detected in real time during the process of adjusting the screen brightness of the display screen by the electronic equipment. And recognizing the facial expression of the shooting object according to the facial feature parameters by using a face recognition technology, and reducing the brightness adjustment of the target display screen according to a third preset brightness adjustment amount when the facial expression of the shooting object is recognized as a photophobic expression.
In one example, in the process of executing step 202a1, the electronic device detects that the shooting object has photophobic expression, stops increasing the screen brightness, and reduces the screen brightness of the target display screen according to a third predetermined brightness adjustment amount, so as to reduce the stimulation to the eyes of the user.
In another example, when the electronic device detects that the photographic subject has photophobic expression, the values of the first threshold and the second threshold are respectively reduced, so that the light supplement intensity of the display screen of the electronic device to the photographic subject is integrally reduced, and further, the stimulation to the eyes of the user due to the light supplement of the screen is reduced.
For example, when the electronic device performs light supplement on the shooting object, if the shooting object has photophobic expressions, the electronic device may record the brightness parameter of the current environment and the brightness parameter of the current display screen, and then perform light supplement on the screen, determine the brightness adjustment parameter of the display screen according to the brightness parameter of the environment when the user has photophobic expressions each time and the brightness parameter of the display screen, so as to avoid the photophobic expressions of the user. For example, the electronic device may record the current two parameters when the user shows the photophobic expression, and may adjust the screen brightness to a brightness that does not cause the user to show the photophobic expression according to the recorded parameters when performing screen light compensation later, instead of adjusting the screen brightness after waiting for the user to show the photophobic expression.
So, when the display screen of electronic equipment uses electronic equipment auto heterodyne and carry out the light filling at the user, if detect that the user is photophobic expression, then can reduce screen brightness at the very first time, reduce the stimulation to user's eyes, promote the user and use electronic equipment's experience.
Optionally, in this embodiment of the application, since the number of the luminance areas is related to the luminance distribution of the target area, when the electronic device performs light compensation on the photographic subject, one display screen may affect a plurality of luminance areas, so that before the electronic device performs light compensation on a certain area of the photographic subject by using the method, the number of the luminance areas may be first reduced, and further, when the electronic device performs light compensation by adjusting the screen luminance of the display screen, the electronic device may be simpler and more accurate.
For example, when the electronic device is a foldable electronic device, after the step 201, the method for supplementing light to a screen provided by the embodiment of the present application may further include the following steps 201a1 and 201a 2:
step 201a1, the screen light filling device determines the folding parameters of the target display screen according to the brightness distribution parameters.
Illustratively, the folding parameters may include at least one of: the angle at which the target display screen needs to be folded (i.e., the amount of change in the folding angle that needs to be changed compared to the current folding angle), and the angle at which the target display screen forms an angle with a reference (e.g., other display screens or a horizontal plane).
Step 201a2, the screen light supplement device adjusts the folding angle of the target display screen according to the folding parameters.
For example, after obtaining the folding parameters, the step 202 may further include the following step 202c 1:
step 201c1, the screen light supplement device adjusts the screen brightness of the target display screen according to the folding angle and the brightness distribution parameter of the target display screen.
For example, the electronic device may first reduce the number of brightness regions in the target region by adjusting the folding angle of the display screen, and then adjust the screen brightness of the target display screen, so that the brightness distribution of the target region where the shooting object is located in the shooting preview picture is more balanced by the two adjustment methods.
For example, referring to fig. 1, as shown in fig. 3, the mobile phone 30 divides the area where the shooting object is located in the shooting preview picture into three areas, because partial lights of the display 34 and the display 35 are overlapped, the brightness of the area 32 where the lights are overlapped is higher than the brightness of the area 31 and the area 33, at this time, the mobile phone 30 may rotate the display 34 counterclockwise by a certain angle, rotate the display 35 clockwise by a certain angle, so that the lighting overlapped area 32 is reduced or disappeared, and then, if the brightness of the area 31 and the area 33 is lower, the mobile phone 30 may further increase the screen brightness after rotating the display 34 and the display 35.
Therefore, the electronic equipment can supplement light to the shot object by adjusting the folding angle and the screen brightness of the display screen, so that a better light supplementing effect is achieved.
According to the screen light supplementing method provided by the embodiment of the application, the electronic equipment can determine the brightness adjusting parameter of the target display screen according to the brightness distribution parameter of the target area where the shooting object is located in the shooting preview picture, and when the electronic equipment is foldable electronic equipment, the folding angle of the target display screen can be determined at the same time. And then, the electronic equipment adjusts the screen brightness of the target display screen and/or folds the target display screen according to the folding angle, so that when the electronic equipment performs light compensation on the shot object, the surface brightness of the shot object can be uniformly distributed, and an image or a video with better effect can be shot.
It should be noted that in the screen light supplement method provided in the embodiment of the present application, the execution main body may be a screen light supplement device, or a control module in the screen light supplement device for executing the screen light supplement method. In the embodiment of the present application, a screen light supplement method performed by a screen light supplement device is taken as an example to describe the screen light supplement device provided in the embodiment of the present application.
In the embodiments of the present application, the above-described methods are illustrated in the drawings. The screen fill light method is exemplarily described with reference to one of the drawings in the embodiments of the present application. In specific implementation, the screen light supplement method shown in the above method drawings may also be implemented by combining any other drawings that may be combined, which are illustrated in the above embodiments, and will not be described herein again.
Fig. 4 is a schematic structural diagram of a possible structure of a screen light supplement device including N display screens according to an embodiment of the present application, and as shown in fig. 4, the screen light supplement device 600 includes: an obtaining module 601 and an adjusting module 602, wherein:
an obtaining module 601, configured to obtain a brightness distribution parameter of a target area in a shooting preview picture under a condition that the shooting preview picture is displayed; the target area comprises M brightness areas, and each brightness area corresponds to at least one display screen; an adjusting module 602, configured to adjust the screen brightness of the target display screen according to the brightness distribution parameter obtained by the obtaining module 601; wherein, the target display screen includes: at least one of the N display screens corresponding to a target brightness region of the M brightness regions.
Optionally, the brightness distribution parameters include: m brightness parameters; one brightness area corresponds to one brightness parameter; the adjusting module 602 is specifically configured to, when the brightness parameter corresponding to any brightness area is less than or equal to a first threshold, increase the screen brightness of the first display screen corresponding to any brightness area to a first screen brightness according to a first predetermined brightness adjustment amount; the adjusting module 602 is specifically configured to, under the condition that the brightness parameter corresponding to any brightness region is greater than the second threshold, reduce the screen brightness of the first display screen corresponding to any brightness region to the second screen brightness according to a second predetermined brightness adjustment amount.
Optionally, the first predetermined brightness adjustment amount is: fixing the brightness adjustment quantity, or the brightness adjustment quantity corresponding to the brightness parameter corresponding to any brightness area; the second predetermined brightness adjustment amount is: the brightness adjustment amount is fixed, or the brightness adjustment amount corresponding to the brightness parameter corresponding to any brightness region.
Optionally, the obtaining module 601 is further configured to obtain facial feature parameters of a facial image of a shooting object collected by a camera; the adjusting module 602 is specifically configured to, in the process of adjusting the screen brightness of the target display screen, reduce the screen brightness of the target display screen according to a third predetermined brightness adjustment amount if the facial feature parameter acquired by the acquiring module 601 indicates that the photographic subject has photophobic expressions.
Optionally, the electronic device is a foldable electronic device, as shown in fig. 4, the screen light supplement device 600 further includes: a determination module 603 and a control module 604; a determining module 603, configured to determine a folding parameter of the target display screen according to the brightness distribution parameter obtained by the obtaining module 601; a control module 604, configured to adjust a folding angle of the target display screen according to the folding parameter determined by the determining module 603; the adjusting module 602 is specifically configured to adjust the screen brightness of the target display screen according to the folding angle of the target display screen and the brightness distribution parameter obtained by the obtaining module 601.
It should be noted that, as shown in fig. 4, modules that are necessarily included in the screen light supplement device 600 are indicated by solid line boxes, such as an obtaining module 601 and an adjusting module 602; modules that may be included in the screen fill light apparatus 600 are illustrated by dashed boxes, such as the determination module 603 and the control module 604.
The screen light supplement device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The screen light supplement device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The screen light supplement device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
According to the screen light supplementing device provided by the embodiment of the application, the electronic equipment can determine the brightness adjusting parameter of the target display screen according to the brightness distribution parameter of the target area where the shooting object is located in the shooting preview picture, and when the electronic equipment is foldable electronic equipment, the folding angle of the target display screen can be determined simultaneously. And then, the electronic equipment adjusts the screen brightness of the target display screen and/or folds the target display screen according to the folding angle, so that when the electronic equipment performs light compensation on the shot object, the surface brightness of the shot object can be uniformly distributed, and an image or a video with better effect can be shot.
Optionally, as shown in fig. 5, an electronic device M00 is further provided in this embodiment of the present application, and includes a processor M01, a memory M02, and a program or an instruction stored in the memory M02 and executable on the processor M01, where the program or the instruction when executed by the processor M01 implements each process of the foregoing embodiment of the screen supplementary lighting method, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 110 is configured to, in a case where the shooting preview screen is displayed, acquire a brightness distribution parameter of a target area in the shooting preview screen. And the display unit 106 is configured to adjust the screen brightness of the target display screen according to the brightness distribution parameter obtained by the processor 110.
In this way, when a user uses the electronic device including the N display screens to shoot, the electronic device adjusts the screen brightness of the target display screen corresponding to the target brightness area by acquiring the brightness distribution parameter of the target area where the shooting object is located in the shooting preview picture. Therefore, the electronic equipment can adjust the screen brightness of different display screens according to the brightness distribution condition of the shooting object in the shooting picture, and then performs distinguishing light supplement for different areas of the shooting object, so that a user can shoot a picture or a video with a good effect under a complex lighting condition.
Optionally, the display unit 106 is specifically configured to, when the brightness parameter corresponding to any brightness area is less than or equal to the first threshold, increase the screen brightness of the first display screen corresponding to any brightness area to the first screen brightness according to the first predetermined brightness adjustment amount. The display unit 106 is specifically configured to, when the brightness corresponding to any brightness region is greater than the second threshold, reduce the screen brightness of the first display screen corresponding to any brightness region to the second screen brightness according to the second predetermined brightness adjustment amount.
In this way, when the brightness of a certain brightness area is brighter or darker, the electronic device can adjust the brightness of the display screen corresponding to the brightness area, so that the brightness of the brightness area is in an appropriate brightness range.
Optionally, the processor 110 is further configured to obtain facial feature parameters of a facial image of the photographic subject captured by the camera. The display unit 106 is specifically configured to, in the process of adjusting the screen brightness of the target display screen, if the facial feature parameter acquired by the processor 110 indicates that the photographic subject has photophobic expression, decrease the screen brightness of the target display screen according to a third predetermined brightness adjustment amount.
So, when the display screen of electronic equipment uses electronic equipment auto heterodyne and carry out the light filling at the user, if detect that the user is photophobic expression, then can reduce screen brightness at the very first time, reduce the stimulation to user's glasses, promote the user and use electronic equipment's experience.
Optionally, the processor 110 is configured to determine a folding parameter of the target display screen according to the brightness distribution parameter. And the display unit 106 is used for adjusting the folding angle of the target display screen according to the folding parameters. The display unit 106 is specifically configured to adjust the screen brightness of the target display screen according to the folding angle and the brightness distribution parameter of the target display screen.
Therefore, the electronic equipment can supplement light to the shot object by adjusting the folding angle and the screen brightness of the display screen, so that a better light supplementing effect is achieved.
According to the electronic equipment provided by the embodiment of the application, the electronic equipment can determine the brightness adjustment parameter of the target display screen according to the brightness distribution parameter of the target area where the shooting object is located in the shooting preview picture, and when the electronic equipment is foldable electronic equipment, the folding angle of the target display screen can be determined simultaneously. And then, the electronic equipment adjusts the screen brightness of the target display screen and/or folds the target display screen according to the folding angle, so that when the electronic equipment performs light compensation on the shot object, the surface brightness of the shot object can be uniformly distributed, and an image or a video with better effect can be shot.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the processes of the foregoing embodiment of the screen light supplement method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned screen light supplement method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (12)
1. A screen light supplement method is applied to an electronic device comprising N display screens, and is characterized by comprising the following steps:
acquiring a brightness distribution parameter of a target area in a shooting preview picture under the condition of displaying the shooting preview picture; the target area comprises M brightness areas, and each brightness area corresponds to at least one display screen; m is an integer greater than or equal to 2;
adjusting the screen brightness of the target display screen according to the brightness distribution parameter;
wherein the target display screen comprises: at least one display screen of the N display screens corresponding to a target brightness region of the M brightness regions; n is an integer of 2 or more.
2. The method of claim 1, wherein the brightness distribution parameters comprise: m brightness parameters; one brightness area corresponds to one brightness parameter;
the adjusting the screen brightness of the target display screen according to the brightness distribution parameter includes:
under the condition that the brightness parameter corresponding to any brightness area is smaller than or equal to a first threshold value, according to a first preset brightness adjustment amount, increasing the screen brightness of a first display screen corresponding to any brightness area to first screen brightness;
and under the condition that the brightness parameter corresponding to any brightness area is larger than a second threshold value, reducing the screen brightness of the first display screen corresponding to any brightness area to a second screen brightness according to a second preset brightness adjustment amount.
3. The method of claim 2,
the first predetermined brightness adjustment amount is: fixing a brightness adjustment amount, or a brightness adjustment amount corresponding to a brightness parameter corresponding to the any brightness region;
the second predetermined brightness adjustment amount is: and fixing the brightness adjustment amount, or the brightness adjustment amount corresponding to the brightness parameter corresponding to any brightness region.
4. The method of claim 1,
before the adjusting the screen brightness of the target display screen according to the brightness distribution parameter, the method further includes:
acquiring facial feature parameters of a facial image of a shooting object acquired by a camera;
the adjusting the screen brightness of the target display screen according to the brightness distribution parameter includes:
and in the process of adjusting the screen brightness of the target display screen, if the facial feature parameters indicate that the shooting object has photophobic expressions, reducing the screen brightness of the target display screen according to a third preset brightness adjustment amount.
5. The method according to claim 1, wherein in a case where the electronic device is a foldable electronic device, after the obtaining of the brightness distribution parameter of the photographic subject, the method further comprises:
determining the folding parameters of the target display screen according to the brightness distribution parameters;
adjusting the folding angle of the target display screen according to the folding parameters;
the adjusting the screen brightness of the target display screen according to the brightness distribution parameter includes:
and adjusting the screen brightness of the target display screen according to the folding angle of the target display screen and the brightness distribution parameter.
6. The utility model provides a screen light filling device, its characterized in that, screen light filling device contains N display screens, screen light filling device includes: the device comprises an acquisition module and an adjustment module;
the acquisition module is used for acquiring the brightness distribution parameter of the target area in the shooting preview picture under the condition of displaying the shooting preview picture; the target area comprises M brightness areas, and each brightness area corresponds to at least one display screen; m is an integer greater than or equal to 2;
the adjusting module is used for adjusting the screen brightness of the target display screen according to the brightness distribution parameters acquired by the acquiring module;
wherein the target display screen comprises: at least one display screen of the N display screens corresponding to a target brightness region of the M brightness regions; n is an integer of 2 or more.
7. The apparatus of claim 6, wherein the brightness distribution parameters comprise: m brightness parameters; one brightness area corresponds to one brightness parameter;
the adjusting module is specifically configured to, when the brightness parameter corresponding to any brightness area is less than or equal to a first threshold, increase the screen brightness of the first display screen corresponding to the any brightness area to a first screen brightness according to a first predetermined brightness adjustment amount;
the adjusting module is specifically configured to, when the brightness parameter corresponding to any brightness region is greater than a second threshold, reduce the screen brightness of the first display screen corresponding to any brightness region to a second screen brightness according to a second predetermined brightness adjustment amount.
8. The apparatus of claim 7,
the first predetermined brightness adjustment amount is: fixing a brightness adjustment amount, or a brightness adjustment amount corresponding to a brightness parameter corresponding to the any brightness region;
the second predetermined brightness adjustment amount is: and fixing the brightness adjustment amount, or the brightness adjustment amount corresponding to the brightness parameter corresponding to any brightness region.
9. The apparatus of claim 6,
the acquisition module is also used for acquiring facial feature parameters of a facial image of a shooting object acquired by the camera;
the adjusting module is specifically configured to, in the process of adjusting the screen brightness of the target display screen, reduce the screen brightness of the target display screen according to a third predetermined brightness adjustment amount if the facial feature parameter acquired by the acquiring module indicates that the photographic subject has photophobic expression.
10. The apparatus of claim 6, wherein the apparatus is a foldable electronic device; the device further comprises: a determination module and a control module;
the determining module is used for determining the folding parameters of the target display screen according to the brightness distribution parameters acquired by the acquiring module;
the control module is used for adjusting the folding angle of the target display screen according to the folding parameters determined by the determination module;
the adjusting module is specifically configured to adjust the screen brightness of the target display screen according to the folding angle of the target display screen and the brightness distribution parameter acquired by the acquiring module.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the screen fill lighting method of any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the screen fill lighting method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010582693.5A CN111901519B (en) | 2020-06-23 | 2020-06-23 | Screen light supplement method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010582693.5A CN111901519B (en) | 2020-06-23 | 2020-06-23 | Screen light supplement method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111901519A CN111901519A (en) | 2020-11-06 |
CN111901519B true CN111901519B (en) | 2022-01-28 |
Family
ID=73207858
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010582693.5A Active CN111901519B (en) | 2020-06-23 | 2020-06-23 | Screen light supplement method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111901519B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473008B (en) * | 2021-06-25 | 2023-01-24 | 维沃移动通信(杭州)有限公司 | Shooting method and device |
CN115315047A (en) * | 2022-09-06 | 2022-11-08 | 中国第一汽车股份有限公司 | Method and device for adjusting brightness of lamp in automobile room, electronic equipment and medium |
CN116456199B (en) * | 2023-06-16 | 2023-10-03 | Tcl通讯科技(成都)有限公司 | Shooting light supplementing method, shooting light supplementing device, electronic equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108605096A (en) * | 2016-11-29 | 2018-09-28 | 华为技术有限公司 | A kind of electronic equipment image pickup method and device |
CN108616699A (en) * | 2018-04-25 | 2018-10-02 | 努比亚技术有限公司 | It takes pictures light compensation method, equipment and computer storage media |
CN108900780A (en) * | 2018-06-28 | 2018-11-27 | 努比亚技术有限公司 | A kind of screen light compensation method, mobile terminal and storage medium |
CN108965728A (en) * | 2018-07-06 | 2018-12-07 | 维沃移动通信有限公司 | A kind of brightness adjusting method and terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013242504A (en) * | 2012-05-23 | 2013-12-05 | Sony Corp | Electronic mirror device, electronic mirror display method, and electronic mirror program |
CN104902626A (en) * | 2015-05-20 | 2015-09-09 | 叶樱沂 | Lamp control system and method |
CN108040209B (en) * | 2017-12-20 | 2019-12-13 | 维沃移动通信有限公司 | Shooting method and mobile terminal |
CN110891148A (en) * | 2018-09-11 | 2020-03-17 | 西安中兴新软件有限责任公司 | Self-timer light supplement method and system, double-screen terminal and computer readable storage medium |
CN109561258B (en) * | 2018-11-15 | 2020-11-13 | 维沃移动通信有限公司 | Light supplementing method and terminal equipment |
CN110290331B (en) * | 2019-07-24 | 2021-09-03 | 维沃移动通信(杭州)有限公司 | Screen control method and terminal |
-
2020
- 2020-06-23 CN CN202010582693.5A patent/CN111901519B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108605096A (en) * | 2016-11-29 | 2018-09-28 | 华为技术有限公司 | A kind of electronic equipment image pickup method and device |
CN108616699A (en) * | 2018-04-25 | 2018-10-02 | 努比亚技术有限公司 | It takes pictures light compensation method, equipment and computer storage media |
CN108900780A (en) * | 2018-06-28 | 2018-11-27 | 努比亚技术有限公司 | A kind of screen light compensation method, mobile terminal and storage medium |
CN108965728A (en) * | 2018-07-06 | 2018-12-07 | 维沃移动通信有限公司 | A kind of brightness adjusting method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111901519A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110675310B (en) | Video processing method and device, electronic equipment and storage medium | |
CN111901519B (en) | Screen light supplement method and device and electronic equipment | |
CN108307125B (en) | Image acquisition method, device and storage medium | |
CN111654635A (en) | Shooting parameter adjusting method and device and electronic equipment | |
CN104883504B (en) | Open the method and device of high dynamic range HDR functions on intelligent terminal | |
CN109191410A (en) | A kind of facial image fusion method, device and storage medium | |
WO2023056950A1 (en) | Image processing method and electronic device | |
CN112289278A (en) | Screen brightness adjusting method, screen brightness adjusting device and electronic equipment | |
CN112947824A (en) | Display parameter adjusting method and device, electronic equipment and medium | |
KR20230041648A (en) | Multi-frame depth-based multi-camera relighting of images | |
CN110442313B (en) | Display attribute adjusting method and related equipment | |
CN114242023A (en) | Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment | |
CN112419218B (en) | Image processing method and device and electronic equipment | |
CN112969088A (en) | Screen projection control method and device, electronic equipment and readable storage medium | |
CN112511890A (en) | Video image processing method and device and electronic equipment | |
CN112508820A (en) | Image processing method and device and electronic equipment | |
CN105761267B (en) | A kind of method and device of image procossing | |
CN113473008B (en) | Shooting method and device | |
CN113393391B (en) | Image enhancement method, image enhancement device, electronic apparatus, and storage medium | |
CN113962840A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN110545375B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110874816B (en) | Image processing method, device, mobile terminal and storage medium | |
CN113487497A (en) | Image processing method and device and electronic equipment | |
CN112672056A (en) | Image processing method and device | |
CN111866401A (en) | Shooting method and device and electronic equipment |
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 |