[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113409713A - Blue light eye protection intensity adjusting method, device, medium and equipment - Google Patents

Blue light eye protection intensity adjusting method, device, medium and equipment Download PDF

Info

Publication number
CN113409713A
CN113409713A CN202110656196.XA CN202110656196A CN113409713A CN 113409713 A CN113409713 A CN 113409713A CN 202110656196 A CN202110656196 A CN 202110656196A CN 113409713 A CN113409713 A CN 113409713A
Authority
CN
China
Prior art keywords
eye protection
blue light
color
adjusting
protection intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110656196.XA
Other languages
Chinese (zh)
Inventor
吴明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202110656196.XA priority Critical patent/CN113409713A/en
Publication of CN113409713A publication Critical patent/CN113409713A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/001Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes using specific devices not provided for in groups G09G3/02 - G09G3/36, e.g. using an intermediate record carrier such as a film slide; Projection systems; Display of non-alphanumerical information, solely or in combination with alphanumerical information, e.g. digital display on projected diapositive as background
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a blue light eye protection intensity adjusting method, a blue light eye protection intensity adjusting device, a blue light eye protection intensity adjusting medium and blue light eye protection intensity adjusting equipment, wherein the method comprises the following steps: acquiring values of three color channels of an image displayed by the terminal equipment in a mode that the terminal equipment starts a blue light eye protection function; determining a color temperature estimation value of the image according to the values of the three color channels; and adjusting the eye protection intensity of the blue light eye protection function according to the color temperature estimated value. The method is used for realizing self-adaptive adjustment of the blue light eye protection intensity according to the display content of the terminal equipment.

Description

Blue light eye protection intensity adjusting method, device, medium and equipment
Technical Field
The invention relates to the technical field of image processing, in particular to a blue light eye protection intensity adjusting method, device, medium and equipment.
Background
At present, the blue light eye protection function is generally applied to electronic products such as mobile phones. Blue light eyeshield function can be opened according to user-defined time or sunrise sunset information intelligence to current cell-phone, but the back is opened to blue light eyeshield function, and eyeshield intensity will use this eyeshield intensity to carry out the blue light and filter all the time after being set up fixed eyeshield intensity value by user's manual usually, unless user's manual change eyeshield intensity. If the user manually sets the eye protection intensity to the maximum eye protection intensity value, even if the current mobile phone actually displays an image with a cool tone (such as a bright-sun high-luminance image), the actual display effect of the image with the cool tone is biased to a warm tone (such as the visual effect of the bright-sun high-luminance image is yellow) due to the fact that the current blue-light eye protection function is the maximum eye protection intensity value, so that the visual effect of the image is distorted, and the sensory experience of the user is influenced.
Disclosure of Invention
The embodiment of the invention provides a blue light eye protection intensity adjusting method, a blue light eye protection intensity adjusting device, a blue light eye protection intensity adjusting medium and blue light eye protection intensity adjusting equipment, which are used for realizing self-adaptive adjustment of blue light eye protection intensity according to display content of terminal equipment.
In a first aspect, the present invention provides a blue light eye-protecting intensity adjusting method, which includes: acquiring values of three color channels of an image displayed by the terminal equipment in a mode that the terminal equipment starts a blue light eye protection function; determining a color temperature estimation value of the image according to the values of the three color channels; and adjusting the eye protection intensity of the blue light eye protection function according to the color temperature estimated value.
In the method, the terminal can adjust the eye protection intensity in real time according to the color information of the current display image of the terminal after the blue light eye protection function is started, so that the visual effect distortion of the image caused by the opening of the eye protection function is avoided.
In one possible embodiment, when the color temperature estimated value is greater than a first threshold value, the current eye protection intensity value is adjusted to be a minimum eye protection intensity value; and when the color temperature estimated value is smaller than a second threshold value, adjusting the current eye protection intensity value to be the maximum eye protection intensity value, wherein the second threshold value is smaller than the first threshold value.
In the method, the terminal determines the adjustment mode of the eye protection intensity according to the color value of the actual image, and assumes that the image is warm tone, even if the eye protection intensity is adjusted to the strongest eye protection intensity, the visual display effect after adjustment is still biased to the warm tone, so the visual experience of a user is not influenced basically, and the eye protection scheduling can be adaptively adjusted to the maximum intensity, so that the blue light filtering capacity is enhanced, and the eye health of the user is further protected. If the image itself is a cool tone, if the default eye protection intensity is still maintained, the visual effect of the image may be warm and distorted, so the eye protection intensity is adjusted to the minimum eye protection intensity, and the visual display effect after the adjustment is biased to the cool tone, so the visual experience of the user is not substantially affected.
In a possible embodiment, the terminal may determine that the application type corresponding to the image displayed by the terminal device is a non-video application, and then adjust the application type, so as to avoid the problem of image display jitter caused by adjusting the eye protection intensity too frequently.
In one possible embodiment, the method further comprises:
when the type of the application corresponding to the image displayed by the terminal equipment is determined to be a video application, obtaining values of three color channels of the M frames of images in a set time period; counting the sum of absolute differences between color histograms of the M frames of images in the set time period; and when the sum of the absolute differences is smaller than a set threshold, adjusting the eye protection intensity of the blue light eye protection function according to the color temperature estimated value.
In the method, on one hand, the problem of image display jitter caused by frequent adjustment of the eye protection intensity is avoided, and on the other hand, the adjusted eye protection intensity is not effective when the acquired image is displayed, and the eye protection intensity is not suitable for the current image.
In one possible design, before adjusting eye protection intensity of the blue light eye protection function according to the color temperature estimated value, the method further includes: acquiring a color histogram of a K-frame user interface closest to the current time period; and determining that the sum of absolute differences between the color histograms of the K frames of images is greater than or equal to a set threshold, wherein K is a positive integer. According to the method, when the sum of absolute differences between color histograms of K (K is a positive integer) frame images is greater than or equal to a set threshold, the current scene is determined to belong to a color mutation scene, the eye protection intensity can not be adjusted any more at this time, the current eye protection intensity is maintained unchanged, when the sum of absolute differences between the color histograms of the K frame images is less than the set threshold, the current scene is determined to belong to a color smooth scene, and the eye protection intensity can be adjusted according to the method. The problem of image display shake caused by adjusting eye protection intensity too frequently is avoided.
In a second aspect, the present application further provides an image fusion apparatus, which includes a module/unit for executing any one of the possible design methods of the second aspect. These modules/units may be implemented by hardware, or by hardware executing corresponding software.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a processor and a memory. Wherein the memory is used to store one or more computer programs; the one or more computer programs stored in the memory, when executed by the processor, enable the terminal device to implement the method of any of the possible designs of the second aspect described above.
In a fourth aspect, this embodiment also provides a computer-readable storage medium, which includes a computer program and when the computer program runs on an electronic device, causes the electronic device to execute any one of the possible design methods of any one of the above aspects.
In a fifth aspect, the present application further provides a computer program product, which when run on a terminal, causes the electronic device to execute any one of the possible design methods of any one of the above aspects.
In a sixth aspect, an embodiment of the present application further provides a chip, which is coupled to the memory and configured to execute the computer program stored in the memory, so that the electronic device performs any one of the possible design methods of the foregoing aspects.
As for the advantageous effects of the above second to sixth aspects, reference may be made to the description in the above first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a blue light eye-protecting intensity adjusting method according to an embodiment of the present invention;
fig. 3A is a schematic view of a display scene according to an embodiment of the present invention;
FIG. 3B is a schematic diagram of another display scenario provided by the embodiment of the present invention;
fig. 4 is a schematic flow chart of another blue light eye-protection intensity adjustment method according to an embodiment of the invention;
fig. 5 is a schematic flow chart of another blue light eye-protection intensity adjustment method according to an embodiment of the invention;
fig. 6 is a schematic view of a blue light eye-protecting intensity adjusting device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
Detailed Description
Before describing the embodiments of the present invention in detail, some terms used in the embodiments of the present invention will be explained below to facilitate understanding by those skilled in the art.
1. Color temperature
The light radiation of the light source exhibits the same color as that of a black body radiating at a certain temperature, which is called the temperature T of the black bodycThe color temperature of the light source is expressed in absolute temperature K.
2. Correlated color temperature
When the color of light emitted by a light source is close to the color that a black body radiates at a certain temperature, the temperature of the black body is called the correlated color temperature of the light source. At present, the color temperatures marked by general Light Emitting Diode (LED) products are all correlated color temperatures.
3. Color tone
Hue refers to the relative brightness of an image, and appears as a color on a color image. For example, cool tones include blue, cyan, violet; the warm color tone comprises red, orange, yellow; neutral hues include black, white, and gray.
4. RGB three color channels
R stands for Red, G for Green, B for Blue, and the three RGB color channels constitute the three primary optical colors. R, G, B all were 255 to produce white light, and R, G, B all were 0 to produce black.
5. Blue light eye protection function
The light rays which can be sensed by the retina are visible light, and the wavelength range is generally 380-780 nm; wherein the blue light with the wavelength range of 400-490 nm is called blue light. Not all blue light can pose an eye health hazard. Since the shorter the wavelength, the higher the energy, the stronger the penetrating power, the short-wave blue light of 415-. In order to ensure the eye health of a user, after the terminal equipment starts the blue light eye protection function, the short-wave (415-.
The technical solution in the embodiments of the present application is described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one or more than two (including two). The term "and/or" is used to describe an association relationship that associates objects, meaning that three relationships may exist; for example, a and/or B, may represent: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise. The term "coupled" includes both direct and indirect connections, unless otherwise noted. "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The blue light eye protection intensity adjusting method provided in the embodiment of the present application may be applied to the terminal device shown in fig. 1, and fig. 1 shows a hardware configuration block diagram of the terminal device 100.
In some embodiments, the display apparatus 100 includes at least one of a tuner demodulator 110, a communicator 120, a collector 130, an external device interface 140, a controller 150, a display 160, an audio output interface 170, a memory, a power supply, and a user interface 180.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a Random Access Memory (RAM), a read-only memory (ROM), a first interface for input/output to an nth interface.
In some embodiments, the display 160 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 160 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner/demodulator 110 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 120 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a wireless fidelity (wifi) module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or near field communication protocol chip, and an infrared receiver. The display apparatus 100 may establish transmission and reception of a control signal and a data signal with the control device 100 or the server 400 through the communicator 120.
In some embodiments, the collector 130 is used to collect external environment or signals interacting with the outside. For example, the collector 130 includes a light receiver, a sensor for collecting the intensity of ambient light; alternatively, the collector 130 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the collector 130 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 140 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 150 and the modem 110 may be located in different separate devices, that is, the modem 110 may also be located in an external device of the main device where the controller 150 is located, such as an external set-top box.
In some embodiments, the controller 150 controls the operation of the display device and responds to user actions through various software control programs stored in memory. The controller 150 controls the overall operation of the display apparatus 100. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 160, the controller 150 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM, a ROM, first to nth interfaces for input/output, a communication Bus (Bus), and the like.
And the central processor is used for executing the operating system and the application program instructions stored in the memory and executing various application programs, data and contents according to various interaction instructions for receiving external input so as to finally display and play various audio and video contents. The central processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 100.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And an image synthesis module, such as an image synthesizer, configured to perform superposition and mixing processing on the Graphical User Interface (GUI) signal generated by the graphical generator according to the user input or the GUI signal and the video image after the scaling processing, so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter a user command on a Graphical User Interface (GUI) displayed on the display 160, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the user interface is a Graphical User Interface (GUI), which refers to a user interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 180 is an interface that can be used to receive control inputs (e.g., physical keys on the body of the display device, or the like).
In specific implementation, the terminal device 100 may be a mobile phone, a tablet computer, a handheld computer, a Personal Computer (PC), a cellular phone, a Personal Digital Assistant (PDA), a wearable device (e.g., a smart watch), a smart home device (e.g., a television), a vehicle-mounted computer, a game machine, and an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like, and the specific device form of the terminal device 100 is not particularly limited in this embodiment.
Based on the terminal device shown in fig. 1, an embodiment of the present application provides a flowchart of an eye protection intensity adjustment method, and as shown in fig. 2, the flowchart of the method may be executed by the terminal device, and the method includes the following steps:
s201, under the mode that the terminal equipment starts the blue light eye protection function, the terminal obtains the values of RGB three color channels of the display image.
S202, the terminal equipment determines the color temperature estimated value of the image according to the values of the RGB three color channels.
And S203, the terminal equipment adjusts eye protection intensity of the blue light eye protection function according to the color temperature estimated value.
The color temperature estimation value may be calculated by referring to an existing algorithm, which is not limited in this embodiment. In step S203, when the color temperature estimation value is greater than the first threshold, adjusting the current eye protection intensity value to the minimum eye protection intensity value; and when the color temperature estimated value is smaller than a second threshold value, adjusting the current eye protection intensity value to be the maximum eye protection intensity value, wherein the second threshold value is smaller than the first threshold value.
Illustratively, the corresponding relationship between the eye protection intensity and the blue light filtering intensity is stored in the terminal device, and for example, see table 1 below.
TABLE 1
The intensity of eye protection Attenuation of blue light
Strength I About 3% of blue light
Strength II (3%, 30%) blue light
Strength III About 30% of blue light
Assuming that the eye protection intensity of the current terminal equipment is intensity II, when the color temperature estimated value of the display image is determined to be greater than or equal to 6500K according to the method, the terminal equipment adjusts the eye protection intensity to the minimum value, namely intensity I; when the color temperature estimated value of the display image is smaller than or equal to 4500K, the terminal equipment adjusts the eye protection intensity to the maximum value, namely intensity III; when the color temperature estimated value of the display image is less than 6500K and greater than 4500K, the terminal device keeps the eye protection intensity unchanged, or performs fine adjustment (the specific fine adjustment amplitude can be determined according to the color temperature estimated value).
In a first possible embodiment, before adjusting the eye protection intensity of the blue-light eye protection function according to the color temperature estimated value, the terminal may first obtain a color histogram of a K-frame user interface (user interface) closest to the current time period, and when a sum of absolute differences between the color histograms of the K (K is a positive integer) frame images is greater than or equal to a set threshold, determine that the current scene belongs to a color mutation scene, at this time, the eye protection intensity may not be adjusted any more, and the current eye protection intensity is maintained unchanged, and when the sum of absolute differences between the color histograms of the K frame images is less than the set threshold, determine that the current scene belongs to a color smooth scene, and may adjust the eye protection intensity according to S203.
In a second possible embodiment, the terminal may first determine whether the type of the application corresponding to the image displayed by the terminal device is a video application, if not, execute the above method flow, otherwise, need to further determine the video type.
Illustratively, in connection with fig. 3A, for a gallery application, as shown in (a) of fig. 3A, when a terminal device receives a click operation of a user on a thumbnail 301 in an interface 300 of the gallery application, a cell phone displays an interface 310 as shown in (b) of fig. 3A, the interface 310 displays an image 311, and it is seen that the image 311 is a scene of a sunset mountain, and the overall color tone of the image 311 is a warm tone. At this time, the mobile phone obtains the values of the three RGB color channels of the image 311 according to the above method, calculates the color temperature estimated value of the image 311 to be 4000K according to the values of the three RGB color channels, and adjusts the eye protection intensity of the blue light eye protection function from the default eye protection intensity II to the eye protection intensity III according to the color temperature estimated value 4000K of the image 311. It can be seen that, since the image 311 is warm tone, even if the eye protection intensity is adjusted to the eye protection intensity III, the visual display effect after adjustment is still biased to the warm tone, so that the visual experience of the user is not affected basically, and the eye protection scheduling can be adaptively adjusted to the maximum intensity, so that the blue light filtering amount is enhanced, and the eye health of the user is further protected.
For still another example, in connection with fig. 3B, for the gallery application, as shown in (a) in fig. 3B, when the terminal device receives a click operation of the user on the thumbnail 302 in the interface 300 of the gallery application, the cell phone displays an interface 320 as shown in (B) in fig. 3B, the interface 320 displays an image 321, and it can be seen that the image 321 is a scene with bright sun and high illumination, and the overall color tone of the image 321 is a cool color tone. At this time, the mobile phone obtains the values of the three RGB color channels of the image 321 according to the above method, calculates the color temperature estimated value of the image 321 to be 6500K according to the values of the three RGB color channels, and adjusts the eye protection intensity of the blue light eye protection function from the default eye protection intensity II to the eye protection intensity I according to the color temperature estimated value of the image 321 of 6500K. It can be seen that, since the image 321 is a cool tone, if the default eye protection intensity II is still maintained, the visual effect of the image 321 may be warm and distorted, so that the eye protection intensity is adjusted to the eye protection intensity I, and the visual display effect after adjustment is biased to the cool tone, so that the visual experience of the user is not substantially affected.
For another example, when the mobile phone is currently running in an electronic book application, the mobile phone may acquire color values of multiple frames of images, and determine the color temperature estimation value based on the color values, so as to adaptively adjust the eye protection intensity, or when the mobile phone is displaying news (non-video) in a browser application, the mobile phone may acquire color values of multiple frames of images, and determine the color temperature estimation value based on the color values, so as to adaptively adjust the eye protection intensity. It can be seen in combination with the above example, in this embodiment, the terminal can adjust the size of eye-protecting intensity in real time according to the color information of the display image of the current terminal after the eye-protecting function of blue light is started, so as to ensure that the visual effect distortion of the image due to the opening of the eye-protecting function is not caused.
In addition, for a scene in which the terminal device plays a video, different types of videos are considered, and the color information change trends of consecutive multi-frame images are also different, so in this embodiment, in the scene in which the terminal plays the video, the terminal may further obtain values of three color channels of RGB of the M-frame image in the set time period, count the color histogram of the M-frame image in the set time period, and determine the type of the video according to the color histogram of the M-frame image. When the sum of absolute differences between the color histograms of the M frames of images is smaller than a set threshold, determining that the video type is a color gradient video, namely the color change of the video is smooth; when the sum of absolute differences between the color histograms of the M-frame images is greater than or equal to a set threshold, it is determined that the video type is a color abrupt change type video, i.e., the color change of the video is not smooth enough. In this embodiment, when the type of the video played by the terminal is determined to be a color mutation type video, the eye protection intensity of the video is not adjusted, and when the type of the video played by the terminal is determined to be a color gradual change type video, the eye protection intensity of the video is adjusted according to the method shown in fig. 2, which is performed to avoid the problem of image display jitter caused by too frequent adjustment of the eye protection intensity on one hand, and on the other hand, because the processor may not be real-time enough to process and analyze the RGB three-channel color value of the image, the adjusted eye protection intensity takes effect when the acquired image is displayed, and therefore the eye protection intensity may not be suitable for the current image.
Illustratively, when the mobile phone plays an action-like movie, the mobile phone samples frame images from a video stream in real time, the sampling frequency may be 40ms, acquires color histograms of continuously acquired 5 frame images, counts absolute differences of the color histograms of two adjacent frame images, and sums up the absolute differences, because the color change in a fighting scene of the action-like movie is large, the sum is greater than a threshold, the mobile phone maintains the current eye protection intensity, and does not adjust the eye protection intensity of the video according to the method shown in fig. 2. As another example, when the mobile phone plays the main broadcast live video, the mobile phone samples frame images from the video stream in real time, the sampling frequency may be 40ms, acquires color histograms of continuously acquired 5 frame images, counts absolute differences of the color histograms of two adjacent frame images, and sums up the absolute differences, and since the background of the main broadcast live video is usually fixed, the sum is smaller than the threshold, the eye protection intensity of the video is adjusted according to the method shown in fig. 2.
In order to describe the eye protection intensity adjustment method provided by this embodiment more systematically, this embodiment is further described with reference to the method flows shown in fig. 4 and fig. 5.
As shown in fig. 4, the method flow includes the following steps:
s401, under the mode that the terminal equipment starts the blue light eye protection function, the terminal obtains the current blue light eye protection intensity value as intensity II and obtains the type of the current running application.
S402, the terminal judges whether the currently running application is a video application or not according to the type of the currently running application. If so, perform S403, otherwise, perform S411.
S403, the terminal acquires the color histogram of the K frames of user interfaces closest to the current time period, and counts the sum of absolute differences among the color histograms of the K frames of images.
S404, the terminal judges whether the sum value is larger than or equal to the set threshold value, if so, S411 is executed, otherwise, S405 is executed.
S405, the terminal acquires the values of the RGB three color channels of the display image, and determines the color temperature estimation value of the image according to the values of the RGB three color channels.
S406, the terminal judges whether the color temperature estimated value of the image is larger than 6500K, if so, S407 is executed, and if not, S408 is executed.
And S407, the terminal adjusts the current eye protection intensity from the intensity II to the intensity I.
S408, the terminal judges whether the color temperature estimated value of the image is smaller than 4500K, if so, S409 is executed, and if not, S410 is executed.
And S409, adjusting the current eye protection intensity from intensity II to intensity III by the terminal.
And S410, the terminal maintains the current eye protection intensity unchanged from the intensity II or fine-tunes.
S411, when the current running application is a video application, the terminal acquires values of three RGB color channels of the M frames of images in a set time period, and counts the sum of absolute differences of color histograms of the M frames of images in the set time period.
S412, the terminal judges whether the sum is greater than or equal to the set threshold, if so, S410 is executed, otherwise, S405 to S409 are executed.
As shown in fig. 5, the method flow includes the following steps:
s501, under the mode that the terminal equipment starts the blue light eye protection function, the terminal obtains the current blue light eye protection intensity value as intensity II, and obtains the values of the RGB three color channels of the current display image.
S502, the terminal acquires the color histogram of the K frames of user interfaces closest to the current time period, and counts the sum of absolute differences among the color histograms of the K frames of images.
S503, the terminal judges whether the sum is larger than or equal to the set threshold, if not, S504 is executed, otherwise, S509 is executed.
S504, the terminal determines the color temperature estimated value of the image according to the values of the RGB three color channels.
And S505, the terminal judges whether the color temperature estimated value of the image is larger than 6500K, if so, S506 is executed, and if not, S507 is executed.
And S506, the terminal adjusts the current eye protection intensity from the intensity II to the intensity I.
And S507, the terminal judges whether the color temperature estimated value of the image is less than 4500K, if so, S508 is executed, and if not, S509 is executed.
And S508, the terminal adjusts the current eye protection intensity from the intensity II to the intensity III.
And S509, the terminal maintains the current eye protection intensity unchanged from the intensity II or fine-tunes.
In this embodiment, on the one hand, the terminal device adjusts the eye protection intensity according to the color information of the currently displayed image, which can effectively solve the problem of distortion of the image visual effect caused by opening the eye protection intensity function, and on the other hand, the terminal device determines the type of the currently running application of the terminal and the type of the running video before adjusting the eye protection intensity, thereby avoiding the problem of image color jitter caused by adaptive adjustment of the eye protection intensity. Therefore, the method provided by the embodiment can effectively solve the problem of distortion of the visual effect of the image caused by opening the eye protection function, and can protect the eye health of the user to the greatest extent.
In some embodiments of the present application, a blue light eye protection intensity adjusting device is further disclosed in the embodiments of the present application, as shown in fig. 6, the device is used for implementing the method described in the above method embodiments, and the method includes: the obtaining unit 601 is configured to obtain values of three color channels of an image displayed by the terminal device in a mode that the terminal device starts a blue light eye protection function; a determining unit 602, configured to determine an estimated color temperature value of the image according to values of three color channels; and an adjusting unit 603, configured to adjust eye protection intensity of the blue light eye protection function according to the color temperature estimation value. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In other embodiments of the present application, an embodiment of the present application discloses a terminal device, and as shown in fig. 7, the electronic device may include: one or more processors 701; a memory 702; a display 703; one or more application programs (not shown); and one or more computer programs 704, which may be connected via one or more communication buses 705. Wherein the one or more computer programs 704 are stored in the memory 702 and configured to be executed by the one or more processors 701, the one or more computer programs 704 comprising instructions which may be used to perform the steps as in fig. 2 and 4 and the corresponding embodiments.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A blue light eye protection intensity adjusting method is characterized by comprising the following steps:
acquiring values of three color channels of an image displayed by the terminal equipment in a mode that the terminal equipment starts a blue light eye protection function;
determining a color temperature estimation value of the image according to the values of the three color channels;
and adjusting the eye protection intensity of the blue light eye protection function according to the color temperature estimated value.
2. The method of claim 1, wherein adjusting eye-protection intensity for blue eye-protection based on the color temperature estimate comprises:
when the color temperature estimated value is larger than a first threshold value, adjusting the current eye protection intensity value to be a minimum eye protection intensity value;
and when the color temperature estimated value is smaller than a second threshold value, adjusting the current eye protection intensity value to be the maximum eye protection intensity value, wherein the second threshold value is smaller than the first threshold value.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and determining the type of the application corresponding to the image displayed by the terminal equipment as a non-video application.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
when the type of the application corresponding to the image displayed by the terminal equipment is determined to be a video application, obtaining values of three color channels of the M frames of images in a set time period;
counting the sum of absolute differences between color histograms of the M frames of images in the set time period;
according to the colour temperature estimated value, adjust the eyeshield intensity of blue light eye-protection function, include:
and when the sum of the absolute differences is smaller than a set threshold, adjusting the eye protection intensity of the blue light eye protection function according to the color temperature estimated value.
5. The method of claim 1 or 2, wherein adjusting the eye-protection intensity of the blue-light eye-protection function according to the color temperature estimate further comprises:
acquiring a color histogram of a K-frame user interface closest to the current time period;
and determining that the sum of absolute differences between the color histograms of the K frames of images is greater than or equal to a set threshold, wherein K is a positive integer.
6. The utility model provides a blue light eyeshield intensity adjusting device which characterized in that, the device includes:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring values of three color channels of an image displayed by the terminal equipment in a mode that the terminal equipment starts a blue light eye protection function;
the determining unit is used for determining the color temperature estimated value of the image according to the values of the three color channels;
and the adjusting unit is used for adjusting the eye protection intensity of the blue light eye protection function according to the color temperature estimated value.
7. The apparatus of claim 6, wherein the obtaining unit is further configured to: acquiring a default first eye protection intensity value under the mode that the terminal equipment starts the blue light eye protection function;
the adjusting unit is specifically configured to:
when the color temperature estimated value is larger than a first threshold value, adjusting the current eye protection intensity value to be a minimum eye protection intensity value;
and when the color temperature estimated value is smaller than a second threshold value, adjusting the current eye protection intensity value to be the maximum eye protection intensity value, wherein the second threshold value is smaller than the first threshold value.
8. The apparatus according to claim 6 or 7, wherein the determining unit is further configured to:
and determining the type of the application corresponding to the image displayed by the terminal equipment as a non-video application.
9. The apparatus according to claim 6 or 7, wherein the obtaining unit is further configured to:
when the type of the application corresponding to the image displayed by the terminal equipment is determined to be a video application, obtaining values of three color channels of the M frames of images in a set time period;
the determining unit is further used for counting the sum of absolute differences between color histograms of the M frames of images in the set time period;
the adjusting unit is specifically configured to:
and when the sum of the absolute differences is smaller than a set threshold, adjusting the eye protection intensity of the blue light eye protection function according to the color temperature estimated value.
10. The apparatus according to claim 6 or 7,
the acquisition unit is further configured to: acquiring a color histogram of a K-frame user interface closest to the current time period;
the determination unit is further configured to: and determining that the sum of absolute differences between the color histograms of the K frames of images is greater than or equal to a set threshold, wherein K is a positive integer.
11. A computer-readable storage medium having a computer program stored therein, the computer program characterized by: the computer program, when executed by a processor, implements the method of any one of claims 1 to 5.
12. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, the computer program, when executed by the processor, causing the processor to carry out the method of any one of claims 1 to 5.
CN202110656196.XA 2021-06-11 2021-06-11 Blue light eye protection intensity adjusting method, device, medium and equipment Pending CN113409713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110656196.XA CN113409713A (en) 2021-06-11 2021-06-11 Blue light eye protection intensity adjusting method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110656196.XA CN113409713A (en) 2021-06-11 2021-06-11 Blue light eye protection intensity adjusting method, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN113409713A true CN113409713A (en) 2021-09-17

Family

ID=77683689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110656196.XA Pending CN113409713A (en) 2021-06-11 2021-06-11 Blue light eye protection intensity adjusting method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN113409713A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116798346A (en) * 2023-07-10 2023-09-22 深圳市易快来科技股份有限公司 Eye-protection display screen capable of automatically adjusting color temperature

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105340270A (en) * 2013-06-24 2016-02-17 大日本印刷株式会社 Image processing device, display device, image processing method, and image processing program
CN106296746A (en) * 2015-06-26 2017-01-04 联发科技股份有限公司 Image processing method and image processor
CN107564481A (en) * 2017-08-24 2018-01-09 四川长虹电器股份有限公司 The eyeshield mode tuning system of display device
WO2018098959A2 (en) * 2016-11-29 2018-06-07 华为技术有限公司 Picture display method and electronic device
CN109147681A (en) * 2018-10-15 2019-01-04 四川长虹电器股份有限公司 The eyeshield mode regulating method and display device of display device
CN109906478A (en) * 2016-11-07 2019-06-18 高通股份有限公司 Show that the selectivity of blue light in frame is reduced
CN109936698A (en) * 2017-12-18 2019-06-25 杭州海康威视数字技术股份有限公司 A kind of automatic exposure control method, device, electronic equipment and storage medium
CN110012278A (en) * 2019-04-30 2019-07-12 腾讯科技(深圳)有限公司 A kind of image rendering method, device, computer equipment and storage medium
CN111601143A (en) * 2020-05-09 2020-08-28 青岛海信传媒网络技术有限公司 Eye protection mode service starting method and display device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105340270A (en) * 2013-06-24 2016-02-17 大日本印刷株式会社 Image processing device, display device, image processing method, and image processing program
CN106296746A (en) * 2015-06-26 2017-01-04 联发科技股份有限公司 Image processing method and image processor
CN109906478A (en) * 2016-11-07 2019-06-18 高通股份有限公司 Show that the selectivity of blue light in frame is reduced
WO2018098959A2 (en) * 2016-11-29 2018-06-07 华为技术有限公司 Picture display method and electronic device
CN107564481A (en) * 2017-08-24 2018-01-09 四川长虹电器股份有限公司 The eyeshield mode tuning system of display device
CN109936698A (en) * 2017-12-18 2019-06-25 杭州海康威视数字技术股份有限公司 A kind of automatic exposure control method, device, electronic equipment and storage medium
CN109147681A (en) * 2018-10-15 2019-01-04 四川长虹电器股份有限公司 The eyeshield mode regulating method and display device of display device
CN110012278A (en) * 2019-04-30 2019-07-12 腾讯科技(深圳)有限公司 A kind of image rendering method, device, computer equipment and storage medium
CN111601143A (en) * 2020-05-09 2020-08-28 青岛海信传媒网络技术有限公司 Eye protection mode service starting method and display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116798346A (en) * 2023-07-10 2023-09-22 深圳市易快来科技股份有限公司 Eye-protection display screen capable of automatically adjusting color temperature
CN116798346B (en) * 2023-07-10 2024-04-05 深圳市易快来科技股份有限公司 Eye-protection display screen capable of automatically adjusting color temperature

Similar Documents

Publication Publication Date Title
US12014663B2 (en) Dark mode display interface processing method, electronic device, and storage medium
EP3745390B1 (en) Transitioning between video priority and graphics priority
KR100678101B1 (en) Method for menu screen constructing display hue using picture color information of mobile terminal thereof
CN107690811A (en) It is presented and shows HDR content
CN106780635B (en) Picture adaptation method and system of intelligent terminal
WO2023016039A1 (en) Video processing method and apparatus, electronic device, and storage medium
US12136441B2 (en) Video processing method, device, storage medium, and program product
CN113132696B (en) Image tone mapping method, image tone mapping device, electronic equipment and storage medium
CN106899878A (en) A kind of adjustable video and graph compound method and system of transparency based on OMAP chips
KR20180000729A (en) Display device and control method therefor
CN108804184A (en) A kind of display control method and terminal device
US20240223911A1 (en) Video processing method and apparatus
JP2009100186A (en) Image quality adjusting device, imaging quality adjustment method, and program
CN113409713A (en) Blue light eye protection intensity adjusting method, device, medium and equipment
CN107534763B (en) Adaptive color levels interpolation method and equipment
US20220415236A1 (en) Display control method, display control device and storage medium
CN115641824A (en) Picture adjustment device, display device, and picture adjustment method
WO2020037754A1 (en) Method and device for enhancing image quality of video
US20230043455A1 (en) Customized display color profiles for individual color preference
WO2020037755A1 (en) Method and apparatus for enhancing video image quality
CN111819618A (en) Pixel contrast control system and method
CN110225177B (en) Interface adjusting method, computer storage medium and terminal equipment
JP2006309227A (en) Device realizing translucent display on screen, its system, and method
WO2023015022A1 (en) Customized display color profiles for individual color preference
CN115550706A (en) Display device, image processing method and device

Legal Events

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

Application publication date: 20210917