WO2021063099A1 - 拍摄方法及电子设备 - Google Patents

拍摄方法及电子设备 Download PDF

Info

Publication number
WO2021063099A1
WO2021063099A1 PCT/CN2020/105557 CN2020105557W WO2021063099A1 WO 2021063099 A1 WO2021063099 A1 WO 2021063099A1 CN 2020105557 W CN2020105557 W CN 2020105557W WO 2021063099 A1 WO2021063099 A1 WO 2021063099A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
display screen
camera
value
electronic device
Prior art date
Application number
PCT/CN2020/105557
Other languages
English (en)
French (fr)
Inventor
江略
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Priority to EP20872630.7A priority Critical patent/EP4040774A4/en
Publication of WO2021063099A1 publication Critical patent/WO2021063099A1/zh
Priority to US17/696,699 priority patent/US12025887B2/en

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/13Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on liquid crystals, e.g. single liquid crystal display cells
    • G02F1/133Constructional arrangements; Operation of liquid crystal cells; Circuit arrangements
    • G02F1/1333Constructional arrangements; Manufacturing methods
    • G02F1/1343Electrodes
    • G02F1/134309Electrodes characterised by their geometrical arrangement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/13Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on liquid crystals, e.g. single liquid crystal display cells
    • G02F1/133Constructional arrangements; Operation of liquid crystal cells; Circuit arrangements
    • G02F1/1333Constructional arrangements; Manufacturing methods
    • G02F1/1335Structural association of cells with optical devices, e.g. polarisers or reflectors
    • G02F1/133528Polarisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display
    • H04N7/144Constructional details of the terminal equipment, e.g. arrangements of the camera and the display camera and display on the same optical axis, e.g. optically multiplexing the camera and display for eye to eye contact
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/142Constructional details of the terminal equipment, e.g. arrangements of the camera and the display
    • H04N2007/145Handheld terminals

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a photographing method and electronic equipment.
  • the under-screen camera in the electronic device usually uses a fixed aperture. Therefore, when the user uses the electronic device to take a photo, the amount of light Fixed, it is likely to cause poor shooting results.
  • the embodiments of the present disclosure provide a shooting method and electronic device to solve the problem of poor shooting effect due to the traditional electronic device with an under-screen camera adopting a fixed aperture.
  • embodiments of the present disclosure provide a shooting method, which is applied to an electronic device including a display screen and a camera, and the camera is located below the display screen.
  • the display screen includes a first polarizer and a second polarizer.
  • the electrode voltage of the display screen is adjusted to the target voltage value; wherein, when the electrode voltage of the display screen is the target voltage value, the light transmittance of the display screen satisfies a preset condition; the first image is acquired through the camera.
  • an embodiment of the present disclosure also provides an electronic device, the electronic device includes a display screen and a camera, the camera is located below the display screen, the display screen includes a first polarizer and a second polarizer, the first There is liquid crystal between the polarizer and the second polarizer, and the electronic device includes:
  • the adjustment module is used to adjust the electrode voltage of the display screen to the target voltage value; wherein, when the electrode voltage of the display screen is the target voltage value, the light transmittance of the display screen satisfies a preset condition; the acquisition module uses To obtain the first image through the above-mentioned camera.
  • the embodiments of the present disclosure provide an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor to achieve the following The steps of the shooting method described in one aspect.
  • the embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the photographing method as described in the first aspect are implemented.
  • the electronic device adjusts the electrode voltage of the display screen of the electronic device to the target voltage value, and when the electrode voltage of the display screen of the electronic device is the target voltage value, the electronic device obtains The first image.
  • the electrode voltage of the display screen of the electronic device is the target voltage value
  • the light transmittance of the display screen of the electronic device satisfies the preset condition
  • the embodiment of the present disclosure can be used for the light transmittance of the display screen of the electronic device. Shoot when the overrate meets the preset conditions, so that the shooting results are more in line with the specific needs of the user.
  • FIG. 1 is a schematic diagram of incident light passing through a display screen provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a possible camera system provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of a photographing method provided by an embodiment of the disclosure.
  • FIG. 5 is one of the schematic diagrams of a shooting interface of an electronic device provided by an embodiment of the disclosure.
  • FIG. 6 is a second schematic diagram of a shooting interface of an electronic device provided by an embodiment of the disclosure.
  • FIG. 7 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the disclosure.
  • FIG. 8 is the second structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 9 is the third structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 10 is a fourth structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 11 is a fifth structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 12 is a sixth structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 13 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the disclosure.
  • A/B can mean A or B
  • the "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • the execution subject of a photographing method provided by an embodiment of the present disclosure may be the above-mentioned electronic device (including mobile electronic equipment and non-mobile electronic equipment), or may be a functional module and/or function in the electronic device that can implement the photographing method.
  • the entity can be specifically determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the following takes an electronic device as an example to illustrate the shooting method provided by the embodiment of the present disclosure.
  • the electronic device in the embodiment of the present disclosure may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA)
  • the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present disclosure does not specifically limit it.
  • the electronic device in the embodiment of the present disclosure includes a display screen and a camera, and the camera is located below the display screen.
  • the above-mentioned display screen includes: a polarizer, electrodes and liquid crystals.
  • a polarizer and an electrode at the upper and lower positions of the display screen, and the electrodes are located inside the polarizer, and liquid crystal molecules are filled inside the display screen.
  • FIG. 1 is a schematic diagram of incident light passing through a display screen provided by an embodiment of the disclosure.
  • the display screen 50 includes: an upper polarizer 50a, an upper electrode 50b, a lower electrode 50c, and a lower polarizer. ⁇ 50d.
  • the camera 51 is located below the display screen 50; the above-mentioned upper polarizer 50a, upper electrode 50b, lower electrode 50c, and lower polarizer 50d are sequentially stacked to form the display screen 50; the upper polarizer 50a can transmit transverse light, The longitudinal light is shielded; the above-mentioned lower polarizer 50d can transmit longitudinal light and shield the transverse light; liquid crystal molecules are filled between the upper electrode 50b and the lower electrode 50c.
  • the incident light 52 After the incident light 52 enters the display screen 50, it will pass through the upper polarizer 50a.
  • the upper polarizer 50a will shield the longitudinal light of the incident light 52 and only pass the transverse light of the incident light 52.
  • the electronic device applies a certain voltage to the upper electrode 50b and the lower electrode 50c, so that the liquid crystal molecules between the upper electrode 50b and the lower electrode 50c are subjected to the electric field effect of the twisted phase sequence, thereby changing the transmission of the upper electrode 50b and the lower electrode 50c.
  • the transverse light passing through the upper polarizer 50a becomes longitudinal light, and then enters the camera 51 through the lower polarizer 50b. So as to control the transmittance of incident light through the display screen.
  • FIG. 2 is a schematic structural diagram of a possible camera system provided by an embodiment of the present disclosure.
  • the architecture of the camera system includes 4 layers, namely: the camera hardware layer, the drive control layer, the camera system layer, and the camera application layer. Among them:
  • the camera hardware layer includes two parts: the display screen and the camera.
  • the drive control layer is mainly used to provide an interface for the camera system layer.
  • the interface includes functions for registration, initialization, sleep, wakeup, SetAperture, and GetAperture.
  • registration and initialization provide the driver with the module registration process of the Android operating system kernel; sleep and wake provide the process of sleep and wake-up for the driver.
  • the display control is released to reduce power consumption ;
  • the camera system is awakened, the last setting is restored.
  • the input parameter of the SetAperture function is mainly the transmittance of the display screen. Success or failure is returned. The result of the function execution will adjust the transmittance of the display screen according to the input parameters.
  • the GetAperture function returns the current transmittance.
  • the camera system layer is used to control the data conversion between the camera application layer and the drive control layer.
  • the camera system layer is also used to receive a command from the camera application layer (that is, the input parameter is an aperture value), convert the aperture value into the transmittance of the drive control layer according to the command, and transmit it to the drive control layer.
  • the camera application layer provides two control modes: automatic mode and professional mode.
  • the electronic device in the embodiment of the present disclosure may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment applied by the shooting method provided in the embodiments of the present disclosure.
  • FIG. 3 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the shooting method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 3, so that the shooting method It can be run based on the Android operating system as shown in FIG. 3. That is, the processor or the electronic device can implement the shooting method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
  • FIG. 4 is a schematic flowchart of a shooting method provided by an embodiment of the present disclosure.
  • the method includes step 201 and step 202:
  • Step 201 The electronic device adjusts the electrode voltage of the display screen to the target voltage value.
  • the light transmittance of the display screen of the electronic device meets the preset condition.
  • the light transmittance of the display screen of the above-mentioned electronic device satisfies the preset condition refers to that: the light transmittance of the display screen of the above-mentioned electronic device reaches the predetermined light transmittance.
  • the aforementioned predetermined light transmittance may be: the light transmittance of the display screen corresponding to the target aperture value.
  • the above-mentioned light transmittance meeting the preset condition may also mean that the light transmittance is lower than the predetermined light transmittance, the light transmittance matches the current scene of the electronic device, etc. The embodiment of the present disclosure does not specifically limit this.
  • the light transmittance of the display screen is related to the light transmittance corresponding to the aperture value.
  • the terminal device can adjust the aperture of the display screen to an appropriate aperture value by adjusting the voltage value.
  • Step 202 The electronic device obtains the first image through the camera of the electronic device.
  • the photographing method provided by the embodiments of the present disclosure adjusts the electrode voltage of the display screen of the electronic device to a target voltage value, and when the electrode voltage of the display screen of the electronic device is the target voltage value, the first image is obtained through the camera of the electronic device.
  • the electrode voltage of the display screen of the electronic device is the target voltage value
  • the light transmittance of the display screen of the electronic device satisfies the preset condition
  • the embodiment of the present disclosure can be used for the light transmittance of the display screen of the electronic device. Shoot when the overrate meets the preset conditions, so that the shooting results are more in line with the specific needs of the user.
  • the method may further include the following steps:
  • Step A The electronic device displays the target aperture information corresponding to the target voltage value in the shooting interface.
  • the target aperture information includes at least one of the following: an aperture pattern and an aperture value.
  • the above-mentioned aperture pattern can represent the real-time aperture value of the camera in the electronic device, that is, the above-mentioned aperture pattern can feed back the real-time aperture value to the user in time.
  • the electronic device when it adjusts the electrode voltage of the display screen, it can display the size of the corresponding aperture value in the shooting interface in real time, so as to feed back the real-time aperture value to the user in time.
  • the mobile phone includes a camera (ie, 40 in FIG. 5) and a display screen (ie, 41 in FIG. 5), and the camera is located at the top of the display screen.
  • the mobile phone displays the shooting interface (ie 42 in Figure 5).
  • the shooting interface ie 42 in Figure 5
  • the electrode voltage of the display screen is adjusted to the target voltage value, and the shooting controls on the shooting interface
  • the method further includes:
  • Step 301 The electronic device determines the target aperture value of the camera.
  • the aperture value in the embodiment of the present disclosure is not the aperture value of a real aperture, but the camera in the electronic device has the same aperture effect as other cameras with adjustable apertures. That is, the target aperture value in the embodiment of the present disclosure can represent a specific aperture effect.
  • step 202 may include the following step 302:
  • Step 302 The electronic device adjusts the electrode voltage of the display screen to a target voltage value corresponding to the target aperture value.
  • the light transmittance in the display screen matches the light transmittance corresponding to the target aperture value.
  • the match between the transmittance of the light in the display screen and the light transmittance corresponding to the target aperture value means that the transmittance of the light in the display screen corresponds to the target aperture value.
  • the light transmittance is the same, or the difference between the transmittance of the light in the display screen and the light transmittance corresponding to the target aperture value is less than or equal to the preset threshold.
  • the liquid crystal molecules in the display screen are subjected to the voltage, which causes the liquid crystal molecules to have an electric field effect of twisting the phase sequence, thereby changing the deflection angle of the light, thereby achieving control of the light
  • the transmittance in the display when an electronic device applies a voltage to the electrodes in the display screen, the liquid crystal molecules in the display screen are subjected to the voltage, which causes the liquid crystal molecules to have an electric field effect of twisting the phase sequence, thereby changing the deflection angle of the light, thereby achieving control of the light
  • the transmittance in the display when an electronic device applies a voltage to the electrodes in the display screen, the liquid crystal molecules in the display screen are subjected to the voltage, which causes the liquid crystal molecules to have an electric field effect of twisting the phase sequence, thereby changing the deflection angle of the light, thereby achieving control of the light
  • the transmittance in the display when an electronic device applies a voltage to the electrodes in the display screen, the liquid crystal molecules in the display screen are subjecte
  • the aperture value of the camera is mainly used to adjust the transmittance of light in the camera.
  • the larger the aperture value of the camera the smaller the transmittance of light in the camera.
  • the smaller the aperture value of the camera the greater the transmittance of light in the camera.
  • the aperture value of the camera is mainly used to adjust the transmittance of light in the camera, and the change of the electrode voltage in the display screen will also cause the transmittance of light in the display screen.
  • the electronic device can adjust the voltage of the light in the camera by adjusting the electrode voltage in the display. Transmittance is to achieve the purpose of adjusting the aperture value of the camera.
  • the aperture value of the camera is inversely proportional to the electrode voltage value of the display screen. That is, when the aperture value of the camera is smaller, the electrode voltage value of the corresponding display screen is larger; on the contrary, when the aperture value of the camera is larger, the electrode voltage value of the corresponding display screen is smaller.
  • Example 1 When the electrode voltage value of the display screen is the maximum value, the deflection angle of the light in the liquid crystal molecules is exactly 90 degrees. At this time, all the light will pass through the lower polarizer in the display screen, corresponding to the aperture The value is the minimum value;
  • Example 2 When the aperture value of the camera is the maximum value, the electrode voltage value of the corresponding display screen is 0. At this time, the light does not undergo angular deflection in the display screen, and the light transmittance in the display screen 0, that is, no light passes through the lower polarizer in the display;
  • Example 3 When the aperture value is between the minimum and maximum, the electrode voltage of the corresponding display is between the maximum and minimum, and the light part Through the lower polarizer in the display.
  • the mapping relationship between the aperture value of the camera and the transmittance of light in the display screen can be determined by the following formula 1 To reflect. Based on the above formula 1, it can be seen that the transmittance of light in the display screen is inversely proportional to the square of the aperture value of the camera.
  • I in the above formula 1 is the transmittance of light in the display screen
  • is the aperture coefficient
  • F is the aperture value.
  • the light transmittance in the display screen is 100%, that is, all the light passes through the lower polarizer in the display screen, that is, I Is 100%.
  • the transmittance of the corresponding light in the display screen gradually decreases.
  • the electronic device can adjust the electrode voltage of the display screen to the target voltage value corresponding to the target aperture value by determining the target aperture value of the camera; wherein, the electrode voltage of the display screen is the value of the display screen when the target voltage value is the above.
  • the light transmittance is matched with the light transmittance corresponding to the above-mentioned target aperture value.
  • the electronic device can adjust the light transmittance by controlling the electrode voltage of the display screen to achieve an adjustable aperture effect, thereby solving the problem of the limited adjustable light range caused by the fixed aperture of the camera in the electronic device.
  • the electronic device determines the target aperture value of the camera
  • at least the following two implementation manners can be used.
  • step 301 the method further includes step 301a and step 301b:
  • Step 301a The electronic device displays the shooting interface.
  • Step 301b The electronic device receives the user's first input on the shooting interface.
  • step 301 specifically includes step 301c:
  • Step 301c In response to the aforementioned first input, the electronic device determines the target aperture value of the aforementioned camera.
  • the above-mentioned first input may include: the user's click input on the shooting interface, or the user's sliding input on the shooting interface, or the user's pressing input on the shooting interface, or the user's input on the display screen.
  • Other feasibility inputs for can be specifically determined according to actual usage requirements, and the embodiments of the present disclosure are not limited.
  • the above-mentioned click input may be a single-click input, a double-click input, or any number of click input, etc.; the above-mentioned click input may also be a long-press input or a short-press input, and the above-mentioned sliding input may be sliding in any direction. Input, for example, sliding up, sliding down, left or right, etc., and the sliding track of the above sliding input can be a straight line or a curve, and the specific can be set according to actual needs.
  • the aforementioned shooting interface includes a target adjustment control, and the first input is a first input for the aforementioned target adjustment control.
  • the aforementioned target adjustment control may be superimposed and displayed in the shooting interface with a preset transparency.
  • the preset transparency is marked as T1
  • the value range of T1 may be 0% ⁇ T1 ⁇ 100%.
  • the target adjustment control can also be displayed on the shooting interface with high brightness or low brightness, which is not limited in the embodiment of the present disclosure.
  • the shape of the above-mentioned target adjustment control can be any possible shape such as circle, rectangle, triangle, diamond, ring or polygon, or it can directly be a specific value, which can be determined according to actual usage requirements.
  • the embodiment is not limited.
  • Example 1 Taking the target adjustment control as the aperture value adjustment buttons "+” and “-” as an example, the user clicks the button “+” displayed on the screen to increase the aperture value of the camera according to the preset ratio, and then clicks the button “-” Decrease the aperture value of the camera according to the preset ratio.
  • Example 2 Taking the target adjustment control as the aperture value scroll bar as an example, the ratio on the aperture value scroll bar is 0-100%, and the user can slide or click on the aperture value scroll bar to increase or decrease the adjustment Ratio, and then adjust the aperture value of the camera.
  • step 301 includes step 301d1 and step 301d2:
  • Step 301d1 The electronic device adjusts the exposure value of the camera.
  • Step 301d2 If the target brightness corresponding to the current exposure value matches the preset brightness, the electronic device uses the aperture value corresponding to the current exposure value as the target aperture value.
  • the target brightness is: the brightness of a picture taken by the camera under the current exposure value.
  • the aforementioned preset brightness may be a fixed value, or may be flexibly adjusted according to actual application scenarios, which is not limited in the embodiments of the present disclosure.
  • the exposure value of the camera is composed of: exposure time, sensitivity value, and aperture value.
  • formula 2 may be used to reflect the correlation between the exposure value of the camera, the exposure time, the sensitivity value, and the aperture value.
  • formula 2 is: EV is the exposure value, T is the exposure time, ISO is the sensitivity value, and F is the aperture value.
  • the electronic device when the electronic device uses the aperture value corresponding to the current exposure value as the target aperture value, it can also adjust the current exposure time to the exposure time corresponding to the current exposure value, and adjust the current exposure time to the current exposure time.
  • the sensitivity value corresponding to the exposure value when the electronic device uses the aperture value corresponding to the current exposure value as the target aperture value, it can also adjust the current exposure time to the exposure time corresponding to the current exposure value, and adjust the current exposure time to the current exposure time.
  • the sensitivity value corresponding to the exposure value when the electronic device uses the aperture value corresponding to the current exposure value as the target aperture value, it can also adjust the current exposure time to the exposure time corresponding to the current exposure value, and adjust the current exposure time to the current exposure time.
  • the match between the target brightness corresponding to the current exposure value and the preset brightness may be: the absolute difference between the target brightness corresponding to the current exposure value and the preset brightness is greater than or equal to 0 and less than a predetermined threshold.
  • the electronic device may determine the aperture value corresponding to the current exposure value according to the first correspondence table.
  • the above-mentioned first correspondence table is used to characterize the correspondence between the exposure value and the exposure parameter (i.e., the aperture value, or at least one of the exposure time and the sensitivity value and the aperture value).
  • the electronic device uses the current exposure value (that is, the currently adjusted exposure value) as an index, and searches for the aperture value corresponding to the current exposure value in the above-mentioned first correspondence table.
  • the exposure value in the above-mentioned first correspondence table increases from small to large, and the first correspondence table
  • a correspondence table can be divided into two parts.
  • the exposure time and sensitivity values of all exposure values in the first part are fixed values, the aperture value gradually decreases from large to small, and all exposure values in the second part are fixed.
  • the aperture value is a fixed value, and the exposure time and sensitivity value alternately increase from small to large.
  • the electronic device when it determines the target brightness corresponding to the current exposure value, it may determine the target brightness corresponding to the current exposure value based on the second pre-configured correspondence table.
  • the above-mentioned second correspondence table is used to characterize the correspondence between the exposure value of the camera and the image brightness.
  • the image brightness corresponding to each exposure value in the above second correspondence table may be an empirical value, or may be the image brightness of an image taken by the electronic device with the exposure value (for example, the average value of the brightness of the image), The embodiment of the present disclosure does not limit this.
  • the electronic device adjusts the exposure value of the camera, and uses the current exposure value (that is, the current adjusted exposure value) as an index, and searches for the target brightness corresponding to the current exposure value in the above-mentioned second correspondence table.
  • the aperture value corresponding to the current exposure value is used as the target aperture value, and then the electrode voltage of the display screen is adjusted to the target voltage value corresponding to the target aperture value to complete the aperture value Automatic demodulation, that is, the automatic adjustment of exposure value is completed.
  • the electronic device when the electronic device turns on the automatic exposure mode, it determines the current exposure value, compares the target brightness corresponding to the current exposure value with a preset brightness (target), and if the target brightness is greater than the target, then reduces the current exposure value, If the target brightness is less than the target, increase the current exposure value, then shoot with the newly set exposure value to get a picture, calculate the average brightness of the picture, and match the average brightness with the target, if If it matches, the automatic exposure adjustment is completed. If it does not match, the above actions are continued to be repeated until the average brightness of the captured picture is equal to the target, then the automatic exposure adjustment is completed.
  • target preset brightness
  • the electronic device when the electronic device turns on the automatic exposure mode, it determines the current exposure value, compares the target brightness corresponding to the current exposure value with a preset brightness (target), and if the target brightness is greater than the target, then according to the second correspondence table Decrease the current exposure value. If the target brightness is less than target, increase the current exposure value according to the second correspondence table, and then shoot with the newly set exposure value to obtain a picture, and calculate the average brightness of the picture, The average brightness value is matched with the target. If it matches, the automatic exposure adjustment is completed. If it does not match, the above actions are continued to be repeated until the average brightness of the captured picture is equal to the target, then the automatic exposure adjustment is completed.
  • target preset brightness
  • the power consumption of the electronic device can be reduced by adjusting the electrode voltage in a partial area of the display screen.
  • Step 302a The electronic device adjusts the electrode voltage of the target area corresponding to the camera in the display screen to the target voltage value.
  • the above-mentioned target area is an area located above the camera and corresponding to the size of the camera.
  • the mobile phone includes a camera (ie 50 in Figure 6) and a display screen (ie 51 in Figure 6).
  • the camera is located at the top of the display screen.
  • the mobile phone can adjust the electrode voltage of the target area (ie 52 in FIG. 6) in the display screen 51 to the target voltage value corresponding to the target aperture value.
  • the target area 52 is the area where the camera 50 in the display screen 51 is located, that is, the middle area at the top of the display screen.
  • the electronic device adjusts the electrode voltage of the target area corresponding to the camera in the display screen of the electronic device, and adjusts the electrode voltage of the target area to the target voltage value, so as to realize the control of the electrodes in the partial area of the display screen corresponding to the camera.
  • the voltage adjusts the light transmittance, so as to achieve the effect of adjusting the iris only by adjusting the target area of the display screen corresponding to the camera.
  • Figures 7 to 12 are schematic diagrams of possible structures for implementing an electronic device provided by an embodiment of the present disclosure.
  • the electronic device 600 includes a display screen and a camera, and the camera is located below the display screen.
  • the display screen includes a first polarizer and a second polarizer, and there is a liquid crystal between the first polarizer and the second polarizer (not shown in FIGS. 7 to 12).
  • the electronic device 600 further includes: an adjustment module 601 and an acquisition module 602, where:
  • the adjustment module 601 is configured to adjust the electrode voltage of the display screen to a target voltage value; wherein, when the electrode voltage of the display screen is the target voltage value, the light transmittance of the display screen satisfies a preset condition.
  • the acquiring module 602 is configured to acquire the first image through the aforementioned camera.
  • the above-mentioned electronic device 600 further includes a determining module 603, wherein: the determining module 603 is configured to determine the target aperture value of the camera.
  • the adjustment module 601 is specifically configured to adjust the electrode voltage of the display screen to the target voltage value corresponding to the target aperture value determined by the determination module 603. Wherein, when the electrode voltage of the display screen is the target voltage value, the light transmittance of the display screen matches the light transmittance corresponding to the target aperture value.
  • the above-mentioned electronic device further includes a first display module 604 and a receiving module 605, wherein: the first display module 604 is used to display a shooting interface; the receiving module 605 is used to receive user information The first input on the shooting interface displayed by the first display module 604; further, as shown in FIG. 9, the determining module 603 includes a first determining unit 603a, wherein: the first determining unit 603a is configured to respond to the foregoing The first input received by the receiving module 605 determines the target aperture value of the camera.
  • the aforementioned shooting interface includes a target adjustment control; the aforementioned first input is a first input for the aforementioned target adjustment control.
  • the determining module 603 includes a second determining unit 603b, wherein: the second determining unit 603b is configured to adjust the exposure value of the camera; if the target brightness corresponding to the current exposure value is equal to the preset For brightness matching, the aperture value corresponding to the current exposure value is used as the target aperture value; where the target brightness is: the brightness of the picture taken by the camera at the current exposure value.
  • the adjustment module 601 includes a first adjustment unit 601a, wherein: the first adjustment unit 601a is configured to adjust the electrode voltage of the target area corresponding to the camera in the display screen to The above target voltage value.
  • the above-mentioned electronic device 600 further includes a second display module 606, wherein: the second display module 606 is configured to display the target aperture information corresponding to the above-mentioned target voltage value in the shooting interface.
  • the electronic device provided by the embodiment of the present disclosure adjusts the electrode voltage of the display screen of the electronic device to the target voltage value, and when the electrode voltage of the display screen of the electronic device is the target voltage value, the electronic device The camera acquires the first image.
  • the electrode voltage of the display screen of the electronic device is the target voltage value
  • the light transmittance of the display screen of the electronic device satisfies the preset condition
  • the embodiment of the present disclosure can be used for the light transmittance of the display screen of the electronic device. Shoot when the overrate meets the preset conditions, so that the shooting results are more in line with the specific needs of the user.
  • the electronic device provided in the embodiments of the present disclosure can implement each process implemented by the electronic device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
  • the terminal 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, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • a radio frequency unit 101 for example, a radio frequency unit
  • a network module 102 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, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • the terminal device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
  • the aforementioned terminal device 100 further includes a display screen and a camera, and the camera is located below the display screen.
  • the processor 110 is configured to adjust the electrode voltage of the display screen to a target voltage value; wherein, when the electrode voltage of the display screen is the target voltage value, the light transmittance of the display screen satisfies a preset condition, and The first image is acquired through the camera of the aforementioned terminal device.
  • the terminal device provided by the embodiment of the present disclosure adjusts the electrode voltage of the display screen to the target voltage value, and when the electrode voltage of the display screen of the terminal device is the target voltage value, the first image is acquired through the camera of the terminal device. Because when the electrode voltage of the display screen of the electronic device is the target voltage value, the light transmittance of the display screen of the terminal device satisfies the preset condition, and the light transmittance of the display screen corresponds to the light transmittance of the aperture value. Therefore, the embodiments of the present disclosure can shoot when the light transmittance of the display screen of the electronic device meets the preset condition, so that the shooting result is more in line with the specific needs of the user.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device 100 provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the terminal device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • 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 (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the terminal device 100.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the terminal device 100, but in some embodiments, the touch panel 1071 and the display panel 1061 may be combined.
  • the input and output functions of the terminal device 100 are realized by integration, which is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the terminal device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) and transmit the received input to one or more elements in the terminal device 100 or can be used to connect to the terminal device 100 and external devices. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the terminal device 100. It uses various interfaces and lines to connect the various parts of the entire terminal device 100, runs or executes software programs and/or modules stored in the memory 109, and calls and stores them in the memory 109. , Execute various functions of the terminal device 100 and process data, so as to monitor the terminal device 100 as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the terminal device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor 110.
  • the computer program is executed by the processor, the above-mentioned shooting is realized.
  • Each process of the method embodiment can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned photographing method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can 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 disclosure.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can 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 disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Mathematical Physics (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • Geometry (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

本申请实施例提供一种拍摄方法及电子设备,该方法应用于包括显示屏和摄像头的电子设备,且该显示屏包括第一偏光片和第二偏光片,该第一偏光片与该第二偏光片之间具有液晶,该方法包括:将显示屏的电极电压调节为目标电压值;其中,当上述显示屏的电极电压为上述目标电压值时,该显示屏的光线透过率满足预设条件;通过上述摄像头获取第一图像。

Description

拍摄方法及电子设备
相关申请的交叉引用
本申请主张在2019年09月30日在中国提交的中国专利申请号201910945661.4的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种拍摄方法及电子设备。
背景技术
随着电子设备技术的发展,用户使用电子设备(例如,智能手机)的频率越来越高,电子设备的拍照功能逐渐成为用户的常用功能之一。一般的,传统的摄像设备在拍摄照片时,通常可以通过调节摄像头的光圈(即摄像头中用来控制光线透过镜头,进入机身内感光面光量的装置)、快门以及感光度(International Standardization Organization,简称ISO)值来得到合适的亮度,从而拍摄出满意的照片。
然而,针对传统的具有屏下摄像头的电子设备来说,由于受到电子设备的厚度限制,电子设备中的屏下摄像头通常采用固定光圈,如此,当用户在使用电子设备拍摄照片时,由于进光量固定,很可能会导致拍摄效果较差。
发明内容
本公开实施例提供一种拍摄方法及电子设备,以解决由于传统的具有屏下摄像头的电子设备采用固定光圈,所导致的拍摄效果较差的问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供一种拍摄方法,应用于包括显示屏和摄像头的电子设备,且该摄像头位于该显示屏下方,该显示屏包括第一偏光 片和第二偏光片,该第一偏光片与该第二偏光片之间具有液晶,该方法包括:
将显示屏的电极电压调节为目标电压值;其中,当上述显示屏的电极电压为上述目标电压值时,该显示屏的光线透过率满足预设条件;通过上述摄像头获取第一图像。
第二方面,本公开实施例还提供了一种电子设备,该电子设备包括显示屏和摄像头,该摄像头位于该显示屏下方,该显示屏包括第一偏光片和第二偏光片,该第一偏光片与该第二偏光片之间具有液晶,该电子设备包括:
调节模块,用于将显示屏的电极电压调节为目标电压值;其中,当上述显示屏的电极电压为上述目标电压值时,该显示屏的光线透过率满足预设条件;获取模块,用于通过上述摄像头获取第一图像。
第三方面,本公开实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的拍摄方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的拍摄方法的步骤。
在本公开实施例中,电子设备通过将该电子设备的显示屏的电极电压调节为目标电压值,并在该电子设备的显示屏的电极电压为目标电压值时,通过该电子设备的摄像头获取第一图像。由于当该电子设备的显示屏的电极电压为该目标电压值时,该电子设备的显示屏的光线透过率满足预设条件,因此,本公开实施例可以在电子设备的显示屏的光线透过率满足预设条件时拍摄,从而使拍摄结果更符合用户的具体需求。
附图说明
图1为本公开实施例提供的一种入射光线透过显示屏的示意图;
图2为本公开实施例提供的一种可能的相机***的架构示意图;
图3为本公开实施例提供的一种可能的安卓操作***的架构示意图;
图4为本公开实施例提供的一种拍摄方法流程示意图;
图5为本公开实施例提供的一种电子设备的拍摄界面示意图之一;
图6为本公开实施例提供的一种电子设备的拍摄界面示意图之二;
图7为本公开实施例提供的一种电子设备的结构示意图之一;
图8为本公开实施例提供的一种电子设备的结构示意图之二;
图9为本公开实施例提供的一种电子设备的结构示意图之三;
图10为本公开实施例提供的一种电子设备的结构示意图之四;
图11为本公开实施例提供的一种电子设备的结构示意图之五;
图12为本公开实施例提供的一种电子设备的结构示意图之六;
图13为本公开实施例提供的一种终端设备的硬件结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
需要说明的是,本文中的“多个”是指两个或多于两个。
需要说明的是,本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
本公开实施例提供的一种拍摄方法的执行主体可以为上述的电子设备 (包括移动电子设备和非移动电子设备),也可以为该电子设备中能够实现该拍摄方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以电子设备为例,对本公开实施例提供的拍摄方法进行示例性的说明。
本公开实施例中的电子设备可以为移动终端设备,也可以为非移动终端设备。移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本公开实施例不作具体限定。
示例性的,本公开实施例中的电子设备包括显示屏和摄像头,该摄像头位于显示屏的下方。其中,上述的显示屏包含:偏振片、电极和液晶。示例性的,显示屏的上下位置各有一片偏振片和电极,且电极位于偏振片内侧,液晶分子填充在显示屏内部。
示例性的,图1为本公开实施例提供的一种入射光线透过显示屏的示意图,如图1所示,显示屏50包含:上级偏振片50a、上级电极50b、下级电极50c以及下级偏振片50d。其中,摄像头51位于显示屏50的下方;上述的上级偏振片50a、上级电极50b、下级电极50c以及下级偏振片50d依次叠加组成该显示屏50;上述的上级偏振片50a可以透过横向光线,遮蔽纵向光线;上述的下级偏振片50d可以透过纵向光线,遮蔽横向光线;在上级电极50b和下级电极50c之间填充有液晶分子。
具体的,入射光线52射入显示屏50后,会透过上级偏振片50a,该上级偏振片50a会遮蔽入射光线52中的纵向光线,仅会透过入射光线52的横向光线。在本公开实施例中,电子设备通过对上述的上级电极50b和下级电极50c施加一定电压,使得上级电极50b和下级电极50c之间的液晶分子受到扭曲相列的电场效应,从而改变透过上级偏振片50a的光线的 偏转角度,当电压值达到一定数值时,透过上级偏振片50a的横向光线变为纵向光线,从而透过下级偏振片50b进入摄像头51。从而达到控制入射光线透过显示屏的透过率。
示例性的,图2为本公开实施例提供的一种可能的相机***的架构示意图。如图2所示,该相机***的架构包括4层,分别为:相机硬件层、驱动控制层、相机***层和相机应用层,其中:
相机硬件层包括显示屏和摄像头两个部分。
驱动控制层主要用于为相机***层提供接口,该接口包含注册、初始化、休眠、唤醒、获取光圈(SetAperture)函数和返回光圈(GetAperture)函数。
其中,注册和初始化为驱动提供安卓(Android)操作***内核(kernel)的模块注册流程;休眠和唤醒为驱动提供休眠和唤醒的流程,当相机***休眠时,会释放显示屏控制,降低电量消耗;当唤醒相机***时,恢复上一次的设置。
其中,SetAperture函数的输入参数主要为显示屏的透过率,返回成功或失败,函数执行结果会根据输入参数调整显示屏的透过率。
其中,GetAperture函数返回当前透过率。
相机***层用于控制相机应用层和驱动控制层之间进行数据转换。相机***层还用于接收相机应用层的命令(即,输入参数为光圈值),根据该命令将光圈值转换为驱动控制层的透过率,并传递至驱动控制层。
相机应用层提供自动模式和专业模式两种控制模式。
本公开实施例中的电子设备可以为具有操作***的电子设备。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本公开实施例不作具体限定。
下面以安卓操作***为例,介绍一下本公开实施例提供的拍摄方法所应用的软件环境。
如图3所示,为本公开实施例提供的一种可能的安卓操作***的架构 示意图。在图3中,安卓操作***的架构包括4层,分别为:应用程序层、应用程序框架层、***运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作***中的各个应用程序(包括***应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
***运行库层包括库(也称为***库)和安卓操作***运行环境。库主要为安卓操作***提供其所需的各类资源。安卓操作***运行环境用于为安卓操作***提供软件环境。
内核层是安卓操作***的操作***层,属于安卓操作***软件层次的最底层。内核层基于Linux内核为安卓操作***提供核心***服务和与硬件相关的驱动程序。
以安卓操作***为例,本公开实施例中,开发人员可以基于上述如图3所示的安卓操作***的***架构,开发实现本公开实施例提供的拍摄方法的软件程序,从而使得该拍摄方法可以基于如图3所示的安卓操作***运行。即处理器或者电子设备可以通过在安卓操作***中运行该软件程序实现本公开实施例提供的拍摄方法。
下面结合图4所示的拍摄方法流程图对本公开实施例的拍摄方法进行说明,图4为本公开实施例提供的一种拍摄方法流程示意图,该方法包括步骤201和步骤202:
步骤201:电子设备将显示屏的电极电压调节为目标电压值。
其中,当该电子设备的显示屏的电极电压为该目标电压值时,该电子设备的显示屏的光线透过率满足预设条件。
示例性的,上述电子设备的显示屏的光线透过率满足预设条件是指:上述电子设备的显示屏的光线透过率达到预定光线透过率。
其中,可选地,上述预定光线透过率可以为:目标光圈值对应的显示屏的光线透过率。当然,上述光线透过率满足预设条件还可以是指光线透 过率低于预定光线透过率、光线透过率与电子设备当前场景相匹配等,本公开实施例对此不作具体限定。
示例性的,显示屏的光线透过率与光圈值对应的光线透过率相关。如此,终端设备便可以通过调节电压值,来将显示屏的光圈调节至适当的光圈值。
步骤202:电子设备通过该电子设备的摄像头获取第一图像。
本公开实施例提供的拍摄方法,通过将电子设备的显示屏的电极电压调节为目标电压值,并在该电子设备的显示屏的电极电压为目标电压值时,通过该电子设备的摄像头获取第一图像。由于当该电子设备的显示屏的电极电压为该目标电压值时,该电子设备的显示屏的光线透过率满足预设条件,因此,本公开实施例可以在电子设备的显示屏的光线透过率满足预设条件时拍摄,从而使拍摄结果更符合用户的具体需求。
可选地,在本公开实施例中,上述的步骤201之后,该方法还可以包括如下步骤:
步骤A:电子设备在拍摄界面中,显示目标电压值对应的目标光圈信息。
示例性的,上述目标光圈信息包括以下至少一项:光圈图案,光圈值。其中,上述的光圈图案能够表征电子设备中摄像头的实时光圈值,即上述光圈图案可以及时向用户反馈实时的光圈值。
在一种示例中,电子设备在调节显示屏的电极电压时,可以在拍摄界面中实时显示对应光圈值的大小,从而及时向用户反馈实时的光圈值。
举例说明,以电子设备为手机为例,如图5所示,该手机包括:摄像头(即图5中的40)和显示屏(即图5中的41),该摄像头位于显示屏顶部。当用户使用手机进行拍摄时,手机显示拍摄界面(即图5中的42),当手机确定到目标光圈值后,将显示屏的电极电压调节为目标电压值,并在该拍摄界面的拍摄控件的上方显示该目标电压值对应的目标光圈值(即图5中的43,例如,图5所示的F=2.0)。
可选地,在本公开实施例中,在上述步骤201之前该方法还包括:
步骤301:电子设备确定摄像头的目标光圈值。
应注意的是,本公开实施例中的光圈值并不是一个真正光圈的光圈值,只是该电子设备中的摄像头与其他具有可调节光圈的摄像头相比,具有相同的光圈效果。即,本公开实施例中的目标光圈值可以表征一个特定光圈效果。
进一步的,上述的步骤202可以包括以下步骤302:
步骤302:电子设备将显示屏的电极电压调节为与该目标光圈值对应的目标电压值。
其中,上述显示屏的电极电压为上述目标电压值时光线在该显示屏中的透过率与上述目标光圈值对应的光线透过率匹配。
示例性的,上述的光线在该显示屏中的透过率与上述目标光圈值对应的光线透过率匹配是指:上述的光线在该显示屏中的透过率与上述目标光圈值对应的光线透过率相同,或者,上述的光线在该显示屏中的透过率与上述目标光圈值对应的光线透过率间的差值小于或者等于预设阈值。
示例性的,当电子设备对显示屏中的电极施加电压时,显示屏中的液晶分子受到电压作用,使得液晶分子发生扭曲相列的电场效应,从而改变光线的偏转角度,进而实现控制光线在显示屏中的透过率。
示例性的,摄像头的光圈值主要用于调节光线在摄像头中的透过率。一般的,摄像头的光圈值越大,光线在摄像头中的透过率越小,反之,摄像头的光圈值越小,光线在摄像头中的透过率越大。
示例性的,由于摄像头的光圈值主要用于调节光线在摄像头中的透过率,而显示屏中的电极电压的变化也会导致光线在显示屏中的透过率,当电子设备中的摄像头设置在显示屏下方时,由于光线在摄像头中的透过率即等于光线在显示屏中的透过率,因此,电子设备便可通过调整显示屏中的电极电压来达到调节光线在摄像头中的透过率,即达到调节摄像头的光圈值的目的。
示例性的,摄像头的光圈值与显示屏的电极电压值之间呈反比。即当摄像头的光圈值越小,对应的显示屏的电极电压值越大;反之,当摄像头的光圈值越大,对应的显示屏的电极电压值越小。
举例说明,例1:当显示屏的电极电压值为最大值,则光线在液晶分子中的偏转角度正好为90度,此时,光线将全部透过显示屏中的下级偏振片,对应的光圈值为最小值;例2:当摄像头的光圈值为最大值,对应的显示屏的电极电压值为0,此时,光线在显示屏中未发生角度偏转,光线在显示屏中的透过率为0,即无光线透过显示屏中的下级偏振片;例3:当光圈值处于最小值和最大值之间时,对应显示屏的电极电压值处于最大值和最小值之间,光线部分透过显示屏中的下级偏振片。
示例性的,摄像头的光圈值与光线在显示屏中的透过率之间的映射关系可以通过下述的公式1
Figure PCTCN2020105557-appb-000001
来体现。基于上述公式1可知,光线在显示屏中的透过率与摄像头的光圈值的平方成反比。
其中,上述公式1中I为光线在显示屏中的透过率,λ为光圈系数,F为光圈值。例如,若上述的目标光圈值为电子设备自身的固定光圈F min,此时,光线在显示屏中的透过率为100%,即光线全部透过显示屏中的下级偏振片,即,I为100%,
Figure PCTCN2020105557-appb-000002
一般的,随着摄像头的光圈值的逐渐增大,所对应的光线在显示屏中的透过率逐渐减小。
如此,电子设备可以通过确定摄像头的目标光圈值,将显示屏的电极电压调节为与该目标光圈值对应的目标电压值;其中,上述显示屏的电极电压为上述目标电压值时该显示屏的光线透过率与上述目标光圈值对应的光线透过率匹配。这样电子设备便可通过控制显示屏电极电压调节光线的透过率达到可调节光圈的效果,从而解决了由于电子设备中的摄像头采用固定光圈,所导致的可调节光线范围受限的问题。
可选地,在本公开实施例中,电子设备在确定摄像头的目标光圈值时,至少可以通过以下两种实现方式实现。
第一种可能的实现方式中:
示例性的,上述步骤301之前,该方法还包括步骤301a和步骤301b:
步骤301a:电子设备显示拍摄界面。
步骤301b:电子设备接收用户在拍摄界面上的第一输入。
进一步的,结合上述步骤301a和步骤301b,上述步骤301具体包括步骤301c:
步骤301c:响应于上述第一输入,电子设备确定上述摄像头的目标光圈值。
示例性的,上述的第一输入可以包括:用户在拍摄界面上的点击输入,或者,用户在拍摄界面上的滑动输入,或者,用户在拍摄界面上的按压输入,或者,用户在显示屏上的其他可行性输入,具体的可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,上述的点击输入可以为单击输入、双击输入或任意次数的点击输入等;上述的点击输入还可以为长按输入或短按输入,上述的滑动输入可以为向任意方向的滑动输入,例如,向上滑动、向下滑动、向左滑动或者向右滑动等,且上述滑动输入的滑动轨迹可以是直线,也可以是曲线,具体的可以根据实际需求设定。
在一种示例中,上述的拍摄界面包括目标调节控件,第一输入为针对上述目标调节控件的第一输入。
在一种示例中,上述的目标调节控件可以以预设透明度叠加显示在拍摄界面中,例如,如果预设透明度记为T1,那么T1的取值范围可以为0%<T1<100%。此外,该目标调节控件还可以高亮度或低亮度显示在拍摄界面上,本公开实施例不作限定。
需要说明的是,上述的目标调节控件的形状可以为圆形、矩形、三角形、菱形、圆环或者多边形等任意可能的形状,也可以直接为具体数值,具体可以根据实际使用需求确定,本公开实施例不作限定。
例1:以目标调节控件为光圈值调节按键“+”和“-”为例,用户通过点击屏幕上显示的按键“+”按预设比例调高摄像头的光圈值,通过点击 按键“-”按预设比例调低摄像头的光圈值。
例2:以目标调节控件为光圈值滚动条为例,该光圈值滚动条上的比例是0-100%,用户可以通过在光圈值滚动条上的滑动输入或点击输入增大或减小调节比例,进而调节摄像头的光圈值。
在第二种可能的实现方式中:
示例性的,上述步骤301包括步骤301d1和步骤301d2:
步骤301d1:电子设备调整摄像头的曝光值。
步骤301d2:若当前曝光值对应的目标亮度与预设亮度匹配,则电子设备将该当前曝光值对应的光圈值,作为目标光圈值。
其中,上述目标亮度为:上述摄像头在上述当前曝光值下拍摄的图片的亮度。
需要说明的是,上述的预设亮度可以为固定值,也可以按照实际应用场景进行灵活调节,本公开实施例对此不作限定。
示例性的,摄像头的曝光值是由:曝光时间、感光度值以及光圈值组成的。
示例性的,可以通过公式2来体现摄像头的曝光值与曝光时间、感光度值以及光圈值之间的关联关系。其中,公式2为:
Figure PCTCN2020105557-appb-000003
EV为曝光值,T为曝光时间,ISO为感光度值,F为光圈值。
示例性的,电子设备在将当前曝光值对应的光圈值,作为目标光圈值时,还可以将当前的曝光时间调节为该当前曝光值对应的曝光时间,以及将当前的曝光时间调节为该当前曝光值对应的感光度值。
示例性的,上述当前曝光值对应的目标亮度与预设亮度匹配可以为:上述当前曝光值对应的目标亮度与上述预设亮度之间的绝对差值大于或等于0,且小于预定阈值。
示例性的,电子设备在确定当前曝光值对应的光圈值时,可以按照第一对应关系表来确定当前曝光值对应的光圈值。其中,上述的第一对应关系表用于表征曝光值分别与曝光参数(即光圈值,或者,曝光时间和感光 度值中的至少一个和光圈值)间的对应关系。
在一种示例中,电子设备以当前曝光值(即当前调节后的曝光值)为索引,在上述的第一对应关系表查找与该当前曝光值对应的光圈值。
在一种示例中,在上述的第一对应关系表中包含:曝光时间、感光度值和光圈值的情况下,上述的第一对应关系表中的曝光值从小到大依次递增,且该第一对应关系表可以拆分为两部分,第一部分中的所有曝光值的曝光时间和感光度值为固定值,光圈值由从大到小逐渐减小,第二部分中的所有曝光值的定光圈值为固定值,曝光时间和感光度值交替从小到大逐渐增大。
示例性的,电子设备在确定当前曝光值对应的目标亮度时:可以基于预配置的第二对应关系表,来确定当前曝光值对应的目标亮度。其中,上述的第二对应关系表用于表征摄像头的曝光值和图像亮度间的对应关系。上述的第二对应关系表中的每个曝光值对应的图像亮度可以为经验值,也可以为电子设备以该曝光值所拍摄的图像的图像亮度(例如,该图像的亮度的平均值),本公开实施例对此不作限定。
在一种示例中,电子设备调整摄像头的曝光值,并以当前曝光值(即当前调节后的曝光值)为索引,在上述的第二对应关系表查找与该当前曝光值对应的目标亮度,当该目标亮度与预设亮度匹配时,则将该当前曝光值对应的光圈值作为目标光圈值,然后,将显示屏的电极电压调节为该目标光圈值对应的目标电压值,完成光圈值的自动解调,即完成曝光值的自动调节。
示例性的,电子设备在开启自动曝光模式时,确定当前曝光值,将该当前曝光值对应的目标亮度与预设亮度(target)进行比较,若目标亮度大于target,则减小当前曝光值,若目标亮度小于target,则增大当前曝光值,然后,以新设定的曝光值进行拍摄,得到一张图片,计算该图片的亮度平均值,并将该亮度平均值与target进行匹配,若匹配,则完成曝光自动调节,若不匹配,则继续重复上述动作,直到拍摄的图片的亮度平均 值等于target,则完成曝光自动调节。
示例性的,电子设备在开启自动曝光模式时,确定当前曝光值,将该当前曝光值对应的目标亮度与预设亮度(target)进行比较,若目标亮度大于target,则按照第二对应关系表减小当前曝光值,若目标亮度小于target,则按照第二对应关系表增大当前曝光值,然后,以新设定的曝光值进行拍摄,得到一张图片,计算该图片的亮度平均值,并将该亮度平均值与target进行匹配,若匹配,则完成曝光自动调节,若不匹配,则继续重复上述动作,直到拍摄的图片的亮度平均值等于target,则完成曝光自动调节。
可选地,在本公开实施例中,电子设备在调节显示屏中的电极电压时,可以通过调节显示屏的部分区域的电极电压,来降低该电子设备的功耗。
示例性的,上述步骤302包括步骤302a:
步骤302a:电子设备将该显示屏中与摄像头相对应的目标区域的电极电压调节为该目标电压值。
示例性的,上述目标区域为位于摄像头上方的与该摄像头大小对应的区域。
举例说明,以电子设备为手机为例,如图6所示,该手机包括:摄像头(即图6中的50)和显示屏(即图6中的51),该摄像头位于显示屏顶部,当手机确定到目标光圈值后,手机可以将显示屏51中的目标区域(即图6中的52)的电极电压调节为该目标光圈值对应的目标电压值。如图6所示,该目标区域52为显示屏51中摄像头50所在区域,即显示屏顶部中间区域。
这样,电子设备通过调节该电子设备的显示屏中与摄像头相对应的目标区域的电极电压,将该目标区域的电极电压调节为目标电压值,实现通过控制摄像头对应的显示屏的部分区域的电极电压调节光线的透过率,从而达到只调节摄像头对应的显示屏的目标区域就可以实现可调节光圈的效果。
图7至图12为实现本公开实施例提供的一种电子设备的可能的结构示意图,如图7至图12所示,电子设备600包括显示屏和摄像头,该摄像头位于该显示屏下方,该显示屏包括第一偏光片和第二偏光片,该第一偏光片与该第二偏光片之间具有液晶,(图7至图12中未示出)。电子设备600还包括:调节模块601和获取模块602,其中:
调节模块601,用于将上述显示屏的电极电压调节为目标电压值;其中,当上述显示屏的电极电压为目标电压值时,该显示屏的光线透过率满足预设条件。
获取模块602,用于通过上述摄像头获取第一图像。
可选地,如图8所示,上述电子设备600还包括确定模块603,其中:该确定模块603,用于确定摄像头的目标光圈值。上述调节模块601,具体用于将上述显示屏的电极电压调节为该确定模块603确定的目标光圈值对应的目标电压值。其中,上述显示屏的电极电压为上述目标电压值时该显示屏的光线透过率与上述目标光圈值对应的光线透过率匹配。
可选地,如图9所示,上述电子设备还包括第一显示模块604和接收模块605,其中:该第一显示模块604,用于显示拍摄界面;该接收模块605,用于接收用户在上述第一显示模块604显示的拍摄界面上的第一输入;进一步的,如图9所示,上述确定模块603包括第一确定单元603a,其中:该第一确定单元603a,用于响应于上述接收模块605接收的第一输入,确定摄像头的目标光圈值。
可选地,上述拍摄界面包括目标调节控件;上述第一输入为针对上述目标调节控件的第一输入。
可选地,如图10所示,上述确定模块603包括第二确定单元603b,其中:上述第二确定单元603b,用于调整上述摄像头的曝光值;若当前曝光值对应的目标亮度与预设亮度匹配,则将上述当前曝光值对应的光圈值,作为目标光圈值;其中,上述目标亮度为:上述摄像头在上述当前曝光值下拍摄的图片的亮度。
可选地,如图11所示,上述调节模块601包括第一调节单元601a,其中:上述第一调节单元601a,用于将上述显示屏中与该摄像头相对应的目标区域的电极电压调节为上述目标电压值。
可选地,如图12所示,上述电子设备600还包括第二显示模块606,其中:该第二显示模块606,用于在拍摄界面中,显示上述目标电压值对应的目标光圈信息。
本公开实施例提供的电子设备,该电子设备通过将该电子设备的显示屏的电极电压调节为目标电压值,并在该电子设备的显示屏的电极电压为目标电压值时,通过该电子设备的摄像头获取第一图像。由于当该电子设备的显示屏的电极电压为该目标电压值时,该电子设备的显示屏的光线透过率满足预设条件,因此,本公开实施例可以在电子设备的显示屏的光线透过率满足预设条件时拍摄,从而使拍摄结果更符合用户的具体需求。
本公开实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
以电子设备为终端设备为例。图13为实现本公开各个实施例的一种终端设备的硬件结构示意图,该终端设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图13中示出的终端设备100的结构并不构成对终端设备的限定,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。此外,上述终端设备100还包括显示屏和摄像头,该摄像头位于该显示屏下方。
其中,处理器110,用于将上述显示屏的电极电压调节为目标电压值;其中,当上述显示屏的电极电压为目标电压值时,该显示屏的光线透过率满足预设条件,并通过上述终端设备的摄像头获取第一图像。
本公开实施例提供的终端设备,通过将显示屏的电极电压调节为目标电压值,并在终端设备的显示屏的电极电压为目标电压值时,通过该终端设备的摄像头获取第一图像。由于当该电子设备的显示屏的电极电压为该目标电压值时,该终端设备的显示屏的光线透过率满足预设条件,而显示屏的光线透过率与光圈值对应的光线透过率相关,因此,本公开实施例可以在电子设备的显示屏的光线透过率满足预设条件时拍摄,从而使拍摄结果更符合用户的具体需求。
应理解的是,本公开实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信***与网络和其他设备通信。
终端设备100通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理 后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
终端设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端设备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包 括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图13中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端设备100的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与终端设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备100内的一个或多个元件或者可以用于在终端设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是终端设备100的控制中心,利用各种接口和线路连接整个终端设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端设备100 的各种功能和处理数据,从而对终端设备100进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
终端设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理***与处理器110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。
另外,终端设备100包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (16)

  1. 一种拍摄方法,应用于包括显示屏和摄像头的电子设备,所述摄像头位于所述显示屏下方,所述显示屏包括第一偏光片和第二偏光片,所述第一偏光片与所述第二偏光片之间具有液晶,所述方法包括:
    将所述显示屏的电极电压调节为目标电压值;其中,当所述显示屏的电极电压为所述目标电压值时,所述显示屏的光线透过率满足预设条件;
    通过所述摄像头获取第一图像。
  2. 根据权利要求1所述的方法,其中,所述将所述显示屏的电极电压调节为目标电压值之前,所示方法还包括:
    确定所述摄像头的目标光圈值;
    所述将所述显示屏的电极电压调节为目标电压值,包括:
    将所述显示屏的电极电压调节为与所述目标光圈值对应的目标电压值;
    其中,所述显示屏的电极电压为所述目标电压值时所述显示屏的光线透过率与所述目标光圈值对应的光线透过率匹配。
  3. 根据权利要求2所述的方法,其中,所述确定所述摄像头的目标光圈值之前,所述方法还包括:
    显示拍摄界面;
    接收用户在所述拍摄界面上的第一输入;
    所述确定所述摄像头的目标光圈值,包括:
    响应于所述第一输入,确定所述摄像头的目标光圈值。
  4. 根据权利要求3所述的方法,其中,所述拍摄界面包括目标调节控件,所述第一输入为针对所述目标调节控件的第一输入。
  5. 根据权利要求2所述的方法,其中,所述确定所述摄像头的目标光圈值,包括:
    调整所述摄像头的曝光值;
    若当前曝光值对应的目标亮度与预设亮度匹配,则将所述当前曝光值对应的光圈值,作为目标光圈值;
    其中,所述目标亮度为:所述摄像头在所述当前曝光值下拍摄的图片的亮度。
  6. 根据权利要求2所述的方法,其中,所述将所述显示屏的电极电压调节为与所述目标光圈值对应的目标电压值,包括:
    将所述显示屏中与所述摄像头相对应的目标区域的电极电压调节为所述目标电压值。
  7. 根据权利要求1所述的方法,其中,所述将所述显示屏的电极电压调节为目标电压值之后,所述方法还包括:
    在拍摄界面中,显示所述目标电压值对应的目标光圈信息。
  8. 一种电子设备,所述电子设备包括显示屏和摄像头,所述摄像头位于所述显示屏下方,所述显示屏包括第一偏光片和第二偏光片,所述第一偏光片与所述第二偏光片之间具有液晶,所述电子设备包括:
    调节模块,用于将所述显示屏的电极电压调节为目标电压值;其中,当所述显示屏的电极电压为所述目标电压值时,所述显示屏的光线透过率满足预设条件;
    获取模块,用于通过所述摄像头获取第一图像。
  9. 根据权利要求8所述的电子设备,其中,所述电子设备还包括确定模块,其中:
    所述确定模块,用于确定所述摄像头的目标光圈值;
    所述调节模块,具体用于将所述显示屏的电极电压调节为所述目标光圈值对应的目标电压值;
    其中,所述显示屏的电极电压为所述目标电压值时所述显示屏的光线透过率与所述目标光圈值对应的光线透过率匹配。
  10. 根据权利要求9所述的电子设备,其中,所述电子设备还包括第一显示模块和接收模块,其中:
    第一显示模块,用于显示拍摄界面;
    接收模块,用于接收用户在所述显示模块显示的所述拍摄界面上的第 一输入;
    所述确定模块,包括:第一确定单元,其中:
    所述第一确定单元,用于响应于所述接收模块接收的所述第一输入,确定所述摄像头的目标光圈值。
  11. 根据权利要求10所述的电子设备,其中,所述拍摄界面包括目标调节控件;
    所述第一输入为针对所述目标调节控件的第一输入。
  12. 根据权利要求9所述的电子设备,其中,所述确定模块包括第二确定单元,其中:
    所述第二确定单元,用于调整所述摄像头的曝光值,若当前曝光值对应的目标亮度与预设亮度匹配,则将所述当前曝光值对应的光圈值,作为目标光圈值;
    其中,所述目标亮度为:所述摄像头在所述当前曝光值下拍摄的图片的亮度。
  13. 根据权利要求8所述的电子设备,其中,所述调节模块包括第一调节单元,其中:
    所述第一调节单元,用于将所述显示屏中与所述摄像头相对应的目标区域的电极电压调节为所述目标电压值。
  14. 根据权利要求8所述的电子设备,其中,所述电子设备还包括第二显示模块,其中:
    所述第二显示模块,用于在拍摄界面中,显示所述目标电压值对应的目标光圈信息。
  15. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的拍摄方法的步骤。
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项 所述的拍摄方法的步骤。
PCT/CN2020/105557 2019-09-30 2020-07-29 拍摄方法及电子设备 WO2021063099A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20872630.7A EP4040774A4 (en) 2019-09-30 2020-07-29 PHOTOGRAPHY PROCESS AND ELECTRONIC DEVICE
US17/696,699 US12025887B2 (en) 2019-09-30 2022-03-16 Shooting method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910945661.4 2019-09-30
CN201910945661.4A CN110602407B (zh) 2019-09-30 2019-09-30 一种拍摄方法及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/696,699 Continuation US12025887B2 (en) 2019-09-30 2022-03-16 Shooting method and electronic device

Publications (1)

Publication Number Publication Date
WO2021063099A1 true WO2021063099A1 (zh) 2021-04-08

Family

ID=68865479

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105557 WO2021063099A1 (zh) 2019-09-30 2020-07-29 拍摄方法及电子设备

Country Status (3)

Country Link
EP (1) EP4040774A4 (zh)
CN (1) CN110602407B (zh)
WO (1) WO2021063099A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022253295A1 (zh) * 2021-06-04 2022-12-08 简伟明 基于lcd多晶元板的图像生成方法、装置、设备和存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602407B (zh) * 2019-09-30 2021-03-19 维沃移动通信(杭州)有限公司 一种拍摄方法及电子设备
TWI780921B (zh) * 2020-11-19 2022-10-11 仁寶電腦工業股份有限公司 筆記型電腦
CN113031366A (zh) * 2021-04-12 2021-06-25 维沃移动通信有限公司 拍摄组件及电子设备
CN113189805B (zh) * 2021-04-28 2023-04-07 维沃移动通信(杭州)有限公司 显示模组、电子设备、拍摄控制方法和拍摄控制装置
CN113777687B (zh) * 2021-08-12 2023-04-18 惠州Tcl云创科技有限公司 一种屏下摄像头组件、背光模组及显示设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180120661A1 (en) * 2016-10-31 2018-05-03 Google Inc. Electrochromic Filtering in a Camera
CN108604108A (zh) * 2015-10-30 2018-09-28 精华产品公司 安置在电子设备的显示器下的光学传感器
CN108885376A (zh) * 2017-04-25 2018-11-23 华为技术有限公司 Lcd显示屏、电子设备及lcd显示屏的制作方法
CN109348123A (zh) * 2018-10-25 2019-02-15 努比亚技术有限公司 拍照方法、移动终端及计算机可读存储介质
CN109618029A (zh) * 2018-11-02 2019-04-12 华为终端有限公司 移动终端设备及其后盖组件和显示屏组件
CN110602407A (zh) * 2019-09-30 2019-12-20 维沃移动通信(杭州)有限公司 一种拍摄方法及电子设备

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003248176A (ja) * 2001-12-19 2003-09-05 Olympus Optical Co Ltd 顕微鏡画像撮影装置
JP2004093687A (ja) * 2002-08-29 2004-03-25 Murakami Corp エレクトロクロミック素子
JP5175127B2 (ja) * 2008-03-28 2013-04-03 株式会社ジャパンディスプレイウェスト 液晶表示装置
CA2820007C (en) * 2010-09-09 2016-06-28 John R. Kouns Optical filter opacity control reducing temporal aliasing in motion picture capture
CN103645590B (zh) * 2013-12-12 2016-10-05 京东方科技集团股份有限公司 一种阵列基板及其制备方法、液晶显示装置
KR102289904B1 (ko) * 2015-01-23 2021-08-18 삼성디스플레이 주식회사 표시 장치
US10102789B2 (en) * 2015-10-30 2018-10-16 Essential Products, Inc. Mobile device with display overlaid with at least a light sensor
CN106526943B (zh) * 2017-01-12 2019-06-14 京东方科技集团股份有限公司 一种液晶显示装置
CN108089341B (zh) * 2018-01-02 2020-06-05 京东方科技集团股份有限公司 一种显示面板及显示装置
CN208780929U (zh) * 2018-09-28 2019-04-23 河南工业大学 自动调节透光率的太阳镜
CN110264894B (zh) * 2019-06-24 2022-04-12 武汉天马微电子有限公司 一种显示装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108604108A (zh) * 2015-10-30 2018-09-28 精华产品公司 安置在电子设备的显示器下的光学传感器
US20180120661A1 (en) * 2016-10-31 2018-05-03 Google Inc. Electrochromic Filtering in a Camera
CN108885376A (zh) * 2017-04-25 2018-11-23 华为技术有限公司 Lcd显示屏、电子设备及lcd显示屏的制作方法
CN109348123A (zh) * 2018-10-25 2019-02-15 努比亚技术有限公司 拍照方法、移动终端及计算机可读存储介质
CN109618029A (zh) * 2018-11-02 2019-04-12 华为终端有限公司 移动终端设备及其后盖组件和显示屏组件
CN110602407A (zh) * 2019-09-30 2019-12-20 维沃移动通信(杭州)有限公司 一种拍摄方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4040774A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022253295A1 (zh) * 2021-06-04 2022-12-08 简伟明 基于lcd多晶元板的图像生成方法、装置、设备和存储介质

Also Published As

Publication number Publication date
EP4040774A4 (en) 2022-11-09
CN110602407B (zh) 2021-03-19
EP4040774A1 (en) 2022-08-10
CN110602407A (zh) 2019-12-20
US20220206346A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
WO2021063099A1 (zh) 拍摄方法及电子设备
US11115591B2 (en) Photographing method and mobile terminal
US11689649B2 (en) Shooting method and terminal
US20220279116A1 (en) Object tracking method and electronic device
WO2021104195A1 (zh) 图像显示方法及电子设备
WO2021057267A1 (zh) 图像处理方法及终端设备
WO2020238377A1 (zh) 拍摄处理方法、装置、移动终端及存储介质
WO2019196863A1 (zh) 内容的显示方法及装置
CN110505400B (zh) 一种预览图像显示调整方法及终端
US12003860B2 (en) Image processing method and electronic device
WO2021098603A1 (zh) 预览画面显示方法及电子设备
WO2019129020A1 (zh) 一种摄像头自动调焦方法、存储设备及移动终端
WO2021013009A1 (zh) 拍照方法和终端设备
WO2020192470A1 (zh) 拍摄处理方法及移动终端
WO2020253295A1 (zh) 控制方法、装置及终端设备
WO2021129537A1 (zh) 电子设备控制方法及电子设备
WO2021082744A1 (zh) 视频查看方法及电子设备
WO2021129698A1 (zh) 拍摄方法及电子设备
WO2019076373A1 (zh) 拍摄方法、移动终端和计算机可读存储介质
CN110830713A (zh) 一种变焦方法及电子设备
CN108174110B (zh) 一种拍照方法及柔性屏终端
WO2020151745A1 (zh) 移动终端及控制方法
CN110602387B (zh) 拍摄方法及电子设备
CN110363729B (zh) 一种图像处理方法、终端设备及计算机可读存储介质
CN108317992A (zh) 一种物距测量方法及终端设备

Legal Events

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

Ref document number: 20872630

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020872630

Country of ref document: EP

Effective date: 20220502