CN110581958A - control method, electronic device, and storage medium - Google Patents

control method, electronic device, and storage medium Download PDF

Info

Publication number
CN110581958A
CN110581958A CN201911024408.1A CN201911024408A CN110581958A CN 110581958 A CN110581958 A CN 110581958A CN 201911024408 A CN201911024408 A CN 201911024408A CN 110581958 A CN110581958 A CN 110581958A
Authority
CN
China
Prior art keywords
image
exposure
electrochromic element
light transmittance
overexposed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911024408.1A
Other languages
Chinese (zh)
Inventor
徐锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911024408.1A priority Critical patent/CN110581958A/en
Publication of CN110581958A publication Critical patent/CN110581958A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • 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/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Blocking Light For Cameras (AREA)
  • Studio Devices (AREA)
  • Electrochromic Elements, Electrophoresis, Or Variable Reflection Or Absorption Elements (AREA)

Abstract

The application discloses an electronic device. The electronic device comprises an imaging module, wherein the imaging module comprises an image sensor and an electrochromic element, and the electrochromic element covers the image sensor. The control method comprises the following steps: judging whether an image acquired by an image sensor is overexposed or not; when the image is overexposed, the light transmittance of the electrochromic element is controlled to be reduced to reduce the exposure of the image. Therefore, when the image is overexposed, the exposure can be adjusted to reduce the exposure of the image by controlling the light transmittance of the electrochromic element to be reduced, and thus, even in a scene with particularly strong light, the exposure can reach an ideal state, so that normal shooting is realized, and the problem of over-brightness of an image picture can not occur.

Description

control method, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a control method, an electronic device, and a storage medium.
Background
At present, an overexposure phenomenon easily occurs in an image shot by a camera applied to a mobile terminal such as a mobile phone, so that the image quality is affected due to an over-bright image, and particularly, in some scenes with particularly strong natural light, the problem of the over-bright image still cannot be solved by adjusting parameters of the camera.
disclosure of Invention
The application provides a control method, an electronic device and a storage medium.
The embodiment of the application provides a control method for an electronic device, wherein the electronic device comprises an imaging module, the imaging module comprises an image sensor and an electrochromic element for covering the image sensor;
The control method comprises the following steps:
judging whether the image acquired by the image sensor is over-exposed;
controlling the light transmittance of the electrochromic element to decrease to reduce the exposure of the image when the image is overexposed.
The embodiment of the application provides an electronic device. The electronic device comprises an imaging module and a processor, wherein the imaging module comprises an image sensor and an electrochromic element covering the image sensor, the image sensor is used for sensing light passing through the electrochromic element to obtain an image, the electrochromic element can change the light transmittance of the electrochromic element under the action of voltage, the processor is connected with the image sensor and the electrochromic element, and the processor is used for judging whether the image obtained by the image sensor is overexposed and controlling the light transmittance of the electrochromic element to be reduced so as to reduce the exposure of the image when the image is overexposed.
Embodiments of the present application also provide a non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the control method described above.
In the control method, the electronic device and the storage medium of the embodiment of the application, when the image is over-exposed, the light transmittance of the electrochromic element can be controlled to be reduced to adjust the exposure so as to reduce the exposure of the image, so that even in a scene with extremely strong light, the exposure can reach an ideal state, thereby realizing normal shooting without the problem of over-bright image picture.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a control method according to an embodiment of the present application;
FIG. 2 is a schematic plan view of an electronic device according to an embodiment of the present application;
Fig. 3 is a block diagram illustrating a partial structure of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an imaging module according to an embodiment of the present disclosure;
FIG. 5 is a schematic view of another structure of an imaging module according to an embodiment of the present disclosure;
FIG. 6 is another schematic flow chart diagram of a control method according to an embodiment of the present application;
Fig. 7 is still another flowchart illustrating a control method according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of an electrochromic element of an imaging module according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of the spectrum transmitted by an electrochromic device according to an embodiment of the present application;
FIG. 10 is a schematic view of another embodiment of an electrochromic device of an imaging module;
fig. 11 is a further flowchart of the control method according to the embodiment of the present application.
description of the main element symbols:
The electronic device 100, the imaging module, the image sensor 11, the electrochromic element 12, the electrochromic layer 121, the first transparent electrode 122, the second transparent electrode 123, the first transparent substrate 124, the second transparent substrate 125, the lens 13, the package housing 14, the processor 20, and the housing 30.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
Referring to fig. 1 to 3, the present embodiment provides a control method for an electronic device 100 of the present embodiment, where the electronic device 100 includes an imaging module 10, the imaging module 10 includes an image sensor 11 and an electrochromic element 12, and the electrochromic element 12 covers the image sensor 11. The control method comprises the following steps:
S10: judging whether the image acquired by the image sensor 11 is overexposed;
s20: when the image is overexposed, the light transmittance of the electrochromic element 12 is controlled to be lowered to reduce the exposure of the image.
referring to fig. 2 and fig. 3, the electronic device 100 according to the embodiment of the present disclosure further includes a processor 20, the processor 20 is connected to the electrochromic element 12 and the image sensor 11, the image sensor 11 is configured to sense light passing through the electrochromic element 12 to obtain image information, and the electrochromic element 12 can change its light transmittance under the action of a voltage. The above steps S10 and S20 can be implemented by the processor 20, that is, the processor 20 can be used to determine whether the image acquired by the image sensor 11 is overexposed and control the light transmittance of the electrochromic element 12 to be lowered to reduce the exposure of the image when the image is overexposed.
Specifically, in the present embodiment, the processor 20 is electrically connected to the image sensor 11 and the electrochromic element 12, and the processor 20 may provide a voltage to the electrochromic element 12 when the image acquired by the image sensor 11 is over-exposed, so that the light transmittance of the electrochromic element 12 is reduced, thereby enabling the exposure of the image acquired by the image sensor 11. It is understood that "exposure" herein refers to the degree of exposure of an image. The higher the exposure, the higher the brightness of the image and the whiter the image. The lower the exposure, the lower the brightness of the image, and the darker the image.
in the embodiment of the present application, the electronic device 100 may be an electronic device having imaging and photographing functions, such as a mobile phone, a digital camera, and a tablet computer. In addition, referring to fig. 2, in general, the electronic device 100 further includes a housing 30, the imaging module 10 is mounted on the housing 30, and the processor 20 is disposed inside the housing 30.
it can be understood that, at present, an image shot by a camera applied to a mobile terminal such as a mobile phone is prone to have an overexposure phenomenon, so that the image quality is affected due to an excessively bright image, and particularly in some scenes with particularly strong natural light, the problem of the excessively bright image still cannot be solved by adjusting parameters (such as exposure time and exposure gain) of the camera.
However, in the control method and the electronic device 100 of the embodiment of the application, the imaging module 10 is provided with the electrochromic element 12, and when the image is overexposed, the light transmittance of the electrochromic element 12 can be controlled to be reduced to adjust the exposure so as to reduce the exposure of the image, so that even in a scene with particularly strong light, the exposure can reach an ideal state, thereby realizing normal shooting without the problem of excessively bright image. Meanwhile, the usability of the imaging module 10 of the electronic device in a strong light scene is expanded, and the quality of a shot image is improved.
It is understood that, referring to fig. 1, in such an embodiment, the control method further includes the steps of:
S30: when the image is not overexposed, the image is saved.
Referring to fig. 2 and fig. 3, in some embodiments, step S30 may also be implemented by a processor, that is, the processor 20 may be configured to save the image when the image is not overexposed, that is, the electronic device 100 may normally capture and save the image through the imaging module 10 when the image is not overexposed.
Referring to fig. 4, in some embodiments, the imaging module 10 further includes a lens 13, the lens 13 is located above the image sensor 11, and the electrochromic element 12 is located between the image sensor 11 and the lens 13.
In this way, the light incident from the lens 13 is filtered by the electrochromic element 12 and then irradiated on the image sensor 11, so that the exposure of the image is reduced by changing the light transmittance of the electrochromic element 12.
Further, referring to fig. 4 and 5, the imaging module 10 further includes a package housing 14, the image sensor 11 and the lens 13 are disposed and packaged in the package housing 14, the lens 13 is at least partially exposed from the package housing 14, and the electrochromic element 12 is clamped in the package housing 14.
specifically, the package housing 14 includes a package substrate 141, a package side wall 142 and a package top plate 143, the image sensor 11 is carried on the package substrate 141, a card slot 1421 is formed on the package side plate 142, and the electrochromic element 12 is clamped in the card slot 1421. The package top plate 143 is formed with a light entrance window 1431, and the lens 13 is at least partially exposed from the light entrance window 1431.
It should be noted that the lens 13 is at least partially exposed from the package housing 14, which means that "the light entering from the light entrance window 1431 can smoothly enter the lens 13". Specifically, in the embodiment shown in fig. 4 and 5, the light entrance window 1431 may be a through hole opened on the package top plate 142, and the lens 13 may be at least partially located in the through hole to be at least partially exposed from the through hole. It is understood that in other embodiments, the light entrance window 1431 may be a portion of the package top plate 143, which is made of a transparent material, and is not limited herein.
In addition, referring to fig. 5, in some embodiments, the electrochromic element 12 may also be located above the lens 13, that is, the lens 13 is located between the electrochromic element 12 and the image sensor 11. In such an embodiment, the light is filtered by the electrochromic element 12 and then incident on the image sensor 11 through the lens 13. Specifically, referring to fig. 4 and 5, in such an embodiment, the electrochromic element 12 may be disposed on the upper surface of the package housing 14, for example, adhered to the package top plate 143 of the package housing 14 by glue.
In addition, with continued reference to fig. 4 and 5, in the above embodiment, the projection of the electrochromic element 12 on the plane where the lens 13 is located covers the lens 13.
in this way, when the electrochromic element 12 is located between the lens 13 and the image sensor 11, it is ensured that all light incident from the lens 13 passes through the electrochromic element 12 to filter all incident light.
referring to fig. 6, in some embodiments, the electrochromic element 12 includes an electrochromic layer 121, a first transparent electrode 122 and a second transparent electrode 123, the first transparent electrode 122 and the second transparent electrode 123 are connected to opposite sides of the electrochromic layer 121, and the first transparent electrode 122 and the second transparent electrode 123 are used for applying a voltage to the electrochromic layer 121.
the first transparent electrode 122 and the second transparent electrode 123 may be ITO conductive glass, the first transparent electrode 122 is a positive electrode, and the second transparent electrode 123 is a negative electrode. When the power is applied, the first transparent electrode 122, the second transparent electrode, and the electrochromic layer 121 form a current loop, so that the light transmittance of the electrochromic layer 121 is changed.
Further, in the embodiment of the present application, the electrochromic layer 121 may be made of an electrochromic material, and optical properties (reflectivity, transmittance, absorption, etc.) of the electrochromic material may undergo a stable and reversible color change under the action of an applied electric field, so that the electrochromic material may exhibit a reversible change in color and transparency in appearance.
specifically, when a voltage is applied to the electrochromic material through the electrodes, the transmission spectrum of the material changes due to the redox reaction or photoelectric transfer effect of the material. The electrochromic material can be polyaniline, polythiophene, polypyrrole and other conductive polymers, and the material is subjected to oxidation-reduction reaction under the action of voltage, so that the energy band structure of the material is changed, the color is changed, and the light transmittance of the material is changed. In addition, the electrochromic material can also be viologen or bipyridine, and when a voltage is applied to the electrochromic material, the color of the electrochromic material is changed due to strong photoelectric transfer among molecules, so that the light transmittance of the electrochromic material is changed.
Specifically, in the example shown in fig. 6, the electrochromic layer 121 is colorless in the absence of voltage, and the electrochromic layer 121 is changed to a colored state when power is applied. Referring to fig. 7, fig. 7 is a graph showing a relationship between voltage and transmittance, in which the horizontal axis represents time, the vertical axis represents transmittance, curve 1 represents voltage, and curve 2 represents transmittance of the electrochromic device 12. As can be seen from the graph, the transmittance of the electrochromic element 12 gradually decreases with time after the voltage is applied, and the transmittance of the electrochromic element 12 gradually increases after the power is turned off.
It is understood that in some embodiments, the electrochromic layer 121 may also have different light transmittance under different voltages. For example, each voltage may correspond to a light transmittance such that only a different voltage needs to be applied to the electrochromic element 12 to achieve the desired light transmittance.
further, referring to fig. 6, in some embodiments, the electrochromic element 12 further includes a first transparent substrate 125 and a second transparent substrate 126 which are disposed at intervals, and the first transparent electrode 122, the electrochromic layer 121, and the second transparent electrode 123 are stacked and disposed between the first transparent substrate 125 and the second transparent substrate 126.
in this way, the first transparent substrate 125 and the second transparent substrate 126 can support and support the electrochromic layer 121 and the transparent electrodes, and also can protect the electrochromic element 12 from being damaged by external pressure. In addition, the first transparent substrate 125 and the second transparent substrate 126 are colorless, and both do not affect the normal operation of the electrochromic device 12.
Specifically, the material of the first transparent substrate 125 may be blue glass. The main component of the blue glass is phosphate or fluorophosphate, which has higher absorptivity to infrared light, and the first transparent substrate 125 made of the blue glass has better filtering effect to infrared light, thereby being beneficial to improving the shooting quality. The material of the second transparent substrate 126 may be the same as or different from the material of the first transparent substrate 125. For example, the second transparent substrate 126 may be made of blue glass or conventional glass. The second transparent substrate 126 may also be made of PET (Polyethylene terephthalate), which has high film forming property, optical property and weather resistance, and the second transparent substrate 126 made of PET has good light transmittance. The second transparent substrate 126 may be made of a material with good light transmittance, such as PI (Polyimide).
In certain embodiments, the electrochromic element 12 may also be used to filter infrared light.
specifically, in the present embodiment, after the color of the electrochromic element 12 is changed, the infrared light can be absorbed, so that the imaging module 10 can omit an infrared filter, the thickness of the imaging module 10 can be reduced, the manufacturing cost can be saved, and the manufacturing difficulty can be reduced.
Referring to fig. 8, in some embodiments, step S20 may include the steps of:
S21: when the image is over-exposed, judging whether the exposure gain of the image sensor 11 is a preset gain value;
S22: when the exposure gain is a preset gain value, the light transmittance of the electrochromic element 12 is controlled to be lowered to reduce the exposure of the image. That is, step S20 may be implemented by step S21 and step S22.
Referring to fig. 2 and 3, in some embodiments, the steps S21 and S22 can be implemented by the processor 20. That is, the processor 20 is configured to determine whether the exposure gain of the image sensor 11 is a preset gain value when the image is overexposed and control the light transmittance of the electrochromic element 12 to decrease to reduce the exposure level of the image when the exposure gain is the preset gain value.
Specifically, the "exposure gain" of the image sensor 11 refers to a signal amplification factor of the image sensor 11. It is noted that, in the case of keeping other conditions (e.g., ambient brightness, exposure time, etc.) unchanged, the greater the exposure gain of the image sensor 11, the greater the brightness of the image, i.e., the greater the exposure; conversely, the smaller the exposure gain, the smaller the brightness of the image, i.e., the smaller the exposure. For each image sensor 11, there exists a minimum value of exposure gain at which the above-mentioned "preset gain value", i.e., the minimum value of exposure gain, may be understood with reference thereto when the same or similar descriptions are made elsewhere herein.
In the present embodiment, the exposure level of an image is related to the exposure time, the exposure gain of the image sensor 11, and the light transmittance of the electrochromic element 12. Specifically, the exposure level is smaller the lower the light transmittance is kept constant, the exposure level is larger the longer the exposure time is kept constant, and the exposure level is larger the exposure gain is kept constant. Therefore, in the present embodiment, when the image acquired by the image sensor 11 is overexposed, it is determined whether the exposure gain of the image sensor 11 is a preset gain value, and only when the exposure gain is the preset gain value, the light transmittance of the electrochromic element 12 is controlled to be lowered to reduce the exposure of the image. It is understood that under some scenes with particularly strong light, even if the exposure gain is adjusted to the preset gain, the overexposure will occur, and at this time, the problem of overexposure of the image can be avoided by controlling the light transmittance of the electrochromic element 12 to be reduced to reduce the exposure of the image.
Referring to fig. 8, in such an embodiment, when the determination result of step S22 is no, the control method further includes the steps of:
s23: the exposure gain of the image sensor 11 is controlled to be reduced to reduce the exposure of the image.
Specifically, after step S23, step S10 is re-entered to re-detect the exposure level of the image to determine whether the image is overexposed.
Referring to fig. 2 and 3, in some embodiments, the step S23 can be implemented by the processor 20, that is, the processor 20 can be configured to control the exposure gain of the image sensor 11 to be decreased to reduce the exposure of the image and to determine whether the image is overexposed again when the exposure gain does not reach the preset gain value.
specifically, in the present embodiment, when the image is overexposed, if the exposure gain is not the preset gain value, the exposure gain may be preferentially adjusted to the preset gain value. If the image is overexposed when the exposure gain is the preset gain value, the exposure level can be reduced by controlling the light transmittance of the electrochromic element 12 to be reduced.
With continued reference to fig. 9, in some embodiments, step S20 includes the steps of:
s24: when the image is over-exposed, judging whether the exposure time of the imaging module 10 is a preset time value;
S25: when the exposure time is a preset time value, the light transmittance of the electrochromic element 12 is controlled to be reduced to reduce the exposure of the image.
referring to fig. 2 and 3, in some embodiments, steps S24 and S25 can be implemented by the processor 20, that is, the processor 20 can be configured to determine whether the exposure time of the imaging module 10 is a preset time value when the image is overexposed, and control the light transmittance of the electrochromic device 12 to decrease to reduce the exposure of the image when the exposure time is the preset time value.
In the present embodiment, when the image obtained by the image sensor 11 is overexposed, it can be determined whether the image exposure time is a preset time value, and only when the exposure time is the preset time value, the light transmittance of the electrochromic element 12 is controlled to be reduced to reduce the exposure of the image. The above-mentioned "preset time value", i.e. the minimum value of the exposure time, can also be understood with reference to the same or similar descriptions at other locations herein.
therefore, when the image is overexposed, if the exposure time is not the preset time value, the exposure time can be preferentially adjusted to the preset time value. When the exposure is over-exposed and the exposure time is also the preset time value, the exposure can be reduced by controlling the light transmittance of the electrochromic element 12 to be reduced.
It is to be understood that, in the present embodiment, when the determination result of step S24 is no, that is, when the exposure time is not the preset time value, the control method further includes the steps of:
s26: the exposure time is controlled to be shortened to reduce the exposure of the image.
Specifically, in such an embodiment, after step S26, the process re-advances to step S10 to re-detect the exposure level of the image to determine whether the image is overexposed. It is understood that, in the present embodiment, when the image is overexposed, if the exposure time is not the preset time value, the exposure time may be preferentially adjusted to the preset time value. If the image is overexposed when the exposure time is the preset time value, the exposure level can be reduced by controlling the light transmittance of the electrochromic element 12 to be reduced.
referring to fig. 10, in some embodiments, step S20 includes the steps of:
S27: when the image is over-exposed, judging whether the exposure gain of the image sensor 11 is a preset gain value;
s28: when the exposure gain is a preset gain value, judging whether the exposure time of the imaging module 10 is a preset time value;
s29: when the exposure time is a preset time value, the light transmittance of the electrochromic element 12 is controlled to be reduced to reduce the exposure of the image.
Referring to fig. 2 and 3, in some embodiments, steps S27 to S29 can be implemented by the processor 20, that is, the processor 20 can be configured to determine whether the exposure gain of the image sensor 11 is a preset gain value when the image is overexposed, determine whether the exposure time of the imaging module 10 is a preset time when the exposure gain is the preset gain value, and control the light transmittance of the electrochromic device 12 to decrease when the exposure time is the preset time so as to reduce the exposure level of the image. Thus, the usability of the imaging module 10 of the electronic device in a strong light scene is expanded, and the quality of a shot image is improved.
In addition, please refer to fig. 10, in such an embodiment, when the determination result of the step S28 is no, that is, the exposure gain is not the preset gain value, the control method further includes the steps of:
S31: the exposure gain of the image sensor 11 is controlled to be reduced to reduce the exposure of the image.
after step S31, step S10 is re-entered to re-detect the exposure level of the image to determine whether the image is overexposed.
In addition, when the determination result of the step S29 is no, that is, the exposure time is not the preset time value, the control method further includes the steps of:
S32: the exposure time is controlled to be shortened to reduce the exposure of the image.
After step S31, step S10 is re-entered to re-detect the exposure level of the image to determine whether the image is overexposed.
Specifically, in such an embodiment, when the image is overexposed, it may be determined whether the exposure gain is a preset gain value, when the exposure gain is the preset gain value, it may be determined whether the exposure time is a preset time value, and when the exposure time is the preset time, the light transmittance of the electrochromic element 12 may be controlled to decrease to reduce the exposure of the image. That is, in the present embodiment, it is determined whether or not both the exposure gain and the exposure time are minimum, and only when both the exposure gain and the exposure time are minimum, the light transmittance of the electrochromic element 12 is controlled to be lowered to reduce the exposure of the image. It will be appreciated that under certain high light extraction scenarios, overexposure may occur even if the exposure gain and exposure time are adjusted to a minimum, and controlling the transmittance of the electrochromic element 12 to decrease the exposure of the image may reduce the exposure of the image so that the image does not suffer from overexposure. Thus, the usability of the imaging module 10 of the electronic device in a strong light scene is expanded, and the quality of a shot image is improved.
Note that, in such an embodiment, it is determined whether the exposure gain is minimum and then the exposure time is minimum. It is understood that, in other embodiments, it may also be determined whether the exposure time is the minimum first and then the exposure gain is the minimum second, and the order of the two is not limited.
Referring to fig. 11, in some embodiments, step S10 includes the steps of:
S11: acquiring the current exposure of the image;
s12: judging whether the current exposure is greater than a preset value;
S13: and when the current exposure is larger than a preset value, determining that the image is overexposed. That is, step S10 may be implemented by steps S11 to S13 described above.
with continued reference to fig. 2 and 3, in some embodiments, the above steps S11 to S13 can be implemented by the processor 20, that is, the processor 20 can be configured to obtain the current exposure of the image, determine whether the current exposure is greater than a preset value, and determine that the image is overexposed when the current exposure is greater than the preset value.
Specifically, the processor may include an auto exposure detection module that may automatically obtain a current exposure level of the image and then determine that the image is overexposed when the current exposure level is greater than a preset value. It should be understood that the "preset value" may be a preset value before the electronic device leaves the factory, or may be a value set by a user, and is not limited herein.
it is understood that, in such an embodiment, when the determination result of step S12 is no, that is, the current exposure is less than or equal to the preset value, the method proceeds to the step:
s14: and determining that the exposure of the image is normal. That is, the image is normally exposed and can be directly entered into the picture to be imaged.
In some embodiments, the step S14 can also be implemented by the processor 20, that is, the processor 20 can be configured to determine that the exposure level of the image is normal when the current exposure level is less than or equal to the preset value.
further, in some embodiments, step S20 may include the steps of:
The energization time of the electrochromic element 12 is changed so that the light transmittance of the electrochromic element 12 is lowered.
In some embodiments, the above steps may also be implemented by the processor 20, that is, the processor 20 may be configured to change the power-on time of the electrochromic element 12 to decrease the light transmittance of the electrochromic element 12.
Specifically, as can be seen from fig. 7 and the above, since the light transmittance of the electrochromic element 12 gradually decreases with the passage of time after the voltage is applied, the electrochromic element 12 can be decreased by changing the energization time of the electrochromic element 12.
Additionally, it is understood that in some embodiments, step S20 may include the steps of:
The magnitude of the applied voltage of the electrochromic element 12 is changed to decrease the light transmittance of the electrochromic element 12.
in some embodiments, the above steps can also be implemented by the processor 20, that is, the processor 20 can be used to change the magnitude of the applied voltage of the electrochromic element 12 to reduce the light transmittance of the electrochromic element 12.
Specifically, the electrochromic element 12 is in a transparent state when no voltage is applied, and the transmittance is highest at this time. When a voltage is applied, the electrochromic element 12 is colored, and the degree of coloring differs depending on the magnitude of the applied voltage, that is, the transmittance differs depending on the magnitude of the applied voltage, and therefore, the transmittance of the electrochromic element 12 can be reduced by changing the magnitude of the applied voltage of the electrochromic element 12.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors 20, cause the processors 20 to perform the control method of any of the embodiments described above.
for example, the computer-executable instructions, when executed by the one or more processors 20, cause the processors 20 to perform the steps of:
S10: judging whether the image acquired by the image sensor 11 is over-exposed;
S20: when the image is overexposed, the light transmittance of the electrochromic element 12 is controlled to be lowered to reduce the exposure of the image.
It will be understood by those skilled in the art that the configurations shown in the figures are merely schematic representations of portions of configurations relevant to the present disclosure, and do not constitute limitations on the electronic device 100 to which the present disclosure may be applied, and a particular electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, and the program may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. A control method is used for an electronic device, and the electronic device comprises an imaging module, wherein the imaging module comprises an image sensor and an electrochromic element for covering the image sensor;
the control method comprises the following steps:
Judging whether the image acquired by the image sensor is over-exposed;
Controlling the light transmittance of the electrochromic element to decrease to reduce the exposure of the image when the image is overexposed.
2. The method according to claim 1, wherein the step of controlling the light transmittance of the electrochromic element to be lowered to reduce the exposure of the image when the image is overexposed comprises:
when the image is over-exposed, judging whether the exposure gain of the image sensor is a preset gain value;
And when the exposure gain is a preset gain value, controlling the light transmittance of the electrochromic element to be reduced so as to reduce the exposure of the image.
3. The method according to claim 1, wherein the step of controlling the light transmittance of the electrochromic element to be lowered to reduce the exposure of the image when the image is overexposed comprises:
When the image is overexposed, judging whether the exposure time of the imaging module is a preset time value or not;
And when the exposure time is a preset time value, controlling the light transmittance of the electrochromic element to be reduced so as to reduce the exposure of the image.
4. The control method according to claim 1, wherein the step of determining whether the image acquired by the image sensor is overexposed comprises:
Acquiring the current exposure of the image;
judging whether the current exposure is greater than a preset value;
And when the current exposure is larger than a preset value, determining that the image is overexposed.
5. the control method according to claim 1, wherein the step of controlling the decrease in light transmittance of the electrochromic element comprises:
Changing the energization time of the electrochromic element to decrease the light transmittance of the electrochromic element; or
changing the magnitude of the applied voltage of the electrochromic element to decrease the light transmittance of the electrochromic element.
6. An electronic device is characterized in that the electronic device comprises an imaging module and a processor, the imaging module comprises an image sensor and an electrochromic element for covering the image sensor, the image sensor is used for sensing light passing through the electrochromic element to acquire image information, the processor is connected with the image sensor and the electrochromic element, and the processor is used for judging whether an image acquired by the image sensor is overexposed or not and controlling the light transmittance of the electrochromic element to be reduced when the image is overexposed so as to reduce the exposure of the image.
7. The electronic device of claim 6, wherein the processor is configured to determine whether an exposure gain of the image sensor is a preset gain when the image is overexposed and control the light transmittance of the electrochromic element to decrease to reduce the exposure of the image when the exposure gain is a preset gain value.
8. the electronic device according to claim 6, wherein the processor is configured to determine whether an exposure time of the imaging module is a preset time value when the image is overexposed, and control the light transmittance of the electrochromic element to decrease to reduce the exposure of the image when the exposure time is the preset time value.
9. The electronic device of claim 6, wherein the processor is configured to obtain a current exposure of the image and determine whether the current exposure is greater than a predetermined value and determine that the image is overexposed when the current exposure is greater than the predetermined value.
10. The electronic device of claim 6, wherein the processor is further configured to change a power-on time of the electrochromic element to decrease a light transmittance of the electrochromic element and to change a magnitude of an applied voltage of the electrochromic element to decrease the light transmittance of the electrochromic element.
11. The electronic device of claim 6, wherein the imaging module comprises a lens, the lens is located above the image sensor, and the electrochromic element is located between the image sensor and the lens.
12. The electronic device of claim 6, wherein the imaging module comprises a lens, the lens being positioned between the image sensor and the electrochromic element.
13. A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the control method of any one of claims 1 to 5.
CN201911024408.1A 2019-10-25 2019-10-25 control method, electronic device, and storage medium Pending CN110581958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911024408.1A CN110581958A (en) 2019-10-25 2019-10-25 control method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911024408.1A CN110581958A (en) 2019-10-25 2019-10-25 control method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN110581958A true CN110581958A (en) 2019-12-17

Family

ID=68815396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911024408.1A Pending CN110581958A (en) 2019-10-25 2019-10-25 control method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN110581958A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163270A (en) * 2019-12-30 2020-05-15 Oppo广东移动通信有限公司 Method for eliminating flicker, electronic device and storage medium
CN111294523A (en) * 2020-03-10 2020-06-16 捷开通讯(深圳)有限公司 Shooting method, shooting device, storage medium and electronic equipment
CN113079321A (en) * 2020-01-06 2021-07-06 深圳市万普拉斯科技有限公司 Camera, camera control method and mobile terminal
WO2021208923A1 (en) * 2020-04-13 2021-10-21 深圳市万普拉斯科技有限公司 Method and apparatus for eliminating flicker during photographing, photographing device, and readable storage medium
CN115103100A (en) * 2022-06-22 2022-09-23 Oppo广东移动通信有限公司 Camera module, control method thereof, electronic device and computer-readable storage medium
CN115103132A (en) * 2022-06-16 2022-09-23 Oppo广东移动通信有限公司 Shooting module protection method and device, computer readable medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056331A (en) * 2002-07-18 2004-02-19 Canon Inc Image pickup device
CN105227816A (en) * 2015-09-28 2016-01-06 李琴琴 Based on the community security protection camera and preparation method thereof of electrochromic device
US20170374255A1 (en) * 2016-06-28 2017-12-28 Gopro, Inc. Electronic iris for a camera
CN107734256A (en) * 2017-10-24 2018-02-23 无锡瑞辰光谱测控有限公司 A kind of formula dimmer arrangement with an automatic light meter and its application method
JP2018101937A (en) * 2016-12-21 2018-06-28 キヤノン株式会社 Imaging apparatus, control method of the same, and control program
CN108769542A (en) * 2018-05-30 2018-11-06 北京图森未来科技有限公司 A kind of exposure parameter determines method, apparatus and readable medium
CN208143332U (en) * 2018-03-21 2018-11-23 深圳市三千米光电科技有限公司 Intelligent light-controlled video camera
US20190230270A1 (en) * 2018-01-22 2019-07-25 Canon Kabushiki Kaisha Image capturing apparatus and method for controlling the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056331A (en) * 2002-07-18 2004-02-19 Canon Inc Image pickup device
CN105227816A (en) * 2015-09-28 2016-01-06 李琴琴 Based on the community security protection camera and preparation method thereof of electrochromic device
US20170374255A1 (en) * 2016-06-28 2017-12-28 Gopro, Inc. Electronic iris for a camera
JP2018101937A (en) * 2016-12-21 2018-06-28 キヤノン株式会社 Imaging apparatus, control method of the same, and control program
CN107734256A (en) * 2017-10-24 2018-02-23 无锡瑞辰光谱测控有限公司 A kind of formula dimmer arrangement with an automatic light meter and its application method
US20190230270A1 (en) * 2018-01-22 2019-07-25 Canon Kabushiki Kaisha Image capturing apparatus and method for controlling the same
CN208143332U (en) * 2018-03-21 2018-11-23 深圳市三千米光电科技有限公司 Intelligent light-controlled video camera
CN108769542A (en) * 2018-05-30 2018-11-06 北京图森未来科技有限公司 A kind of exposure parameter determines method, apparatus and readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨洪兴等: "《绿色建筑反战与可再生能源应用》", 31 December 2016 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163270A (en) * 2019-12-30 2020-05-15 Oppo广东移动通信有限公司 Method for eliminating flicker, electronic device and storage medium
CN113079321A (en) * 2020-01-06 2021-07-06 深圳市万普拉斯科技有限公司 Camera, camera control method and mobile terminal
WO2021139478A1 (en) * 2020-01-06 2021-07-15 深圳市万普拉斯科技有限公司 Camera, camera control method and mobile terminal
CN111294523A (en) * 2020-03-10 2020-06-16 捷开通讯(深圳)有限公司 Shooting method, shooting device, storage medium and electronic equipment
CN111294523B (en) * 2020-03-10 2021-07-06 捷开通讯(深圳)有限公司 Shooting method, shooting device, storage medium and electronic equipment
WO2021179358A1 (en) * 2020-03-10 2021-09-16 捷开通讯(深圳)有限公司 Photographing method, storage medium, and electronic device
US11936990B2 (en) 2020-03-10 2024-03-19 JRD Communication (Shenzhen) Ltd. Photographing method for adjusting transparency of LCD panel based on image collection storage medium, and electronic device
WO2021208923A1 (en) * 2020-04-13 2021-10-21 深圳市万普拉斯科技有限公司 Method and apparatus for eliminating flicker during photographing, photographing device, and readable storage medium
CN115103132A (en) * 2022-06-16 2022-09-23 Oppo广东移动通信有限公司 Shooting module protection method and device, computer readable medium and electronic equipment
CN115103100A (en) * 2022-06-22 2022-09-23 Oppo广东移动通信有限公司 Camera module, control method thereof, electronic device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN110581958A (en) control method, electronic device, and storage medium
CN111163270A (en) Method for eliminating flicker, electronic device and storage medium
CN110830697A (en) Control method, electronic device, and storage medium
CN110913149A (en) Control method, electronic device, and storage medium
KR100846192B1 (en) The image saturation protection circuit of infrared camera
US9307158B2 (en) Electro-optic aperture device
US4554587A (en) Image pickup apparatus
CN101115149B (en) Image processing method
EP3462729B1 (en) Imaging device and camera system
KR20190085982A (en) CAMERA ASSEMBLY AND MOBILE ELECTRONIC DEVICE
WO2021139478A1 (en) Camera, camera control method and mobile terminal
US20160142606A1 (en) Electro-optic aperture device
US10600165B2 (en) Image processing apparatus capable of performing tone conversion with a visually equivalent luminance change, image processing method, and storage medium
US20060114344A1 (en) Image pick up module with optical element
WO2017185783A1 (en) Mobile terminal, exposure method therefor, and computer storage medium
CN113596293A (en) Camera module and electronic equipment
KR101592409B1 (en) Picture quality enhancement apparatus, digital photographing apparatus with the same and picture quality enhancement method thereof
JPH03203473A (en) Automatic exposure control device
JP2005250210A (en) Optical element varying optical density in response to electromagnetic wave
CN115103100A (en) Camera module, control method thereof, electronic device and computer-readable storage medium
CN110891148A (en) Self-timer light supplement method and system, double-screen terminal and computer readable storage medium
CN110995988A (en) Intelligent terminal, camera device control method and computer-readable storage medium
CN116095506B (en) Imaging control method, equipment, mobile terminal and storage medium
JP2004170613A (en) Optical element and camera unit
CN114070968B (en) Pixel structure unit, lens module, electronic equipment and shadow elimination method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191217

RJ01 Rejection of invention patent application after publication