CN110853563A - Mirror-based image processing method, mobile terminal and computer storage medium - Google Patents

Mirror-based image processing method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN110853563A
CN110853563A CN201911130831.XA CN201911130831A CN110853563A CN 110853563 A CN110853563 A CN 110853563A CN 201911130831 A CN201911130831 A CN 201911130831A CN 110853563 A CN110853563 A CN 110853563A
Authority
CN
China
Prior art keywords
image
panel
mirror
image processing
target object
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.)
Granted
Application number
CN201911130831.XA
Other languages
Chinese (zh)
Other versions
CN110853563B (en
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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings Co 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN201911130831.XA priority Critical patent/CN110853563B/en
Publication of CN110853563A publication Critical patent/CN110853563A/en
Application granted granted Critical
Publication of CN110853563B publication Critical patent/CN110853563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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

Abstract

The invention discloses an image processing method based on a mirror surface, which is applied to a mobile terminal, wherein the mobile terminal comprises a shell, a panel and a camera which are arranged on one side of the shell, and the image processing method based on the mirror surface comprises the following steps: acquiring an image of a target object through the camera; and controlling the panel according to the image of the target object. The invention also discloses a mobile terminal and a computer storage medium, which control the panel according to the image of the target object, thereby adjusting the image reflected by the panel and avoiding the problem that a user feels more dazzling in a strong light environment.

Description

Mirror-based image processing method, mobile terminal and computer storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a mirror-based image processing method, a mobile terminal, and a computer storage medium.
Background
At present, be provided with electrochromic unit in some intelligent terminal casings, make electrochromic unit switch between transparent and opaque through control voltage for whole casing can become transparent and show the effect of pattern unit on the bottom base plate from the colour that the hiding power is strong, thereby makes the casing present colorful effect more. The electrochromic is a phenomenon that the optical properties of the material are subjected to stable and reversible color change under the action of an external electric field, and the appearance of the material shows reversible changes of color and transparency. The current electrochromic glass is generally a structure of a glass substrate, a transparent conductive layer, an electrochromic layer, an electrolyte layer, an ion storage layer, a transparent conductive layer and a glass substrate.
With the development of the camera shooting technology of the intelligent terminal, more and more users like to use the front camera of the intelligent terminal to carry out self-shooting. When the front camera of the intelligent terminal is used for self-shooting, a user carries out shooting preview by watching an image captured by the camera displayed in a display screen of the intelligent terminal. However, the preview effect of the image captured by the camera is not as real as that of the image captured by the mirror, and in a strong light environment, the background of the image is too bright, so that the user feels dazzling, and the user's photographing experience is poor.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an image processing method based on a mirror surface, a mobile terminal and a computer storage medium, aiming at controlling a panel according to an image of a target object so as to adjust an image reflected by the panel, solve the problem that a user feels more dazzling in a strong light environment and improve the photographing experience of the user.
In order to achieve the above object, the present invention provides a mirror-based image processing method applied to a mobile terminal, where the mobile terminal includes a housing, and a panel and a camera disposed on one side of the housing, and the mirror-based image processing method includes the following steps:
acquiring an image of a target object through the camera;
and controlling the panel according to the image of the target object.
Optionally, before the step of controlling the panel according to the image of the object, the method includes:
and adjusting the image of the target object according to the distance between the target object and the panel.
Optionally, the step of adjusting the image of the object according to the distance between the object and the panel includes:
and adjusting the image of the target object according to the size of the panel and the distance.
Optionally, the step of controlling the panel according to the image of the object includes:
identifying non-target portions in the image of the target;
acquiring image information of a plurality of image areas in the non-target part;
and controlling the panel to adjust the panel parameters according to the image information of the image area.
Optionally, the image information of the image area includes: at least one of brightness, contrast, saturation;
the panel parameters include: at least one of reflectance, transmittance, and absorptance.
Optionally, the step of controlling the panel to adjust the panel parameter according to the image information of the image area includes:
and when the brightness of the image area is greater than a threshold value, controlling the panel to adjust the reflectivity of the area corresponding to the image area.
Optionally, the step of controlling the panel to adjust the reflectivity of the area corresponding to the image area includes:
acquiring a difference value between the brightness of the image area and the threshold value;
and determining an adjustment value of the reflectivity of the area corresponding to the image area in the panel according to the difference value, and controlling the panel to adjust the reflectivity of the area corresponding to the image area according to the adjustment value.
Optionally, the mirror-based image processing method further includes:
detecting a variation value of a distance between the target object and the panel;
and when the change value of the distance is larger than a preset distance change value threshold value, acquiring the image of the target object with the changed distance through the camera.
Optionally, the mirror-based image processing method further includes:
and controlling the panel to present a specular reflection effect so as to enable the panel to reflect to form an image of a target object in the environment, and controlling the panel according to the image of the target object so as to adjust the image of the target object.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: the image processing method comprises a shell, a panel and a camera which are arranged on one side of the shell, a memory, a processor and a mirror surface-based image processing program which is stored on the memory and can run on the processor, wherein when the mirror surface-based image processing program is executed by the processor, the steps of the mirror surface-based image processing method are realized.
In order to achieve the above object, the present invention further provides a computer storage medium having a mirror-surface-based image processing program stored thereon, wherein the mirror-surface-based image processing program, when executed by a processor, implements the steps of the mirror-surface-based image processing method as described in any one of the above.
The mirror-based image processing method, the mobile terminal and the computer storage medium provided by the embodiment of the invention are applied to the mobile terminal, the mobile terminal comprises a shell, a panel and a camera, the panel and the camera are arranged on one side of the shell, the camera is used for acquiring an image of a target object, and the panel is controlled according to the image of the target object. The invention controls the panel according to the image of the target object, thereby adjusting the image reflected by the panel and avoiding the problem that a user feels dazzling in a strong light environment.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an exemplary embodiment of a mirror-based image processing method according to the present invention;
FIG. 3 is a flowchart illustrating another embodiment of a mirror-based image processing method according to the present invention;
FIG. 4 is a detailed flowchart of step S20 in FIG. 2;
FIG. 5 is a flowchart illustrating a mirror-based image processing method according to another embodiment of the present invention;
FIG. 6 is a schematic view of an image before processing according to the present invention;
FIG. 7 is a schematic view of a processed image according to the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows:
acquiring an image of a target object through the camera;
and controlling the panel according to the image of the target object.
In the prior art, when the front camera of the intelligent terminal is used for self-shooting, a user carries out shooting preview by watching an image captured by the camera displayed in a display screen of the intelligent terminal. However, the preview effect of the image captured by the camera is not as real as that of the image captured by the mirror, and in a strong light environment, the background of the image is too bright, so that the user feels dazzling, and the user's photographing experience is poor.
The invention provides a solution, which controls the panel according to the image of the target object, thereby adjusting the image reflected by the panel and avoiding the problem that the user feels more dazzling in the strong light environment.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal provided by the embodiment of the invention is a mobile terminal such as a smart phone and a tablet personal computer.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include therein an operating system and a mirror-based image processing program.
In the terminal shown in fig. 1, the processor 1001 may be configured to call up a mirror-based image processing program stored in the memory 1003, and perform the following operations:
acquiring an image of a target object through the camera;
and controlling the panel according to the image of the target object.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
and adjusting the image of the target object according to the distance between the target object and the panel.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
and adjusting the image of the target object according to the size of the panel and the distance.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
identifying non-target portions in the image of the target;
acquiring image information of a plurality of image areas in the non-target part;
and controlling the panel to adjust the panel parameters according to the image information of the image area.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
and controlling the panel to adjust at least one of reflectivity, transmissivity and absorptivity according to at least one of brightness, contrast and saturation of the image area.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
and when the brightness of the image area is greater than a threshold value, controlling the panel to adjust the reflectivity of the area corresponding to the image area.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
acquiring a difference value between the brightness of the image area and the threshold value;
and determining an adjustment value of the reflectivity of the area corresponding to the image area in the panel according to the difference value, and controlling the panel to adjust the reflectivity of the area corresponding to the image area according to the adjustment value.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
detecting a variation value of a distance between the target object and the panel;
and when the change value of the distance is larger than a preset distance change value threshold value, acquiring the image of the target object with the changed distance through the camera.
Further, the processor 1001 may call the mirror-based image processing program stored in the memory 1003, and further perform the following operations:
and controlling the panel to present a specular reflection effect so as to enable the panel to reflect to form an image of a target object in the environment, and controlling the panel according to the image of the target object so as to adjust the image of the target object.
Referring to fig. 2, in an embodiment, the mirror-based image processing method includes the following steps:
step S10, acquiring an image of a target object through the camera;
in this embodiment, the mobile terminal includes a housing, and a panel and a camera disposed on one side of the housing, where the panel is made of glass, such as electrochromic glass, and electrochromic refers to a phenomenon in which optical properties (reflectivity, transmittance, absorption rate, etc.) of the material undergo a stable and reversible color change under the action of an external electric field. Appearing in appearance as reversible changes in color and transparency. Therefore, before the image of the target object is acquired through the camera, the panel parameters can be controlled to enable the panel to present a mirror reflection effect, for example, the reflectivity of the panel is adjusted to enable the panel to reflect to form an image. The adjustment of the panel parameters is mainly realized by the applied voltage, and the panel parameters are different under different applied voltages. When the panel parameters are adjusted to be larger or maximum, the panel can present a better mirror reflection effect, and the image of the target object in the environment can be clearly reflected and formed in the panel. When the user uses the mirror mode of the mobile terminal, the panel can be placed in front of the face of the user, so that the image of the face of the user is reflected by the panel. Under this mirror mode, compare through the camera to shoot and show the image on the display screen, the image that the panel reflection formed is truer, and accords with the custom that the user used the mirror more. In addition, a switch of a mirror mode of the mobile terminal can be set, when an instruction of opening the mirror mode of the panel is received, the step of controlling the panel to adjust the panel parameters to enable the panel to present a mirror reflection effect is executed, and when the mirror mode is closed, panel parameters such as the reflectivity of the panel and the like can be reduced, so that the panel presents a transparent or partially transparent appearance, and the daily use of a user on the mobile terminal is not influenced.
The camera is arranged on the same side of the shell as the panel. When a user uses the mirror mode of the mobile terminal, the panel can reflect to form an image of the face of the user, and meanwhile, the image of the face of the user can be acquired through the camera. Because the size difference exists between the image of the target object formed by the panel through reflection and the image of the target object acquired by the camera, the size of the image of the target object acquired by the camera can be properly adjusted, so that the image of the target object corresponds to the area in the image one by one.
Step S20, controlling the panel according to the image of the object.
In this embodiment, after the camera is controlled to capture an image of a target object, image information of the target object is acquired, so as to determine whether an image formed by reflection of the panel is appropriate according to the image information. After the image of the target object corresponds to the areas in the image one by one, the image information of the corresponding area in the image can be judged according to the image information of a certain area in the target object, and when the image information of the corresponding area in the image is not appropriate, the panel parameters of the corresponding area on the panel are adjusted to adjust the image information of the corresponding area in the image, so that the problem that a user feels dazzling in a strong light environment is avoided. When a user uses a mirror mode of the mobile terminal, the main content of an image formed by reflection of the panel is a face area of the user, if the image information of the face area of the user in the image is inappropriate, the preview effect of the face area of the user in the image is damaged, and the image is not real enough, so that the step of controlling the panel according to the image of the target object can be executed aiming at the non-face area of the user, and the optimal mirror surface effect is achieved.
Optionally, after the control panel presents a specular reflection effect and can clearly reflect the image of the target object in the environment in the panel, the panel is controlled according to the image of the target object, and the image of the target object is correspondingly adjusted through adjustment of panel parameters, so that the problem that the image of the target object is dazzling in a strong light environment is solved.
In the technical scheme disclosed in the embodiment, the camera is controlled to shoot the image of the target object, and the panel is controlled according to the image of the target object so as to adjust the image of the target object, so that the problems that the image background is too bright in a strong light environment, a user feels dazzling, and the shooting experience is poor are solved.
In another embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, before step S20, the method further includes:
step S01, adjusting the image of the object according to the distance between the object and the panel.
In this embodiment, before controlling the panel according to the image of the object, the size of the image of the object needs to be adjusted so that the areas in the image of the object correspond to the areas in the image formed by the panel in a one-to-one manner, that is, the image of the object and the image have the same screen content. Thus, the control of the panel is more accurate when the panel is controlled according to the image of the target object. When the size of the target object is adjusted, the distance between the target object and the panel is acquired, and then the size of the image of the target object is adjusted according to the size of the panel and the distance. Specifically, when the target object is a human face, the size of the panel observed by human eyes, that is, the size of the image observed by human eyes, can be calculated according to the distance between the target object and the panel and the size of the panel. After the image of the target object shot by the camera is acquired, the size of the image of the target object is adjusted to be consistent with the size of the image observed by human eyes, so that the one-to-one correspondence between the area in the image of the target object and the area in the image formed by the reflection of the panel is realized.
In the technical scheme disclosed in this embodiment, the image of the target object is adjusted according to the distance between the target object and the panel, so that the image of the target object and the image of the target object are in one-to-one correspondence, the panel is controlled more accurately according to the image of the target object, and the photographing experience of a user is improved.
In yet another embodiment, as shown in fig. 4, on the basis of the embodiment shown in any one of fig. 2 to 3, the step S20 includes:
step S21, identifying non-object portions in the image of the object;
in this embodiment, the main contents of the image of the target object and the image formed by the reflection of the panel are both the target object portion, so that when the panel is controlled according to the image of the target object, if the image of the target object portion is changed by the control panel, the image of the target object is not real enough, which affects the user's photographing experience, and therefore, the panel can be controlled independently for the non-target object portion. Firstly, a non-target part in an image of a target shot by a camera is identified, and then a panel is controlled according to the image of the non-target part.
Step S22, acquiring image information of a plurality of image areas in the non-target portion;
step S23, controlling the panel adjustment panel parameters according to the image information of the image area.
In the present embodiment, the image of the non-target portion is generally composed of a plurality of image areas, the image area may be a piece of area of a fixed size, and the image information of each image area may be different. And after the image information of a plurality of image areas in the non-target area is identified, controlling the panel to adjust the panel parameters of the corresponding area on the panel according to the image information of the image areas. The image information may include at least one of information such as brightness, contrast, saturation, etc., the panel parameter may include at least one of parameters such as reflectance, transmittance, absorptance, etc., and when the panel parameter is controlled and adjusted by the image information of the image area, the correspondence between the image information and the panel parameter may be any one.
Taking the brightness in the image information and the reflectivity in the panel parameter as examples, after detecting the brightness of each image area in the non-target part, judging whether the brightness is larger than a threshold value, if the brightness is larger than the threshold value, indicating that the user feels dazzling, therefore, the panel can be controlled to reduce the reflectivity of the area corresponding to the image area in the panel, and if the reflectivity is lower, the brightness of the corresponding area in the image seen by the user is also reduced, thereby avoiding the problem that the user feels dazzling. Further, when the brightness of the image area is greater than the threshold, a difference between the brightness of the image area and the threshold may be obtained, and the adjustment value of the reflectivity of the corresponding area in the panel is determined according to the difference. Of course, different difference levels can be set, and the adjustment value of the reflectivity is determined according to the level corresponding to the difference, so that the adjustment value of the reflectivity and the dazzling degree which can be felt by a user are reduced to different degrees. The method for controlling the panel to adjust the panel parameters such as transmittance and absorption rate according to the image information such as contrast and saturation of the image area is similar to this, and is not repeated here. In addition, since the image formed by the reflection of the panel and the real target object are mirror images, before the image unit of the non-target object part of the image of the target object is corresponding to the corresponding area in the panel, the image of the target object can be subjected to mirror image inversion processing.
In the technical scheme disclosed in this embodiment, the non-target object part in the image of the target object is identified, and the panel parameters are adjusted according to the image information panel of the image area in the non-target object part, so that the image information of the corresponding area in the image formed by the panel reflection can be adjusted, the problem that the image background is too bright in a strong light environment and a user feels dazzling is avoided, and the photographing experience of the user is improved.
In another embodiment, as shown in fig. 5, based on the embodiment shown in any one of fig. 2 to 4, the mirror-based image processing method further includes:
step S30 of detecting a variation value of the distance between the target object and the panel;
and step S40, when the change value of the distance is larger than a preset distance change value threshold value, acquiring the image of the target object with the changed distance through the camera.
In this embodiment, when the user uses the mirror mode of the mobile terminal, the user may move or shake the mobile terminal, which causes the image reflected by the panel to deviate to a certain extent, so that the adjustment of the panel parameter is not accurate, and therefore, the change value of the distance between the target object and the panel can be detected in real time, and when the change value of the distance is greater than the preset distance change value threshold, the camera re-acquires the image of the target object after the distance change, and controls the panel to adjust the panel parameter according to the re-acquired image information of the target object, so as to improve the accuracy of the adjustment of the panel parameter of the corresponding area in the panel.
In the technical scheme disclosed in this embodiment, by detecting the variation value of the distance between the target object and the panel, when the variation value is greater than the threshold value, the camera acquires the image of the target object after the distance variation, so that the adjustment of the panel parameter for the corresponding area in the panel is more accurate.
In another embodiment, based on the embodiment shown in any one of fig. 2 to 5, fig. 6 is a schematic view of an image before processing, and fig. 7 is a schematic view of an image after processing.
In the present embodiment, the image information is used as the brightness, and the panel parameter is used as the reflectance, but the present embodiment is not limited to the brightness and the reflectance, and may include contrast, saturation, and the like in the image information, and transmittance, absorption, and the like in the panel parameter. After adjusting the reflectivity of the panel to make the panel show a mirror reflection effect, the user takes a photo preview through the panel, and the image before processing formed by the panel reflection is as shown in fig. 6. In fig. 6, for example, the pre-processed image may include a face region of the user and a background region, wherein the background region includes a darker circular region, i.e., an image region corresponding to the sun, and the depth of the color represents the brightness of the image region. In this case, because the brightness corresponding to the sun in the background area is too large, a user feels dazzling when taking a picture through the panel to preview the picture, so that the user experience of taking a picture is poor, the image when the user takes a picture to preview the picture can be acquired through the camera, the image corresponds to the image before processing formed by the panel reflection, and the reflectivity of the panel is controlled according to the brightness of the image, so that the brightness of the corresponding area in the image formed by the panel reflection is changed along with the image, that is, the processing process of the image is performed.
Specifically, since the area corresponding to the sun is too bright in the image obtained by the camera when the user takes a photo preview, the control panel reduces the reflectivity of the area corresponding to the sun in the panel, so that the brightness of the image area corresponding to the sun in the image formed by the reflection of the panel is reduced, thereby solving the technical problem that the user feels more dazzling when taking a photo preview in a strong light environment, as shown in fig. 7, the image schematic diagram after processing is obtained through the image schematic diagram before processing in fig. 6. In fig. 7, by adjusting the reflectivity of the panel, the dark circular area in the background area in the processed image is changed into the light circular area, that is, the reflectivity of the circular area is reduced, so that the brightness of the circular area is reduced, thereby avoiding the problem that the user feels dazzling. It should be noted that, in this embodiment, it is not necessary to adjust the reflectivity of the panel area corresponding to the user face area, so as to make the user face image more real.
In the technical scheme disclosed in this embodiment, panel parameters such as the reflectivity of the area in the panel are adjusted through the control panel, so that the problem that a user feels dazzling when using the panel to perform photographing preview in a strong light environment is avoided, and the photographing experience of the user is improved.
In another embodiment, based on the embodiment shown in any one of fig. 2 to 7, the terminal of the mirror-based image processing method includes a housing, and a panel and a camera (not shown) disposed on one side of the housing.
As shown in fig. 8, a schematic structural diagram of a terminal is provided, where the terminal includes: the display device comprises a shell 10, a panel positioned on one side of the shell 10, and a display screen 60, a mainboard 70, wherein the panel comprises a first screen 20, an electrochromic layer 30 and a mirror layer 40 which are sequentially stacked, and a second screen 50, a display screen 60 and a mainboard 70 which are positioned on one side of the shell 10, which is far away from the panel, and are sequentially stacked. The first screen 20 is a transparent glass substrate or a capacitive touch screen. The optical properties of the electrochromic layer 30, such as light transmittance, are changed under different voltage control, i.e., it is possible to switch between a transparent state and an opaque state by applying different voltages to the electrochromic layer 30. The mirror layer 40 is a tempered material layer or a soft film layer having a mirror effect, when the electrochromic layer 30 is switched to a transparent state under the control of voltage, the mirror layer 40 can be displayed, and further, an image of an object in the environment is formed by mirror reflection of the mirror layer, and the switching of the electrochromic layer 30 between the transparent state and the opaque state is controlled by adjusting panel parameters, that is, by changing the applied voltage of the electrochromic layer 30.
In addition, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the image processing method comprises a shell, a panel and a camera which are arranged on one side of the shell, a memory, a processor and a mirror surface-based image processing program which is stored on the memory and can run on the processor, wherein the mirror surface-based image processing program realizes the steps of the mirror surface-based image processing method according to the embodiment when being executed by the processor.
In addition, an embodiment of the present invention further provides a computer storage medium, where a mirror-based image processing program is stored on the computer storage medium, and when being executed by a processor, the mirror-based image processing program implements the steps of the mirror-based image processing method according to the above embodiment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (11)

1. A mirror-based image processing method is applied to a mobile terminal, the mobile terminal comprises a shell, a panel and a camera, the panel and the camera are arranged on one side of the shell, and the mirror-based image processing method is characterized by comprising the following steps:
acquiring an image of a target object through the camera;
and controlling the panel according to the image of the target object.
2. The mirror-based image processing method according to claim 1, wherein the step of controlling the panel according to the image of the object is preceded by:
and adjusting the image of the target object according to the distance between the target object and the panel.
3. The mirror-based image processing method of claim 2, wherein the step of adjusting the image of the object according to the distance between the object and the panel comprises:
and adjusting the image of the target object according to the size of the panel and the distance.
4. The mirror-based image processing method according to claim 1, wherein the controlling the panel according to the image of the object comprises:
identifying non-target portions in the image of the target;
acquiring image information of a plurality of image areas in the non-target part;
and controlling the panel to adjust the panel parameters according to the image information of the image area.
5. The mirror-based image processing method according to claim 4,
the image information of the image area comprises: at least one of brightness, contrast, saturation;
the panel parameters include: at least one of reflectance, transmittance, and absorptance.
6. The mirror-based image processing method of claim 5, wherein the step of controlling the panel to adjust the panel parameters according to the image information of the image area comprises:
and when the brightness of the image area is greater than a threshold value, controlling the panel to adjust the reflectivity of the area corresponding to the image area.
7. The mirror-based image processing method of claim 6, wherein the controlling the panel to adjust the reflectivity of the area corresponding to the image area comprises:
acquiring a difference value between the brightness of the image area and the threshold value;
and determining an adjustment value of the reflectivity of the area corresponding to the image area in the panel according to the difference value, and controlling the panel to adjust the reflectivity of the area corresponding to the image area according to the adjustment value.
8. The mirror-based image processing method according to any one of claims 1 to 7, wherein the mirror-based image processing method further comprises:
detecting a variation value of a distance between the target object and the panel;
and when the change value of the distance is larger than a preset distance change value threshold value, acquiring the image of the target object with the changed distance through the camera.
9. The mirror-based image processing method according to any one of claims 1 to 7, wherein the mirror-based image processing method further comprises:
and controlling the panel to present a specular reflection effect so as to enable the panel to reflect to form an image of a target object in the environment, and controlling the panel according to the image of the target object so as to adjust the image of the target object.
10. A mobile terminal, characterized in that the mobile terminal comprises: a housing, a panel and a camera disposed on one side of the housing, a memory, a processor, and a mirror-based image processing program stored in the memory and executable on the processor, wherein the mirror-based image processing program, when executed by the processor, implements the steps of the mirror-based image processing method according to any one of claims 1 to 9.
11. A computer storage medium having a mirror-based image processing program stored thereon, the mirror-based image processing program, when executed by a processor, implementing the steps of the mirror-based image processing method according to any one of claims 1 to 9.
CN201911130831.XA 2019-11-18 2019-11-18 Mirror-based image processing method, mobile terminal and computer storage medium Active CN110853563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911130831.XA CN110853563B (en) 2019-11-18 2019-11-18 Mirror-based image processing method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911130831.XA CN110853563B (en) 2019-11-18 2019-11-18 Mirror-based image processing method, mobile terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN110853563A true CN110853563A (en) 2020-02-28
CN110853563B CN110853563B (en) 2023-05-12

Family

ID=69602144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911130831.XA Active CN110853563B (en) 2019-11-18 2019-11-18 Mirror-based image processing method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN110853563B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022267480A1 (en) * 2021-06-24 2022-12-29 青岛海尔空调器有限总公司 Control method and apparatus for air conditioner, air conditioner and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669313A (en) * 2002-07-11 2005-09-14 精工爱普生株式会社 Adjustment for output image of image data
EP1814081A2 (en) * 2006-01-30 2007-08-01 Sony Corporation Exposure control apparatus and image pickup apparatus
US20080181597A1 (en) * 2007-01-29 2008-07-31 Kazunori Tamura Photographing apparatus, method for controlling photographing apparatus and computer-readable recording medium containing program
CN101771815A (en) * 2008-12-30 2010-07-07 华晶科技股份有限公司 Digital image shooting method
CN104898835A (en) * 2015-05-19 2015-09-09 联想(北京)有限公司 Method for processing information and electronic device
JP2015198438A (en) * 2014-04-03 2015-11-09 キヤノン株式会社 image processing apparatus, image processing method and program
CN106331487A (en) * 2016-08-25 2017-01-11 广东欧珀移动通信有限公司 Screen light supplementing method and device and mobile terminal
CN206067625U (en) * 2016-08-24 2017-04-05 北京兴科迪电子技术研究院 A kind of automatic anti-glare liquid crystal display screen rearview mirror
CN107181913A (en) * 2017-05-25 2017-09-19 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107205125A (en) * 2017-06-30 2017-09-26 广东欧珀移动通信有限公司 A kind of image processing method, device, terminal and computer-readable recording medium
CN107911616A (en) * 2017-12-26 2018-04-13 Tcl移动通信科技(宁波)有限公司 A kind of camera automatic focusing method, storage device and mobile terminal
CN108270966A (en) * 2017-12-27 2018-07-10 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for adjusting light filling brightness
US20190102872A1 (en) * 2017-09-29 2019-04-04 Apple Inc. Glare Reduction in Captured Images
CN110418002A (en) * 2019-07-30 2019-11-05 努比亚技术有限公司 A kind of brightness adjusting method, terminal and computer readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669313A (en) * 2002-07-11 2005-09-14 精工爱普生株式会社 Adjustment for output image of image data
EP1814081A2 (en) * 2006-01-30 2007-08-01 Sony Corporation Exposure control apparatus and image pickup apparatus
US20080181597A1 (en) * 2007-01-29 2008-07-31 Kazunori Tamura Photographing apparatus, method for controlling photographing apparatus and computer-readable recording medium containing program
CN101771815A (en) * 2008-12-30 2010-07-07 华晶科技股份有限公司 Digital image shooting method
JP2015198438A (en) * 2014-04-03 2015-11-09 キヤノン株式会社 image processing apparatus, image processing method and program
CN104898835A (en) * 2015-05-19 2015-09-09 联想(北京)有限公司 Method for processing information and electronic device
CN206067625U (en) * 2016-08-24 2017-04-05 北京兴科迪电子技术研究院 A kind of automatic anti-glare liquid crystal display screen rearview mirror
CN106331487A (en) * 2016-08-25 2017-01-11 广东欧珀移动通信有限公司 Screen light supplementing method and device and mobile terminal
CN107181913A (en) * 2017-05-25 2017-09-19 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107205125A (en) * 2017-06-30 2017-09-26 广东欧珀移动通信有限公司 A kind of image processing method, device, terminal and computer-readable recording medium
US20190102872A1 (en) * 2017-09-29 2019-04-04 Apple Inc. Glare Reduction in Captured Images
CN107911616A (en) * 2017-12-26 2018-04-13 Tcl移动通信科技(宁波)有限公司 A kind of camera automatic focusing method, storage device and mobile terminal
CN108270966A (en) * 2017-12-27 2018-07-10 努比亚技术有限公司 A kind of method, mobile terminal and storage medium for adjusting light filling brightness
CN110418002A (en) * 2019-07-30 2019-11-05 努比亚技术有限公司 A kind of brightness adjusting method, terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022267480A1 (en) * 2021-06-24 2022-12-29 青岛海尔空调器有限总公司 Control method and apparatus for air conditioner, air conditioner and storage medium

Also Published As

Publication number Publication date
CN110853563B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
US10284817B2 (en) Device for and method of corneal imaging
EP2290949B1 (en) Method, medium and system for optimizing capture device settings through depth information
CN108566516B (en) Image processing method, device, storage medium and mobile terminal
US20210105389A1 (en) Apparatus and method for providing illumination of camera in electronic device
US20040196252A1 (en) Apparatus, method and computer program product for controlling screen brightness of mobile terminal
CN106257581A (en) User terminal apparatus and the method being used for adjusting brightness thereof
CN111480333A (en) Light supplementing photographing method, mobile terminal and computer readable storage medium
CN104754219B (en) A kind of terminal
US20130155041A1 (en) Display control device and control method for display control device
CN111857484B (en) Screen brightness adjusting method and device, electronic equipment and readable storage medium
CN105530434A (en) Shooting method and terminal
CN111491106B (en) Shot image processing method and device, mobile terminal and storage medium
JP6942445B2 (en) Image processing device, its control method, program
CN112312035B (en) Exposure parameter adjusting method, exposure parameter adjusting device and electronic equipment
CN112130736A (en) Control method, electronic device and computer readable storage medium
CN112532891A (en) Photographing method and device
CN110853563A (en) Mirror-based image processing method, mobile terminal and computer storage medium
US10742875B2 (en) Electronic device and image capture control method for a dual camera assembly that fuses images if an ISO value of the camera assembly is greater than or equal to a first preset value
CN108616697B (en) Shooting state reminding method and device, storage medium and electronic equipment
CN107517338B (en) Electronic equipment back shell, electronic equipment and shooting method
CN110855887B (en) Mirror-based image processing method, terminal and computer-readable storage medium
EP3163370A1 (en) Electronic device and method of controlling same for capturing digital images
CN110933298A (en) Photographing method, photographing device and terminal
CN110430375A (en) Imaging method, device, storage medium and electronic equipment
CN113920912A (en) Display attribute adjusting method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant