WO2021052342A1 - 电子设备调整画面色彩的方法和装置 - Google Patents
电子设备调整画面色彩的方法和装置 Download PDFInfo
- Publication number
- WO2021052342A1 WO2021052342A1 PCT/CN2020/115445 CN2020115445W WO2021052342A1 WO 2021052342 A1 WO2021052342 A1 WO 2021052342A1 CN 2020115445 W CN2020115445 W CN 2020115445W WO 2021052342 A1 WO2021052342 A1 WO 2021052342A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color
- dimensional look
- picture
- processing unit
- displayed
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
- G09G5/06—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using colour palettes, e.g. look-up tables
-
- G06T11/10—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/24—Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2354/00—Aspects of interface with display user
Definitions
- This application relates to the field of image processing technology, and in particular to a method and device for adjusting the color of an image by an electronic device.
- Short video software refers to software that can shoot and play short videos. Short videos are usually only 5 seconds to 5 minutes. Commonly used short video software includes Instagram, Douyin, and Meitu Xiuxiu. At present, all kinds of short video software can only use the Graphics Processing Unit (GPU) for software color grading. GPU is a kind of software designed for personal computers, workstations, game consoles and some mobile devices (such as tablet computers, smart phones). Etc.) and other terminal equipment such as microprocessors for image computing work.
- GPU Graphics Processing Unit
- the embodiments of the present application provide a method and device for adjusting the image color of an electronic device, which can adjust the color of a high-resolution long video in real time without increasing the power consumption of the electronic device.
- the first aspect of the present application provides a method for adjusting the color of an image on an electronic device, the electronic device includes a display screen and a processor, the processor includes a display processing unit, and the method includes: the display processing unit obtains a picture to be displayed Acquire a target three-dimensional look-up table for adjusting the image to be displayed according to the first color mode, map the color of the image to be displayed according to the target three-dimensional look-up table, to obtain an adjusted image, and The adjusted picture is sent to the display screen for display.
- the method reuses the existing color mapping hardware in the DPU to adjust the color of the picture, which solves the performance and power consumption problems of the existing software method for color adjustment of the video, and can color high-resolution long videos in real time. Adjustment, and will not increase the power consumption of electronic equipment.
- the processor receives the color mode selection operation input by the user, and
- the first color mode is the color mode selected by the color mode selection operation, and correspondingly, the display processing unit determines the index of the target three-dimensional look-up table corresponding to the first color mode according to the first color mode, According to the index of the target three-dimensional look-up table, the target three-dimensional look-up table is searched.
- the target three-dimensional look-up table is generated according to a first three-dimensional look-up table and a second three-dimensional look-up table, and the first three-dimensional look-up table is used to correct the color of the display screen, so The second three-dimensional look-up table is used to adjust the color of the picture, wherein the second three-dimensional look-up table corresponds to a color mode.
- the display processing unit obtains the target three-dimensional lookup table for adjusting the to-be-displayed picture according to the first color mode, including: the display processing unit obtains the first three-dimensional lookup table, so The first three-dimensional look-up table is used to correct the color of the display screen, the display processing unit obtains a second three-dimensional look-up table according to the application currently playing the to-be-displayed picture, and the second three-dimensional look-up table is used to correct The color of the picture played on the application is adjusted, the color mode used by the application is the first color mode, and the display processing unit generates according to the first three-dimensional look-up table and the second three-dimensional look-up table The target three-dimensional lookup table.
- the method can generate a three-dimensional lookup table in real time according to user requirements.
- the display processing unit acquiring the frame to be displayed may be: the display processing unit receives the frame to be displayed captured by the camera of the electronic device in real time.
- the display processing unit acquiring the picture to be displayed may be: the display processing unit acquires the picture to be displayed from a memory.
- the method further includes: the display processing unit obtains the first to-be-displayed image, and adjusts the color of the first to-be-displayed image according to the first three-dimensional look-up table to obtain the adjusted first image.
- the first three-dimensional look-up table is used to correct the color of the display screen, and the display processing unit sends the adjusted first picture to be displayed to the display screen for display.
- the DPU can not only realize the color adjustment of the display screen according to the color mode, but also retain the function of the existing DPU hardware for color correction of the display screen, and will not affect the existing functions of the DPU.
- an internal memory is provided in the display processing unit, and the target three-dimensional look-up table is stored in the internal memory.
- an internal memory is provided in the display processing unit, and the first three-dimensional look-up table and the second three-dimensional look-up table are stored in the internal memory.
- the DPU reads the 3D look-up table from the internal memory faster, which further improves the efficiency of color adjustment.
- a second aspect of the present application provides an electronic device, including a display screen and a processor, and the processor includes a display processing unit.
- the display processing unit is configured to: obtain a picture to be displayed, obtain a target three-dimensional look-up table for adjusting the picture to be displayed according to a first color mode, and adjust the color of the picture to be displayed according to the target three-dimensional look-up table Perform mapping to get the adjusted picture.
- the display screen is used to display the screen adjusted by the display processing unit.
- the electronic device further includes an input device for a user to input a color mode selection operation, and the first color mode is a color mode selected by the color mode selection operation
- the processor is configured to receive the color mode selection operation input by the user through the input device
- the display processing unit is specifically configured to: determine the target three-dimensional search corresponding to the first color mode according to the first color mode The index of the table; according to the index of the target 3D lookup table, the target 3D lookup table is searched.
- the target three-dimensional look-up table is generated according to a first three-dimensional look-up table and a second three-dimensional look-up table, and the first three-dimensional look-up table is used to correct the color of the display screen, so The second three-dimensional look-up table is used to adjust the color of the picture, wherein the second three-dimensional look-up table corresponds to a color mode.
- the display processing unit is specifically configured to: obtain a first three-dimensional look-up table, the first three-dimensional look-up table is used to correct the color of the display screen, according to the current playback of the to-be-displayed
- the screen application obtains a second three-dimensional look-up table, the second three-dimensional look-up table is used to adjust the color of the screen played on the application, the color mode used by the application is the first color mode, and according to the The first three-dimensional lookup table and the second three-dimensional lookup table generate the target three-dimensional lookup table.
- the electronic device further includes a camera, the camera is configured to capture the to-be-displayed image, and the display processing unit is specifically configured to receive the to-be-displayed image captured by the camera in real time.
- the electronic device further includes a memory
- the memory is configured to store the to-be-displayed picture
- the display processing unit is specifically configured to: obtain the to-be-displayed picture from the memory.
- the display processing unit is further configured to: obtain a first to-be-displayed image, and perform color adjustment on the first to-be-displayed image according to a first three-dimensional lookup table to obtain the adjusted first to-be-displayed image In the screen, the first three-dimensional look-up table is used to correct the color of the display screen.
- the display screen is also used to display the first to-be-displayed picture adjusted by the display processing unit.
- an internal memory is provided in the display processing unit, and the target three-dimensional look-up table is stored in the internal memory.
- an internal memory is provided in the display processing unit, and the first three-dimensional look-up table and the second three-dimensional look-up table are stored in the internal memory.
- a third aspect of the present application provides a circuit system, the circuit system includes a display processing unit configured to: obtain a picture to be displayed, and obtain a target three-dimensional lookup table for adjusting the picture to be displayed according to a first color mode; The color of the picture to be displayed is mapped according to the target three-dimensional look-up table to obtain an adjusted picture, and the adjusted picture is sent to the display screen connected to the circuit system for display.
- a display processing unit configured to: obtain a picture to be displayed, and obtain a target three-dimensional lookup table for adjusting the picture to be displayed according to a first color mode; The color of the picture to be displayed is mapped according to the target three-dimensional look-up table to obtain an adjusted picture, and the adjusted picture is sent to the display screen connected to the circuit system for display.
- the system further includes a first processor configured to receive a color mode selection operation input by a user, and the first color mode is a color mode selected by the color mode selection operation
- the display processing unit is specifically configured to: determine the index of the target three-dimensional lookup table corresponding to the first color mode according to the first color mode, and search the target three-dimensional lookup table according to the index of the target three-dimensional lookup table table.
- the target three-dimensional look-up table is generated according to a first three-dimensional look-up table and a second three-dimensional look-up table, and the first three-dimensional look-up table is used to correct the color of the display screen, so The second three-dimensional look-up table is used to adjust the color of the picture, wherein the second three-dimensional look-up table corresponds to a color mode.
- the display processing unit is specifically configured to: obtain a first three-dimensional look-up table, the first three-dimensional look-up table is used to correct the color of the display screen, according to the current playback of the to-be-displayed
- the screen application obtains a second three-dimensional look-up table, the second three-dimensional look-up table is used to adjust the color of the screen played on the application, the color mode used by the application is the first color mode, and according to the The first three-dimensional lookup table and the second three-dimensional lookup table generate the target three-dimensional lookup table.
- the display processing unit is specifically configured to: receive the to-be-displayed image captured by the camera connected to the circuit system in real time.
- the circuit system further includes a memory, the memory is configured to store the to-be-displayed picture, and the display processing unit is specifically configured to: obtain the to-be-displayed picture from the memory .
- the display processing unit is further configured to: obtain a first to-be-displayed image, and perform color adjustment on the first to-be-displayed image according to a first three-dimensional lookup table to obtain the adjusted first to-be-displayed image
- the screen, the first three-dimensional look-up table is used to correct the color of the display screen, and send the adjusted first to-be-displayed screen to the display screen.
- an internal memory is provided in the display processing unit, and the target three-dimensional look-up table is stored in the internal memory.
- an internal memory is provided in the display processing unit, and the first three-dimensional look-up table and the second three-dimensional look-up table are stored in the internal memory.
- the DPU of the electronic device obtains the image to be displayed, obtains the target 3D lookup table for adjusting the image to be displayed according to the first color mode, and treats it according to the target 3D lookup table.
- the color of the display screen is mapped to obtain the adjusted screen, and the DPU sends the adjusted screen to the display screen for display.
- the solution reuses the existing color mapping hardware in the DPU to adjust the color of the screen, and solves the performance and power consumption problems of the existing software method for color adjustment of the video, and can adjust the color of the high-resolution long video in real time. And will not increase the power consumption of electronic equipment.
- Figure 1 is a schematic diagram of a structure of an electronic device applicable to this application;
- FIG. 2 is a schematic structural diagram of a processor to which this application is applicable;
- FIG. 3 is a schematic diagram of the RGB color space
- Figure 4 is a schematic diagram of the principle of a 3D lookup table
- FIG. 5 is a flowchart of a method for adjusting screen color of an electronic device according to Embodiment 1 of this application;
- Fig. 6 is a schematic diagram of a shooting page
- Figure 7 is a schematic diagram of a color mode selection page
- FIG. 8 is a schematic structural diagram of an electronic device provided in Embodiment 2 of this application.
- FIG. 9 is a schematic structural diagram of a circuit system provided in Embodiment 3 of this application.
- the electronic device can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a netbook, a cellular phone, a cordless phone, or a session initiation protocol ( Session Initiation Protocol (SIP) phone, Personal Digital Assistant (PDA), in-vehicle device, wearable device, etc.
- SIP Session Initiation Protocol
- PDA Personal Digital Assistant
- the embodiments of this application do not impose special restrictions on the specific form of the terminal device.
- Fig. 1 is a schematic structural diagram of an electronic device to which this application is applicable.
- the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus, USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D , A sensor 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195, and so on.
- SIM subscriber identification module
- the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100.
- the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, display process unit (DPU), and/or neural network processor (neural-network processing unit, NPU), etc.
- the different processing units may be independent devices or integrated in one or more processors.
- the electronic device 100 may also include one or more processors 110.
- the controller may be the nerve center and command center of the electronic device 100.
- the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 to store instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the electronic device 100 system.
- the processor 110 may include one or more interfaces.
- the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- UART universal asynchronous transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB Universal Serial Bus
- the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
- the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones.
- the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
- the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
- the charging management module 140 is used to receive charging input from the charger.
- the charger can be a wireless charger or a wired charger.
- the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
- the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device 100 through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the power management module 141 may also be provided in the processor 110.
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
- the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier, and so on.
- the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
- the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
- the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), NFC, Infrared technology (infrared, IR) and other wireless communication solutions.
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
- the wireless communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
- the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, GNSS, WLAN, NFC, FM, and/or IR technology.
- the aforementioned GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi- Zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
- the electronic device 100 can implement a display function through a GPU, a display screen 194, an application processor, and the like.
- the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 110 may include one or more GPUs, which execute instructions to generate or change display information.
- the display screen 194 is used to display images, videos, and the like.
- the display screen 194 includes a display panel.
- the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
- LCD liquid crystal display
- OLED organic light-emitting diode
- active-matrix organic light-emitting diode active-matrix organic light-emitting diode
- AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
- the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
- the electronic device 100 may implement a shooting function through an ISP, one or more cameras 193, a video codec, a GPU, one or more display screens 194, and an application processor.
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
- DPU is also called Display Sub-System (DSS).
- DPU is used to adjust the color of display 194.
- DPU can adjust the color of display through 3D lookup table (3D LUT) .
- the DPU can also perform processing such as zooming, noise reduction, contrast enhancement, backlight brightness management, hdr processing, and display parameter Gamma adjustment.
- the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save data files such as music, photos, and videos in an external memory card.
- the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
- the processor 110 can execute the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 100 to execute various functional applications and data processing.
- the internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store the operating system; the storage program area can also store one or more application programs (such as a gallery, contacts, etc.) and so on.
- the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 100.
- the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
- the processor 110 may execute instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110 to enable the electronic device 100 to execute various functional applications and data processing.
- the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
- the audio module 170 is used to convert digital audio information into an analog audio signal for output, and also used to convert an analog audio input into a digital audio signal.
- the audio module 170 can also be used to encode and decode audio signals.
- the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
- the speaker 170A also called “speaker", is used to convert audio electrical signals into sound signals.
- the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
- the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
- the electronic device 100 may be provided with at least one microphone 170C.
- the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
- the earphone interface 170D is used to connect wired earphones.
- the earphone interface 170D can be a USB interface 130, a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) Standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA
- the sensor 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L , Bone conduction sensor 180M and so on.
- the pressure sensor 180A is used to sense a pressure signal, and can convert the pressure signal into an electrical signal.
- the pressure sensor 180A may be provided on the display screen 194.
- the capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
- the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
- the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
- the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
- touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example, when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
- the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
- the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
- the gyro sensor 180B can be used for image stabilization.
- the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation, somatosensory game scenes and so on.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
- the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
- the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
- the light emitting diode may be an infrared light emitting diode.
- the electronic device 100 emits infrared light to the outside through the light emitting diode.
- the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
- the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
- the ambient light sensor 180L is used to sense the brightness of the ambient light.
- the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
- the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
- the fingerprint sensor 180H (also called a fingerprint reader) is used to collect fingerprints.
- the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
- other descriptions of the fingerprint sensor can be found in the international patent application PCT/CN2017/082773 entitled “Method and Electronic Equipment for Processing Notification", the entire content of which is incorporated in this application by reference.
- the touch sensor 180K can also be called a touch panel or a touch-sensitive surface.
- the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a touch screen.
- the touch sensor 180K is used to detect touch operations acting on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- the visual output related to the touch operation can be provided through the display screen 194.
- the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
- the bone conduction sensor 180M can acquire vibration signals.
- the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
- the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
- the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
- the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
- the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
- the button 190 includes a power-on button, a volume button, and so on.
- the button 190 may be a mechanical button or a touch button.
- the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
- the SIM card interface 195 is used to connect to the SIM card.
- the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
- the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
- the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
- the SIM card interface 195 can also be compatible with different types of SIM cards.
- the SIM card interface 195 may also be compatible with external memory cards.
- the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
- the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
- Fig. 2 is a schematic structural diagram of a processor to which this application is applicable.
- the processor 110 includes: a CPU 1100, a GPU 1101, a DPU 1102, and a video codec 1103, and the processor 110 may be connected internally by a bus.
- the DPU1102 is mainly used to adjust the color of the display screen 194, and the DPU1102 can adjust the color of the image output by the electronic device through a 3D look-up table.
- the DPU can also perform processing such as zooming, noise reduction, contrast enhancement, backlight brightness management, hdr processing, and Gamma adjustment on the screen.
- DPU1102 is equipped with a memory, also called internal memory, which is used to store the instructions and data required by the DPU to perform corresponding functions. For example, if DPU1102 needs to adjust the color of the display 194, then the internal memory of DPU1102 can store 3D lookups. In the color adjustment process, the DPU1102 directly reads the 3D lookup table from the internal memory, and does not need to read the 3D lookup table from other memories of the electronic device.
- a memory also called internal memory, which is used to store the instructions and data required by the DPU to perform corresponding functions. For example, if DPU1102 needs to adjust the color of the display 194, then the internal memory of DPU1102 can store 3D lookups. In the color adjustment process, the DPU1102 directly reads the 3D lookup table from the internal memory, and does not need to read the 3D lookup table from other memories of the electronic device.
- 3D look-up table is a technical means of color calibration (or color calibration).
- ITU International Telecommunication Union
- SMPTE Society of Motion Picture and Television Engineers
- ITU-Rec709 High Definition Television
- This standard has clear regulations on the color gamut, color temperature and gamma value of the display. Therefore, if you want to display high-definition in the radio and television industry, the display device must meet the color gamut, color temperature and gamma parameters specified by the standard , In order to achieve the same color displayed by the same material on different display devices are consistent.
- RGB Value the smallest display unit, and any color on the display screen can be represented by a set of RGB values.
- the 3D lookup table is used to indicate the mapping relationship between arbitrary colors, and the 3D lookup table expresses the color mapping relationship through the mapping relationship between RGB.
- RGB can be used as three dimensions to establish a mapping space, as shown in Figure 3.
- the size of the 3D look-up table can be set according to the user's color requirements, and 256 brightnesses on the three channels of R, G, and B can be sampled. For example, the sampling interval is 16, then as shown in Figure 3
- the 3D lookup table can represent 17*17*17 colors in total.
- the working principle of the 3D lookup table is as follows: the RGB value of the input pixel is R1G1B1. After the 3D lookup table is mapped, the RGB value of the pixel becomes R1'G1'B1', and the mapped R1'G1'B1' is the same It is an RGB signal, but R1'G1'B1' is slightly different from the input signal R1G1B1. The color effects of R1'G1'B1' and R1G1B1 on the display are also different. R1'G1' after transformation The color effect of B1' on the display screen is more in line with user needs. This is the function of the 3D look-up table, which is equivalent to calibrating the deviation of the display screen.
- FIG 4 is a schematic diagram of the principle of the 3D lookup table.
- each input RGB uniquely corresponds to an output RGB.
- the output RGB Is 70, 70, 70
- the output RGB is (85, 90, 70)
- the input RGB is (50, 70, 60)
- the output RGB is ( 90,95,80).
- the white displayed on the display should also be at a gray level of 128, but due to the inaccuracy of the display, the display The output gray level is only 120, which will produce a deviation of 8 gray levels.
- the 3D LUT adds or subtracts this deviation to the input RGB signal according to this deviation of the display screen to achieve the final display effect.
- the input effect is the same. Understandably, this is just an example.
- the process of color adjustment by the mapping module according to the 3D lookup table can be very complicated. It is not just simply adding or subtracting a deviation from the original RGB, but also making different adjustments according to different input RGB signals. This embodiment does not limit this.
- the method for adjusting the image color provided by the embodiment of the application is executed by the DPU, that is, the solution of the application implements color adjustment through hardware.
- the advantage of the hardware color adjustment is that after the DPU adjusts the RGB value of each pixel in the video, it does not The adjusted pixel value needs to be written into the memory, but directly sent to the display screen for display, which improves the speed of color mapping, so that real-time color adjustment of high-resolution video can be realized.
- the GPU adjusts the RGB value of the pixel, it needs to write the adjusted pixel value into the memory, and the display screen reads the adjusted pixel value from the memory, and then displays it. It can only display the lower resolution in real time. Short video for color adjustment.
- the method for adjusting the image color provided by the embodiment of the application can be used to adjust the color of the video image played in the video player installed in the electronic device, and can also adjust the color of the photo or video stored in the photo album of the electronic device. It is also possible to adjust the color of the video or photo in the process of shooting by the camera of the electronic device, to adjust the color of the short video application installed in the electronic device, and to adjust the color of the desktop of the electronic device.
- the video player can provide one or more color modes for users to choose. When the video player only provides one color mode, the video player will adjust the video image to the color corresponding to that color mode by default. effect. When the video player provides multiple color modes, the user can select a color mode before or during video playback, and the video player will adjust the video image to the color effect corresponding to the color mode selected by the user .
- photo albums, cameras, short video applications, etc. can also provide one or more color modes for users to choose.
- video players, cameras, and short video applications can adjust the colors of the pictures online in real time, and the albums usually adjust the colors of the pictures offline.
- the color mode can be understood as the color effect presented by the screen on the display screen. After the same photo is processed with different color modes, different color effects are presented to the user.
- a variety of colors can be provided for users to choose, so as to meet the individual needs of different users for image colors.
- the color mode can be a filter in an existing image processing (Photoshop) application or an image beautification application.
- the color mode can be, for example, retro, black and white, dusk, morning light, sunshine, warmth, cool, green orange, amber, and so on.
- FIG. 5 is a flowchart of a method for adjusting a picture color of an electronic device according to Embodiment 1 of the application. The method is applied to an electronic device.
- the electronic device includes a display screen and a processor, and the processor includes a DPU.
- the electronic device stores a 3D lookup table.
- the 3D lookup table stored in the electronic device is divided into two types: one type of 3D lookup table corresponds to the color mode, and this type of 3D lookup table is used to perform the picture when needed. It is used in color adjustment scenes.
- each color mode corresponds to a 3D reference table.
- Another type of 3D lookup table has nothing to do with the color mode.
- This type of 3D lookup table is used to adjust the color of the display screen of the electronic device. Usually only one 3D lookup table is needed. This type of 3D lookup table can be displayed on the display screen. Perform color correction on all screens.
- the DPU may be provided with internal memory, which can only be called by the DPU itself, the memory storage may be a random access memory (Random Access Memory, RAM), and the 3D lookup table may be stored in the memory storage .
- RAM Random Access Memory
- the 3D look-up table can also be stored in other memory besides the DPU, which is not limited in the embodiment of the present application.
- the DPU can read the 3D lookup table from the internal memory faster, which further improves the efficiency of color adjustment.
- the method provided in this embodiment includes the following steps:
- the DPU obtains a picture to be displayed.
- the picture to be displayed is all content that can be displayed on the display screen, including but not limited to videos, pictures, games, etc.
- the video can be a long video (for example, a movie, a TV series), or a short video (for example, the playing time is long). Less than 5 minutes).
- the to-be-displayed picture can be obtained in the following ways:
- the DPU receives the real-time image to be displayed captured by the camera of the electronic device.
- the camera may be a camera on the electronic device.
- the image captured by the camera is processed by a video codec and sent to the DPU.
- the DPU reads the picture to be displayed from the memory, and the picture to be displayed is downloaded from the server to the memory by the electronic device. For example, when a user uses a video player to watch a video in real time, the video is first downloaded to the memory when the video is played, the DPU reads the picture to be displayed from the memory, and the picture to be displayed is processed and sent to the display screen for display.
- the DPU reads the to-be-displayed picture from the memory of the electronic device. That is, the captured images are stored in the memory of the electronic device in advance, or downloaded from the server and saved in the memory of the electronic device in advance.
- the picture to be displayed can be a picture with any existing resolution, such as a 4K or 2K high-resolution video.
- the resolution of 4K video can reach 3840*2140, and the resolution of 2K video is 1920*1080.
- 2K video is also called full HD video.
- the resolution of 4K video is 4 times that of full HD video and 9 times that of HD video (1280*720).
- the embodiments of this application do not limit the video format.
- the video format can be Moving Picture Experts Group (MPEG), MPEG-1, MPEG-2, MPEG-3, etc., and can also be audio and video interleaving. (Audio Video Interleaved, AVI), Advanced Streaming Format, etc., and can also be High-Dynamic Range (HDR).
- HDR can include the following four standards: HDR10, HDR10+, (Hybrid Log Gamma) , HLG) and Dolby Vision (dolby vision).
- the DPU obtains, according to the first color mode, a target 3D lookup table used to adjust the image to be displayed.
- multiple 3D lookup tables are stored in the electronic device, and each 3D lookup table corresponds to a color mode, and each 3D lookup table can have an index that can uniquely identify a 3D lookup table and a 3D lookup table.
- Color mode The color mode is used to achieve various color effects of the image.
- many image processing software provide a variety of color modes for users to choose. Users can choose the corresponding color mode according to their own preferences for the image. Different color modes correspond to different color effects. The same picture has different color effects after being processed in different color modes.
- the processor receives a color mode selection operation input by the user.
- the color mode selection operation is used to select a first color mode from a plurality of color modes, and the DPU determines the corresponding color mode according to the first color mode.
- the index of the target 3D lookup table is used to search the target 3D lookup table according to the index of the target 3D lookup table.
- Figure 6 is a schematic diagram of the shooting page. As shown in Figure 6, after the user opens the image processing software, the shooting mode is turned on. There are multiple shooting modes displayed on the shooting page for the user to choose: normal shooting mode, video mode and cute shooting The normal shooting mode is used to shoot ordinary photos, the video mode is used to shoot videos, and the cute shooting mode is used to shoot photos with some special effects. Special effects can be understood as superimposing special effects on ordinary photos. Users can click different The button corresponding to the shooting mode selects different shooting modes.
- the shooting page also includes a color mode selection control.
- the user clicks the color mode selection control the user enters the color mode selection page shown in Figure 7.
- the color mode selection page shown in Figure 7.
- the effect and name of the mode are limited in the color modes that can be displayed on one screen.
- the user can also slide left and right in the color mode effect display area to display more color modes.
- there is a "more" control in the color mode selection page and the user jumps to a sub-page by clicking the "more" control, and the sub-page displays more color modes for the user to select.
- the DPU After the user selects the first color mode, the DPU will receive the user's color mode selection operation. Through the color mode selection operation, the user can learn the first color mode selected by the user. According to the corresponding relationship between the first color mode and the 3D look-up table, The index of the target 3D lookup table corresponding to the first color mode is obtained.
- the 3D lookup table stored in the electronic device is generated according to the first 3D lookup table and the second 3D lookup table.
- the first 3D lookup table is used to correct the color of the display screen
- the second 3D lookup table is used for To adjust the color of the picture, where each second 3D look-up table corresponds to a color mode.
- the 3D look-up table obtained according to the first 3D look-up table and the second 3D look-up table takes into account the correction of the display screen color, so that the picture after color adjustment according to the 3D look-up table can not only meet the user's personalized color needs, but also It can eliminate the influence of the difference of the display screen on the color.
- the 3D lookup table in the embodiment of this application is equivalent to two color adjustments to the image to be displayed. Assuming that one pixel in the image to be displayed is represented as RGB, first perform the first RGB based on the second 3D lookup table. The second color adjustment obtains R'G'B', and then the second color adjustment is performed on R'G'B' according to the first 3D lookup table to obtain R”G”B”. In the solution of the embodiment of the present application, 3D search is used The table adjusts RGB once to get R"G"B".
- the DPU obtains the first 3D lookup table from the memory of the electronic device.
- the first 3D lookup table is used to correct the color of the display screen.
- the DPU obtains the second 3D lookup according to the application currently playing the picture to be displayed.
- the second 3D lookup table is used to adjust the color of the picture played on the application.
- the color mode used by the application is the first color mode.
- the DPU generates the target 3D lookup according to the first 3D lookup table and the second 3D lookup table. table.
- the color mode used by the application can be the default color mode of the application, or the color mode specified by the user.
- the first 3D lookup table is a fixed 3D lookup table that already exists in the electronic device
- the second 3D lookup table varies with different applications, and different applications define different color adjustment schemes according to actual needs.
- video playback software A uses color mode 1 for all videos to uniformly adjust color
- video playback software B uses color mode 2 for all videos to uniformly adjust color.
- the DPU corresponds to the application.
- the second 3D lookup table and the first 3D lookup table generate a target 3D lookup table, and the generated target 3D lookup table takes into account the color correction of the display screen.
- the DPU may save the target 3D lookup table in the memory of the electronic device, and the target 3D reference table corresponds to the application one-to-one.
- the target 3D lookup table can be found according to the application identifier.
- the DPU maps the color of the image to be displayed according to the target three-dimensional lookup table to obtain an adjusted image.
- the video or video contains multiple frames of images, and each frame of image is composed of multiple pixels.
- the number of pixels in each frame of image is related to the resolution.
- DPU searches according to the three-dimensional The table maps the RGB of each pixel in the image to get the mapped RGB value of each pixel. It can be understood that some pixels in the picture to be displayed can be directly mapped through the 3D lookup table, while other pixels cannot be mapped through the 3D lookup table. In this case, the mapped value of this type of pixel needs to be obtained by interpolation. Either traditional cubic interpolation or tetrahedral interpolation can be used, and the value after the pixel point mapping can be obtained through interpolation.
- the DPU sends the adjusted picture to the display screen for display.
- the DPU processes the images in the video frame by frame in sequence, and after performing color mapping on the current frame, the mapped image is sent to the display screen for display.
- the DPU directly sends each frame of the adjusted image to the display screen for display, and there is no need to write the RGB obtained by mapping each frame of the adjusted image into the memory.
- the electronic device still stores the first three-dimensional look-up table, and the first three-dimensional look-up table is used to correct the color of the display screen, that is, it retains the existing display frequency color of the electronic device. Correction function.
- the DPU obtains the first picture to be displayed, adjusts the color of the first picture to be displayed according to the first 3D look-up table, and obtains the adjusted first picture to be displayed, and the DPU sends the adjusted first picture to be displayed to the display Display on the screen.
- the DPU only performs color correction on the display screen for the first content to be displayed, and does not perform color adjustment according to the color mode.
- the solution of this embodiment reuses the existing DPU hardware, adjusts the color of the image to be displayed, and adjusts the color through the hardware to increase the rate of color mapping, so that the color adjustment of high-definition video can be performed in real time, and the existing Some DPU hardware can correct the color of the display screen without increasing the power consumption of electronic devices.
- the DPU of the electronic device obtains the image to be displayed, obtains the target 3D lookup table for adjusting the image to be displayed according to the first color mode, and maps the color of the image to be displayed according to the target 3D lookup table to obtain the adjusted image
- the DPU will send the adjusted picture to the display screen for display.
- the solution reuses the existing color mapping hardware in the DPU to adjust the color of the screen, and solves the performance and power consumption problems of the existing software method for color adjustment of the video, and can adjust the color of the high-resolution long video in real time. And will not increase the power consumption of electronic equipment.
- FIG. 8 is a schematic structural diagram of the electronic device provided in the second embodiment of the application. As shown in FIG. 8, the electronic device 200 includes a display screen 210 and a processor 220, and the processor 220 includes a display processing unit 221.
- the display processing unit 221 is configured to obtain a picture to be displayed, obtain a target three-dimensional look-up table for adjusting the picture to be displayed according to the first color mode, and compare the value of the picture to be displayed according to the target three-dimensional look-up table. The color is mapped to get the adjusted picture.
- the display screen 210 is used to display the screen adjusted by the display processing unit.
- the electronic device 200 further includes an input device 230, and the input device 230 is used for a user to input a color mode selection operation, and the first color mode is selected by the color mode selection operation.
- Color mode The processor 220 is configured to receive the color mode selection operation input by the user through the input device 230, and the display processing unit 221 is specifically configured to: determine the first color mode according to the first color mode. The index of the target 3D lookup table corresponding to the color mode; the target 3D lookup table is searched according to the index of the target 3D lookup table.
- the input device 230 may be a touch screen, and the touch screen may also have a display function. Therefore, the input device 230 may be a display screen of an electronic device.
- the input device 230 can also be a mouse. When the electronic device is a personal computer, the user can select the color mode through the mouse.
- the input device 230 may also be a microphone, and the user selects the color mode by voice. This is just an example for illustration, and does not limit the input device 230.
- the target three-dimensional look-up table is generated according to a first three-dimensional look-up table and a second three-dimensional look-up table, and the first three-dimensional look-up table is used to correct the color of the display screen, so The second three-dimensional look-up table is used to adjust the color of the picture, wherein the second three-dimensional look-up table corresponds to a color mode.
- the display processing unit 221 is specifically configured to: obtain a first three-dimensional look-up table, the first three-dimensional look-up table is used to correct the color of the display screen, according to the current playback of the waiting table
- the application displaying the picture obtains a second three-dimensional look-up table, the second three-dimensional look-up table is used to adjust the color of the picture played on the application, the color mode used by the application is the first color mode, and the The first three-dimensional lookup table and the second three-dimensional lookup table are used to generate the target three-dimensional lookup table.
- the electronic device 200 further includes a camera 240, the camera 240 is used to capture the to-be-displayed image, and the display processing unit 221 is specifically configured to: receive all the images captured by the camera 240 in real time. Describe the screen to be displayed.
- the electronic device 200 further includes a memory 250 configured to store the to-be-displayed screen, and the display processing unit 221 is specifically configured to: obtain the memory 250 from the memory 250 The picture to be displayed.
- the display processing unit 250 is further configured to: obtain a first to-be-displayed image, adjust the color of the first to-be-displayed image according to a first three-dimensional look-up table, and obtain the adjusted first to-be-displayed image.
- a picture is displayed, and the first three-dimensional look-up table is used to correct the color of the display screen.
- the display screen 210 is also used to display the first to-be-displayed picture adjusted by the display processing unit.
- an internal memory is provided in the display processing unit 221, and the target three-dimensional look-up table is stored in the internal memory.
- an internal memory is provided in the display processing unit 221, and the first three-dimensional lookup table and the second three-dimensional lookup table are stored in the internal memory.
- FIG. 8 is only a schematic diagram, and the electronic device may also include more components, for example, an antenna, a wireless communication module, a microphone, a sensor, and so on.
- the electronic device of this embodiment can be used to execute the method described in the first embodiment, and the specific implementation manner is similar, and details are not described herein again.
- FIG. 9 is a schematic structural diagram of the circuit system provided in the third embodiment of the application.
- the circuit system 300 includes a processor 310, the processor 310 includes a display processing unit 311, and the display processing unit 311 is configured to: obtain the picture to be displayed, obtain a target three-dimensional look-up table for adjusting the picture to be displayed according to the first color mode, and map the color of the picture to be displayed according to the target three-dimensional look-up table to obtain The adjusted picture is sent to the display screen connected to the circuit system 300 for display.
- the processor 310 is further configured to receive a color mode selection operation input by a user, and the first color mode is a color mode selected by the color mode selection operation; the display processing unit It is specifically used for: determining the index of the target three-dimensional lookup table corresponding to the first color mode according to the first color mode, and searching the target three-dimensional lookup table according to the index of the target three-dimensional lookup table.
- the target three-dimensional look-up table is generated according to a first three-dimensional look-up table and a second three-dimensional look-up table, and the first three-dimensional look-up table is used to correct the color of the display screen, so The second three-dimensional look-up table is used to adjust the color of the picture, wherein the second three-dimensional look-up table corresponds to a color mode.
- the display processing unit 311 is specifically configured to: obtain a first three-dimensional look-up table, the first three-dimensional look-up table is used to correct the color of the display screen, and according to the current display of the waiting table
- the application displaying the picture obtains a second three-dimensional look-up table, the second three-dimensional look-up table is used to adjust the color of the picture played on the application, the color mode used by the application is the first color mode, and the color mode used by the application is the first color mode.
- the first three-dimensional lookup table and the second three-dimensional lookup table are used to generate the target three-dimensional lookup table.
- the display processing unit 311 is specifically configured to: receive the to-be-displayed image captured by the camera connected to the circuit system 300 in real time.
- the circuit system 300 further includes a memory 320, the memory 320 is configured to store the to-be-displayed picture, and the display processing unit 311 is specifically configured to: obtain from the memory 320 The picture to be displayed.
- memory 320 is also used to store data or programs.
- the display processing unit 311 is further configured to: obtain a first to-be-displayed picture, adjust the color of the first to-be-displayed picture according to a first three-dimensional look-up table, and obtain the adjusted first to-be-displayed picture. Display a picture, the first three-dimensional look-up table is used to correct the color of the display screen, and send the adjusted first picture to be displayed to the display screen.
- an internal memory is provided in the display processing unit 311, and the target three-dimensional lookup table is stored in the internal memory.
- an internal memory is provided in the display processing unit 311, and the first three-dimensional look-up table and the second three-dimensional look-up table are stored in the internal memory.
- the circuit system of this embodiment can be applied to an electronic device, so that the electronic device is used to execute the method described in the first embodiment.
- the specific implementation manner is similar, and details are not described herein again.
- each embodiment focuses on the difference from other embodiments.
- the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
- the device embodiments described above are merely illustrative.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. Those of ordinary skill in the art can understand and implement it without creative work.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
一种电子设备(100, 200)调整画面色彩的方法和装置,调整画面色彩的方法应用于电子设备(100, 200),电子设备(100, 200)包括显示屏(194, 210)和处理器(110, 220, 310),处理器(110, 220, 310)包括显示处理单元(221, 311),显示处理单元(221, 311)获取待显示画面,根据第一色彩模式获取用于对待显示画面进行调整的目标3D查找表,根据目标3D查找表对待显示画面的色彩进行映射,得到调整后的画面,显示处理单元(221, 311)将调整后的画面发送给显示屏(194, 210)进行显示。电子设备(100, 200)调整画面色彩的方法和装置复用显示处理单元(221, 311)中已有的色彩映射硬件进行画面的色彩调整,解决了现有软件方式对视频进行色彩调整时的性能和功耗问题,能够实时的对高分辨的长视频进行色彩调整,且不会增加电子设备(100, 200)的功耗。
Description
本申请要求于2019年09月19日提交中国专利局、申请号为201910887529.2、申请名称为“电子设备调整画面色彩的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及图像处理技术领域,尤其涉及一种电子设备调整画面色彩的方法和装置。
随着移动终端的发展,越来越多的用户使用移动终端进行视频的拍摄和观看,影响视频呈现效果的一个关键因素是视频的色彩,而不同用户对色彩的感知和爱好不尽相同,为了满足不同用户的需求,希望能够对视频进行不同的调色,以满足用户的不同需求,并且通过调色使得视频具备电影特效色彩。
传统技术中,只有各种短视频软件具有调色功能,短视频软件是指能够拍摄和播放短视频的软件,短视频通常只有5秒到5分钟。常用的短视频软件有instagram、抖音以及美图秀秀等。目前各类短视频软件都只能采用图形处理器(Graphics Processing Unit,GPU)进行软件方式调色,GPU是一种专门在个人电脑、工作站、游戏机和一些移动设备(如平板电脑、智能手机等)等终端设备上进行图像运算工作的微处理器。
但是,受限于GPU的性能,软件方式调色无法实现高分辨率视频的实时调色,以及无法对时长较长的视频进行实时调色,另外,实时调色会带来设备功耗的显著增加,另外,软件方式调色虽然适用于线下调色,但是受限于GPU的性能,调色占用的时长较长。
发明内容
本申请实施例提供一种电子设备调整画面色彩的方法和装置,能够实时的对高分辨的长视频进行色彩调整,且不会增加电子设备的功耗。
本申请第一方面提供一种电子设备调整画面色彩的方法,所述电子设备包括显示屏和处理器,所述处理器包括显示处理单元,所述方法包括:所述显示处理单元获取待显示画面,根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面,将所述调整后的画面发送给所述显示屏进行显示。
所述方法通过复用DPU中已有的色彩映射硬件进行画面的色彩调整,解决了现有软件方式对视频进行色彩调整时的性能和功耗问题,能够实时的对高分辨的长视频进行色彩调整,且不会增加电子设备的功耗。
一种示例性的方式中,所述显示处理单元根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表之前,所述处理器接收用户输入的色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式,相应的,所述显示处理单元根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引,根据所述目 标三维查找表的索引,查找所述目标三维查找表。
一种示例性的方式中,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
一种示例性的方式中,所述显示处理单元根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,包括:所述显示处理单元获取第一三维查找表,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述显示处理单元根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式,所述显示处理单元根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。所述方式能够实时的根据用户需求生成三维查找表。
一种示例性的方式中,所述显示处理单元获取待显示画面,可以为:所述显示处理单元接收所述电子设备的摄像头实时拍摄的所述待显示画面。
另一种示例性的方式中,所述显示处理单元获取待显示画面,可以为:所述显示处理单元从内存中获取所述待显示画面。
一种示例性的方式中,所述方法还包括:所述显示处理单元获取第一待显示画面,根据第一三维查找表对所述第一待显示画面进行色彩调整,得到调整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述显示处理单元将调整后的第一待显示画面发送给所述显示屏进行显示。该方式中,DPU不仅能够实现根据色彩模式对显示画面进行色彩调整,还保留了已有的DPU硬件对显示屏色彩校正的功能,不会对DPU已有的功能造成影响。
一种示例性的方式中,所述显示处理单元中设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
一种示例性的方式中,所述显示处理单元中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。DPU从内部存储器读取3D查找表的速度更快,进一步提高了色彩调整的效率。
本申请第二方面提供一种电子设备,包括显示屏和处理器,所述处理器包括显示处理单元。所述显示处理单元用于:获取待显示画面,根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面。所述显示屏用于对所述显示处理单元调整后的画面进行显示。
一种示例性的方式中,所述电子设备还包括输入装置,所述输入装置,用于用户输入色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式,所述处理器用于接收用户通过所述输入装置输入的所述色彩模式选择操作,所述显示处理单元具体用于:根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引;根据所述目标三维查找表的索引,查找所述目标三维查找表。
一种示例性的方式中,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
一种示例性的方式中,所述显示处理单元具体用于:获取第一三维查找表,所述第一 三维查找表用于对所述显示屏的色彩进行校正,根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式,根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。
一种示例性的方式中,所述电子设备还包括摄像头,所述摄像头用于拍摄所述待显示画面,所述显示处理单元具体用于:接收所述摄像头实时拍摄的所述待显示画面。
一种示例性的方式中,所述电子设备还包括存储器,所述存储器用于存储所述待显示画面,所述显示处理单元具体用于:从所述存储器中获取所述待显示画面。
一种示例性的方式中,所述显示处理单元还用于:获取第一待显示画面,根据第一三维查找表对所述第一待显示画面进行色彩调整,得到调整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正。所述显示屏,还用于将所述显示处理单元调整后的第一待显示画面进行显示。
一种示例性的方式中,所述显示处理单元中设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
另一种示例性的方式中,所述显示处理单元中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。
本申请第三方面提供一种电路系统,所述电路系统包括显示处理单元,用于:获取待显示画面,根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面,将所述调整后的画面发送给所述电路系统所连接的显示屏进行显示。
一种示例性的方式中,所述系统还包括第一处理器,第一处理器用于接收用户输入的色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式;所述显示处理单元具体用于:根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引,根据所述目标三维查找表的索引,查找所述目标三维查找表。
一种示例性的方式中,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
一种示例性的方式中,所述显示处理单元具体用于:获取第一三维查找表,所述第一三维查找表用于对所述显示屏的色彩进行校正,根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式,根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。
一种示例性的方式中,所述显示处理单元具体用于:接收所述电路系统连接的摄像头实时拍摄的所述待显示画面。
另一种示例性的方式中,所述电路系统中还包括存储器,所述存储器用于存储所述待显示画面,所述显示处理单元具体用于:从所述存储器中获取所述待显示画面。
一种示例性的方式中,所述显示处理单元还用于:获取第一待显示画面,根据第一三维查找表对所述第一待显示画面进行色彩调整,得到调整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正,将调整后的第一待显示画面发送给所述显 示屏。
一种示例性的方式中,所述显示处理单元中设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
另一种示例性的方式中,所述显示处理单元中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。
本申请实施例提供的电子设备调整画面色彩的方法和装置,电子设备的DPU获取待显示画面,根据第一色彩模式获取用于对待显示画面进行调整的目标3D查找表,根据目标3D查找表对待显示画面进行的色彩进行映射,得到调整后的画面,DPU将调整后的画面发送给显示屏进行显示。该方案复用DPU中已有的色彩映射硬件进行画面的色彩调整,解决了现有软件方式对视频进行色彩调整时的性能和功耗问题,能够实时的对高分辨的长视频进行色彩调整,且不会增加电子设备的功耗。
图1为本申请适用的电子设备的一种结构示意图;
图2为本申请适用于的处理器的一种结构示意图;
图3为RGB色彩空间的一种示意图;
图4为3D查找表的原理示意图;
图5为本申请实施例一提供的一种电子设备调整画面色彩的方法的流程图;
图6为拍摄页面的一种示意图;
图7为色彩模式选择页面的一种示意图;
图8为本申请实施例二提供的电子设备的一种示意性结构图;
图9为本申请实施例三提供的电路系统的一种示意性结构图。
本申请提供一种电子设备调整画面色彩的方法,该电子设备可以为手机、平板电脑、桌面型电脑、膝上型电脑、手持计算机、笔记本电脑、上网本、蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、个人数字处理(Personal Digital Assistant,PDA)、车载设备、可穿戴设备等,本申请实施例对终端设备的具体形式不做特殊限制。
图1为本申请适用的电子设备的一种结构示意图,如图1所示,该电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。可以理解的是,本实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件,或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器 (digital signal processor,DSP),基带处理器,显示处理单元(display process unit,DPU),和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备100也可以包括一个或多个处理器110。其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备100系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的 解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN),蓝牙,全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),NFC,红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括GSM,GPRS,CDMA,WCDMA,TD-SCDMA,LTE,GNSS,WLAN,NFC,FM,和/或IR技术等。上述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等可以实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,一个或多个摄像头193,视频编解码器,GPU,一个或多个显示屏194以及应用处理器等实现拍摄功能。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例 如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
DPU也称为显示子系统(Display Sub-System,DSS),DPU用于对显示屏194的色彩进行调整,DPU可以通过三维查找表(3D look up table,3D LUT)对显示屏的色彩进行调整。DPU还可以对画面进行缩放、降噪、对比度增强、背光亮度管理、hdr处理、显示器参数Gamma调整等处理。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐、照片、视频等数据文件保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行各种功能应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备100执行各种功能应用及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。其中,音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,还可以是美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
传感器180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H, 温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景等。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H(也称为指纹识别器),用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。另外,关于指纹传感器的其他记载可以参见名称为“处理通知的方法及电子设备”的国际专利申请PCT/CN2017/082773,其全部内容通过引用结合在本申请中。
触摸传感器180K,也可称触控面板或触敏表面。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称触控屏。触摸传感器180K用于 检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键,也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
图2为本申请适用于的处理器的一种结构示意图,如图2所示,处理器110包括:CPU1100、GPU 1101、DPU1102和视频编解码器1103,处理器110内部可以通过总线连接。
CPU1100、GPU1101和视频编解码器1103的功能参照上述相关描述,这里不再赘述,本申请实施例的方法由DPU1102执行。目前DPU1102主要用于对显示屏194的色彩进行调整,DPU1102可以通过3D查找表对电子设备输出的图像的色彩进行调整。DPU还可以对画面进行缩放、降噪、对比度增强、背光亮度管理、hdr处理、Gamma调整等处理。
DPU1102中设置有存储器,也称为内部存储器,用于存储DPU执行对应功能所需的指令和数据,例如,DPU1102要对显示屏194的色彩进行调整,则DPU1102的内部存储器中可以存储有3D查找表,在色彩调整过程中,DPU1102直接从内部存储器中读取3D查找表,不需要从电子设备的其他存储器中读取3D查找表。
3D查找表是一种颜色校准(或者称为色彩校准)的技术手段,一方面,国际电信联盟(International Telecommunication Union,简称ITU)和电影和电视工程师协会(Society of Motion Picture and Television Engineers,简称SMPTE)为了避免图像在不同显示设备间表现出来的颜色有差别,制定了一系列标准,其中在高清晰电视(High Definition Television,简称HDTV)使用得最广泛的标准就是ITU-Rec709,也称之为高清标准,该标准对显示的色域、色温和伽马(gamma)值都有明确的规定,所以在广电行业如果要显示高清,显示设备必须满足该标准规定的色域、色温和gamma这些参数,以达到同一个素材在不同显示设备表现出来的颜色都是一致的。
另一方面,显示屏的生产厂家,生产显示屏的时候不可能只按照广电标准来生产显示屏,他们只能参照成本和工艺生产尽可能好的显示屏,所以不同显示屏表现出来的颜色千差万别。作为显示设备的生产商,需要考虑在不同屏之间显示出来的颜色要一致,要符合标准,所以需要颜色校准,达到颜色校准有很多种技术手段,其中3D查找表是目前效果最好、使用最广泛的一种技术手段。3D查找表适用于精确的颜色调整,从简单的gamma值、颜色范围和追踪错误,到修正高级的非线性属性、颜色串扰、色相、饱和度、亮度等。
目前的显示屏大都是采用了R(红)G(绿)B(蓝)颜色标准,显示屏上的所有颜色,都可以由红绿蓝三种色按照不同的比例混合而成,一组RGB值就是一个最小的显示单位,显示屏上的任何一个颜色都可以有一组RGB值表示。
RGB的“多少”或者“大小”是指色彩的亮度,R、G、B的取值为整数,目前RGB分别有256级亮度,用数字表示为0、1、2……、255,按照计算256级的RGB色彩总共能组合出约1678万种色彩,即256×256×256=16777216。
其中,3D查找表用于表示任意颜色之间的映射关系,3D查找表通过RGB之间的映射关系表示颜色的映射关系,可以将RGB作为三个维度建立一个映射空间,如图3所示,R、G、B的取值分别为0-255,三维空间中不同点表示不同的颜色,总共可以表示256×256×256=16777216种颜色。
在实际应用中,可以根据用户对色彩的需求设置3D查找表的大小,可以对R、G、B三个通道上的256个亮度进行采样,例如,采样间隔为16,那么图3所示的3D查找表共可以表示17*17*17种颜色。
3D查找表的工作原理如下:输入的像素点的RGB值为R1G1B1,经过3D查找表映射之后,像素点的RGB值变成了R1’G1’B1’,映射得到的R1’G1’B1’同样是RGB信号,但是R1’G1’B1’跟输入信号R1G1B1已经有细微的不同了,R1’G1’B1’和R1G1B1在显示屏上显示的色彩效果也不同了,经过变换之后的R1’G1’B1’在显示屏上表现出来的色彩效果更加符合用户需求,这就是3D查找表的作用,等同于把显示屏的偏差校准过来。
图4为3D查找表的原理示意图,如图4所示,在3D查找表中,每个输入RGB都唯一对应一个输出RGB,例如,当输入RGB为(50、50、50)时,输出RGB为(70,70,70),当输入RGB为(50,70,50)时,输出RGB为(85,90,70),当输入RGB为(50,70,60)时,输出RGB为(90,95,80)。
举例来说,例如要显示灰度级128的白色(输入RGB=128),在理想状态下,显示屏上显示出来的白色也应该是灰度级128的,但是由于显示屏的不准,显示出来的灰度级只有120,就会产生8个灰度级的偏差,3D LUT就是根据显示屏的这种偏差,在输入的RGB信号加上或者减去这个偏差,以达到最终显示的效果跟输入效果一样。可以理解,这只是一个例子,映射模块根据3D查找表进行色彩调整的过程可以非常复杂,不只是单纯的在原RGB上加上或减去一个偏差,还可以根据不同的输入RGB信号做不同的调整,本实施例不对此作出限定。
本申请实施例提供的调整画面色彩的方法由DPU执行,即本申请的方案通过硬件实现色彩调整,通过硬件色彩调整的优势在于:DPU对视频中的每个像素点的RGB值调整之后,不需要将调整后的像素值写入内存,而是直接发送给显示屏进行显示,提高了色彩 映射的速度,从而能够实现实时的对高分辨率的视频进行色彩调整,而已有软件调整色彩的方案,GPU在对像素点的RGB值调整之后,需要将调整后的像素值写入内存,显示屏从内存中读取调整后的像素值,进而进行显示,只能实时的对分辨率较低的短视频进行色彩调整。
本申请实施例提供的调整画面色彩的方法,可以用于对电子设备中安装的视频播放器中播放的视频画面进行色彩调整,还可以对电子设备的相册中存储的照片或者视频进行色彩调整,也可以对电子设备的相机正在拍摄过程中的视频或者照片进行色彩调整,还可以对电子设备中安装的短视频应用进行色彩调整,还可以对电子设备的桌面进行色彩调整。
以视频播放器为例,视频播放器可以提供一种或者多种色彩模式供用户选择,当视频播放器只提供一种色彩模式时,视频播放器默认将视频画面调整到该色彩模式对应的色彩效果。当视频播放器提供了多种色彩模式时,用户可以在视频播放之前或者在视频播放过程中,选择一种色彩模式,视频播放器将视频画面调整到用户所选择的色彩模式对应的色彩效果上。
同样,相册、相机、短视频应用等也可以提供一种或者多种色彩模式供用户选择。其中,视频播放器、相机和短视频应用可以实时的在线对画面进行色彩调整,相册通常情况下是离线对画面进行色彩调整。
本申请实施例中,色彩模式可以理解为画面在显示屏上所呈现的色彩效果,同一张照片,使用不同的色彩模式进行处理后,呈现给用户不同的色彩效果。本申请实施例中可以提供多种色彩供用户选择,以满足不同用户对图像色彩的个性化需求。
其中,色彩模式可以为已有图像处理(Photoshop)应用或者图像美化应用中的滤镜。该色彩模式例如可以为:复古、黑白、黄昏、晨光、阳光、暖意、清凉、青橙、琥珀等等。
图5为本申请实施例一提供的一种电子设备调整画面色彩的方法的流程图,该方法应用于电子设备,该电子设备包括显示屏和处理器,处理器包括DPU。
电子设备中存储有3D查找表,本申请实施例中,电子设备中存储的3D查找表分为两类:一类3D查找表与色彩模式对应,该类3D查找表用于在需要对画面进行色彩调整的场景中使用,通常情况下,每种色彩模式对应一张3D参照表,当有多种色彩模式时,电子设备中需要存储多张这类3D查找表。另一类3D查找表与色彩模式无关,该类3D查找表用于对电子设备的显示屏进行色彩调整,该类3D查找表通常只需要一张,该类3D查找表可以对显示屏上显示的所有画面进行色彩校正。
本申请实施例中,DPU中可以设置有内部存储器,该内部存储器只有DPU自己能调用,该内存存储器可以为随机存取存储器(Random Access Memory,RAM),3D查找表可以存储在该内存存储器中。
当然,3D查找表也可以存储在DPU之外的其他存储器中,本申请实施例不对此进行限制。当3D查找表存储在DPU的内部存储器时,DPU从内部存储器读取3D查找表的速度更快,进一步提高了色彩调整的效率。如图5所示,本实施例提供的方法包括以下步骤:
S101、DPU获取待显示画面。
本实施例中,待显示画面为能够通过显示屏显示的所有内容,包括但不限于视频、图片、游戏等,视频可以为长视频(例如电影、电视剧),还可以为短视频(例如播放时长小于5分钟)。
本实施例中,可以通过如下几种方式获取待显示画面:
一种方式中,DPU接收电子设备的摄像头实时拍摄的待显示画面,该摄像头可以为电子设备上的摄像头,摄像头拍摄的画面经过视频编解码器处理后发送给DPU。
另一种方式中,DPU从内存中读取待显示画面,待显示画面是电子设备从服务器下载到内存中的。例如,用户在使用视频播放器实时观看视频时,视频播放时先将视频下载到内存中,DPU从内存中读取待显示画面,对待显示画面处理后发送给显示屏进行显示。
又一种方式中,DPU从电子设备的存储器中读取待显示画面。即预先将拍摄的存储在电子设备的存储器中,或者,预先从服务器将下载并保存到电子设备的存储器中。
本申请实施例中,待显示画面可以为已有任意分辨率的画面,例如4K或者2K高分辨率的视频,4K视频的分辨率可以达到3840*2140,2K视频的分辨率为1920*1080,2K视频也称为全高清视频,4K视频的分辨率是全高清视频的4倍,是高清视频(1280*720)的9倍。
且本申请实施例中不对视频的格式进行限制,视频格式可以为运动图像专家组格式(Moving Picture Experts Group,MPEG)、MPEG-1、MPEG-2、MPEG-3等,还可以为音频视频交错(Audio Video Interleaved,AVI)、高级流格式(Advanced Streaming Format)等,还可以为高动态范围图像(High-Dynamic Range,HDR),HDR可以包括以下四个标准:HDR10、HDR10+、(Hybrid Log Gamma,HLG)和杜比视界(dolby vision)。
S102、DPU根据第一色彩模式获取用于对待显示画面进行调整的目标3D查找表。
一种方式中,电子设备中存储有多张3D查找表,每张3D查找表对应一种色彩模式,每张3D查找表可以具有一个索引,该索引能够唯一标识一张3D查找表和一张色彩模式。色彩模式用来实现图像的各种色彩效果,目前很多图像处理软件都提供多种色彩模式供用户选择,用户可以根据自己对图像的喜好选择相应的色彩模式,不同色彩模式对应不同的色彩效果,同一张图片经过不同色彩模式处理后,具有不同的色彩效果。
在一些实施例中,处理器接收用户输入的色彩模式选择操作,色彩模式选择操作用于从多个色彩模式中选择一个第一色彩模式,DPU根据第一色彩模式,确定第一色彩模式对应的目标三维查找表的索引,根据目标三维查找表的索引,查找目标三维查找表。
图6为拍摄页面的一种示意图,如图6所示,用户打开图像处理软件之后,开启拍摄模式,在拍摄页面中显示有多种拍摄模式供用户选择:普通拍摄模式、视频模式和萌拍模式等,普通拍摄模式用于拍摄普通照片,视频模式用于拍摄视频,萌拍模式用于拍摄带有一些特效的照片,特效可以理解为在普通照片上叠加特效得到的,用户可以通过点击不同拍摄模式对应的按钮选择不同的拍摄模式。
参照图6,拍摄页面中还包括色彩模式选择控件,用户点击色彩模式选择控件后,进入图7所示的色彩模式选择页面,如图7所示,在色彩模式选择页面中显示有多种色彩模式的效果以及名称,在一屏页面中能够显示的色彩模式有限,在具有触摸屏的电子设备中,用户还可以通过在色彩模式效果显示区域进行左右滑动,以显示更多的色彩模式。或者,在色彩模式选择页面中具有一个“更多”控件,用户通过点击该“更多”控件跳转到一个子页面,该子页面中显示有更多的色彩模式供用户选择。
在用户选择第一色彩模式之后,DPU会接收到用户的色彩模式选择操作,通过该色彩模式选择操作能够获知用户选择的第一色彩模式,根据第一色彩模式和3D查找表的对应 关系,可以得到第一色彩模式对应的目标3D查找表的索引。
需要说明的是,电子设备中存储的3D查找表是根据第一3D查找表和第二3D查找表生成的,第一3D查找表用于对显示屏的色彩进行校正,第二3D查找表用于对的画面色彩进行调整,其中,每张第二3D查找表对应一种色彩模式。
根据第一3D查找表和第二3D查找表得到的3D查找表考虑了对显示屏色彩的校正,使得根据该3D查找表进行色彩调整后的画面,不仅能够满足用户个性化的色彩需求,也能够消除显示屏差异对色彩的影响。
从原理上讲,本申请实施例中的3D查找表相当于对待显示画面进行了两次色彩调整,假设待显示画面中一个像素点表示为RGB,先根据第二3D查找表对RGB进行第一次色彩调整得到R’G’B’,然后根据第一3D查找表对R’G’B’进行第二次色彩调整得到R”G”B”。本申请实施例的方案中,使用3D查找表对RGB进行一次调整即可得到R”G”B”。
另一种方式中,DPU从电子设备的存储器中获取第一3D查找表,该第一3D查找表用于对显示屏的色彩进行校正,DPU根据当前播放待显示画面的应用获取第二3D查找表,第二3D查找表用于对应用上播放的画面的色彩进行调整,该应用使用的色彩模式为第一色彩模式,DPU根据第一3D查找表和第二3D查找表,生成目标3D查找表。其中,该应用使用的色彩模式可以是应用默认的色彩模式,也可以是用户指定的色彩模式。
该方式中,第一3D查找表为电子设备中已经存在的固定3D查找表,第二3D查找表随应用不同有所变化,不同应用根据实际需求定义不同的色彩调整方案。例如,视频播放软件A对所有视频采用色彩模式1统一进行色彩调整,视频播放软件B对所有视频采用色彩模式2统一进行色彩调整,该场景中当用户打开应用进行视频播放时,DPU根据应用对应的第二3D查找表和第一3D查找表生成目标3D查找表,生成的目标3D查找表考虑了对显示屏的色彩进行校正。
可选的,DPU根据第一3D查找表和第二3D查找表生成目标3D查找表之后,DPU可以将目标3D查找表保存在电子设备的存储器中,该目标3D参照表与应用一一对应,后续用户使用该应用进行视频播放时,可以根据应用标识找到该目标3D查找表。
S103、DPU根据目标三维查找表对待显示画面进行的色彩进行映射,得到调整后的画面。
以待显示画面为视频或者游戏为例,视频或者视频中包括多帧图像,每帧图像由多个像素点组成,每帧图像中的像素点的个数与的分辨率有关,DPU根据三维查找表对图像中的每个像素点的RGB进行映射,得到每个像素点映射后的RGB值。可以理解,待显示画面中的一些像素点可以通过3D查找表直接进行映射,而另一些像素点无法通过3D查找表进行映射,此时,需要通过插值方式得到该类像素点映射后的值,可以采用传统的立方体插值,也可以采用四面体插值,通过插值的方式得到像素点映射后的值。
S104、DPU将调整后的画面发送给显示屏进行显示。
可以理解,当待显示画面为视频时,DPU对视频中的图像按照顺序一帧一帧进行处理,在对当前帧进行色彩映射后,将映射后的图像发送给显示屏进行显示。
本实施例中,DPU直接将调整后的中的每帧图像发送给显示屏进行显示,不需要将调整后的中的每帧图像映射得到的RGB写入内存。
需要说明的是,本申请实施例中,电子设备中仍然存储有第一三维查找表,第一三维 查找表用于对显示屏的色彩进行校正,即保留了电子设备已有的对显示频色彩校正的功能。相应的,DPU获取第一待显示画面,根据第一3D查找表对第一待显示画面进行色彩调整,得到调整后的第一待显示画面,DPU将调整后的第一待显示画面发送给显示屏进行显示。该方案中,DPU对第一待显示内容只进行了显示屏色彩的校正,不根据色彩模式进行色彩调整。
本实施例的方案,复用了已有的DPU硬件,对待显示画面的色彩进行调整,通过硬件进行色彩调整提高了色彩映射的速率,从而能够实时的对高清视频进行色彩调整,并且保留了已有的DPU硬件对显示屏色彩校正的功能,且不会增加电子设备的功耗。
本实施例中,电子设备的DPU获取待显示画面,根据第一色彩模式获取用于对待显示画面进行调整的目标3D查找表,根据目标3D查找表对待显示画面进行的色彩进行映射,得到调整后的画面,DPU将调整后的画面发送给显示屏进行显示。该方案复用DPU中已有的色彩映射硬件进行画面的色彩调整,解决了现有软件方式对视频进行色彩调整时的性能和功耗问题,能够实时的对高分辨的长视频进行色彩调整,且不会增加电子设备的功耗。
图8为本申请实施例二提供的电子设备的一种示意性结构图,如图8所示,电子设备200包括:显示屏210和处理器220,所述处理器220包括显示处理单元221。
所述显示处理单元221用于:获取待显示画面,根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面。
所述显示屏210用于对所述显示处理单元调整后的画面进行显示。
一种示例性的方式中,所述电子设备200还包括输入装置230,所述输入装置230,用于用户输入色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式,所述处理器220用于接收用户通过所述输入装置230输入的所述色彩模式选择操作,所述显示处理单元221具体用于:根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引;根据所述目标三维查找表的索引,查找所述目标三维查找表。
其中,输入装置230可以为触摸屏,触摸屏还可以具有显示功能,因此,该输入装置230可以为电子设备的显示屏。该输入装置230还可以为鼠标,当电子设备为个人电脑时,用户可以通过鼠标选择色彩模式。该输入装置230还可以为麦克风,用户通过语音方式选择色彩模式。这里只是举例说明,并不对输入装置230构成限制。
一种示例性的方式中,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
一种示例性的方式中,所述显示处理单元221具体用于:获取第一三维查找表,所述第一三维查找表用于对所述显示屏的色彩进行校正,根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式,根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。
一种示例性的方式中,所述电子设备200还包括摄像头240,所述摄像头240用于拍摄所述待显示画面,所述显示处理单元221具体用于:接收所述摄像头240实时拍摄的所述待显示画面。
一种示例性的方式中,所述电子设备200还包括存储器250,所述存储器250用于存储所述待显示画面,所述显示处理单元221具体用于:从所述存储器250中获取所述待显示画面。
一种示例性的方式中,所述显示处理单元250还用于:获取第一待显示画面,根据第一三维查找表对所述第一待显示画面进行色彩调整,得到调整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正。所述显示屏210,还用于将所述显示处理单元调整后的第一待显示画面进行显示。
一种示例性的方式中,所述显示处理单元中221设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
另一种示例性的方式中,所述显示处理单元221中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。
可以理解,图8只是一种示意图,电子设备还可以包括更多的部件,例如,还包括天线、无线通信模块、麦克风、传感器等等。
本实施例的电子设备可用于执行实施例一所述的方法,具体实现方式类似,这里不再赘述。
图9为本申请实施例三提供的电路系统的一种示意性结构图,如图9所示,电路系统300包括处理器310,所述处理器310包括显示处理单元311,所述显示处理单元311用于:获取待显示画面,根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面,将所述调整后的画面发送给所述电路系统300所连接的显示屏进行显示。
一种示例性的方式中,所述处理器310,还用于接收用户输入的色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式;所述显示处理单元具体用于:根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引,根据所述目标三维查找表的索引,查找所述目标三维查找表。
一种示例性的方式中,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
一种示例性的方式中,所述显示处理单元311具体用于:获取第一三维查找表,所述第一三维查找表用于对所述显示屏的色彩进行校正,根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式,根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。
一种示例性的方式中,所述显示处理单元311具体用于:接收所述电路系统300连接的摄像头实时拍摄的所述待显示画面。
另一种示例性的方式中,所述电路系统300中还包括存储器320,所述存储器320用于存储所述待显示画面,所述显示处理单元311具体用于:从所述存储器320中获取所述待显示画面。
可以理解,所述存储器320还用于存储数据或者程序。
一种示例性的方式中,所述显示处理单元311还用于:获取第一待显示画面,根据第 一三维查找表对所述第一待显示画面进行色彩调整,得到调整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正,将调整后的第一待显示画面发送给所述显示屏。
一种示例性的方式中,所述显示处理单元311中设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
另一种示例性的方式中,所述显示处理单元311中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。
本实施例的电路系统可应用在电子设备中,以使电子设备用于执行实施例一所述的方法,具体实现方式类似,这里不再赘述。
本申请各个之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
Claims (28)
- 一种电子设备调整画面色彩的方法,所述电子设备包括显示屏和处理器,所述处理器包括显示处理单元,其特征在于,所述方法包括:所述显示处理单元获取待显示画面;所述显示处理单元根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表;所述显示处理单元根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面;所述显示处理单元将所述调整后的画面发送给所述显示屏进行显示。
- 根据权利要求1所述的方法,其特征在于,所述显示处理单元根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表之前,还包括:所述处理器接收用户输入的色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式;所述显示处理单元根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,包括:所述显示处理单元根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引;所述显示处理单元根据所述目标三维查找表的索引,查找所述目标三维查找表。
- 根据权利要求1所述的方法,其特征在于,所述显示处理单元根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表,包括:所述显示处理单元获取第一三维查找表,所述第一三维查找表用于对所述显示屏的色彩进行校正;所述显示处理单元根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式;所述显示处理单元根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。
- 根据权利要求2所述的方法,其特征在于,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述显示处理单元获取待显示画面,包括:所述显示处理单元接收所述电子设备的摄像头实时拍摄的所述待显示画面。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述显示处理单元获取待显示画面,包括:所述显示处理单元从内存中获取所述待显示画面。
- 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:所述显示处理单元获取第一待显示画面;所述显示处理单元根据第一三维查找表对所述第一待显示画面进行色彩调整,得到调整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正;所述显示处理单元将调整后的第一待显示画面发送给所述显示屏进行显示。
- 根据权利要求1或2所述的方法,其特征在于,所述显示处理单元中设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
- 根据权利要求3所述的方法,其特征在于,所述显示处理单元中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。
- 一种电子设备,其特征在于,包括显示屏和处理器,所述处理器包括显示处理单元;所述显示处理单元,用于获取待显示画面;所述显示处理单元,还用于根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表;所述显示处理单元,还用于根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面;所述显示屏,用于对所述调整后的画面进行显示。
- 根据权利要求10所述的设备,其特征在于,还包括输入装置;所述输入装置,用于用户输入色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式;所述处理器用于接收用户通过所述输入装置输入的所述色彩模式选择操作;所述显示处理单元具体用于:根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引;根据所述目标三维查找表的索引,查找所述目标三维查找表。
- 根据权利要求10所述的设备,其特征在于,所述显示处理单元具体用于:获取第一三维查找表,所述第一三维查找表用于对所述显示屏的色彩进行校正;根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式;根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。
- 根据权利要求11所述的设备,其特征在于,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
- 根据权利要求10-13任一项所述的设备,其特征在于,还包括摄像头;所述摄像头,用于拍摄所述待显示画面;所述显示处理单元具体用于:接收所述摄像头实时拍摄的所述待显示画面。
- 根据权利要求10-13任一项所述的设备,其特征在于,还包括存储器;所述存储器,用于存储所述待显示画面;所述显示处理单元具体用于:从所述存储器中获取所述待显示画面。
- 根据权利要求10-15任一项所述的设备,其特征在于,所述显示处理单元还用于:获取第一待显示画面,根据第一三维查找表对所述第一待显示画面进行色彩调整,得到调 整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正;所述显示屏,还用于将调整后的第一待显示画面进行显示。
- 根据权利要求10或11所述的设备,其特征在于,所述显示处理单元中设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
- 根据权利要求12所述的设备,其特征在于,所述显示处理单元中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。
- 一种电路系统,其特征在于,包括显示处理单元,用于:获取待显示画面;根据第一色彩模式获取用于对所述待显示画面进行调整的目标三维查找表;根据所述目标三维查找表对所述待显示画面的色彩进行映射,得到调整后的画面,将所述调整后的画面发送给所述电路系统所连接的显示屏进行显示。
- 根据权利要求19所述的系统,其特征在于,所述系统还包括第一处理器,用于接收用户输入的色彩模式选择操作,所述第一色彩模式为所述色彩模式选择操作所选择的色彩模式;所述显示处理单元具体用于:根据所述第一色彩模式,确定所述第一色彩模式对应的目标三维查找表的索引;根据所述目标三维查找表的索引,查找所述目标三维查找表。
- 根据权利要求19所述的系统,其特征在于,所述显示处理单元具体用于:获取第一三维查找表,所述第一三维查找表用于对所述显示屏的色彩进行校正;根据当前播放所述待显示画面的应用获取第二三维查找表,所述第二三维查找表用于对所述应用上播放的画面的色彩进行调整,所述应用使用的色彩模式为所述第一色彩模式;根据所述第一三维查找表和所述第二三维查找表,生成所述目标三维查找表。
- 根据权利要求20所述的系统,其特征在于,所述目标三维查找表是根据第一三维查找表和第二三维查找表生成的,所述第一三维查找表用于对所述显示屏的色彩进行校正,所述第二三维查找表用于对画面的色彩进行调整,其中,所述第二三维查找表对应一种色彩模式。
- 根据权利要求19-22任一项所述的系统,其特征在于,所述显示处理单元具体用于:接收所述电路系统连接的摄像头实时拍摄的所述待显示画面。
- 根据权利要求19-22任一项所述的系统,其特征在于,还包括存储器;所述存储器,用于存储所述待显示画面;所述获取待显示画面包括:从所述存储器中获取所述待显示画面。
- 根据权利要求19-24任一项所述的系统,其特征在于,所述显示处理单元还用于:获取第一待显示画面;根据第一三维查找表对所述第一待显示画面进行色彩调整,得到调整后的第一待显示画面,所述第一三维查找表用于对所述显示屏的色彩进行校正;将调整后的第一待显示画面发送给所述显示屏。
- 根据权利要求19或20所述的系统,其特征在于,所述显示处理单元中设置有内部存储器,所述目标三维查找表存储在所述内部存储器中。
- 根据权利要求21所述的系统,其特征在于,所述显示处理单元中设置有内部存储器,所述第一三维查找表和所述第二三维查找表存储在所述内部存储器中。
- 一种程序产品,其特征在于,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,通信装置的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得通信装置实施如权利要求1-9任意一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP20866260.1A EP4024389A4 (en) | 2019-09-19 | 2020-09-16 | METHOD FOR COLOR ADJUSTMENT OF A FRAME FOR AN ELECTRONIC DEVICE AND DEVICE |
| US17/640,042 US12254531B2 (en) | 2019-09-19 | 2020-09-16 | Image color adjustment method for electronic device and apparatus |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910887529.2A CN112530382B (zh) | 2019-09-19 | 2019-09-19 | 电子设备调整画面色彩的方法和装置 |
| CN201910887529.2 | 2019-09-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021052342A1 true WO2021052342A1 (zh) | 2021-03-25 |
Family
ID=74884547
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/115445 Ceased WO2021052342A1 (zh) | 2019-09-19 | 2020-09-16 | 电子设备调整画面色彩的方法和装置 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12254531B2 (zh) |
| EP (1) | EP4024389A4 (zh) |
| CN (1) | CN112530382B (zh) |
| WO (1) | WO2021052342A1 (zh) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023015985A1 (zh) * | 2021-08-10 | 2023-02-16 | 荣耀终端有限公司 | 图像处理方法与电子设备 |
| WO2023015989A1 (zh) * | 2021-08-10 | 2023-02-16 | 荣耀终端有限公司 | 图像处理方法与电子设备 |
| CN115908596A (zh) * | 2021-08-20 | 2023-04-04 | 荣耀终端有限公司 | 一种图像处理方法及电子设备 |
| CN116546176A (zh) * | 2022-09-28 | 2023-08-04 | 腾讯科技(深圳)有限公司 | 一种色彩校正的方法、相关装置、设备以及存储介质 |
| CN120219141A (zh) * | 2023-12-20 | 2025-06-27 | 荣耀终端股份有限公司 | 一种图像色调处理方法及电子设备 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113810641B (zh) * | 2021-08-12 | 2023-02-28 | 荣耀终端有限公司 | 视频处理方法、装置、电子设备和存储介质 |
| WO2024082340A1 (zh) * | 2022-02-07 | 2024-04-25 | 深圳市奥拓电子股份有限公司 | 一种led显示屏的颜色校正方法、装置及系统 |
| CN114926567A (zh) * | 2022-04-24 | 2022-08-19 | 北京旷视科技有限公司 | 图像着色方法、电子设备、存储介质及计算机程序产品 |
| CN114842814B (zh) * | 2022-05-16 | 2023-12-08 | Oppo广东移动通信有限公司 | 色彩校准方法及装置、电子设备、存储介质 |
| CN116320451A (zh) * | 2023-03-20 | 2023-06-23 | 阿里巴巴(中国)有限公司 | 像素值映射及编解码方法、电子设备、存储介质 |
| CN118573935B (zh) * | 2024-06-28 | 2025-01-21 | 深圳市欧冶半导体有限公司 | 视频处理方法、装置、芯片、设备和介质 |
| CN120747434B (zh) * | 2025-08-29 | 2025-12-26 | 北京玄戒技术有限公司 | 图像处理方法、装置、电子设备、芯片及介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101527122A (zh) * | 2008-03-07 | 2009-09-09 | 群康科技(深圳)有限公司 | 显示装置及显示装置控制方法 |
| CN105261326A (zh) * | 2015-10-09 | 2016-01-20 | 惠州Tcl移动通信有限公司 | 调整显示色域的显示设备及其调整显示色域的方法 |
| US20160253981A1 (en) * | 2015-02-26 | 2016-09-01 | Nec Display Solutions, Ltd. | Color conversion data generation device, color conversion data generation method, and display device |
| CN106782428A (zh) * | 2016-12-27 | 2017-05-31 | 上海天马有机发光显示技术有限公司 | 一种显示装置的色域调整方法及色域调整系统 |
| CN107077828A (zh) * | 2014-11-25 | 2017-08-18 | 英特尔公司 | 对颜色查找表的大小进行压缩 |
| CN107408373A (zh) * | 2015-02-24 | 2017-11-28 | 巴科股份有限公司 | 稳定的色彩渲染管理器 |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070252849A1 (en) * | 2006-04-28 | 2007-11-01 | Microtek International Inc. | Device and method modifying image of color display |
| CN101290755A (zh) * | 2008-06-04 | 2008-10-22 | 京东方科技集团股份有限公司 | 显示装置及其色彩数据处理方法 |
| KR101314230B1 (ko) * | 2008-07-18 | 2013-10-04 | 삼성전자주식회사 | 화상처리장치 및 그 화상처리방법 |
| JP5909405B2 (ja) * | 2012-04-27 | 2016-04-26 | ルネサスエレクトロニクス株式会社 | 半導体装置 |
| KR20140046327A (ko) * | 2012-10-10 | 2014-04-18 | 삼성전자주식회사 | 멀티 디스플레이 장치, 입력 펜, 멀티 디스플레이 장치의 제어 방법 및 멀티 디스플레이 시스템 |
| CN113096615B (zh) * | 2014-11-28 | 2022-11-18 | 深圳市尊正数字视频有限公司 | 一种调色监视器及调色方法 |
| US9626775B1 (en) | 2015-11-12 | 2017-04-18 | Qualcomm Incorporated | White point calibration and gamut mapping for a display |
| US9984658B2 (en) * | 2016-04-19 | 2018-05-29 | Apple Inc. | Displays with improved color accessibility |
| WO2018072270A1 (zh) * | 2016-10-17 | 2018-04-26 | 华为技术有限公司 | 一种图像显示增强方法及装置 |
| US10453171B2 (en) * | 2017-03-24 | 2019-10-22 | Ati Technologies Ulc | Multiple stage memory loading for a three-dimensional look up table used for gamut mapping |
| US10262605B2 (en) | 2017-09-08 | 2019-04-16 | Apple Inc. | Electronic display color accuracy compensation |
-
2019
- 2019-09-19 CN CN201910887529.2A patent/CN112530382B/zh active Active
-
2020
- 2020-09-16 WO PCT/CN2020/115445 patent/WO2021052342A1/zh not_active Ceased
- 2020-09-16 EP EP20866260.1A patent/EP4024389A4/en active Pending
- 2020-09-16 US US17/640,042 patent/US12254531B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101527122A (zh) * | 2008-03-07 | 2009-09-09 | 群康科技(深圳)有限公司 | 显示装置及显示装置控制方法 |
| CN107077828A (zh) * | 2014-11-25 | 2017-08-18 | 英特尔公司 | 对颜色查找表的大小进行压缩 |
| CN107408373A (zh) * | 2015-02-24 | 2017-11-28 | 巴科股份有限公司 | 稳定的色彩渲染管理器 |
| US20160253981A1 (en) * | 2015-02-26 | 2016-09-01 | Nec Display Solutions, Ltd. | Color conversion data generation device, color conversion data generation method, and display device |
| CN105261326A (zh) * | 2015-10-09 | 2016-01-20 | 惠州Tcl移动通信有限公司 | 调整显示色域的显示设备及其调整显示色域的方法 |
| CN106782428A (zh) * | 2016-12-27 | 2017-05-31 | 上海天马有机发光显示技术有限公司 | 一种显示装置的色域调整方法及色域调整系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4024389A4 |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023015985A1 (zh) * | 2021-08-10 | 2023-02-16 | 荣耀终端有限公司 | 图像处理方法与电子设备 |
| WO2023015989A1 (zh) * | 2021-08-10 | 2023-02-16 | 荣耀终端有限公司 | 图像处理方法与电子设备 |
| US12423885B2 (en) | 2021-08-10 | 2025-09-23 | Honor Device Co., Ltd. | Image processing method and electronic device |
| US12536629B2 (en) | 2021-08-10 | 2026-01-27 | Honor Device Co., Ltd. | Image processing method and electronic device |
| CN115908596A (zh) * | 2021-08-20 | 2023-04-04 | 荣耀终端有限公司 | 一种图像处理方法及电子设备 |
| CN115908596B (zh) * | 2021-08-20 | 2023-11-24 | 荣耀终端有限公司 | 一种图像处理方法及电子设备 |
| US12462448B2 (en) | 2021-08-20 | 2025-11-04 | Honor Device Co., Ltd. | Image processing method and electronic device |
| CN116546176A (zh) * | 2022-09-28 | 2023-08-04 | 腾讯科技(深圳)有限公司 | 一种色彩校正的方法、相关装置、设备以及存储介质 |
| CN120219141A (zh) * | 2023-12-20 | 2025-06-27 | 荣耀终端股份有限公司 | 一种图像色调处理方法及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4024389A1 (en) | 2022-07-06 |
| US20240212229A1 (en) | 2024-06-27 |
| EP4024389A4 (en) | 2022-11-02 |
| US12254531B2 (en) | 2025-03-18 |
| CN112530382B (zh) | 2022-05-13 |
| CN112530382A (zh) | 2021-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112530382B (zh) | 电子设备调整画面色彩的方法和装置 | |
| US12086957B2 (en) | Image bloom processing method and apparatus, and storage medium | |
| CN110347269A (zh) | 一种空鼠模式实现方法及相关设备 | |
| US11848016B2 (en) | Voice control command generation method and terminal | |
| CN111132234A (zh) | 一种数据传输方法及对应的终端 | |
| CN113810764B (zh) | 视频编辑方法和视频编辑装置 | |
| WO2022166624A1 (zh) | 一种屏幕显示方法及相关装置 | |
| WO2022121988A1 (zh) | 显示同步的方法、电子设备以及可读存储介质 | |
| WO2022033344A1 (zh) | 视频防抖方法、终端设备和计算机可读存储介质 | |
| WO2023015989A1 (zh) | 图像处理方法与电子设备 | |
| WO2022127612A1 (zh) | 图像校准方法和设备 | |
| WO2022095752A1 (zh) | 帧解复用方法、电子设备及存储介质 | |
| CN114283195B (zh) | 生成动态图像的方法、电子设备及可读存储介质 | |
| WO2023016067A1 (zh) | 视频处理方法、装置及电子设备 | |
| CN115412678A (zh) | 曝光处理方法、装置及电子设备 | |
| WO2023015985A1 (zh) | 图像处理方法与电子设备 | |
| WO2023000745A1 (zh) | 显示控制方法及相关装置 | |
| WO2022068505A1 (zh) | 一种拍摄方法和电子设备 | |
| CN116437194B (zh) | 显示预览图像的方法、装置及可读存储介质 | |
| CN119520974B (zh) | 拍摄方法、电子设备 | |
| CN115619894A (zh) | 图标圆角化的处理方法及装置 | |
| CN111885768A (zh) | 调节光源的方法、电子设备和系统 | |
| CN119299877B (zh) | 一种图像处理方法、电子设备及可读存储介质 | |
| CN114285946B (zh) | 携号转网号码显示方法、电子设备及存储介质 | |
| CN115691370B (zh) | 显示控制方法及相关装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20866260 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2020866260 Country of ref document: EP Effective date: 20220331 |
|
| WWG | Wipo information: grant in national office |
Ref document number: 17640042 Country of ref document: US |