CN112217989A - Image display method and device - Google Patents

Image display method and device Download PDF

Info

Publication number
CN112217989A
CN112217989A CN202011027485.5A CN202011027485A CN112217989A CN 112217989 A CN112217989 A CN 112217989A CN 202011027485 A CN202011027485 A CN 202011027485A CN 112217989 A CN112217989 A CN 112217989A
Authority
CN
China
Prior art keywords
image
color
mode
color adjustment
content information
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
CN202011027485.5A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011027485.5A priority Critical patent/CN112217989A/en
Publication of CN112217989A publication Critical patent/CN112217989A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Viewfinders (AREA)

Abstract

The present disclosure provides an image display method and apparatus. The method is applied to electronic equipment, the electronic equipment comprises a camera and a display screen, and the method comprises the following steps: the method comprises the steps of obtaining content information of an image displayed in a viewfinder on a display screen, determining a color adjusting mode of the image according to the content information of the image, performing color adjustment on the image according to the color adjusting mode, displaying the image after color adjustment on the display screen, realizing color optimization of the image displayed in the viewfinder, improving the image display effect and improving the shooting experience of a user.

Description

Image display method and device
Technical Field
The present disclosure relates to the field of computer communication technologies, and in particular, to an image display method and apparatus.
Background
The electronic equipment displays images collected by the camera on the display screen in the shooting process, and generates photos or videos according to the images displayed on the display screen after receiving the shooting instruction. How to improve the image display effect of the electronic device in the shooting process and improve the shooting experience of the user is a technical problem to be urgently solved by technical personnel in the field.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an image display method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided an image display method applied to an electronic device, where the electronic device includes a camera and a display screen, the method includes:
acquiring content information of an image displayed in a viewfinder on the display screen;
determining a color adjustment mode of the image according to the content information;
performing color adjustment on the image according to the color adjustment mode;
and displaying the image after color adjustment on the display screen.
Optionally, the acquiring content information of an image displayed in a viewfinder on the display screen includes:
acquiring image data of the image from a cache region of the display screen;
and determining the content information according to the image data.
Optionally, the image is divided into at least two region images; the color adjusting the image according to the color adjusting mode comprises:
when the color adjusting mode comprises one mode, performing color adjustment on each area image according to the color adjusting mode;
and when the color adjusting mode comprises a color adjusting sub-mode set for each area image, performing color adjustment on each area image according to the color adjusting sub-mode of each area image.
Optionally, the image is composed of a plurality of pixel points; the color adjusting mode comprises a color data adjusting mode; the color adjusting the image according to the color adjusting mode comprises:
and adjusting the color data of the pixel points included in the image according to the color data adjusting mode.
Optionally, the content information comprises at least one of: shooting scene information and shooting object information.
Optionally, the determining, according to the content information, a color adjustment manner of the image includes any one of:
determining a color adjusting mode corresponding to the content information according to a corresponding relation between preset content information and the color adjusting mode;
when the content information includes the subject information, determining a color that the subject having the subject information should have, and determining a color adjustment manner for enhancing the color that the subject should have;
when the content information includes the shooting scene information, determining a color that an image obtained when a shooting scene having the shooting scene information is shot should have, and determining a color adjustment mode for enhancing the color that should have.
Optionally, the method further comprises:
determining that the image comprises a ghost image;
color adjusting the ghost image to remove the ghost image from the image.
Optionally, the color adjusting the image according to the color adjusting manner includes:
and responding to the situation that the removal of the ghost image is finished and the removed image is obtained, and performing color adjustment on the removed image according to the color adjustment mode.
According to a second aspect of the embodiments of the present disclosure, there is provided an image display apparatus applied to an electronic device, the electronic device including a camera and a display screen, the apparatus including:
an information acquisition module configured to acquire content information of an image displayed in a viewfinder on the display screen;
a mode determination module configured to determine a color adjustment mode of the image according to the content information;
a color adjustment module configured to perform color adjustment on the image according to the color adjustment manner;
an image display module configured to display the color-adjusted image on the display screen.
Optionally, the information obtaining module includes:
the data acquisition sub-module is configured to acquire image data of the image from a cache region of the display screen;
an information determination sub-module configured to determine the content information from the image data.
Optionally, the image is divided into at least two region images; the color adjustment module includes:
a first color adjustment submodule configured to perform color adjustment on each region image in accordance with a color adjustment manner when the color adjustment manner includes one manner;
and the second color adjusting sub-module is configured to perform color adjustment on each area image according to the color adjusting sub-mode of each area image when the color adjusting mode comprises the color adjusting sub-mode set for each area image.
Optionally, the image is composed of a plurality of pixel points; the color adjusting mode comprises a color data adjusting mode;
and the color adjusting module is configured to adjust the color data of the pixel points included in the image according to the color data adjusting mode.
Optionally, the content information comprises at least one of: shooting scene information and shooting object information.
Optionally, the mode determination module includes any one of:
the first mode determining submodule is configured to determine a color adjusting mode corresponding to content information according to a corresponding relation between preset content information and the color adjusting mode;
a second mode determination sub-module configured to determine, when the content information includes the subject information, a color that a subject having the subject information should have, and determine a color adjustment mode for enhancing the color that the subject should have;
a third mode determination sub-module configured to determine a color that an image obtained when a shooting scene having the shooting scene information is shot should have, and determine a color adjustment mode for enhancing the color that should have, in a case where the content information includes the shooting scene information.
Optionally, the apparatus further comprises:
an image determination module configured to determine that the image comprises a ghost image;
an image removal module configured to color adjust the ghost image to remove the ghost image from the image.
Optionally, the color adjusting module is configured to perform color adjustment on the removed image according to the color adjusting manner in response to the removal of the ghost image being completed and obtaining the removed image.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the above first aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring content information of an image displayed in a viewfinder on the display screen;
determining a color adjustment mode of the image according to the content information;
performing color adjustment on the image according to the color adjustment mode;
and displaying the image after color adjustment on the display screen.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, after acquiring content information of an image displayed in a viewfinder on a display screen, an electronic device determines a color adjustment mode according to the content information of the image, performs color adjustment on the image according to the determined color adjustment mode, and displays the image after color adjustment on the display screen, so that color optimization of the image displayed in the viewfinder is realized, an image display effect is improved, and a user's shooting experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow diagram illustrating an image display method according to an exemplary embodiment;
FIG. 2 is a block diagram of an image display device according to an exemplary embodiment;
fig. 3 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The electronic equipment is provided with a display screen and a wireless signal receiving device, and the display screen comprises an image display module. The display screen may be a touch screen or the display screen may be a non-touch screen. The wireless signal receiving device is used for receiving wireless signals. The display screen may be integrated with a screen chip.
Fig. 1 is a flowchart illustrating an image display method according to an exemplary embodiment, where the method illustrated in fig. 1 is applied to an electronic device including a display screen and a camera, and the method includes:
in step 101, content information of an image displayed in a viewfinder on a display screen is acquired.
When the electronic equipment acquires an image in the process of acquiring the image by using the camera, the image is displayed in the viewfinder on the display screen, and at the moment, the electronic equipment can acquire the image displayed in the viewfinder, perform content identification on the image displayed in the viewfinder and acquire content information of the image displayed in the viewfinder.
In one embodiment, the display screen is provided with a cache region, and the electronic device stores the image data acquired by the camera in the cache region of the display screen. In this step, the electronic device may obtain image data of an image from a buffer of the display screen, and determine content information of the image according to the image data of the image obtained from the buffer.
The content information of the image is various, for example, the content information includes at least one of: shooting scene information and shooting object information. The shooting scene information is information about a shooting scene, and for example, the shooting scene information may include a shooting scene type and the like. The photographic subject information is information on a photographic subject, and for example, the photographic subject information may include a photographic subject type and the like. The above is merely an example of the shooting scene information and the shooting object information, and is not limited.
In step 102, a color adjustment mode of the image displayed in the viewfinder is determined based on the acquired content information.
A color adjustment mode suitable for the content information is determined. There are various ways of color adjustment, for example, the color adjustment may include at least one of: color data adjustment, contrast adjustment, etc. The color data adjustment mode defines a method of adjusting color data of an image, and the color data may include RGB values. The contrast adjustment mode defines a method of adjusting the contrast of an image.
In one embodiment, the corresponding relationship between the content information and the color adjustment mode is preset, and the color adjustment mode corresponding to the content information is determined according to the preset corresponding relationship between the content information and the color adjustment mode.
For example, the sea and the color adjustment manner for emphasizing blue are set in advance, and when the photographic subject of the image is the sea, the color adjustment manner for emphasizing blue corresponding to the sea is determined so that the sea in the image becomes bluer. For another example, a grass and a color adjustment method for enhancing green are set in advance, and when the subject of the image is a grass, the color adjustment method for enhancing green corresponding to the grass is determined. For another example, a person and a color adjustment method for enhancing red are set in advance, and when the subject of the image is a person, the color adjustment method for enhancing red corresponding to the person is determined so that the face of the person in the image is more ruddy.
The correspondence between the content information of the image and the color adjustment method may be input by the user or obtained by the electronic device through machine learning.
In one embodiment, the content information includes subject information, and the electronic device determines a color that the subject having the subject information should have, and determines a color adjustment manner for enhancing the color that the subject should have.
For example, the electronic device determines that the photographic subject is the sea, determines that the sea should have blue, and determines a color adjustment manner for enhancing the blue.
Compared with the corresponding relation between the content information stored in the electronic equipment and the color adjusting mode, the electronic equipment determines the appropriate color adjusting mode according to the corresponding relation, and in the embodiment, the electronic equipment determines the color adjusting mode in real time according to the shooting object information, so that the corresponding relation is not stored, the storage pressure of the electronic equipment is reduced, and the intelligence and the applicability of the electronic equipment are improved.
In one embodiment, the content information includes shooting scene information, and the electronic device determines a color that an image obtained when shooting a shooting scene having the shooting scene information should have, and determines a color adjustment manner for enhancing the color that should have.
For example, the electronic device determines that the shooting scene information is sunrise information and determines that the shooting scene is a sunrise scene, because light exists in the sky at sunrise and gold exists in the shot image, and thus determines a color adjustment manner for enhancing gold.
Compared with the corresponding relation between the content information stored in the electronic equipment and the color adjusting mode, the electronic equipment determines the appropriate color adjusting mode according to the corresponding relation, and in the embodiment, the electronic equipment determines the color adjusting mode in real time according to the shooting scene information, so that the corresponding relation is not stored, the storage pressure of the electronic equipment is reduced, and the intelligence and the applicability of the electronic equipment are improved.
In one embodiment, after acquiring the image captured by the camera, the electronic device may further determine whether the image includes a ghost image, and when it is determined that the image includes the ghost image, the electronic device may perform color adjustment on the ghost image to remove the ghost image from the image. And after the virtual image is removed, obtaining the removed image.
For example, a set of pixel points included in the ghost image may be determined, and color data of the pixel points in the set of pixel points may be adjusted to remove the ghost image from the image.
And after the removal of the ghost image is completed and the removed image is obtained, the electronic equipment performs color adjustment on the removed image according to the determined color adjustment mode.
In this embodiment, the electronic device performs color adjustment after removing the ghost image in the image, so that the image after color adjustment is clearer and has better display effect.
In step 103, the image displayed in the viewfinder is color-adjusted in accordance with the determined color adjustment manner.
The electronic equipment adjusts the color of the image, so that the color of the image is changed, and the color display effect of the image is improved.
In one embodiment, when the determined color adjustment manner includes a manner, the color adjustment is performed on the area images in such a manner that the color change occurs to the same extent in the area images.
In one embodiment, when the color adjustment mode includes a color adjustment sub-mode of each region image, color adjustment is performed on each region image according to the color adjustment sub-mode corresponding to each region image, so that color changes of different region images can occur in different degrees.
In one embodiment, the image is composed of a plurality of pixels, each having a color data. The color adjusting mode comprises a color data adjusting mode, the electronic equipment can determine a proper color data adjusting mode according to the content information of the currently acquired image, and the color data of the pixel points included in the image is adjusted according to the determined color data adjusting mode. A pixel point may be understood as an area image, and the color data adjustment mode of the image may include a color data adjustment sub-mode of the pixel point.
For example, when the color data adjustment manner defines the magnitude of increase of the color data, the color data of each pixel point included in the image is increased by the magnitude. For another example, when the color data adjustment mode defines the target color data, the color data of each pixel point included in the image is adjusted to the target color data.
In step 104, the color adjusted image is displayed on a display screen.
In the embodiment of the disclosure, after acquiring content information of an image displayed in a viewfinder on a display screen, an electronic device determines a suitable color adjustment mode according to the content information of the image, performs color adjustment on the image, and displays the image subjected to color optimization on the display screen, so that the image displayed on the display screen has a better color display effect.
In the embodiment of the disclosure, after acquiring content information of an image displayed in a viewfinder on a display screen, an electronic device determines a color adjustment mode according to the content information of the image, performs color adjustment on the image according to the determined color adjustment mode, and displays the image after color adjustment on the display screen, so that color optimization of the image displayed in the viewfinder is realized, an image display effect is improved, and a user's shooting experience is improved.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and corresponding electronic equipment.
Fig. 2 is a block diagram illustrating an image display apparatus according to an exemplary embodiment, the image display apparatus illustrated in fig. 2 being applied to an electronic device including a camera and a display screen, the apparatus including: an information acquisition module 21, a mode determination module 22, a color adjustment module 23 and an image display module 24; wherein the content of the first and second substances,
the information obtaining module 21 is configured to obtain content information of an image displayed in a viewfinder on the display screen;
the mode determining module 22 is configured to determine a color adjustment mode of the image according to the content information;
the color adjusting module 23 is configured to perform color adjustment on the image according to the color adjusting manner;
the image display module 24 is configured to display the color-adjusted image on the display screen.
In an alternative embodiment, on the basis of the image display apparatus shown in fig. 2, the information obtaining module 21 may include: a data acquisition sub-module and an information determination sub-module; wherein the content of the first and second substances,
the data acquisition sub-module is configured to acquire image data of the image from a cache region of the display screen;
the information determination sub-module is configured to determine the content information according to the image data.
In an alternative embodiment, on the basis of the image display apparatus shown in fig. 2, the image is divided into at least two area images; the color adjustment module 23 may include: a first color adjustment submodule;
the first color adjustment submodule is configured to perform color adjustment on each region image according to the color adjustment mode when the color adjustment mode includes one mode.
In an alternative embodiment, on the basis of the image display apparatus shown in fig. 2, the image is divided into at least two area images; the color adjustment module 23 may include: a second color adjustment sub-module;
the second color adjustment sub-module is configured to perform color adjustment on each region image according to the color adjustment sub-mode of each region image when the color adjustment mode includes the color adjustment sub-mode set for each region image.
In an alternative embodiment, on the basis of the image display apparatus shown in fig. 2, the image is composed of a plurality of pixel points; the color adjusting mode comprises a color data adjusting mode;
the color adjusting module 23 may be configured to adjust color data of pixel points included in the image according to the color data adjusting manner.
In an alternative embodiment, on the basis of the image display apparatus shown in fig. 2, the content information includes at least one of: shooting scene information and shooting object information.
In an optional embodiment, the mode determination module may include any one of: a first mode determining submodule, a second mode determining submodule and a third mode determining submodule; wherein the content of the first and second substances,
the first mode determining submodule is configured to determine the color adjustment mode corresponding to the content information according to a corresponding relation between preset content information and the color adjustment mode;
the second mode determination sub-module is configured to determine, when the content information includes the subject information, a color that a subject having the subject information should have, and determine a color adjustment mode for enhancing the color that the subject should have;
the third mode determination sub-module is configured to determine a color that an image obtained when a shooting scene having the shooting scene information is shot should have, and determine a color adjustment mode for enhancing the color that the image should have, in a case where the content information includes the shooting scene information.
In an alternative embodiment, on the basis of the image display apparatus shown in fig. 2, the apparatus may further include: the image removing module is used for removing the image; wherein the content of the first and second substances,
the image determination module configured to determine that the image comprises a ghost image;
the image removal module is configured to color-adjust the ghost image to remove the ghost image from the image.
In an optional embodiment, the color adjustment module 23 may be configured to perform color adjustment on the removed image according to the color adjustment manner in response to the removing of the ghost image being completed and obtaining the removed image.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, in one aspect, an embodiment of the present disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: acquiring content information of an image displayed in a viewfinder on the display screen; determining a color adjustment mode of the image according to the content information; performing color adjustment on the image according to the color adjustment mode; and displaying the image after color adjustment on the display screen.
Fig. 3 is a schematic diagram illustrating a structure of an electronic device 1600 according to an example embodiment. For example, apparatus 1600 may be a user device, which may be embodied as a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, smart band, smart running shoe, and the like.
Referring to fig. 3, apparatus 1600 may include one or more of the following components: processing component 1602, memory 1604, power component 1606, multimedia component 1608, audio component 1610, input/output (I/O) interface 1612, sensor component 1614, and communications component 1616.
The processing component 1602 generally controls overall operation of the device 1600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1602 can include one or more modules that facilitate interaction between the processing component 1602 and other components. For example, the processing component 1602 can include a multimedia module to facilitate interaction between the multimedia component 1608 and the processing component 1602.
The memory 1604 is configured to store various types of data to support operation at the device 1600. Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1604 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A power supply component 1606 provides power to the various components of the device 1600. The power components 1606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1600.
The multimedia component 1608 includes a screen that provides an output interface between the apparatus 1600 and a user as described above. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1608 comprises a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when device 1600 is in an operational mode, such as an adjustment mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1610 is configured to output and/or input an audio signal. For example, audio component 1610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1600 is in an operational mode, such as a call mode, recording mode, and voice recognition mode. The received audio signal may further be stored in the memory 1604 or transmitted via the communications component 1616. In some embodiments, audio component 1610 further includes a speaker for outputting audio signals.
The I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1614 includes one or more sensors for providing status assessment of various aspects to device 1600. For example, sensor assembly 1614 can detect an open/closed state of device 1600, the relative positioning of components, such as a display and keypad of device 1600, a change in position of device 1600 or a component of device 1600, the presence or absence of user contact with device 1600, orientation or acceleration/deceleration of device 1600, and a change in temperature of device 1600. The sensor assembly 1614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1616 is configured to facilitate communications between the apparatus 1600 and other devices in a wired or wireless manner. The device 1600 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the aforementioned communication component 1616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 1604 comprising instructions that when executed by the processor 1620 of the apparatus 1600, enable the apparatus 1600 to perform an image display method comprising: acquiring content information of an image displayed in a viewfinder on the display screen; determining a color adjustment mode of the image according to the content information; performing color adjustment on the image according to the color adjustment mode; and displaying the image after color adjustment on the display screen.
The non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. An image display method is applied to electronic equipment, wherein the electronic equipment comprises a camera and a display screen, and the method comprises the following steps:
acquiring content information of an image displayed in a viewfinder on the display screen;
determining a color adjustment mode of the image according to the content information;
performing color adjustment on the image according to the color adjustment mode;
and displaying the image after color adjustment on the display screen.
2. The method of claim 1, wherein the obtaining content information of an image displayed in a viewfinder on the display screen comprises:
acquiring image data of the image from a cache region of the display screen;
and determining the content information according to the image data.
3. The method of claim 1, wherein the image is divided into at least two region images; the color adjusting the image according to the color adjusting mode comprises:
when the color adjusting mode comprises one mode, performing color adjustment on each area image according to the color adjusting mode;
and when the color adjusting mode comprises a color adjusting sub-mode set for each area image, performing color adjustment on each area image according to the color adjusting sub-mode of each area image.
4. The method of claim 1, wherein the image is comprised of a plurality of pixel points; the color adjusting mode comprises a color data adjusting mode; the color adjusting the image according to the color adjusting mode comprises:
and adjusting the color data of the pixel points included in the image according to the color data adjusting mode.
5. The method of claim 1, wherein the content information comprises at least one of: shooting scene information and shooting object information.
6. The method according to claim 1, wherein the determining the color adjustment mode of the image according to the content information comprises any one of:
determining a color adjusting mode corresponding to the content information according to a corresponding relation between preset content information and the color adjusting mode;
when the content information includes the subject information, determining a color that the subject having the subject information should have, and determining a color adjustment manner for enhancing the color that the subject should have;
when the content information includes the shooting scene information, determining a color that an image obtained when a shooting scene having the shooting scene information is shot should have, and determining a color adjustment mode for enhancing the color that should have.
7. The method of claim 1, further comprising:
determining that the image comprises a ghost image;
color adjusting the ghost image to remove the ghost image from the image.
8. The method of claim 7, wherein said color adjusting said image in said color adjustment mode comprises:
and responding to the situation that the removal of the ghost image is finished and the removed image is obtained, and performing color adjustment on the removed image according to the color adjustment mode.
9. An image display device, applied to an electronic apparatus including a camera and a display screen, the device comprising:
an information acquisition module configured to acquire content information of an image displayed in a viewfinder on the display screen;
a mode determination module configured to determine a color adjustment mode of the image according to the content information;
a color adjustment module configured to perform color adjustment on the image according to the color adjustment manner;
an image display module configured to display the color-adjusted image on the display screen.
10. The apparatus of claim 9, wherein the information obtaining module comprises:
the data acquisition sub-module is configured to acquire image data of the image from a cache region of the display screen;
an information determination sub-module configured to determine the content information from the image data.
11. The apparatus of claim 9, wherein the image is divided into at least two region images; the color adjustment module includes:
a first color adjustment submodule configured to perform color adjustment on each region image in accordance with a color adjustment manner when the color adjustment manner includes one manner;
and the second color adjusting sub-module is configured to perform color adjustment on each area image according to the color adjusting sub-mode of each area image when the color adjusting mode comprises the color adjusting sub-mode set for each area image.
12. The apparatus of claim 9, wherein the image is comprised of a plurality of pixels; the color adjusting mode comprises a color data adjusting mode;
and the color adjusting module is configured to adjust the color data of the pixel points included in the image according to the color data adjusting mode.
13. The apparatus of claim 9, wherein the content information comprises at least one of: shooting scene information and shooting object information.
14. The apparatus of claim 13, wherein: the mode determination module comprises any one of the following:
the first mode determining submodule is configured to determine a color adjusting mode corresponding to content information according to a corresponding relation between preset content information and the color adjusting mode;
a second mode determination sub-module configured to determine, when the content information includes the subject information, a color that a subject having the subject information should have, and determine a color adjustment mode for enhancing the color that the subject should have;
a third mode determination sub-module configured to determine a color that an image obtained when a shooting scene having the shooting scene information is shot should have, and determine a color adjustment mode for enhancing the color that should have, in a case where the content information includes the shooting scene information.
15. The apparatus of claim 9, further comprising:
an image determination module configured to determine that the image comprises a ghost image;
an image removal module configured to color adjust the ghost image to remove the ghost image from the image.
16. The apparatus of claim 15, wherein:
and the color adjusting module is configured to respond to the removal of the ghost image and obtain a removed image, and perform color adjustment on the removed image according to the color adjusting mode.
17. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the method of any one of claims 1-8.
18. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring content information of an image displayed in a viewfinder on the display screen;
determining a color adjustment mode of the image according to the content information;
performing color adjustment on the image according to the color adjustment mode;
and displaying the image after color adjustment on the display screen.
CN202011027485.5A 2020-09-25 2020-09-25 Image display method and device Pending CN112217989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011027485.5A CN112217989A (en) 2020-09-25 2020-09-25 Image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011027485.5A CN112217989A (en) 2020-09-25 2020-09-25 Image display method and device

Publications (1)

Publication Number Publication Date
CN112217989A true CN112217989A (en) 2021-01-12

Family

ID=74051296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011027485.5A Pending CN112217989A (en) 2020-09-25 2020-09-25 Image display method and device

Country Status (1)

Country Link
CN (1) CN112217989A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388203A (en) * 2008-10-09 2009-03-18 深圳华为通信技术有限公司 Display method of mobile terminal and the mobile terminal
CN102752476A (en) * 2011-11-30 2012-10-24 新奥特(北京)视频技术有限公司 Method and device for adjusting image printing light in real time
CN103647958A (en) * 2013-12-23 2014-03-19 联想(北京)有限公司 Image processing method and device and electronic device
CN104079797A (en) * 2013-03-28 2014-10-01 索尼公司 Image processing device, image processing method, program, and endoscope system
CN107481186A (en) * 2017-08-24 2017-12-15 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and computer equipment
CN108024105A (en) * 2017-12-14 2018-05-11 珠海市君天电子科技有限公司 Image color adjusting method, device, electronic equipment and storage medium
CN108259746A (en) * 2018-01-24 2018-07-06 维沃移动通信有限公司 A kind of image color detection method and mobile terminal
CN108537749A (en) * 2018-03-29 2018-09-14 广东欧珀移动通信有限公司 Image processing method, device, mobile terminal and computer readable storage medium
US20190108797A1 (en) * 2015-10-16 2019-04-11 Hisense Electric Co., Ltd. Method and apparatus for controlling liquid crystal display brightness, and liquid crystal display device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388203A (en) * 2008-10-09 2009-03-18 深圳华为通信技术有限公司 Display method of mobile terminal and the mobile terminal
CN102752476A (en) * 2011-11-30 2012-10-24 新奥特(北京)视频技术有限公司 Method and device for adjusting image printing light in real time
CN104079797A (en) * 2013-03-28 2014-10-01 索尼公司 Image processing device, image processing method, program, and endoscope system
CN103647958A (en) * 2013-12-23 2014-03-19 联想(北京)有限公司 Image processing method and device and electronic device
US20190108797A1 (en) * 2015-10-16 2019-04-11 Hisense Electric Co., Ltd. Method and apparatus for controlling liquid crystal display brightness, and liquid crystal display device
CN107481186A (en) * 2017-08-24 2017-12-15 广东欧珀移动通信有限公司 Image processing method, device, computer-readable recording medium and computer equipment
CN108024105A (en) * 2017-12-14 2018-05-11 珠海市君天电子科技有限公司 Image color adjusting method, device, electronic equipment and storage medium
CN108259746A (en) * 2018-01-24 2018-07-06 维沃移动通信有限公司 A kind of image color detection method and mobile terminal
CN108537749A (en) * 2018-03-29 2018-09-14 广东欧珀移动通信有限公司 Image processing method, device, mobile terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
US9674395B2 (en) Methods and apparatuses for generating photograph
CN108898546B (en) Face image processing method, device and equipment and readable storage medium
CN108154465B (en) Image processing method and device
CN106210496B (en) Photo shooting method and device
CN106131441B (en) Photographing method and device and electronic equipment
CN110580688B (en) Image processing method and device, electronic equipment and storage medium
CN109672830B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108462833B (en) Photographing method, photographing device and computer-readable storage medium
CN107341777B (en) Picture processing method and device
CN110677734B (en) Video synthesis method and device, electronic equipment and storage medium
CN112614064B (en) Image processing method, device, electronic equipment and storage medium
CN108154466B (en) Image processing method and device
CN111078170B (en) Display control method, display control device, and computer-readable storage medium
CN111953903A (en) Shooting method, shooting device, electronic equipment and storage medium
CN111741187A (en) Image processing method, device and storage medium
CN109167921B (en) Shooting method, shooting device, shooting terminal and storage medium
CN111340690B (en) Image processing method, device, electronic equipment and storage medium
CN106469446B (en) Depth image segmentation method and segmentation device
CN111461950B (en) Image processing method and device
CN115914721A (en) Live broadcast picture processing method and device, electronic equipment and storage medium
EP3905660A1 (en) Method and device for shooting image, and storage medium
CN111835977B (en) Image sensor, image generation method and device, electronic device, and storage medium
CN110312117B (en) Data refreshing method and device
CN108769513B (en) Camera photographing method and device
CN112217989A (en) Image display method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210112