WO2023077918A1 - Photographing control method and device, mobile terminal and storage medium - Google Patents

Photographing control method and device, mobile terminal and storage medium Download PDF

Info

Publication number
WO2023077918A1
WO2023077918A1 PCT/CN2022/113949 CN2022113949W WO2023077918A1 WO 2023077918 A1 WO2023077918 A1 WO 2023077918A1 CN 2022113949 W CN2022113949 W CN 2022113949W WO 2023077918 A1 WO2023077918 A1 WO 2023077918A1
Authority
WO
WIPO (PCT)
Prior art keywords
grating
electrochromic
transparency
shooting
exposure
Prior art date
Application number
PCT/CN2022/113949
Other languages
French (fr)
Chinese (zh)
Inventor
胡安妮
谢岚汐
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202111310880.9A external-priority patent/CN116095506B/en
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2023077918A1 publication Critical patent/WO2023077918A1/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
    • 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/15Devices 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 an electrochromic effect
    • G02F1/1514Devices 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 an electrochromic effect characterised by the electrochromic material, e.g. by the electrodeposited material
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure relates to the field of camera, and in particular, to a camera control method, device, mobile terminal and storage medium.
  • the main purpose of the embodiments of the present disclosure is to provide a camera control method, device, mobile terminal and storage medium to solve the problem of glare or harmful reflection during shooting.
  • an embodiment of the present disclosure provides a camera control method, the method includes the following steps: detecting whether the grating needs to be displayed in the current shooting scene; and when it is detected that the grating needs to be displayed, by adjusting the The electrochromic grating layer in the camera module displays gratings on the shooting interface to eliminate glare or reflections during shooting.
  • an embodiment of the present disclosure also provides a camera control device, the device includes a memory, a processor, a program stored in the memory and operable on the processor, and used to implement The processor and the memory are connected to a data bus for communication, and when the program is executed by the processor, the steps of the aforementioned camera control method are realized.
  • an embodiment of the present disclosure further provides a mobile terminal, the mobile terminal comprising: an electrochromic grating layer built in a camera module of the mobile terminal and the aforementioned camera control device.
  • an embodiment of the present disclosure provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be used by one or more The processor executes to realize the steps of the aforementioned camera control method.
  • FIG. 1 is a first flowchart of a camera control method provided by an embodiment of the present disclosure
  • FIG. 2 is a second flow chart of the camera control method provided by an embodiment of the present disclosure
  • FIG. 3 is a specific flow chart of camera control provided by an embodiment of the present disclosure.
  • FIG. 4a and FIG. 4b are a front reference diagram and a rear reference diagram of the device of the mobile terminal of the present disclosure
  • FIG. 5 is a schematic diagram of functional modules of the mobile terminal of the present disclosure.
  • FIG. 6 is a schematic diagram of a single electrochromic camera module of the mobile terminal of the present disclosure.
  • Figure 7a, Figure 7b and Figure 7c are schematic diagrams of electrochromic gratings.
  • Fig. 8 is a corresponding diagram of the user interface and the adjustment bar and the state of the electrochromic grating.
  • FIG. 1 is a first flow chart of a camera control method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method may include steps S101 and S102.
  • step S101 it is detected whether a grating needs to be displayed in the current shooting scene.
  • step S102 when it is detected that the grating needs to be displayed, the grating is displayed on the shooting interface by adjusting the electrochromic grating layer built in the camera module.
  • the camera control method of this embodiment uses the electrochromic grating layer built in the camera module to eliminate glare or harmful reflections during shooting, so as to achieve the best shooting effect and optimize the shooting quality.
  • the electrochromic grating layer is built into the camera module instead of connecting the electrochromic grating layer or polarizer to the camera module, the problems of carrying, repeated installation and disassembly of external accessories during actual use are avoided, and the user experience.
  • Fig. 2 is a second flow chart of the camera control method provided by the embodiment of the present disclosure. As shown in Fig. 2, compared with the embodiment in Fig. 1, after performing step S101 and step S102, the method may further include step S103 .
  • step S103 when the grating is displayed, the exposure of the shooting interface is adjusted.
  • the exposure is adjusted to eliminate the underexposure caused by the reduction of incident light sources.
  • Electrochromic materials refer to materials whose optical properties such as reflectivity, transmittance, and absorptivity undergo stable and reversible color changes under the action of an external electric field, and appear as reversible changes in color and transparency in appearance.
  • electrochromic materials are generally applied to camera filters, mainly by adding one or more electrochromic material layers on the camera module, and adjusting the transparency of the electrochromic material layer by adjusting the electromagnetic force. In order to achieve the purpose of adjusting the color temperature of the photo according to the environment or adjusting the color of the filter according to the user's choice, and enriching the shooting effect.
  • the characteristics of electrochromic materials are added to the manufacture of polarizers, especially the manufacture of linear polarizers. Specifically, an electrochromic grating that can be used as a polarizer is made by utilizing the characteristics of electrochromic materials.
  • the polarizer into the camera module, such as the camera module of mobile terminals such as mobile phones, to solve the problem of low shooting quality caused by glare or harmful reflections, improve the quality of photos and videos, and improve user experience.
  • the exposure of the camera interface is automatically adjusted to further ensure the shooting effect.
  • the step S101 may include: judging whether the smart shooting mode has been turned on, and when it is judged that the smart shooting mode has been turned on, detecting the image acquired by the camera module, and if it is detected that there is a raster in the image that needs to be displayed. image content, it is determined that the grating needs to be displayed in the current shooting scene; when it is judged that the smart shooting mode is not turned on, it is detected whether the polarized shooting mode (such as the landscape shooting mode) has been manually turned on, and if it is detected that the polarized shooting mode has been manually turned on , it is determined that the raster needs to be displayed in the current shooting scene.
  • the polarized shooting mode such as the landscape shooting mode
  • the electrochromic material to make the polarization grating (that is, the electrochromic grating or polarizer) and built it into the camera module, it can automatically control whether the electrochromic grating displays , specifically, when the smart shooting mode is turned on, the content of the image captured by the camera module can be identified, and if the landscape element is recognized, the raster display is controlled. Shooting mode. At this time, if the user turns on the polarization shooting mode, control the raster display.
  • the step S102 may include: adjusting the electric field parameters according to the preset correspondence between transparency and electric field parameters, so that the electrochromic grating layer in the camera module performs grating display according to the corresponding transparency.
  • the grating transparency of the electrochromic grating layer can be changed under different electric fields.
  • the grating structure of the electrochromic grating layer can control the passage of light in a single direction, eliminating glare or harmful reflection during shooting.
  • the step S103 may include: determining the exposure adjustment amount corresponding to the transparency of the electrochromic grating layer in the camera module according to the preset correspondence between the transparency and the exposure adjustment amount when displaying the grating , and then adjust the exposure according to the exposure adjustment amount corresponding to the transparency of the electrochromic grating layer in the camera module and the initial exposure parameter.
  • the initial exposure parameters are obtained and recorded by performing initial photometry before the step S102.
  • step S103 if it is detected that the user presses the shooting button, it means that the user is satisfied with the currently previewed shooting effect, and the currently captured image can be stored.
  • this embodiment provides an adjustment bar on the interactive interface.
  • the user can independently adjust the angle and transparency of the grating.
  • an angle adjustment bar and a transparency adjustment bar are provided on the interactive interface, and the angle of the electrochromic grating in the camera module can be set by using the angle adjustment bar in the interactive interface;
  • Transparency adjustment bar using the transparency adjustment bar in the interactive interface, can set the transparency of the electrochromic grating in the camera module.
  • other shooting parameters can also be set on the interactive interface, such as the exposure adjustment amount. relationship to determine the amount of exposure adjustment corresponding to the set transparency.
  • the electrochromic grating produced in this embodiment is used as a linear polarizer, so when shooting involves focusing and photometry operations, it is necessary to automatically adjust the electric field to hide the grating layer before focusing and metering to ensure the effectiveness of focusing and photometry. Meter again with the electrochromic grating hidden to record the re-exposure parameters.
  • control the angle and transparency of the grating and the exposure of the shooting interface specifically, according to the corresponding relationship between the preset angle and the structural parameters of the camera module, determine the camera module structure corresponding to the angle of the electrochromic grating set on the interactive interface parameters, so that by adjusting the structural parameters of the camera module where the electrochromic grating is located, the grating angle of the electrochromic grating layer is adjusted, so that the user can adjust the angle of the grating through the interactive interface and select the incident light angle; according to the preset transparency and electric field
  • the corresponding relationship of parameters determines the electric field parameter corresponding to the transparency of the electrochromic grating set on the interactive interface, thereby adjusting the transparency of the grating of the electrochromic grating layer by adjusting the electric field parameters, so that the user can adjust the transparency of the grating through the interactive interface, Changing the visibility of the grating; when displaying the grating, adjust the exposure according to the re-exposure parameters and the exposure adjustment corresponding to the
  • the polarizer itself includes two types of linear polarizer and circular polarizer, and the shooting effects of the two lenses are the same.
  • the linear polarizer affects the accuracy of the light metering system on automatic cameras, so it is more used in traditional manual cameras.
  • the circular polarizer is based on a linear polarizer superimposed with a quarter-wave plate, which converts linearly polarized light into circularly polarized light to solve the problem of photometry, but actually increases the composition and thickness of the lens.
  • the electrochromic grating and the conventional lens assembly of a single electrochromic camera module in the camera module Add a quarter-wave plate, so that in the actual shooting process, after the user adjusts the shooting parameters such as the grating angle and transparency, the photometry process can be omitted, and the angle and transparency of the grating and the exposure of the shooting interface can be directly controlled.
  • the grating angle and transparency of the electrochromic grating layer are used to display the grating; when the grating is displayed, the exposure amount is adjusted according to the exposure adjustment amount corresponding to the set transparency.
  • the electrochromic grating is built into a camera module, such as a camera module of a mobile terminal such as a mobile phone, to solve the problems of carrying, repeated installation and disassembly of external accessories.
  • this embodiment adjusts the parameters of the electric field according to the content recognition of the acquired image and the user's operation instructions, and then changes the transparency of the electrochromic grating layer, controls the passage of light in a single direction through the grating structure, and adjusts the exposure at the same time, which solves the problem during the shooting process. Low-quality shots caused by glare or harmful reflections, as well as underexposure, improve the user experience.
  • the camera control process of the shooting process will be described in detail below in conjunction with FIG. 3 .
  • the equipment parameters need to be preset. Specifically, before the actual shooting, the following six parts of parameter presets are performed on the software and hardware of the equipment.
  • A. Preset the corresponding relationship between the display transparency of the electrochromic grating layer (referred to as transparency) and the actual parameters of the applied electric field (referred to as electric field parameters), so that the electrochromic grating (referred to as grating) can be adjusted by adjusting the electric field parameters during the shooting process display transparency.
  • the corresponding relationship between the angle of the electrochromic grating layer and the structural parameters of the camera module is preset, so that the angle of the electrochromic grating can be changed by adjusting the camera module structural member of the camera module where the electrochromic grating layer is located.
  • the initial transparency of the grating can be set to 0%, that is, the grating will not be displayed.
  • the shooting function of the terminal device supports smart object recognition or smart mode switching, it is necessary to preset which shooting modes or recognize which elements will display the raster by default; in other modes, the raster will not be displayed by default. Since polarization is mainly used in landscape shooting to solve the problems of glare and harmful reflections, it is generally preset to automatically adjust the electric field display grating in landscape shooting mode or when image glare is recognized.
  • the specific implementation steps of user shooting may include the following steps as shown in FIG. 3 .
  • step C201 it is detected that the camera module is turned on, and the user opens the shooting application.
  • This embodiment needs to be carried out under the shooting operation of the user, and first detects the opening state of the camera module to ensure that the image information can be obtained normally; moreover, the user has opened a specific camera or photography application, and can preview the shooting effect in the interface.
  • the camera module acquires images, and the detection preset needs to display the content of the raster layer.
  • step S201 Normal shooting process.
  • judgment C202.2 it is detected that the user manually turns on the polarization shooting mode.
  • the user uses the manual shooting mode to shoot, and it is necessary to detect whether the user has manually turned on the polarization shooting mode. If the polarization shooting mode is turned on, perform step S201; transparent state), carry out the normal shooting process.
  • step S201 before displaying the electrochromic grating, initial light metering and focusing are performed.
  • linear polarization grating Since the linear polarization grating has an impact on the photometry and focusing operations during digital shooting, before displaying the electrochromic grating, perform the initial photometry and focusing operations in the transparent state of the grating, and record the exposure parameters and focus parameters in the current shooting state.
  • step S202 electric field parameters are adjusted according to a preset, so that the electrochromic grating is displayed.
  • step S201 the electric field parameters are adjusted according to the preset correspondence between the electric field parameters and the transparency parameters of the electrochromic grating, so that the grating is displayed and the incident light is controlled.
  • step S203 after the grating is displayed, the shooting exposure is adjusted according to a preset.
  • the exposure parameter obtained in step S201 is added to the exposure adjustment value in the parameter preset to ensure that the brightness of the shooting content is still appropriate after the grating is displayed.
  • step S204 user interface adjustment parameters are obtained, and parameters of the actual electrochromic grating layer and other shooting parameters are adjusted based on presets.
  • the user After displaying the electrochromic grating, the user also needs to adjust the angle and transparency of the grating by using the adjustment bar in the interactive interface according to the actual shooting scene, and select the appropriate parameters to get the best effect of the photo taken. At the same time, the user can also adjust other general parameters such as the shooting focus object, shooting exposure, and color temperature.
  • step S205 after the user adjusts the parameters, the electrochromic grating is hidden and light metering and focusing are performed again.
  • step S206 based on the grating angle set by the user, the electric field and the structural parameters of the camera module are adjusted to display the electrochromic grating.
  • step S205 After completing photometry and focusing again, continue to adjust the electric field and the structural parameters of the camera assembly, and adjust the electrochromic grating to the user-adjusted parameters recorded in step S205, including angle and transparency.
  • step C103 detect whether the user presses the shooting button, if yes, execute step S207, otherwise, repeat judgment C202.1 or judgment C202.2 according to the situation.
  • step S207 If the operation of pressing the shooting button by the user is not detected, it means that the user will continue to adjust the shooting content, and the judgment C202.1 or judgment C202.2 will be repeated according to the situation.
  • step S207 currently captured image information or image information is stored.
  • the image information or image information acquired by the current camera module is stored in the storage module, allowing the user to view and preview the shooting content or perform other editing operations later.
  • This disclosure uses electrochromic materials to make the grating layer and builds it into the camera module.
  • the parameters of the electric field can be adjusted according to the content recognition of the acquired image and the user's operation instructions, thereby changing the electrochromic layer. Transparency of the color-shifting raster layer.
  • the grating When the grating is displayed, it can automatically adjust the exposure of the interface to ensure the shooting effect.
  • the user can adjust the angle of the grating through the interactive interface, select the angle of incident light, and eliminate glare or harmful reflections during shooting.
  • the grating when the grating is displayed, if the shooting involves focusing and metering operations, it can automatically adjust the electric field to hide the grating layer before focusing and metering to ensure the effectiveness of focusing and metering. After the metering and focusing operations are completed, the grating layer is displayed to ensure the shooting effect .
  • a quarter-wave plate can also be added between the electrochromic grating of a single electrochromic camera module and the conventional lens assembly.
  • the two steps of S205 and S206 that first hide and then display the electrochromic grating can be omitted in the process of photometry and focusing.
  • the solution can be selected according to the actual situation.
  • This embodiment proceeds from practical problems and uses the characteristics of electrochromic materials to propose a solution to build an electrochromic grating layer that can realize the function of a polarizer into a camera module, such as a camera module of a mobile terminal such as a mobile phone, to solve the problem of glare or
  • a camera module such as a camera module of a mobile terminal such as a mobile phone
  • the problem of low shooting quality caused by harmful reflections improves the camera and video quality and user experience of mobile terminals. It is suitable for smart terminal devices with cameras used by users to take specific photos and videos.
  • An embodiment of the present disclosure also provides a camera control device, the device includes a memory, a processor, a program stored in the memory and operable on the processor, and a program for implementing the processor and the
  • the memory is connected to a data bus for communication, and when the program is executed by the processor, the steps of the aforementioned camera control method are realized.
  • the memory includes but not limited to RAM (random access memory), ROM (read only memory), EEPROM (electrically erasable programmable read only memory), and the processor includes but not limited to central processing unit, digital signal processor or microprocessor.
  • An embodiment of the present disclosure also provides a mobile terminal, which includes: an electrochromic grating layer built in a camera module of the mobile terminal and the aforementioned camera control device.
  • Fig. 4a and Fig. 4b are the device front reference diagram and the device back reference diagram of the mobile terminal of the present disclosure.
  • the image is input into the camera module, which includes an electrochromic camera module.
  • FIG. 5 is a schematic diagram of functional modules of the mobile terminal of the present disclosure.
  • the functional modules of the terminal device include: an input module, a judgment module, a control module, a calculation and storage module, and an output module.
  • the input module mainly includes two parts, namely image input and user operation input.
  • the image input part mainly refers to the camera module of the mobile terminal, which can obtain surrounding image information.
  • the whole camera module is composed of one or more camera modules, at least one of which is an electrochromic camera module.
  • the user operation input part is a module that obtains user instructions such as adjusting grating transparency, rotation angle, shooting focus, shooting, video recording, etc. during the shooting process, including but not limited to obtaining user operations on the touch screen or device buttons.
  • FIG. 6 is a schematic diagram of a single electrochromic camera module of the mobile terminal of the present disclosure.
  • a single electrochromic camera module needs to include at least 5 parts, which are circuit substrate 1, sensor photosensitive device 2, and focusing and photometry components. 3.
  • Conventional lens assembly 4 and electrochromic grating layer 5 are conventional lens assembly 4 and electrochromic grating layer 5 .
  • the electrochromic grating layer 5 is essentially a linear polarizer made of electrochromic material, and the grating structure (common grating interval is 5 microns left and right), to control the passage of light in a single direction.
  • the grating part of the polarizer can adjust the visibility of the grating itself, that is, the transparency, under different electric fields, so as to realize the change between ordinary lenses and polarized lenses.
  • the electrochromic grating can be rotated according to the actual shooting environment and user needs, so as to achieve the purpose of controlling the direction of the incident light source, as shown in Figure 7a, Figure 7b and Figure 7c.
  • this case only involves the transparency and angle changes of a single-layer electrochromic grating.
  • the structure combination can obtain more different shooting effects during the shooting process, enriching users Shooting experience.
  • the judging module needs to judge the state of the equipment, judge according to the specific information received by the input module, and give the angle parameter and transparency parameter of the electrochromic grating. At the same time, other user operations during the shooting process are converted into recognizable shooting or adjustment instructions.
  • control module controls the angle and transparency of the electrochromic grating in the image input module by obtaining the conclusion of the judgment module, and at the same time controls the image input module, the calculation and storage module and the output module to perform specific shooting or adjustment operations.
  • the calculation and storage module is used to store the specific content of the user's shooting, as well as some preset instructions and specific parameters, including the angle parameters and transparency parameters of the current electrochromic grating.
  • the output module refers to the information interaction screen between the device and the user. During the shooting process, the user can observe the specific effect of the current shooting in real time through the screen of the mobile terminal.
  • the calculation part of the judgment module, the control module, and the calculation and storage module can be realized by a processor.
  • the following provides an actual case when a user takes a photo.
  • the parameter presets before shooting include the following.
  • the adjustable transparency range of the electrochromic grating is 0%-100%, 0% means the grating is invisible, 100% means the grating is completely visible, and the grating is able to block all incident light in its direction.
  • the adjustable angle range of the electrochromic grating is 0-180 degrees.
  • the initial state of the electrochromic grating is 0% transparency and an angle of 90 degrees.
  • the electrochromic grating (transparency 100%, angle 90 degrees) is automatically displayed.
  • the system When the user takes a picture of the scenery, the system will automatically enter the polarization grating shooting mode after recognizing the scenery elements, and the transparency adjustment bar and the angle adjustment bar of the electrochromic grating for the user to manually adjust appear in the user interface, as shown in the user interface of Figure 8 Show.
  • the system will perform initial metering and focusing operations to record the current exposure; adjust the electric field parameters, set the transparency of the electrochromic grating to 100%, and set the angle to 90 degrees, and will increase the exposure based on the current exposure. 20% exposure. Displaying the effect of the electrochromic grating layer after adjusting the exposure will be displayed in real time in the shooting viewfinder interface of the user interface.
  • Users can adjust the transparency adjustment bar and angle adjustment bar in the interface according to the shooting effect displayed in the shooting viewfinder interface, so as to adjust the state of the electrochromic grating layer and find the most suitable parameters for the current shooting scene.
  • adjust the electric field first to hide the electrochromic grating layer.
  • the grating layer adjusted by the user will be displayed to ensure the effectiveness of photometry and focus. .
  • click the shooting shutter button in the interface the system will store the current image, and support the user to view and preview or other post-editing operations.
  • the terminal device uses an electrochromic material to make a polarization grating built into the camera.
  • the transparency of the electrochromic grating display is automatically controlled according to content recognition and specific scenes; the exposure of the photo after the grating display is automatically optimized; the user can manually adjust the parameters of the electrochromic grating layer.
  • the embodiment of the present disclosure proposes a solution to build the electrochromic grating layer that can realize the function of the polarizer into the camera module of mobile terminals such as mobile phones, so as to solve the problems caused by glare or harmful reflection.
  • the exposure can be appropriately increased to improve the mobile terminal’s photo and video quality and user experience.
  • the grating transparency and angle of the electrochromic grating layer can be adjusted, for scenes such as shooting non-reflective objects or shooting water surface projections, the exposure caused by the reduction of incident light after the polarizer is built into the camera module in the related art can be avoided. Insufficient problem.
  • an embodiment of the present disclosure also provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors , so as to realize the steps of the foregoing imaging control method.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute.
  • Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • a processor such as a central processing unit, digital signal processor, or microprocessor
  • Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Abstract

Disclosed are a photographing control method and device, a mobile terminal and a storage medium, relating to the field of photography. The method comprises: detecting whether a grating needs to be displayed in a current photographing scene; and when it is detected that the grating needs to be displayed, displaying the grating on a photographing interface by adjusting an electrochromic grating layer provided in a camera module, so as to eliminate glare or reflection during photographing.

Description

一种摄像控制方法、设备、移动终端及存储介质Camera control method, device, mobile terminal and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求享有2021年11月05日提交的名称为“一种摄像控制方法、设备、移动终端及存储介质”的中国专利申请202111310880.9的优先权,其全部内容通过引用并入本申请中。This application claims the priority of the Chinese patent application 202111310880.9 entitled "A camera control method, device, mobile terminal and storage medium" filed on November 05, 2021, the entire content of which is incorporated into this application by reference.
技术领域technical field
本公开涉及摄像领域,尤其涉及一种摄像控制方法、设备、移动终端及存储介质。The present disclosure relates to the field of camera, and in particular, to a camera control method, device, mobile terminal and storage medium.
背景技术Background technique
随着手机等移动终端的普及和拍摄性能的提升,摄像功能已经成为使用频次最高的功能之一。用户在使用手机拍摄风景或一些表面反光物体时,会出现眩光或反光导致拍摄质量不高的情况,且反光和眩光的情况很难用后期效果进行去除。因此需要消除拍摄过程中的眩光或有害反光。With the popularity of mobile terminals such as mobile phones and the improvement of shooting performance, the camera function has become one of the most frequently used functions. When users use mobile phones to take pictures of landscapes or some reflective objects on the surface, there will be glare or reflections that lead to poor shooting quality, and the reflections and glares are difficult to remove with post-processing effects. Therefore there is a need to eliminate glare or unwanted reflections during filming.
发明内容Contents of the invention
本公开实施例的主要目的在于提供一种摄像控制方法、设备、移动终端及存储介质,解决拍摄过程中出现眩光或有害反光的问题。The main purpose of the embodiments of the present disclosure is to provide a camera control method, device, mobile terminal and storage medium to solve the problem of glare or harmful reflection during shooting.
根据本公开的一个方面,本公开实施例提供了一种摄像控制方法,所述方法包括以下步骤:检测在当前拍摄场景下是否需要显示光栅;以及在检测到需要显示光栅时,通过调整内置于摄像模组中的电致变色光栅层,在拍摄界面上显示光栅,以消除拍摄过程中的眩光或反光。According to one aspect of the present disclosure, an embodiment of the present disclosure provides a camera control method, the method includes the following steps: detecting whether the grating needs to be displayed in the current shooting scene; and when it is detected that the grating needs to be displayed, by adjusting the The electrochromic grating layer in the camera module displays gratings on the shooting interface to eliminate glare or reflections during shooting.
根据本公开的一个方面,本公开实施例还提供了一种摄像控制设备,所述设备包括存储器、处理器、存储在所述存储器上并可在所述处理器上运行的程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,所述程序被所述处理器执行时实现如前述的摄像控制方法的步骤。According to one aspect of the present disclosure, an embodiment of the present disclosure also provides a camera control device, the device includes a memory, a processor, a program stored in the memory and operable on the processor, and used to implement The processor and the memory are connected to a data bus for communication, and when the program is executed by the processor, the steps of the aforementioned camera control method are realized.
根据本公开的一个方面,本公开实施例还提供了一种移动终端,所述移动终端包括:内置于所述移动终端的摄像模组中的电致变色光栅层以及前述的摄像控制设备。According to one aspect of the present disclosure, an embodiment of the present disclosure further provides a mobile terminal, the mobile terminal comprising: an electrochromic grating layer built in a camera module of the mobile terminal and the aforementioned camera control device.
根据本公开的一个方面,本公开实施例提供了一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现前述的摄像控制方法的步骤。According to one aspect of the present disclosure, an embodiment of the present disclosure provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be used by one or more The processor executes to realize the steps of the aforementioned camera control method.
附图说明Description of drawings
图1是本公开实施例提供的摄像控制方法的第一流程图;FIG. 1 is a first flowchart of a camera control method provided by an embodiment of the present disclosure;
图2是本公开实施例提供的摄像控制方法的第二流程图;FIG. 2 is a second flow chart of the camera control method provided by an embodiment of the present disclosure;
图3是本公开实施例提供的摄像控制具体流程图;FIG. 3 is a specific flow chart of camera control provided by an embodiment of the present disclosure;
图4a和图4b是本公开移动终端的设备正面参考图和设备背面参考图;FIG. 4a and FIG. 4b are a front reference diagram and a rear reference diagram of the device of the mobile terminal of the present disclosure;
图5是本公开移动终端的功能模块示意图;FIG. 5 is a schematic diagram of functional modules of the mobile terminal of the present disclosure;
图6是本公开移动终端的单个电致变色摄像模块示意图;6 is a schematic diagram of a single electrochromic camera module of the mobile terminal of the present disclosure;
图7a、图7b和图7c是电致变色光栅原理图;以及Figure 7a, Figure 7b and Figure 7c are schematic diagrams of electrochromic gratings; and
图8是用户界面及调节条与电致变色光栅状态对应图。Fig. 8 is a corresponding diagram of the user interface and the adjustment bar and the state of the electrochromic grating.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。It should be understood that the specific embodiments described here are only used to explain the present disclosure, not to limit the present disclosure.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本公开的说明,其本身没有特有的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the subsequent description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present disclosure and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.
图1是本公开实施例提供的摄像控制方法的第一流程图,如图1所示,所述方法可以包括步骤S101和步骤S102。FIG. 1 is a first flow chart of a camera control method provided by an embodiment of the present disclosure. As shown in FIG. 1 , the method may include steps S101 and S102.
在步骤S101中,检测在当前拍摄场景下是否需要显示光栅。In step S101, it is detected whether a grating needs to be displayed in the current shooting scene.
在步骤S102中,在检测到需要显示光栅时,通过调整内置于摄像模组中的电致变色光栅层,在拍摄界面上显示光栅。In step S102, when it is detected that the grating needs to be displayed, the grating is displayed on the shooting interface by adjusting the electrochromic grating layer built in the camera module.
本实施例的摄像控制方法利用内置在摄像模组中的电致变色光栅层,消除拍摄过程中的眩光或有害反光,以达到最佳拍摄效果,优化拍摄质量。另外,由于电致变色光栅层内置在摄像模组,而不是为摄像模组外接电致变色光栅层或偏振镜,因而避免了实际使用过程中外接配件的携带、反复安装及拆卸问题,提高了用户体验。The camera control method of this embodiment uses the electrochromic grating layer built in the camera module to eliminate glare or harmful reflections during shooting, so as to achieve the best shooting effect and optimize the shooting quality. In addition, because the electrochromic grating layer is built into the camera module instead of connecting the electrochromic grating layer or polarizer to the camera module, the problems of carrying, repeated installation and disassembly of external accessories during actual use are avoided, and the user experience.
图2是本公开实施例提供的摄像控制方法的第二流程图,如图2所示,与图1实施例相比,在执行步骤S101和步骤S102之后,所述方法还可以进一步包括步骤S103。Fig. 2 is a second flow chart of the camera control method provided by the embodiment of the present disclosure. As shown in Fig. 2, compared with the embodiment in Fig. 1, after performing step S101 and step S102, the method may further include step S103 .
在步骤S103中,在显示光栅时,调整所述拍摄界面的曝光量。In step S103, when the grating is displayed, the exposure of the shooting interface is adjusted.
利用光的偏振原理,可以消除拍摄过程中的眩光或有害反光,提高拍摄影像的清晰度和表现力。然而显示光栅会导致进入镜头的入射光减少,出现曝光不足的问题,为此,本实施例在显示光栅后,通过调整曝光量,消除入射光源减少导致的曝光不足的问题。Using the principle of light polarization, it can eliminate glare or harmful reflections during shooting, and improve the clarity and expressiveness of the captured images. However, displaying the grating will reduce the incident light entering the lens, resulting in underexposure. Therefore, in this embodiment, after displaying the grating, the exposure is adjusted to eliminate the underexposure caused by the reduction of incident light sources.
电致变色材料是指材料的反射率、透过率、吸收率等光学属性在外加电场的作用下发 生稳定、可逆的颜色变化,在外观上表现为颜色和透明度的可逆变化。在相关技术中,一般将电致变色材料运用到摄像头滤镜上,主要通过在摄像模组上添加一层或多层电致变色材料层,通过调整电磁来调整电致变色材料层的透明度,以实现根据环境调整相片色温或根据用户选择调整滤镜色彩,丰富拍摄效果的目的。从相关技术的拍摄效果上看,仅能丰富用户拍摄效果,但无法帮助用户解决对于拍摄场景中的有害光处理,且这些效果通过对相片的后期调整也可以实现类似效果;同时对于变色材料的利用方式较为单一,仅通过叠加变色实现自由调色的目的,对材料本身的调整维度仅包括透明度的调整。本实施例将电致变色材料特性添加到偏振镜的制作中,特别是线偏振镜制作中,具体地说,利用电致变色材料特性,制作一种可用作偏振镜的电致变色光栅,来达到将“偏振镜”内置在摄像头模组的目的,例如手机等移动终端的摄像头模组,解决眩光或有害反光导致的拍摄质量不高的问题,提升拍照及摄像质量,提升用户体验。同时为了解决曝光不足的问题,在光栅显示时,自动调整拍照界面的曝光量,进一步保证拍摄效果。Electrochromic materials refer to materials whose optical properties such as reflectivity, transmittance, and absorptivity undergo stable and reversible color changes under the action of an external electric field, and appear as reversible changes in color and transparency in appearance. In related technologies, electrochromic materials are generally applied to camera filters, mainly by adding one or more electrochromic material layers on the camera module, and adjusting the transparency of the electrochromic material layer by adjusting the electromagnetic force. In order to achieve the purpose of adjusting the color temperature of the photo according to the environment or adjusting the color of the filter according to the user's choice, and enriching the shooting effect. From the shooting effect of related technologies, it can only enrich the shooting effect of users, but it cannot help users solve the harmful light processing in the shooting scene, and these effects can also achieve similar effects through post-adjustment of photos; at the same time, for color-changing materials The use method is relatively simple, and the purpose of free color adjustment is only achieved through superimposed discoloration, and the adjustment dimension of the material itself only includes the adjustment of transparency. In this embodiment, the characteristics of electrochromic materials are added to the manufacture of polarizers, especially the manufacture of linear polarizers. Specifically, an electrochromic grating that can be used as a polarizer is made by utilizing the characteristics of electrochromic materials. To achieve the purpose of building the "polarizer" into the camera module, such as the camera module of mobile terminals such as mobile phones, to solve the problem of low shooting quality caused by glare or harmful reflections, improve the quality of photos and videos, and improve user experience. At the same time, in order to solve the problem of underexposure, when the raster is displayed, the exposure of the camera interface is automatically adjusted to further ensure the shooting effect.
进一步地,所述步骤S101可以包括:判断是否已开启智能拍摄模式,在判断已开启所述智能拍摄模式时,检测所述摄像模组获取的图像,若检测到所述图像中存在需要显示光栅的图像内容,则确定在当前拍摄场景下需要显示光栅;在判断未开启所述智能拍摄模式时,检测是否已手动开启偏振拍摄模式(如风景拍摄模式),若检测到已手动开启偏振拍摄模式,则确定在当前拍摄场景下需要显示光栅。也就是说,本实施例在利用电致变色材料制作偏振光栅(即电致变色光栅或偏振镜)并内置在摄像模组中后,可以根据内容识别或具体场景自动控制电致变色光栅是否显示,具体地,在已开启智能拍摄模式的情况下,可以识别摄像模组获取的图像的内容,如果识别出风景元素,则控制光栅显示,在未开启智能拍摄模式的情况下,即当前为手动拍摄模式,此时如果用户开启了偏振拍摄模式,则控制光栅显示。Further, the step S101 may include: judging whether the smart shooting mode has been turned on, and when it is judged that the smart shooting mode has been turned on, detecting the image acquired by the camera module, and if it is detected that there is a raster in the image that needs to be displayed. image content, it is determined that the grating needs to be displayed in the current shooting scene; when it is judged that the smart shooting mode is not turned on, it is detected whether the polarized shooting mode (such as the landscape shooting mode) has been manually turned on, and if it is detected that the polarized shooting mode has been manually turned on , it is determined that the raster needs to be displayed in the current shooting scene. That is to say, in this embodiment, after using the electrochromic material to make the polarization grating (that is, the electrochromic grating or polarizer) and built it into the camera module, it can automatically control whether the electrochromic grating displays , specifically, when the smart shooting mode is turned on, the content of the image captured by the camera module can be identified, and if the landscape element is recognized, the raster display is controlled. Shooting mode. At this time, if the user turns on the polarization shooting mode, control the raster display.
进一步地,所述步骤S102可以包括:根据预设的透明度与电场参数的对应关系,调整电场参数,以使所述摄像模组中的电致变色光栅层按照对应的透明度进行光栅显示。本实施例在不同电场下可改变电致变色光栅层的光栅透明度,另外,利用电致变色光栅层自身的光栅结构可控制单一方向的光通过,消除拍摄过程中的眩光或有害反光。Further, the step S102 may include: adjusting the electric field parameters according to the preset correspondence between transparency and electric field parameters, so that the electrochromic grating layer in the camera module performs grating display according to the corresponding transparency. In this embodiment, the grating transparency of the electrochromic grating layer can be changed under different electric fields. In addition, the grating structure of the electrochromic grating layer can control the passage of light in a single direction, eliminating glare or harmful reflection during shooting.
进一步地,所述步骤S103可以包括:在进行光栅显示时,根据预设的透明度与曝光调整量的对应关系,确定与所述摄像模组中的电致变色光栅层的透明度对应的曝光调整量,然后根据所述与所述摄像模组中的电致变色光栅层的透明度对应的曝光调整量和所述初始曝光参数,调整曝光量。其中,所述初始曝光参数是在所述步骤S102前进行初始测光而得到并记录的。Further, the step S103 may include: determining the exposure adjustment amount corresponding to the transparency of the electrochromic grating layer in the camera module according to the preset correspondence between the transparency and the exposure adjustment amount when displaying the grating , and then adjust the exposure according to the exposure adjustment amount corresponding to the transparency of the electrochromic grating layer in the camera module and the initial exposure parameter. Wherein, the initial exposure parameters are obtained and recorded by performing initial photometry before the step S102.
在步骤S103后,如果检测到用户按下拍摄按钮,说明用户对当前预览的拍摄效果满意, 可以存储当前拍摄到的图像。After step S103, if it is detected that the user presses the shooting button, it means that the user is satisfied with the currently previewed shooting effect, and the currently captured image can be stored.
在实际拍摄过程中,用户可能对当前预览的拍摄效果不满意,为此,本实施例在交互界面上提供调节条,在步骤S103后,用户可以自主调节光栅的角度和透明度。具体地说,在交互界面上提供角度调节条和透明度调节条,利用交互界面中的角度调节条,可以设定所述摄像模组中的电致变色光栅的角度;还可以在交互界面上提供透明度调节条,利用交互界面中的透明度调节条,可以设定所述摄像模组中的电致变色光栅的透明度。另外,除通过调节条设定并调节光栅的角度透明度外,还可以在交互界面上设定其他拍摄参数,例如曝光调整量,可替代地,也可以根据预设的透明度与曝光调整量的对应关系,确定与设定的透明度对应的曝光调整量。在得到设定的角度、透明度及对应的曝光调整量后,可以控制光栅的角度和透明度以及拍摄界面的曝光量,从而得到用户满意的图像。During the actual shooting process, the user may not be satisfied with the currently previewed shooting effect. Therefore, this embodiment provides an adjustment bar on the interactive interface. After step S103, the user can independently adjust the angle and transparency of the grating. Specifically, an angle adjustment bar and a transparency adjustment bar are provided on the interactive interface, and the angle of the electrochromic grating in the camera module can be set by using the angle adjustment bar in the interactive interface; Transparency adjustment bar, using the transparency adjustment bar in the interactive interface, can set the transparency of the electrochromic grating in the camera module. In addition, in addition to setting and adjusting the angular transparency of the grating through the adjustment bar, other shooting parameters can also be set on the interactive interface, such as the exposure adjustment amount. relationship to determine the amount of exposure adjustment corresponding to the set transparency. After obtaining the set angle, transparency and corresponding exposure adjustment, the angle and transparency of the grating and the exposure of the shooting interface can be controlled, so as to obtain an image satisfactory to the user.
本实施例制作的电致变色光栅作为一种线偏振镜,因此当拍摄涉及对焦和测光操作时,需要自动在对焦测光前调整电场隐藏光栅层,保证对焦测光有效性,即,需要在隐藏电致变色光栅的情况下再次测光,以记录再次曝光参数。然后再控制光栅的角度和透明度以及拍摄界面的曝光量,具体地,根据预设的角度与摄像模块结构参数的对应关系,确定交互界面上设定的电致变色光栅的角度对应的摄像模块结构参数,从而通过调整电致变色光栅所在摄像模块的结构参数,调整所述电致变色光栅层的光栅角度,实现用户通过交互界面调整光栅的角度,选择入射光角度;根据预设的透明度和电场参数的对应关系,确定交互界面上设定的电致变色光栅的透明度对应的电场参数,从而通过调整电场参数调整所述电致变色光栅层的光栅透明度,实现用户通过交互界面调整光栅的透明度,改变光栅可见性;在显示光栅时,根据所述再次曝光参数和与设定的透明度对应的所述曝光调整量,调整曝光量,得到调整后的曝光量,以按照调整后的曝光量对拍摄界面的图像进行曝光处理。The electrochromic grating produced in this embodiment is used as a linear polarizer, so when shooting involves focusing and photometry operations, it is necessary to automatically adjust the electric field to hide the grating layer before focusing and metering to ensure the effectiveness of focusing and photometry. Meter again with the electrochromic grating hidden to record the re-exposure parameters. Then control the angle and transparency of the grating and the exposure of the shooting interface, specifically, according to the corresponding relationship between the preset angle and the structural parameters of the camera module, determine the camera module structure corresponding to the angle of the electrochromic grating set on the interactive interface parameters, so that by adjusting the structural parameters of the camera module where the electrochromic grating is located, the grating angle of the electrochromic grating layer is adjusted, so that the user can adjust the angle of the grating through the interactive interface and select the incident light angle; according to the preset transparency and electric field The corresponding relationship of parameters determines the electric field parameter corresponding to the transparency of the electrochromic grating set on the interactive interface, thereby adjusting the transparency of the grating of the electrochromic grating layer by adjusting the electric field parameters, so that the user can adjust the transparency of the grating through the interactive interface, Changing the visibility of the grating; when displaying the grating, adjust the exposure according to the re-exposure parameters and the exposure adjustment corresponding to the set transparency to obtain the adjusted exposure, so as to shoot according to the adjusted exposure The image of the interface is subjected to exposure processing.
偏振镜本身包括线偏振镜和圆偏振镜两类,两种镜片拍摄效果一致。其中,线偏振镜在自动相机上影响测光系统的精度,因而更多地应用于传统手动相机上。圆偏振镜是在线偏振镜基础上叠加一个四分之一波片,将线偏振光转化为圆偏振光后,解决测光问题,但实际上也增加了镜片的组成和厚度。因而在对测光系统的精度要求高,但对电致变色摄像模块厚度要求不高的场景下,可以在摄像模组中单个电致变色摄像模块的电致变色光栅和常规镜头组件之间,添加一个四分之一波片,这样,在实际拍摄过程中,用户调节光栅角度和透明度等拍摄参数后,就可以省略测光过程,直接控制光栅的角度和透明度以及拍摄界面的曝光量即可,即,在所述电致变色光栅与所述电致变色光栅所在摄像模块的镜头组件之间设置四分之一波片的情况下,根据设定的电致变色光栅的角度和透明度,调整所述电致变色光栅层的光栅角度和透明度,以显示光栅;在显示光栅时,根据设定的透明度对应的所述曝光调整量,调整曝光量。The polarizer itself includes two types of linear polarizer and circular polarizer, and the shooting effects of the two lenses are the same. Among them, the linear polarizer affects the accuracy of the light metering system on automatic cameras, so it is more used in traditional manual cameras. The circular polarizer is based on a linear polarizer superimposed with a quarter-wave plate, which converts linearly polarized light into circularly polarized light to solve the problem of photometry, but actually increases the composition and thickness of the lens. Therefore, in the scene where the accuracy of the photometry system is high, but the thickness of the electrochromic camera module is not high, the electrochromic grating and the conventional lens assembly of a single electrochromic camera module in the camera module, Add a quarter-wave plate, so that in the actual shooting process, after the user adjusts the shooting parameters such as the grating angle and transparency, the photometry process can be omitted, and the angle and transparency of the grating and the exposure of the shooting interface can be directly controlled. , that is, in the case of setting a quarter-wave plate between the electrochromic grating and the lens assembly of the camera module where the electrochromic grating is located, according to the set angle and transparency of the electrochromic grating, adjust The grating angle and transparency of the electrochromic grating layer are used to display the grating; when the grating is displayed, the exposure amount is adjusted according to the exposure adjustment amount corresponding to the set transparency.
本实施例将电致变色光栅内置在摄像模组中,例如手机等移动终端的摄像模组,解决外接配件的携带、反复安装及拆卸问题。另外,本实施例根据获取图像的内容识别和用户操作指令,调整电场参数,进而改变电致变色光栅层的透明度,通过光栅结构控制单一方向的光通过,同时调整曝光量,解决了拍摄过程中眩光或有害反光导致的拍摄质量不高的问题以及曝光不足的问题,提升了用户体验。In this embodiment, the electrochromic grating is built into a camera module, such as a camera module of a mobile terminal such as a mobile phone, to solve the problems of carrying, repeated installation and disassembly of external accessories. In addition, this embodiment adjusts the parameters of the electric field according to the content recognition of the acquired image and the user's operation instructions, and then changes the transparency of the electrochromic grating layer, controls the passage of light in a single direction through the grating structure, and adjusts the exposure at the same time, which solves the problem during the shooting process. Low-quality shots caused by glare or harmful reflections, as well as underexposure, improve the user experience.
下面结合图3详细说明拍摄过程的摄像控制过程。The camera control process of the shooting process will be described in detail below in conjunction with FIG. 3 .
在拍摄流程开始前,需要预设设备参数,具体地说,在实际拍摄之前,对设备的软硬件进行以下6部分的参数预设。Before the shooting process starts, the equipment parameters need to be preset. Specifically, before the actual shooting, the following six parts of parameter presets are performed on the software and hardware of the equipment.
A.预设电致变色光栅层的显示透明度(简称透明度)与施加电场实际参数(简称电场参数)的对应关系,使得在拍摄过程中可以通过调节电场参数来调整电致变色光栅(简称光栅)的显示透明度。A. Preset the corresponding relationship between the display transparency of the electrochromic grating layer (referred to as transparency) and the actual parameters of the applied electric field (referred to as electric field parameters), so that the electrochromic grating (referred to as grating) can be adjusted by adjusting the electric field parameters during the shooting process display transparency.
B.预设电致变色光栅层的角度与摄像模块结构参数的对应关系,使得可以通过调节电致变色光栅层所在摄像模块的摄像模块结构件来改变电致变色光栅的角度。B. The corresponding relationship between the angle of the electrochromic grating layer and the structural parameters of the camera module is preset, so that the angle of the electrochromic grating can be changed by adjusting the camera module structural member of the camera module where the electrochromic grating layer is located.
C.预设用户界面(或称交互界面)的角度调节条与电致变色光栅的角度的对应关系;预设用户界面的光栅透明度调节条(简称透明度调节条)与电致变色光栅的透明度的对应关系。C. The correspondence between the angle adjustment bar of the default user interface (or interactive interface) and the angle of the electrochromic grating; the transparency adjustment bar of the preset user interface (transparency adjustment bar) and the transparency of the electrochromic grating Correspondence.
D.在显示光栅后,为保持拍摄内容的亮度,需要增加一定的曝光度,所以需要预设用户显示电致变色光栅后,默认的摄像模组的曝光调整量。D. After displaying the grating, in order to maintain the brightness of the shooting content, it is necessary to increase the exposure, so it is necessary to preset the default exposure adjustment amount of the camera module after the user displays the electrochromic grating.
E.预设电致变色光栅的初始透明度及角度,可将光栅的初始透明度设置为0%,即不显示光栅。E. Preset the initial transparency and angle of the electrochromic grating. The initial transparency of the grating can be set to 0%, that is, the grating will not be displayed.
F.若终端设备的拍摄功能支持智能对象识别或智能模式切换,则需要预设哪些拍摄模式或识别到哪些元素后默认显示光栅;其余模式下则默认不显示光栅。由于偏振主要用于风景拍摄以解决眩光及有害反光的问题,一般情况下会预设在风景拍摄模式或是识别到图像眩光时,自动调整电场显示光栅。F. If the shooting function of the terminal device supports smart object recognition or smart mode switching, it is necessary to preset which shooting modes or recognize which elements will display the raster by default; in other modes, the raster will not be displayed by default. Since polarization is mainly used in landscape shooting to solve the problems of glare and harmful reflections, it is generally preset to automatically adjust the electric field display grating in landscape shooting mode or when image glare is recognized.
在预设设备参数后,用户拍摄的具体实施步骤可以如图3所示包括如下步骤。After the device parameters are preset, the specific implementation steps of user shooting may include the following steps as shown in FIG. 3 .
在步骤C201中,检测摄像模组开启,且用户打开拍摄应用。In step C201, it is detected that the camera module is turned on, and the user opens the shooting application.
本实施例需要在用户进行拍摄操作下进行,先检测摄像模组开启状态,保证能够正常获取图像信息;并且,用户已打开具体拍照或摄影应用,能够在界面中预览拍摄效果。This embodiment needs to be carried out under the shooting operation of the user, and first detects the opening state of the camera module to ensure that the image information can be obtained normally; moreover, the user has opened a specific camera or photography application, and can preview the shooting effect in the interface.
在判断C202.1中,摄像模组获取图像,检测预设需要显示光栅层内容。In judgment C202.1, the camera module acquires images, and the detection preset needs to display the content of the raster layer.
当处于智能拍摄模式,即开启智能对象识别或智能模式切换时,若识别到符合预设信息的需要显示光栅的内容,则执行步骤S201,否则保持光栅不显示状态(即光栅透明状态),进行普通的拍摄流程。When in the smart shooting mode, that is, when the smart object recognition or smart mode switching is turned on, if it is recognized that the content of the grating needs to be displayed in accordance with the preset information, then perform step S201; Normal shooting process.
在判断C202.2中,检测到用户手动开启偏振拍摄模式。In judgment C202.2, it is detected that the user manually turns on the polarization shooting mode.
当未开启或不支持智能拍摄模式时,用户使用手动拍摄模式进行拍摄,需要检测用户是否手动开启了偏振拍摄模式,若开启了偏振拍摄模式则执行步骤S201,否则保持光栅不显示状态(即光栅透明状态),进行普通的拍摄流程。When the intelligent shooting mode is not enabled or does not support the intelligent shooting mode, the user uses the manual shooting mode to shoot, and it is necessary to detect whether the user has manually turned on the polarization shooting mode. If the polarization shooting mode is turned on, perform step S201; transparent state), carry out the normal shooting process.
在步骤S201中,显示电致变色光栅前,进行初始测光及对焦。In step S201 , before displaying the electrochromic grating, initial light metering and focusing are performed.
由于数码拍摄过程中线偏振光栅对测光和对焦操作有影响,所以在显示电致变色光栅前,先在光栅透明状态下进行初始测光和对焦操作,记录当前拍摄状态下曝光参数和对焦参数。Since the linear polarization grating has an impact on the photometry and focusing operations during digital shooting, before displaying the electrochromic grating, perform the initial photometry and focusing operations in the transparent state of the grating, and record the exposure parameters and focus parameters in the current shooting state.
在步骤S202中,根据预设调整电场参数,使电致变色光栅显示出来。In step S202, electric field parameters are adjusted according to a preset, so that the electrochromic grating is displayed.
完成步骤S201后,根据预设的电场参数与电致变色光栅的透明度参数的对应关系,调整电场参数,使得光栅显示出来,实现对入射光的控制。After step S201 is completed, the electric field parameters are adjusted according to the preset correspondence between the electric field parameters and the transparency parameters of the electrochromic grating, so that the grating is displayed and the incident light is controlled.
在步骤S203中,显示光栅后,根据预设调整拍摄曝光量。In step S203, after the grating is displayed, the shooting exposure is adjusted according to a preset.
显示光栅后,由于入射光量减少,需要对拍摄的曝光量进行调整,将步骤S201中获得的曝光参数加上参数预设中的曝光调整量,保证在显示光栅后拍摄内容的亮度仍然合适。After the grating is displayed, due to the decrease in the amount of incident light, the exposure of the shooting needs to be adjusted. The exposure parameter obtained in step S201 is added to the exposure adjustment value in the parameter preset to ensure that the brightness of the shooting content is still appropriate after the grating is displayed.
在步骤S204中,获取用户界面调整参数,基于预设调整实际电致变色光栅层的参数和其他拍摄参数。In step S204, user interface adjustment parameters are obtained, and parameters of the actual electrochromic grating layer and other shooting parameters are adjusted based on presets.
在显示电致变色光栅后,用户还需要根据实际拍摄场景的情况,利用交互界面中的调节条对光栅的角度和透明度进行调整,选择合适参数使得拍摄的相片得到最佳效果。同时,用户也可以对拍摄聚焦对象、拍摄曝光度、色温等其他常规参数进行调整。After displaying the electrochromic grating, the user also needs to adjust the angle and transparency of the grating by using the adjustment bar in the interactive interface according to the actual shooting scene, and select the appropriate parameters to get the best effect of the photo taken. At the same time, the user can also adjust other general parameters such as the shooting focus object, shooting exposure, and color temperature.
在步骤S205中,用户调整参数后,隐藏电致变色光栅并进行再次测光及对焦。In step S205, after the user adjusts the parameters, the electrochromic grating is hidden and light metering and focusing are performed again.
当用户完成参数调整后,在拍摄前还可以进行再次测光和对焦。为保障测光和对焦的有效性,测光和对焦前需要先记录当前用户设定的光栅角度及透明度参数,再在测光对焦过程中改变电场参数将电致变色光栅透明度设为完全透明。After the user has finished adjusting the parameters, he can perform metering and focusing again before shooting. In order to ensure the effectiveness of photometry and focusing, it is necessary to record the grating angle and transparency parameters currently set by the user before metering and focusing, and then change the electric field parameters during the photometry and focusing process to set the transparency of the electrochromic grating to be completely transparent.
在步骤S206中,基于用户设定的光栅角度,调整电场及摄像模块结构参数,使电致变色光栅显示出来。In step S206, based on the grating angle set by the user, the electric field and the structural parameters of the camera module are adjusted to display the electrochromic grating.
完成再次测光和对焦后,继续调整电场及摄像组件结构参数,将电致变色光栅调整为步骤S205中记录的用户调整的参数,参数包括角度和透明。After completing photometry and focusing again, continue to adjust the electric field and the structural parameters of the camera assembly, and adjust the electrochromic grating to the user-adjusted parameters recorded in step S205, including angle and transparency.
在步骤C103中,检测用户是否按下拍摄按钮,若是,则执行步骤S207,否则根据情况重复判断C202.1或判断C202.2。In step C103, detect whether the user presses the shooting button, if yes, execute step S207, otherwise, repeat judgment C202.1 or judgment C202.2 according to the situation.
整个拍摄过程中,需要检测交互界面中用户是否按下拍摄按钮,若检测到用户按下拍摄按钮的操作,则表示用户需要拍摄当前交互界面预览的拍摄效果的影像或图像,然后执行步骤S207;若未检测到用户按下拍摄按钮的操作,则表示用户将会继续调整拍摄内容, 将根据情况重复判断C202.1或判断C202.2。During the entire shooting process, it is necessary to detect whether the user presses the shooting button in the interactive interface. If it is detected that the user presses the shooting button, it means that the user needs to take a video or image of the shooting effect previewed in the current interactive interface, and then perform step S207; If the operation of pressing the shooting button by the user is not detected, it means that the user will continue to adjust the shooting content, and the judgment C202.1 or judgment C202.2 will be repeated according to the situation.
在步骤S207中,存储当前拍摄的影像信息或图像信息。In step S207, currently captured image information or image information is stored.
用户点击拍摄按钮后,将当前摄像模组获取到的影像信息或图像信息存储到存储模块,支持用户在之后对拍摄内容进行查看预览或进行其他编辑操作。After the user clicks the shooting button, the image information or image information acquired by the current camera module is stored in the storage module, allowing the user to view and preview the shooting content or perform other editing operations later.
本公开使用电致变色材料制作光栅层并将其内置在摄像模组中,在用户进行照片或视频的拍摄时,能够根据获取图像的内容识别和用户操作指令,调整电场参数,进而改变电致变色光栅层的透明度。在光栅显示时,能够自动调整界面曝光量保证拍摄效果,同时用户可以通过交互界面调整光栅的角度,选择入射光角度,消除拍摄过程中的眩光或有害反光。另外,在光栅显示时,若拍摄涉及对焦和测光操作,能自动在对焦测光前调整电场隐藏光栅层,保证对焦测光有效性,完成测光对焦操作后再显示光栅层,保证拍摄效果。This disclosure uses electrochromic materials to make the grating layer and builds it into the camera module. When the user takes photos or videos, the parameters of the electric field can be adjusted according to the content recognition of the acquired image and the user's operation instructions, thereby changing the electrochromic layer. Transparency of the color-shifting raster layer. When the grating is displayed, it can automatically adjust the exposure of the interface to ensure the shooting effect. At the same time, the user can adjust the angle of the grating through the interactive interface, select the angle of incident light, and eliminate glare or harmful reflections during shooting. In addition, when the grating is displayed, if the shooting involves focusing and metering operations, it can automatically adjust the electric field to hide the grating layer before focusing and metering to ensure the effectiveness of focusing and metering. After the metering and focusing operations are completed, the grating layer is displayed to ensure the shooting effect .
需要说明的是,在实施时,也可以在单个电致变色摄像模块的电致变色光栅和常规镜头组件之间,添加一个四分之一波片,这样,实际拍摄过程中,在用户调节拍摄参数后,测光及对焦过程便可以省略先隐藏后显示电致变色光栅的S205和S206两个步骤。但会导致电致变色摄像模块厚度增加,所以可以根据实际情况进行方案选择。It should be noted that, during implementation, a quarter-wave plate can also be added between the electrochromic grating of a single electrochromic camera module and the conventional lens assembly. In this way, in the actual shooting process, when the user adjusts the shooting After the parameters are set, the two steps of S205 and S206 that first hide and then display the electrochromic grating can be omitted in the process of photometry and focusing. However, it will lead to an increase in the thickness of the electrochromic camera module, so the solution can be selected according to the actual situation.
本实施例从实际问题出发,利用电致变色材料特性,提出将可实现偏振镜功能的电致变色光栅层内置在摄像模组中,例如手机等移动终端的摄像模组的方案,解决眩光或有害反光导致的拍摄质量不高的问题,提升移动终端的拍照及摄像质量和用户体验,适用于用户使用的带有摄像头的智能终端设备,进行具体的照片及视频拍摄。This embodiment proceeds from practical problems and uses the characteristics of electrochromic materials to propose a solution to build an electrochromic grating layer that can realize the function of a polarizer into a camera module, such as a camera module of a mobile terminal such as a mobile phone, to solve the problem of glare or The problem of low shooting quality caused by harmful reflections improves the camera and video quality and user experience of mobile terminals. It is suitable for smart terminal devices with cameras used by users to take specific photos and videos.
本公开实施例还提供了一种摄像控制设备,所述设备包括存储器、处理器、存储在所述存储器上并可在所述处理器上运行的程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,所述程序被所述处理器执行时实现前述的摄像控制方法的步骤。其中,所述存储器包括但不限于RAM(random access memory)、ROM(read only memory)、EEPROM(electrically erasable programmable read only memory),所述处理器包括但不限于中央处理器、数字信号处理器或微处理器。An embodiment of the present disclosure also provides a camera control device, the device includes a memory, a processor, a program stored in the memory and operable on the processor, and a program for implementing the processor and the The memory is connected to a data bus for communication, and when the program is executed by the processor, the steps of the aforementioned camera control method are realized. Wherein, the memory includes but not limited to RAM (random access memory), ROM (read only memory), EEPROM (electrically erasable programmable read only memory), and the processor includes but not limited to central processing unit, digital signal processor or microprocessor.
本公开实施例还提供了一种移动终端,所述移动终端包括:内置于所述移动终端的摄像模组中的电致变色光栅层以及前述的摄像控制设备。An embodiment of the present disclosure also provides a mobile terminal, which includes: an electrochromic grating layer built in a camera module of the mobile terminal and the aforementioned camera control device.
图4a和图4b是本公开移动终端的设备正面参考图和设备背面参考图,如图4a和图4b所示,该终端设备具有拍摄功能,设备正面是显示屏幕,设备背面设有用于拍摄的图像输入摄像模组,该摄像模组包括电致变色的摄像模块。Fig. 4a and Fig. 4b are the device front reference diagram and the device back reference diagram of the mobile terminal of the present disclosure. The image is input into the camera module, which includes an electrochromic camera module.
图5是本公开移动终端的功能模块示意图,如图5所示,该终端设备的功能模块包括:输入模块、判断模块、控制模块、计算与存储模块及输出模块。FIG. 5 is a schematic diagram of functional modules of the mobile terminal of the present disclosure. As shown in FIG. 5 , the functional modules of the terminal device include: an input module, a judgment module, a control module, a calculation and storage module, and an output module.
其中,输入模块主要包括两部分,分别是图像输入和用户操作输入。图像输入部分主 要是指移动终端的摄像模组,能够获取周围的图像信息,整个摄像模组由一个或多个摄像模块组成,其中至少一个摄像模块是电致变色摄像模块。用户操作输入部分是在拍摄过程获取用户调整光栅透明度、旋转角度、拍摄对焦、拍摄、录像等指令的模块,包括但不限于获取触控屏幕上或是设备按键上的用户操作。Wherein, the input module mainly includes two parts, namely image input and user operation input. The image input part mainly refers to the camera module of the mobile terminal, which can obtain surrounding image information. The whole camera module is composed of one or more camera modules, at least one of which is an electrochromic camera module. The user operation input part is a module that obtains user instructions such as adjusting grating transparency, rotation angle, shooting focus, shooting, video recording, etc. during the shooting process, including but not limited to obtaining user operations on the touch screen or device buttons.
图6是本公开移动终端的单个电致变色摄像模块示意图,如图6所示,单个电致变色摄像模块需要至少包括5大部分,分别是电路基板1、sensor感光器件2、对焦测光组件3、常规镜头组件4及电致变色光栅层5。FIG. 6 is a schematic diagram of a single electrochromic camera module of the mobile terminal of the present disclosure. As shown in FIG. 6 , a single electrochromic camera module needs to include at least 5 parts, which are circuit substrate 1, sensor photosensitive device 2, and focusing and photometry components. 3. Conventional lens assembly 4 and electrochromic grating layer 5 .
电致变色摄像模块与普通摄像镜头的差异主要在电致变色光栅层5,电致变色光栅层5实质上是由电致变色材料制作的线偏振镜,利用光栅结构(常见光栅间隔在5微米左右),控制单一方向的光通过。偏振镜的光栅部分在不同的电场下能够调节光栅本身的可见性,即透明度,以实现普通透镜和偏振透镜的变化。同时电致变色光栅可以根据实际拍摄环境和用户需求进行角度的旋转,从而实现控制入射光源方向的目的,如图7a、图7b和图7c所示。The difference between the electrochromic camera module and the ordinary camera lens is mainly in the electrochromic grating layer 5, the electrochromic grating layer 5 is essentially a linear polarizer made of electrochromic material, and the grating structure (common grating interval is 5 microns left and right), to control the passage of light in a single direction. The grating part of the polarizer can adjust the visibility of the grating itself, that is, the transparency, under different electric fields, so as to realize the change between ordinary lenses and polarized lenses. At the same time, the electrochromic grating can be rotated according to the actual shooting environment and user needs, so as to achieve the purpose of controlling the direction of the incident light source, as shown in Figure 7a, Figure 7b and Figure 7c.
需要说明的是,本案例中仅涉及单层电致变色光栅的透明度及角度变化,当增加多层电致变色光栅结构后,结构组合可以在拍摄过程中获得更多不同的拍摄效果,丰富用户拍摄体验。It should be noted that this case only involves the transparency and angle changes of a single-layer electrochromic grating. After adding a multi-layer electrochromic grating structure, the structure combination can obtain more different shooting effects during the shooting process, enriching users Shooting experience.
其中,判断模块需要对设备状态进行判断,根据输入模块收到的具体信息进行判断,给出电致变色光栅的角度参数和透明度参数。同时,将拍摄过程中的其他用户操作转化为可识别拍摄或调整指令。Among them, the judging module needs to judge the state of the equipment, judge according to the specific information received by the input module, and give the angle parameter and transparency parameter of the electrochromic grating. At the same time, other user operations during the shooting process are converted into recognizable shooting or adjustment instructions.
其中,控制模块通过获取判断模块的结论,控制图像输入模块中电致变色光栅的角度和透明度,同时控制图像输入模块、计算与存储模块和输出模块执行具体的拍摄或调整操作。Among them, the control module controls the angle and transparency of the electrochromic grating in the image input module by obtaining the conclusion of the judgment module, and at the same time controls the image input module, the calculation and storage module and the output module to perform specific shooting or adjustment operations.
其中,计算与存储模块用于存储用户拍摄的具体内容,以及一些预设指令及具体参数,包括当前电致变色光栅的角度参数和透明度参数等。Among them, the calculation and storage module is used to store the specific content of the user's shooting, as well as some preset instructions and specific parameters, including the angle parameters and transparency parameters of the current electrochromic grating.
其中,输出模块指设备与用户的信息交互屏幕,用户在拍摄过程中可以通过移动终端的屏幕,实时观察当前拍摄的具体效果。Among them, the output module refers to the information interaction screen between the device and the user. During the shooting process, the user can observe the specific effect of the current shooting in real time through the screen of the mobile terminal.
在上述各个模块中,判断模块、控制模块、计算与存储模块中的计算部分均可以通过处理器实现。Among the above-mentioned modules, the calculation part of the judgment module, the control module, and the calculation and storage module can be realized by a processor.
下面提供一个用户拍摄照片时的实际案例。The following provides an actual case when a user takes a photo.
拍摄之前的参数预设包括如下。The parameter presets before shooting include the following.
A.电致变色光栅的可调整透明度范围为0%-100%,0%表示光栅不可见,100%表示光栅完全可见,光栅能够阻挡其方向上的所有入射光。A. The adjustable transparency range of the electrochromic grating is 0%-100%, 0% means the grating is invisible, 100% means the grating is completely visible, and the grating is able to block all incident light in its direction.
B.电致变色光栅可调整的角度范围为0-180度。B. The adjustable angle range of the electrochromic grating is 0-180 degrees.
C.电致变色光栅初始状态为透明度0%,角度90度。C. The initial state of the electrochromic grating is 0% transparency and an angle of 90 degrees.
D.用户界面调节条与电致变色光栅状态的对应关系见图8所示。D. The corresponding relationship between the user interface adjustment bar and the state of the electrochromic grating is shown in FIG. 8 .
E.当光栅透明度为0%时保持正常曝光度;当光栅透明度为100%完全显示时增加曝光量20%。透明度在0-100%之间增加的曝光量按照线性变化。E. When the transparency of the grating is 0%, keep the normal exposure; when the transparency of the grating is 100%, increase the exposure by 20%. Transparency increases exposure linearly between 0-100%.
F.当用户拍摄内容识别为风景时,自动显示电致变色光栅(透明度100%,角度90度)。F. When the user's shooting content is recognized as a landscape, the electrochromic grating (transparency 100%, angle 90 degrees) is automatically displayed.
当用户拍摄风景时,系统识别到风景元素后会自动进入到偏振光栅拍摄模式,用户界面中供用户手动调节的电致变色光栅的透明度调节条和角度调节条出现,如图8的用户界面所示。系统会先进行初始测光及对焦操作,记录当前拍摄的曝光度;调整电场参数,将电致变色光栅的透明度设置为100%,角度设置为90度,同时会在当前曝光度的基础上增加20%的曝光量。显示电致变色光栅层在调整曝光度后的效果会在用户界面的拍摄取景界面中实时显示。用户可以根据拍摄取景界面中显示的拍摄效果调整界面中的透明度调节条和角度调节条,从而调整电致变色光栅层的状态,寻找与当前拍摄景物最合适的参数。用户调节过程中,如需要进行再次测光和对焦变化,则先调整电场以隐藏电致变色光栅层,完成测光对焦后,再将用户调整后的光栅层显示出来,保证测光对焦有效性。当用户调整完毕后,点击界面中的拍摄快门按钮,系统存储当前影像,支持用户进行查看预览或其他后期编辑操作。When the user takes a picture of the scenery, the system will automatically enter the polarization grating shooting mode after recognizing the scenery elements, and the transparency adjustment bar and the angle adjustment bar of the electrochromic grating for the user to manually adjust appear in the user interface, as shown in the user interface of Figure 8 Show. The system will perform initial metering and focusing operations to record the current exposure; adjust the electric field parameters, set the transparency of the electrochromic grating to 100%, and set the angle to 90 degrees, and will increase the exposure based on the current exposure. 20% exposure. Displaying the effect of the electrochromic grating layer after adjusting the exposure will be displayed in real time in the shooting viewfinder interface of the user interface. Users can adjust the transparency adjustment bar and angle adjustment bar in the interface according to the shooting effect displayed in the shooting viewfinder interface, so as to adjust the state of the electrochromic grating layer and find the most suitable parameters for the current shooting scene. During the user adjustment process, if it is necessary to change the photometry and focus again, adjust the electric field first to hide the electrochromic grating layer. After the photometry and focus are completed, the grating layer adjusted by the user will be displayed to ensure the effectiveness of photometry and focus. . After the user has finished adjusting, click the shooting shutter button in the interface, the system will store the current image, and support the user to view and preview or other post-editing operations.
本实施例终端设备利用电致变色材料制作偏振光栅内置在摄像头中。具体应用时,根据内容识别和具体场景自动控制电致变色光栅显示透明度;自动优化光栅显示后的相片曝光度;用户对电致变色光栅层能够进行手动的参数调整。In this embodiment, the terminal device uses an electrochromic material to make a polarization grating built into the camera. In specific applications, the transparency of the electrochromic grating display is automatically controlled according to content recognition and specific scenes; the exposure of the photo after the grating display is automatically optimized; the user can manually adjust the parameters of the electrochromic grating layer.
本公开实施例基于电致变色材料特性,从实际用户的拍摄场景出发,提出将可实现偏振镜功能的电致变色光栅层内置手机等移动终端的摄像模组的方案,解决眩光或有害反光导致的拍摄质量不高的问题,同时,为避免出现曝光不足的问题,在显示光栅后,可以适当增加曝光量,提升移动终端的拍照及摄像质量和用户体验。另外,由于电致变色光栅层的光栅透明度和角度均可以调整,因而对于拍摄非反光物体或拍摄水面投影等场景,可以避免相关技术中将偏振镜内置摄像模组后入射光减少而导致的曝光不足问题。Based on the characteristics of the electrochromic material, the embodiment of the present disclosure proposes a solution to build the electrochromic grating layer that can realize the function of the polarizer into the camera module of mobile terminals such as mobile phones, so as to solve the problems caused by glare or harmful reflection. At the same time, in order to avoid the problem of underexposure, after displaying the raster, the exposure can be appropriately increased to improve the mobile terminal’s photo and video quality and user experience. In addition, since the grating transparency and angle of the electrochromic grating layer can be adjusted, for scenes such as shooting non-reflective objects or shooting water surface projections, the exposure caused by the reduction of incident light after the polarizer is built into the camera module in the related art can be avoided. Insufficient problem.
进一步地,本公开实施例还提供了一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现前述的摄像控制方法的步骤。Furthermore, an embodiment of the present disclosure also provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors , so as to realize the steps of the foregoing imaging control method.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
以上参照附图说明了本公开的优选实施例,并非因此局限本公开的权利范围。本领域技术人员不脱离本公开的范围和实质内所作的任何修改、等同替换和改进,均应在本公开的权利范围之内。The preferred embodiments of the present disclosure have been described above with reference to the accompanying drawings, and the scope of rights of the present disclosure is not limited thereby. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and spirit of the present disclosure shall fall within the scope of rights of the present disclosure.

Claims (10)

  1. 一种摄像控制方法,包括:A camera control method, comprising:
    检测在当前拍摄场景下是否需要显示光栅;以及Detect whether a raster needs to be displayed in the current shooting scene; and
    在检测到需要显示光栅时,通过调整内置于摄像模组中的电致变色光栅层,在拍摄界面上显示光栅,以消除拍摄过程中的眩光或反光。When it is detected that the grating needs to be displayed, the grating is displayed on the shooting interface by adjusting the electrochromic grating layer built in the camera module, so as to eliminate glare or reflection during shooting.
  2. 根据权利要求1所述的方法,其中,所述检测在当前拍摄场景下是否需要显示光栅包括:The method according to claim 1, wherein the detecting whether a grating needs to be displayed in the current shooting scene comprises:
    判断是否已开启智能拍摄模式;Determine whether the smart shooting mode is turned on;
    在判断已开启所述智能拍摄模式时,检测所述摄像模组获取的图像,若检测到所述图像中存在需要显示光栅的图像内容,则确定在当前拍摄场景下需要显示光栅;以及When it is judged that the smart shooting mode has been turned on, the image acquired by the camera module is detected, and if it is detected that there is image content in the image that needs to display the grating, it is determined that the grating needs to be displayed in the current shooting scene; and
    在判断未开启所述智能拍摄模式时,检测是否已手动开启偏振拍摄模式,若检测到已手动开启偏振拍摄模式,则确定在当前拍摄场景下需要显示光栅。When it is judged that the intelligent shooting mode is not turned on, it is detected whether the polarization shooting mode has been manually turned on, and if it is detected that the polarization shooting mode has been manually turned on, it is determined that the grating needs to be displayed in the current shooting scene.
  3. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    在通过调整内置于所述摄像模组中的电致变色光栅层,在拍摄界面上显示光栅前,进行初始测光,以记录初始曝光参数。Before the grating is displayed on the shooting interface by adjusting the electrochromic grating layer built in the camera module, initial photometry is performed to record initial exposure parameters.
  4. 根据权利要求1所述的方法,其中,所述通过调整内置于摄像模组中的电致变色光栅层,在拍摄界面上显示光栅包括:The method according to claim 1, wherein said displaying the grating on the shooting interface by adjusting the electrochromic grating layer built in the camera module comprises:
    根据预设的透明度与电场参数的对应关系,调整电场参数,以使所述摄像模组中的电致变色光栅层按照对应的透明度进行光栅显示。According to the preset correspondence between the transparency and the electric field parameter, the electric field parameter is adjusted, so that the electrochromic grating layer in the camera module performs grating display according to the corresponding transparency.
  5. 根据权利要求3所述的方法,还包括:The method according to claim 3, further comprising:
    在显示光栅时,调整所述拍摄界面的曝光量,其中,When displaying the raster, adjust the exposure of the shooting interface, wherein,
    所述在显示光栅时,调整所述拍摄界面的曝光量包括:When the grating is displayed, adjusting the exposure of the shooting interface includes:
    在进行光栅显示时,确定与所述摄像模组中的电致变色光栅层的透明度对应的曝光调整量;以及When performing raster display, determine the exposure adjustment amount corresponding to the transparency of the electrochromic grating layer in the camera module; and
    根据所述与所述摄像模组中的电致变色光栅层的透明度对应的曝光调整量和所述初始曝光参数,调整曝光量。The exposure amount is adjusted according to the exposure adjustment amount corresponding to the transparency of the electrochromic grating layer in the camera module and the initial exposure parameter.
  6. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    利用交互界面中的角度调节条和透明度调节条,分别设定所述摄像模组中的电致变色光栅的角度和透明度,并确定与设定的透明度对应的曝光调整量。Using the angle adjustment bar and the transparency adjustment bar in the interactive interface, respectively set the angle and transparency of the electrochromic grating in the camera module, and determine the exposure adjustment corresponding to the set transparency.
  7. 根据权利要求6所述的方法,还包括:The method of claim 6, further comprising:
    在隐藏电致变色光栅的情况下再次测光,以记录再次曝光参数;根据设定的电致变色光栅的角度和透明度,调整所述电致变色光栅层的光栅角度和透明度,以显示光栅;以及在显示光栅时,根据所述再次曝光参数和与设定的透明度对应的所述曝光调整量,调整曝光量;Metering again with the electrochromic grating hidden to record the re-exposure parameters; adjusting the grating angle and transparency of the electrochromic grating layer to display the grating according to the set angle and transparency of the electrochromic grating; and adjusting the exposure amount according to the re-exposure parameter and the exposure adjustment amount corresponding to the set transparency when displaying the grating;
    或者,在所述电致变色光栅与所述电致变色光栅所在摄像模块的镜头组件之间设置四分之一波片的情况下,根据设定的电致变色光栅的角度和透明度,调整所述电致变色光栅层的光栅角度和透明度,以显示光栅;以及在显示光栅时,根据设定的透明度对应的所述曝光调整量,调整曝光量。Or, in the case where a quarter-wave plate is set between the electrochromic grating and the lens assembly of the camera module where the electrochromic grating is located, adjust the electrochromic grating according to the set angle and transparency of the electrochromic grating. adjusting the grating angle and transparency of the electrochromic grating layer to display the grating; and adjusting the exposure amount according to the exposure adjustment amount corresponding to the set transparency when displaying the grating.
  8. 一种摄像控制设备,包括存储器、处理器、存储在所述存储器上并可在所述处理器上运行的程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,所述程序被所述处理器执行时实现如权利要求1-7中任一项所述的摄像控制方法的步骤。A camera control device, comprising a memory, a processor, a program stored on the memory and operable on the processor, and a data bus for realizing connection and communication between the processor and the memory, When the program is executed by the processor, the steps of the camera control method according to any one of claims 1-7 are implemented.
  9. 一种移动终端,包括:内置于所述移动终端的摄像模组中的电致变色光栅层以及如权利要求8所述的摄像控制设备。A mobile terminal, comprising: an electrochromic grating layer built into a camera module of the mobile terminal and the camera control device according to claim 8 .
  10. 一种存储介质,用于计算机可读存储,其中,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1至7中任一项所述的摄像控制方法的步骤。A storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement claims 1 to 7 The steps of any one of the camera control methods.
PCT/CN2022/113949 2021-11-05 2022-08-22 Photographing control method and device, mobile terminal and storage medium WO2023077918A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111310880.9 2021-11-05
CN202111310880.9A CN116095506B (en) 2021-11-05 Imaging control method, equipment, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2023077918A1 true WO2023077918A1 (en) 2023-05-11

Family

ID=86210722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113949 WO2023077918A1 (en) 2021-11-05 2022-08-22 Photographing control method and device, mobile terminal and storage medium

Country Status (1)

Country Link
WO (1) WO2023077918A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5299037A (en) * 1985-08-07 1994-03-29 Canon Kabushiki Kaisha Diffraction grating type liquid crystal display device in viewfinder
CN103777429A (en) * 2012-10-26 2014-05-07 深圳市亿思达显示科技有限公司 Three-dimensional display mobile phone case
WO2016123955A1 (en) * 2015-02-06 2016-08-11 京东方科技集团股份有限公司 Electrochromic grating, display panel, and display device
CN111163270A (en) * 2019-12-30 2020-05-15 Oppo广东移动通信有限公司 Method for eliminating flicker, electronic device and storage medium
CN111736401A (en) * 2020-06-30 2020-10-02 联想(北京)有限公司 Optical panel, image acquisition device and image acquisition method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5299037A (en) * 1985-08-07 1994-03-29 Canon Kabushiki Kaisha Diffraction grating type liquid crystal display device in viewfinder
CN103777429A (en) * 2012-10-26 2014-05-07 深圳市亿思达显示科技有限公司 Three-dimensional display mobile phone case
WO2016123955A1 (en) * 2015-02-06 2016-08-11 京东方科技集团股份有限公司 Electrochromic grating, display panel, and display device
CN111163270A (en) * 2019-12-30 2020-05-15 Oppo广东移动通信有限公司 Method for eliminating flicker, electronic device and storage medium
CN111736401A (en) * 2020-06-30 2020-10-02 联想(北京)有限公司 Optical panel, image acquisition device and image acquisition method

Also Published As

Publication number Publication date
CN116095506A (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN108933899B (en) Panorama shooting method, device, terminal and computer readable storage medium
JP6422942B2 (en) Optical filtering for cameras
WO2020034737A1 (en) Imaging control method, apparatus, electronic device, and computer-readable storage medium
US20140022415A1 (en) Imaging apparatus
JP5454158B2 (en) Imaging apparatus, control method thereof, and program
CN107846556B (en) Imaging method, imaging device, mobile terminal and storage medium
WO2019056242A1 (en) Camera photographing parameter setting method for smart terminal, setting device, and smart terminal
GB2469957A (en) Focal plane shutter with independently movable curtains
US8760556B2 (en) Image capture apparatus with variable translucency mirror
CN111050078A (en) Photographing method, mobile terminal and computer storage medium
TWI229548B (en) Image pickup apparatus, photographing method, and storage medium recording photographing method
US9232144B2 (en) Imaging device, electronic viewfinder, and display control method
CN101483717B (en) Digital photographing apparatus and method for controlling the same
WO2023077918A1 (en) Photographing control method and device, mobile terminal and storage medium
CN104980648A (en) Electronic apparatus and method of controlling the same
JP2007124665A (en) Programmable anti-aliasing systems and methods for cameras
CN116095506B (en) Imaging control method, equipment, mobile terminal and storage medium
US11343438B1 (en) Instant auto exposure control with multiple cameras
JP2014074836A (en) Imaging apparatus
JP2006303967A (en) Imaging device and its control method
US11245844B2 (en) Processing apparatus, imaging apparatus, and imaging system
JP5877030B2 (en) Imaging apparatus and imaging method
KR20100013702A (en) Digital image process apparatus and method for performing after-amendment automatic white balance
Pfirstinger The Fujifilm X-T3: 150 X-pert Tips to Get the Most Out of Your Camera
KR20100003639A (en) Apparatus for digital picturing image