Display method and device
By blurring some of the color components in the display screen, the display tone change caused by reducing the proportion of blue light in the prior art is solved, and the eye protection effect and good display effect are achieved.
Patent Information
- Application Number
- PCT/CN2024/124641
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-27
- Filing Date
- 2024-10-14
- Publication Date
- 2025-06-05
AI Technical Summary
The prior art achieves eye protection effect by reducing the proportion of blue light in the display light, but this will lead to significant changes in the display tone and affect the display effect.
By obtaining pixel matrix data of certain color components of the display screen in the target color space, the color components of some pixels are blurred to generate the target display screen and display it. This method simulates the imaging effect in myopia defocused state, and gives the eyeball the guidance information for myopia defocusing, thereby inhibiting the axial growth of the eyeball and slowing down the formation of myopia.
It realizes that without changing the tone of the display screen, reduce the stimulation of the screen display content to the human eye, slow down the formation of myopia, and improve the user experience.
Smart Images

Figure CN2024124641_05062025_PF_FP_ABST
Abstract
Description
Display method and device
[0001] This invention claims priority to the Chinese patent application filed with the State Intellectual Property Office on November 27, 2023, with application number 202311603206.9 and application name “A Display Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a display method and device. Background Art
[0003] To reduce eye irritation from screen content and improve eye comfort, it is essential to optimize the display content of electronic devices. Current technical solutions aim to protect eyes by reducing the proportion of blue light in the display light. However, this approach can significantly alter the display color tone, affecting the display quality.
[0004] Summary of the Invention
[0005] The object of the present invention is to provide a display method and device for reducing the stimulation of screen display content to the human eye while preventing the color tone of the displayed content from being changed, thereby ensuring the display effect.
[0006] In a first aspect, the present invention provides a display method, comprising: obtaining pixel matrix data of a first color component of an original display image in a target color space; blurring the color components of at least some pixels in the pixel matrix data of the first color component to obtain a first blurred component; generating a target display image based on the first blurred component and displaying it.
[0007] In the above implementation, by blurring some color components in the displayed image, the blurred color components appear blurred to the human eye. This can be used to simulate the imaging effect of myopia defocus, providing guidance for myopia defocus, thereby inhibiting axial growth of the eyeball, slowing the development of myopia, and achieving the purpose of eye protection. At the same time, blurring does not significantly reduce the color ratio, which can reduce the impact on the display image color tone and provide a better user experience.
[0008] As described above, in certain implementations of the first aspect, obtaining pixel matrix data of a first color component of an original display image in a target color space includes: obtaining a pixel matrix of at least one color component of the original display image in an RGB color space including a blue component.
[0009] In this implementation, the RGB color space can be selected to perform blurring on the B component of the display image in the RGB color space. Since the RGB color space is the color space used by the display device to display images, color space conversion can be avoided, improving computational efficiency.
[0010] As described above, in certain implementations of the first aspect, a display method is provided, in which pixel matrix data of a first color component of an original display image in a target color space is obtained, including: converting the original display image from an RGB color space to an LMS color space; and obtaining pixel matrix data of at least one color component of the original display image in the LMS color space, including an S component.
[0011] In this implementation, since the LMS color space can characterize the perception intensity response of different cone cells on the human eye's retina to light stimuli of different wavelengths, by converting the color space of the display image to the LMS space and then extracting and blurring the color components, the extracted color components can be adapted to the actual perception of the human eye, which is beneficial to improving the eye protection effect of the optimized display image.
[0012] In some implementations of the first aspect of the display method described above, the color components of at least part of the pixels in the pixel matrix data of the first color component include: the color components of all the pixels in the pixel matrix data of the first color component.
[0013] In certain implementations of the first aspect of the display method described above, the color components of at least some pixels in the pixel matrix data of the first color component include: the color components of a preset proportion of pixels in the pixel matrix data of the first color component.
[0014] In this implementation, blurring is performed on a preset proportion of the extracted color components, which can reduce the impact of the blurring process on the overall display effect.
[0015] In a display method as described above, in certain implementations of the first aspect, the color components of at least some pixels in the pixel matrix data of the first color component include: the color components of pixels whose component values are greater than a first threshold in the pixel matrix data of the first color component.
[0016] In this implementation, by selecting an appropriate filter to filter the extracted color components, we can filter out pixels within that color component whose brightness exceeds a set threshold, and then blur only those pixels. This reduces the computational complexity of the blurring process. Furthermore, by blurring only the high-brightness portions of the overall color component, we can effectively protect the eyes while minimizing the impact on the image display.
[0017] In a display method as described above, in certain implementations of the first aspect, the color components of at least part of the pixels in the pixel matrix of the first color component include: the color components of pixels whose frequency domain component values are greater than the second threshold in the pixel matrix data of the first color component.
[0018] In this implementation, the color components are first converted to the frequency domain using a Fourier transform. Pixels within these color components whose frequency domain values exceed a set threshold are then filtered out and blurred only for these pixels. This reduces the computational complexity of the blurring process and, by blurring only the areas of the overall color component that contain more detail, prevents degradation of the image display.
[0019] As described above, in certain implementations of the first aspect, a display method generates and displays a target display screen based on a first fuzzy component, including: reconstructing pixel matrix data of the first fuzzy component and the second color component to obtain and display the target display screen, wherein the second color component is the remaining color components in the target color space except the first color component.
[0020] As described above, in certain implementations of the first aspect, a target display screen is generated and displayed based on a first fuzzy component, including: generating a second fuzzy component based on the first fuzzy component and the color component of the unblurred pixels in the pixel matrix data of the first color component; reconstructing the second fuzzy component and the pixel matrix data of the second color component to obtain the target display screen and display it, wherein the second color component is the remaining color components in the target color space except the first color component.
[0021] As described above, in certain implementations of the first aspect, a display method is provided in which the color components of at least some pixels in the pixel matrix data of the first color component are blurred to obtain a first blurred component, including: determining blurred matrix data; and using the blurred matrix data to blur the color components of at least some pixels in the pixel matrix data of the first color component to obtain a first blurred component.
[0022] In certain implementations of the first aspect of a display method as described above, determining fuzzy matrix data includes: obtaining at least one first parameter associated with a current display scene; and determining a size and / or weight of the fuzzy matrix data based on the at least one first parameter.
[0023] In a display method as described above, in certain implementations of the first aspect, the first parameter includes any one or more of pixel size, longitudinal chromatic aberration of the human eye, viewing distance of the human eye, pupil diameter of the human eye, user age, user vision data, and user axial length.
[0024] In this implementation, by utilizing parameters related to the display scene to determine the size and / or weight of the fuzzy matrix, the optimization intensity of the display image can be adaptively changed as the actual display scene changes, which is more in line with the user's actual usage scenario and improves the optimization effect.
[0025] In some implementations of the first aspect of the display method described above, the size of the fuzzy matrix data is the number of rows and columns of the fuzzy matrix data; determining the size of the fuzzy matrix data according to at least one first parameter includes: determining the size of the fuzzy matrix data according to the following formula: D = Pupil (SG) / G
[0026] Where D is the size of the fuzzy matrix data, Pupil is the pupil diameter of the human eye, S is the viewing distance of the human eye, G is the target parameter calculated based on the viewing distance of the human eye and longitudinal chromatic aberration, LCA is the longitudinal chromatic aberration, λ is the wavelength of the first color component, and p, q, and c are constants.
[0027] In certain implementations of the first aspect of the display method described above, the size of the fuzzy matrix data is the number of rows and columns of the fuzzy matrix data; and determining the size of the fuzzy matrix data according to at least one first parameter includes: determining the size of the fuzzy matrix data according to the following formula: G=a*0.282*LCA+b*Defocus
[0028] Where D is the size of the blur matrix data, H is the pixel size, Pupil is the pupil diameter, S is the viewing distance, L is the axial length of the eye, and G is the target parameter calculated based on the selected defocus value and longitudinal chromatic aberration (LCA), where 0≤a≤1, 0≤b≤1, and a+b=1. λ is the wavelength of the first color component, and p, q, and c are constants.
[0029] In a display method as described above, in certain implementations of the first aspect, the weight of the fuzzy matrix data is the coefficient of each element in the fuzzy matrix data; the larger the coefficient of the target element in the fuzzy matrix data, the greater the weight of the color component of the target pixel in the fuzzy component corresponding to the target pixel; the smaller the coefficient of the target element in the fuzzy matrix data, the greater the weight of the color component of the pixels surrounding the target pixel in the fuzzy component corresponding to the target pixel; the target element is the element at the central point of the fuzzy matrix data, and the target pixel is any one pixel among at least some of the pixels.
[0030] In a second aspect, the present invention further provides an electronic device comprising: an acquisition unit configured to acquire a pixel matrix of a first color component of an original display image in a target color space; an execution unit configured to use a fuzzy matrix to fuzzy the color components of at least some pixels in the pixel matrix of the first color component to obtain a first fuzzy component; and a generation unit configured to generate and display a target display image based on the first fuzzy component.
[0031] In a third aspect, the present technical solution provides a display device comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the device, enable the device to execute the method in the first aspect or any possible implementation of the first aspect.
[0032] In a fourth aspect, the present invention further provides a chip comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface and executes the method in the first aspect or any possible implementation of the first aspect.
[0033] Optionally, as an implementation, the chip may further include a memory storing instructions, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the method in the first aspect or any possible implementation of the first aspect.
[0034] In a fifth aspect, the present invention further provides a computer-readable storage medium, which stores program code for execution by a device, wherein the program code includes instructions for executing the method in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] FIG1 is a schematic diagram of an eyeball development process provided in an embodiment of the present application;
[0036] FIG2 is a schematic diagram of a longitudinal chromatic aberration principle provided by an embodiment of the present application;
[0037] FIG3 is a schematic flow chart of a display method provided in an embodiment of the present application;
[0038] FIG4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0039] FIG5 is another schematic flow chart of the display method provided in an embodiment of the present application;
[0040] FIG6 is a flow chart of a scenario of a display method provided in an embodiment of the present application;
[0041] FIG7 is another scenario flow chart of the display method provided in an embodiment of the present application;
[0042] FIG8 is another schematic flow chart of the display method provided in an embodiment of the present application;
[0043] FIG9 is another schematic flow chart of the display method provided in an embodiment of the present application;
[0044] FIG10 is another structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] Nowadays, people's daily lives are increasingly connected with various electronic devices, and screen usage time is getting longer and longer. Against this background, it is necessary to adjust the light stimulation emitted by display screens, reduce the stimulation of blue light to the human eye, and slow down the formation of myopia.
[0046] In related technical solutions, the amount of blue light incident on the human eye is reduced by reducing the proportion of blue light in the light stimulation of the display screen, thereby achieving the purpose of eye protection. Specifically, for example, the value of the blue light component in the white field point of the display screen is reduced. The white field point is the brightest point in the image, and the RGB value of the white field point can be pre-set. When the screen displays an image, the RGB value of each pixel in the image is determined based on the RGB value of the white field point. Therefore, when the blue light component of the white field point is reduced, the blue light component of each pixel in the image is reduced when the screen displays the image.
[0047] However, when the proportion of blue light is reduced, the original display color tone will change significantly, and the overall color tone will appear yellowish, affecting the display quality. This is especially true in color-sensitive usage scenarios such as animation, poster production, and photo editing. It is not conducive to users to accurately identify image colors, which greatly affects the user experience.
[0048] In response to the above problems, a display method is proposed for adjusting the light stimulation emitted by the display screen to achieve an eye protection effect while reducing the impact on the color tone of the display picture and improving the display effect of the adjusted display picture.
[0049] Before explaining the display method provided in this application, for ease of understanding, the relevant theories of human eye development are first introduced.
[0050] 1. Defocus Theory
[0051] The defocus theory explains the formation process of myopia. The theory shows that the retina can recognize defocus signals and control the growth of the eye axis according to the defocus information. Figure 1 is a schematic diagram of the eyeball development process provided by an embodiment of the present application. Referring to Figure 1, during the growth of the eyeball, the retina can actively control the axial growth of the eyeball according to visual cues, so that the light entering the human eye is focused on the retina to form a clear image, reaching the state shown in 1B in Figure 1. At this time, the focus O formed after the light is focused is located on the retina. This process is called emmetropization. In this process, if the focus O formed by the light entering the human eye is located behind the retina, that is, hyperopic defocus, as shown in 1A in Figure 1, at this time, the image on the retina is in a blurred state. In order to obtain clearer imaging, the eyeball will continue to grow toward its own axis so that the focus O of the light is focused on the retina. If the eyes are in a hyperopic defocus state for a long time due to improper use of the eyes, the eye axis will continue to lengthen, causing myopia to occur and deepen. On the contrary, if the focus O formed by the visual clues entering the human eye is located in front of the retina, that is, myopic defocus, as shown in 1C in Figure 1, the growth rate of the axial length will slow down, thereby inhibiting the occurrence and development of myopia.
[0052] Based on the above description, it can be understood that when the human eye is in a hyperopic, defocused state, it will promote the eyeball's own axial growth, promoting the formation and development of myopia. When the human eye is in a myopic, defocused state, it will inhibit the eyeball's own axial growth, slowing the formation and development of myopia.
[0053] 2. Longitudinal Chromatic Aberration Theory
[0054] Longitudinal chromatic aberration, also known as axial chromatic aberration, refers to the phenomenon in which the focal points of different colors of light are arranged in front of and behind each other along the lens's principal axis due to the different refractive indices of the lens. This creates a chromatic aberration on the image plane. Its magnitude is typically expressed as the distance between the focal points of blue light and red light. For the human eye, as shown in Figure 2, based on the theory of longitudinal chromatic aberration, the different colors of light from an electronic device display will focus at different locations along the eye's axis. Blue light has the shortest wavelength, while red light has the longest. Therefore, blue light's focal point on the eye's axis is ahead of red light, while green light's focal point is between blue and red.
[0055] Based on the above theory, during the development of the eyeball, after visual information enters the human eye, if the focus of some color components on the eye axis is above the retina, and the focus of other color components on the eye axis is behind the retina, or the focus of all color components on the eye axis is behind the retina, the eyeball will be guided by the hyperopic defocus signal and will continue to grow toward its own axis, promoting the formation and development of myopia; on the contrary, if the focus of at least some color components on the eye axis is in front of the retina, the eyeball will be guided by the myopic defocus signal, which can inhibit the eyeball from growing toward its own axis and slow down the formation and development of myopia.
[0056] Based on the above theory, in an embodiment of the present application, as shown in FIG3 , some color components of the original display image, such as the blue light component, can be extracted. Then, using a blur matrix, the blue light component is blurred, such as with a Gaussian blur, to obtain a blurred blue light component. Furthermore, the blurred blue light component can be reconstructed with the remaining color components of the original display image to obtain a new display image for display.
[0057] Because the blue light component in the new display is blurred, it can be used to simulate the imaging effect of the blue light component in the human eye under myopic defocus, providing guidance information for myopic defocus, thereby inhibiting the axial growth of the eyeball, slowing the formation of myopia, and achieving the purpose of eye protection. At the same time, because the blurring of blue light in the embodiment of the present application does not cause a significant change in the proportion of blue light, it can reduce the impact on the color tone of the displayed image. Moreover, blurring some of the color components can prevent significant changes in image clarity, ensuring the display effect.
[0058] For example, FIG4 shows a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may include a display screen 194, a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a motor 191, an indicator 192, a camera 193, and a subscriber identification module (SIM) card interface 195, etc.
[0059] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0060] The display screen 194 can display images by forming pixels using the three primary colors of red, green, and blue (RGB).
[0061] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0062] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0063] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0064] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0065] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0066] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a display control function, etc.), etc. The data storage area may store data created during the use of the electronic device 100, etc. In addition, 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 disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0067] The distance sensor 180F can be used to measure distance, specifically by infrared or laser. In some embodiments, when a user uses an electronic device, the distance sensor 180F can be used to detect the user's viewing distance using infrared signals.
[0068] Ambient light sensor 108L is used to detect the brightness of ambient light. In some embodiments, while a user is using an electronic device, ambient light sensor 108L can be used to detect the brightness of the ambient light, so that electronic device 100 can calculate the pupil diameter of the human eye based on parameters such as the ambient light brightness and screen display brightness.
[0069] For ease of understanding, the following embodiments of the present application will take an electronic device having the structure shown in FIG. 4 as an example to specifically illustrate the display method provided in the embodiments of the present application.
[0070] FIG5 is a schematic flow chart of a display method provided in an embodiment of the present application. As shown in FIG5 , the display method provided in an embodiment of the present application includes:
[0071] 101. Obtain pixel matrix data of a first color component of an original display image in a target color space.
[0072] 102 , perform fuzzy processing on color components of at least some pixels in the pixel matrix data of the first color component to obtain a first fuzzy component.
[0073] 103 : Generate a target display image based on the first fuzzy component and display the image.
[0074] In an embodiment of the present application, the electronic device may be configured with a display mode adjustment function for the user to adjust the display mode of the device.
[0075] For example, as shown in FIG6 , the electronic device's settings interface 61 may include a display mode setting button 611. In response to a triggering operation on the display mode setting button 611, the electronic device may display a display mode selection interface 62, which may include option buttons for multiple display modes, such as an eye protection mode and a standard mode.
[0076] In response to a triggering operation on any option button in the display mode selection interface, the electronic device can switch to the corresponding display mode. Specifically, in response to a triggering operation on the eye protection mode option button, the electronic device can switch to the eye protection mode and trigger the execution of the display method provided in the embodiment of the present application to adjust the screen display light and achieve the eye protection goal.
[0077] The specific execution process of the display method provided in the embodiment of the present application is described below.
[0078] First, the electronic device may obtain pixel matrix data of at least one color component of an original display image in a target color space.
[0079] In one possible implementation, the target color space is an RGB color space. The electronic device can obtain the color component of the B channel of the original display image in the RGB color space, namely, the blue component. Because electronic devices display images in RGB format, this implementation reduces computational complexity and facilitates color component extraction.
[0080] In another possible implementation, the target color space is the (long-, middle-, and short-wavelength-sensitive cones, or LMS) color space. It should be noted that when the human eye receives color-related visual information, it primarily perceives and responds to short, medium, and long cones on the retina. Short cones primarily perceive S short-wavelength light, medium cones primarily perceive M medium-wavelength light, and long cones primarily perceive L long-wavelength light. The LMS color space is a color space represented by the responses of these three types of cones in the human eye, named for their peak responsivity at long, medium, and short wavelengths. Based on the above description, the electronic device can first convert the original display image from the RGB color space to the LMS color space according to a preset conversion function. This can then obtain the color component of the original display image in the S channel, i.e., the short-wavelength component. This implementation allows the color components perceived by the short cones to be extracted based on the light perception ability of the human eye's cones, ensuring that the extracted color components are more consistent with the actual human eye's perception.
[0081] It should be understood that, alternatively, the color components extracted in the embodiments of the present application may be other color components in the corresponding color space in addition to the above-mentioned blue component and short-wavelength component, such as a green component and a medium-wavelength component; or, alternatively, at least one color component in the corresponding color space including the above-mentioned blue component or short-wavelength component, such as a blue component and a green component, or a short-wavelength component and a medium-wavelength component. The embodiments of the present application are not limited in this regard.
[0082] Then, the electronic device may perform a blurring process on the extracted color components to obtain blurred color components. A specific blurring process may be a Gaussian blurring process.
[0083] The following describes the fuzzy processing process using the case where the extracted color component is a blue component as an example. It should be understood that the following method and process are still applicable when the color component is other color components in the RGB color space or other color components in other color spaces.
[0084] In one possible implementation, the fuzzy matrix data can be directly convolved with the extracted blue component pixel matrix data to achieve blur processing of the blue component. The fuzzy matrix data can be a pre-set fixed value. This implementation allows blurring of all blue components in the entire image, improving eye protection.
[0085] Taking into account that blurring the blue component in the image will reduce the overall clarity of the image to a certain extent, another possible implementation method is to blur the blue component of some pixels in the extracted pixel matrix data of the blue component, thereby reducing the total amount of blurred blue components and reducing the impact of blurring on the overall clarity of the image.
[0086] For example, the blue components of any portion of pixels can be selected from the extracted blue component pixel matrix data according to a preset ratio. Then, the selected blue components are blurred using the fuzzy matrix data. This implementation allows blurring of a portion of the blue components in the entire image, which helps achieve a certain degree of eye protection while reducing the impact of blurring on image display quality.
[0087] The preset ratio can be a fixed value, or the preset ratio can be flexibly adjusted by the user according to needs. For example, in the mode selection interface 62 shown in FIG6 , in response to the user triggering the eye protection mode option button, a first adjustment control can also be displayed for adjusting the size of the preset ratio. The first adjustment control can be, for example, a slider.
[0088] Alternatively, blurring of part of the blue component can also be performed by determining the blue component of part of the pixels from the pixel matrix data of the extracted blue component according to a preset screening principle. Specifically, the pixel matrix data of the extracted blue component can be filtered based on a pre-selected filter to obtain the blue component of part of the pixels whose component values are greater than a preset threshold. Furthermore, the above-mentioned fuzzy matrix data can be convolved with the filtered blue component to achieve blurring of the filtered blue component. Through this implementation method, only the pixels whose brightness is greater than the set threshold in the blue component of the entire image are blurred, which is beneficial for achieving eye protection while reducing the impact on the display effect.
[0089] Alternatively, blurring of part of the blue component can be performed by first performing a fast Fourier transform on the extracted blue component to obtain frequency domain data corresponding to the blue component in the frequency domain space. Furthermore, the obtained frequency domain data can be filtered based on a preset filter to obtain each frequency domain data whose frequency domain value is greater than a preset threshold. Among them, the larger the frequency domain value, the higher the rate of change of brightness and the more image details contained. Furthermore, the above-mentioned fuzzy matrix data can be convolved with the filtered frequency domain data to achieve blurring. Through this implementation method, only the pixels whose rate of change in the blue component of the entire image is higher than the threshold are blurred, which is also beneficial to improving the display effect of the processed picture.
[0090] For ease of understanding, the implementation of the fuzzy processing is described below with reference to FIG. 7 .
[0091] Referring to FIG7 , assuming that the original display image contains N*M pixels, the extracted color components are N*M pixel matrix data 71. Fuzzy matrix data 72 can be used to sequentially fuzzify each pixel contained in N*M pixel matrix data 71 to obtain the blurred component values.
[0092] Specifically, assuming that the size of the fuzzy matrix data 72 is K*K, then for any pixel to be processed 711 in the N*M pixel matrix data 71, first, K*K-1 pixels around the pixel to be processed 711 can be selected to form a K*K matrix 712 with the pixel to be processed.
[0093] Furthermore, the fuzzy matrix data 72 can be used to perform a convolution calculation with the obtained K*K matrix 712, and the calculated value obtained is the component value of the current pixel to be processed after blurring. The component value of the pixel to be processed after blurring is related to the component values of the surrounding pixels, and is also related to the value of each element in the fuzzy matrix data 72. Based on the different component values of the surrounding pixels and the values of each element in the fuzzy matrix data 72, the component value of the pixel to be processed after blurring may be larger or smaller than the original component value, or may be the same as the original component value. Moreover, after blurring the pixel to be processed based on different fuzzy functions, the resulting blurred component values are also different. The specific fuzzy function can be selected according to needs, for example, it can be a Gaussian blur function, a mean blur function, etc.
[0094] Based on the above description of the blurring implementation, it can be understood that the component value of any pixel in the extracted blue component after blurring is related to the component values of the surrounding pixels. This makes the difference between the blurred component value and the component values of the surrounding pixels small and does not cause a significant change in color tone. Therefore, compared with the method of reducing the overall proportion of the blue component in the related art, the implementation method of the embodiment of the present application can effectively reduce the impact on the overall color tone of the picture, and the user's viewing experience is better.
[0095] Finally, a processed display image may be generated based on the blurred color components and displayed.
[0096] In the embodiment of the present application, the blurred color components may be used to replace the pre-blurred color components and reconstructed with the remaining unblurred color components of the corresponding color space to generate a processed display image.
[0097] Still referring to Figure 7 , assuming the original display image contains N*M pixels, the extracted color components are N*M pixel matrix data. When all extracted components are blurred, the blurred color components are also N*M pixel matrix data. The N*M pixel matrix data of the blurred color components can be reconstructed with the N*M pixel matrix data of the remaining color components in the original display image to obtain the processed display image.
[0098] When blurring some of the extracted components, the unblurred color components and the blurred color components in the extracted color components can be combined into N*M pixel matrix data, and reconstructed with the N*M pixel matrix data of the remaining color components of the original display image in the corresponding color space to obtain the processed display image.
[0099] As shown in Figure 8, for the RGB color space, the original display image includes a red component R, a green component G, and a blue component B. If the extracted color component is the blue component B, after blurring at least part of the blue component B to obtain the blue component B', the blue component B' can be used to replace the blue component B and reconstructed with the red component R and green component G of the original display image to obtain a processed display image and display it.
[0100] As shown in Figure 9, for the LMS color space, the original display image contains a long-wavelength component L, a medium-wavelength component M, and a short-wavelength component S. If the extracted color component is the short-wavelength component S, at least part of the short-wavelength component S is blurred to obtain the short-wavelength component S'. This short-wavelength component S' can then be used to replace the short-wavelength component S and reconstructed with the long-wavelength component L and medium-wavelength component M of the original display image to obtain the processed display image. Furthermore, the processed display image can be converted to a color space to obtain an RGB format display image for display.
[0101] Because the shorter wavelength color components in the processed display image are blurred, they can be used to simulate the imaging effect of shorter wavelength color components in the human eye under myopic defocus conditions, providing guidance for myopic defocus, thereby inhibiting axial growth of the eyeball and slowing or even preventing the formation and aggravation of myopia. Furthermore, because the above solution does not significantly reduce the proportion of color components in the displayed image, it can greatly reduce the impact on the display color tone, improving the user viewing experience.
[0102] In the above embodiment, when the extracted color components are fuzzy processed, the value of the fuzzy matrix data applied is a preset fixed value. In the embodiment of the present application, the value of the fuzzy matrix data applied is a variable value. The value of the fuzzy matrix data includes the size of the fuzzy matrix data. The size refers to the number of rows and columns of the fuzzy matrix data. The larger the size of the fuzzy matrix data, the greater the degree of fuzzification that can be achieved, and vice versa, the smaller the degree of fuzzification that can be achieved.
[0103] In one possible implementation, the size of the applied fuzzy matrix data can be adjusted in response to user operation. For example, in the mode selection interface 62 shown in FIG6 , in response to the user triggering the eye protection mode option button, a second adjustment control can also be displayed for adjusting the size of the fuzzy matrix data. The second adjustment control can be, for example, a slider.
[0104] Through this implementation, the blur intensity of the color components in the picture can be flexibly adjusted based on changes in user needs, thereby better adapting to user needs.
[0105] In another possible implementation, to further enhance the scene adaptability of blur intensity, the size of the blur matrix data can be automatically determined based on changes in the display scene and at least one parameter information related to the display scene, thereby automatically varying the blur intensity of the extracted color components in real time as the display scene changes. The at least one parameter information related to the display scene may, for example, include the spectral characteristics of the display device, the user's viewing distance, the user's age, the user's visual acuity data, the user's axial length, and the user's pupil diameter. The user's pupil diameter is related to factors such as screen size, display brightness, display content, ambient light, and viewing distance.
[0106] The following describes in detail a method for determining the size of fuzzy matrix data based on at least one parameter information related to a display scene.
[0107] In one possible implementation, the size of the fuzzy matrix data can be determined based on the spectral characteristics of the display device. Due to differences in the spectral characteristics of display devices, the wavelengths of the red, green, and blue primary colors vary across different display devices. In this embodiment of the present application, the longitudinal chromatic aberration of the display light after entering the human eye can be calculated based on the wavelengths of the various color components in the current display device. Furthermore, the size of the fuzzy matrix data can be determined based on the longitudinal chromatic aberration. The smaller the longitudinal chromatic aberration, the smaller the fuzzy matrix data size.
[0108] In another possible implementation, the pixel size of the current display image may be obtained, and then the size of the fuzzy matrix data may be determined based on the pixel size, wherein the smaller the pixel size, the larger the size of the fuzzy matrix data.
[0109] In another possible implementation, the user's viewing distance can be detected in real time, and the size of the fuzzy matrix data can be determined based on the user's viewing distance. The farther the user's viewing distance, the larger the size of the fuzzy matrix data. The user's viewing distance can be detected by using a distance sensor configured in the electronic device to emit infrared light or laser light to detect the distance between the electronic device's display and the user.
[0110] In another possible implementation, the user's pupil diameter can be detected while the device is in use, and the size of the fuzzy matrix data can be determined based on the pupil diameter. The larger the pupil diameter, the larger the fuzzy matrix data size. The user's pupil diameter is related to factors such as ambient light, viewing distance, display size, and displayed content, and can be calculated based on these factors. For details, please refer to relevant technologies.
[0111] In another possible implementation, the age data and / or vision data and / or axial length input by the user may be obtained in advance. Then, according to the pre-stored mapping table, the fuzzy matrix data size corresponding to the current user's age data and / or vision data and / or axial length is searched. The pre-stored mapping table may be configured before the electronic device leaves the factory, for example. The pre-stored mapping table may include a mapping relationship between different ages and / or different vision and / or different axial lengths and fuzzy matrix data sizes. The specific mapping relationship may be determined based on experimental research. For example, the axial development status of people of different age groups and / or people with different vision may be collected, and based on the different axial development status, the fuzzy matrix data size required by people of different age groups and / or people with different vision may be matched.
[0112] In a specific implementation, alternatively, the size of the fuzzy matrix data may be determined based on a combination of any two or more of the above parameter information.
[0113] For example, the size of the fuzzy matrix data can be determined based on the spectral characteristics of the display device, the user's viewing distance, and the user's pupil diameter. The specific calculation method can refer to the following formula: D = Pupil * (SG) / G
[0114] Where D is the size of the fuzzy matrix data, Pupil is the pupil diameter, S is the user's viewing distance, and G is a parameter calculated based on the viewing distance and longitudinal color difference. It is calculated as follows:
[0115] Among them, LCA is the longitudinal chromatic aberration, which is calculated as follows:
[0116] Where λ is the wavelength of the extracted color component, p, q, and c are all constants, and their values are 1.68524, 0.63346, and 0.21410, respectively.
[0117] Alternatively, for example, the size of the fuzzy matrix data can be determined based on the spectral characteristics of the display device, the pixel size, the user's viewing distance, the user's pupil diameter, and the user's eye axis length. The specific calculation method can refer to the following formula:
[0118] Where D is the size of the fuzzy matrix data, Pupil is the pupil diameter, H is the pixel size, S is the user's viewing distance, L is the eye axis length, and G is the parameter calculated based on the selected defocus value Defocus and longitudinal chromatic aberration LCA. The specific calculation method of parameter G is as follows: G = a*0.282*LCA+b*Defocus
[0119] Where 0≤a≤1, 0≤b≤1, and a+b=1. LCA is the longitudinal chromatic aberration, and the specific calculation method of LCA is as follows:
[0120] Wherein, λ is the wavelength of the extracted color component (in μm), p, q, and c are all constants, and their values are 1.68524, 0.63346, and 0.21410, respectively.
[0121] Through the above technical solution, the size of the fuzzy matrix data can change in real time with changes in factors such as the spectral characteristics of the display device, pixel size, user viewing distance, user age, user vision data, user axial length, and user pupil diameter in the actual display scene. Therefore, the blur intensity of the color components in the device display screen can be adaptively adjusted with changes in the display scene, which is conducive to improving viewing comfort, and the implementation method is more intelligent and the user experience is better.
[0122] In another embodiment, the value of the fuzzy matrix data also includes a weight of the fuzzy matrix data. The fuzzy weight refers to the coefficient corresponding to each element in the fuzzy matrix, and the sum of the coefficients of each element is 1. The higher the coefficient corresponding to the element at the center point of the fuzzy matrix, the greater the weight of the pixel to be blurred when blurring the pixel to be processed, referring to FIG. 7 . Otherwise, the weight of the pixels surrounding the pixel to be blurred is greater.
[0123] Similar to the above-mentioned blur size, the blur weight may also be determined based on at least one parameter information related to the display scene.
[0124] In a possible implementation, the fuzzy weight may be determined based on the longitudinal color difference, for example. Specifically, the coefficient corresponding to the element at the center point of the fuzzy matrix may be positively correlated with the value of the longitudinal color difference.
[0125] In another possible implementation, the user's viewing distance and / or pupil diameter may be detected in real time, and the blur weight may be determined based on the user's viewing distance and / or pupil diameter.
[0126] In another possible implementation, user-entered age data and / or vision data and / or axial length can be pre-acquired. Then, a fuzzy weight corresponding to the current user's age data and / or vision data and / or axial length can be searched based on a pre-stored mapping table. The pre-stored mapping table can, for example, be configured before the electronic device leaves the factory and can include mappings between different ages and / or different visions and / or different axial lengths and fuzzy weights.
[0127] In a specific implementation, alternatively, the fuzzy weight may be determined based on a combination of any two or more pieces of parameter information among the above-mentioned parameter information.
[0128] Through this implementation method, when blurring the color components of the display image, the degree of blur can change in real time with factors such as the spectral characteristics of the display device, pixel size, user viewing distance, user age, user vision data, user axial length, and user pupil diameter in the specific display scene, thereby further improving the scene adaptability of this solution.
[0129] It is understandable that, in order to implement the above functions, the electronic device includes hardware and / or software modules that perform the corresponding functions. In combination with the steps of the various examples described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments.
[0130] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into a single processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the module division in this embodiment is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.
[0131] In the case of dividing each functional module according to each function, FIG10 shows a possible composition diagram of the electronic device involved in the above embodiment. As shown in FIG10 , the electronic device 600 may include: an acquisition unit 601, an execution unit 602, and a generation unit 603, wherein:
[0132] The acquisition unit 601 is configured to acquire pixel matrix data of a first color component of an original display image in a target color space.
[0133] The execution unit 602 is configured to perform fuzzy processing on the color components of at least some pixels in the pixel matrix data of the first color component to obtain a first fuzzy component.
[0134] The generating unit 603 is configured to generate and display a target display image based on the first fuzzy component.
[0135] In a possible implementation, the acquiring unit 601 is specifically configured to acquire pixel matrix data of at least one color component of the original display image in the RGB color space, where the at least one color component includes a blue component.
[0136] In one possible implementation, the acquisition unit 601 is specifically used to: convert the original display image from the RGB color space to the LMS color space; obtain pixel matrix data of at least one color component of the original display image in the LMS color space, at least one color component including a short wavelength component.
[0137] In a possible implementation manner, at least part of the color components in the first color component includes: color components of all pixels in the pixel matrix data of the first color component.
[0138] In a possible implementation, at least part of the color components in the first color component includes: part of the color components of pixels in a preset proportion in the pixel matrix data of the first color component.
[0139] In a possible implementation, at least part of the color components in the first color component include: color components of pixels whose component values are greater than a first threshold in the pixel matrix data of the first color component.
[0140] In a possible implementation, at least part of the color components in the first color component include: color components of pixels having frequency domain values greater than a second threshold in the pixel matrix data of the first color component.
[0141] In one possible implementation, the generation unit 603 is specifically configured to reconstruct the pixel matrix data of the first fuzzy component and the second color component to obtain and display the target display screen, where the second color component is the remaining color components in the target color space except the first color component.
[0142] In one possible implementation, the generation unit 603 is specifically used to generate a second fuzzy component based on the first fuzzy component and the color component of the unblurred pixels in the pixel matrix data of the first color component; reconstruct the second fuzzy component and the pixel matrix data of the second color component to obtain the target display screen and display it, and the second color component is the remaining color components in the target color space except the first color component.
[0143] In a possible implementation, the execution unit 602 is specifically configured to determine fuzzy matrix data; and use the fuzzy matrix data to perform fuzzy processing on color components of at least some pixels in the pixel matrix data of the first color component to obtain a first fuzzy component.
[0144] In one possible implementation, the execution unit 602 is specifically used to obtain a first parameter associated with the current display scene, where the first parameter includes any one or more of the longitudinal chromatic aberration of the human eye, the viewing distance of the human eye, the pupil diameter of the human eye, the user's age, the user's vision data, and the user's eye axis length; and determine the size and / or weight of the fuzzy matrix data based on at least one first parameter.
[0145] In a possible implementation, the execution unit 602 is specifically configured to determine the size of the fuzzy matrix data according to the following formula: D = Pupil*(SG) / G
[0146] Wherein, D is the size of the fuzzy matrix data, Pupil is the pupil diameter of the human eye, S is the viewing distance of the human eye, G is the target parameter calculated based on the viewing distance of the human eye and the longitudinal chromatic aberration, LCA is the longitudinal chromatic aberration, λ is the wavelength of the first color component, and p, q and c are constants.
[0147] In a possible implementation, the execution unit 602 is specifically configured to determine the size of the fuzzy matrix data according to the following formula: G=a*0.282*LCA+b*Defocus
[0148] Where D is the size of the blur matrix data, H is the pixel size, Pupil is the pupil diameter, S is the viewing distance, L is the axial length of the eye, and G is the target parameter calculated based on the selected defocus longitudinal chromatic aberration (LAC), where 0 ≤ a ≤ 1, 0 ≤ b ≤ 1, and a + b = 1. λ is the wavelength of the first color component, and p, q, and c are constants.
[0149] In one possible implementation, the weight of the fuzzy matrix data is the coefficient of each element in the fuzzy matrix data; the larger the coefficient of the target element in the fuzzy matrix data, the greater the weight of the color component of the target pixel in the fuzzy component corresponding to the target pixel; the smaller the coefficient of the target element in the fuzzy matrix data, the greater the weight of the color component of the pixels surrounding the target pixel in the fuzzy component corresponding to the target pixel; the target element is the element at the center point of the fuzzy matrix, and the target pixel is any one pixel among at least some of the pixels.
[0150] This technical solution blurs some color components in the displayed image to simulate the defocused state of some color components in the human eye, thereby inhibiting axial growth of the eyeball, slowing the formation and progression of myopia, and achieving eye protection. At the same time, blurring does not reduce the color proportions, preventing changes in the image's hue and providing a better user experience.
[0151] It should be understood that the electronic devices here are embodied in the form of functional units. The term "unit" here can be implemented in the form of software and / or hardware, without specific limitation. For example, a "unit" can be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0152] An embodiment of the present application also provides a display device, which includes a storage medium and a central processing unit. The storage medium can be a non-volatile storage medium, and a computer executable program is stored in the storage medium. The central processing unit is connected to the non-volatile storage medium and executes the computer executable program to implement the above-mentioned display method.
[0153] An embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes each step of the display method of the embodiment of the present application.
[0154] The embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on a computer or any at least one processor, it enables the computer to execute each step of the display method of the embodiment of the present application.
[0155] An embodiment of the present application also provides a chip, including a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface to execute corresponding operations and / or processes performed by the display method provided in the present application.
[0156] Optionally, the chip further includes a memory, which is connected to the processor via a circuit or wire, and the processor is configured to read and execute a computer program in the memory. Further optionally, the chip further includes a communication interface, to which the processor is connected. The communication interface is configured to receive data and / or information to be processed, and the processor obtains the data and / or information from the communication interface and processes the data and / or information. The communication interface may be an input / output interface.
[0157] The memory may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.
[0158] In the embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. A and B may be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0159] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0160] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0161] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0162] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
1. A display method, characterized in that: include: Obtaining pixel matrix data of a first color component of an original display image in a target color space; Performing fuzzy processing on color components of at least some pixels in the pixel matrix data of the first color component to obtain a first fuzzy component; A target display picture is generated based on the first blur component and displayed.
2. The method according to claim 1, characterized in that Obtaining pixel matrix data of the first color component of the original display image in the target color space, including: Pixel matrix data of at least one color component of an original display picture in an RGB color space is obtained, wherein the at least one color component includes a blue component.
3. The method according to claim 1, characterized in that Obtaining pixel matrix data of the first color component of the original display image in the target color space, including: Convert the original display image from the RGB color space to the LMS color space; Pixel matrix data of at least one color component of the original display picture in the LMS color space is obtained, and the at least one color component includes an S short wavelength component.
4. The method according to any one of claim 1, characterized in that: The color components of at least some pixels in the pixel matrix data of the first color component include: The color components of all pixels in the pixel matrix data of the first color component.
5. The method according to any one of claim 1, characterized in that: The color components of at least some pixels in the pixel matrix data of the first color component include: In the pixel matrix data of the first color component, color components of pixels of a preset ratio are included.
6. The method according to any one of claim 1, characterized in that: The color components of at least some pixels in the pixel matrix data of the first color component include: The color components of pixels whose component values are greater than the first threshold value in the pixel matrix data of the first color component.
7. The method according to any one of claim 1, characterized in that: The color components of at least some pixels in the pixel matrix data of the first color component include: The color component of the pixel whose frequency domain component value is greater than the second threshold in the pixel matrix data of the first color component.
8. The method according to claim 4, characterized in that Generating a target display picture based on the first fuzzy component and displaying the picture includes: The pixel matrix data of the first fuzzy component and the second color component are reconstructed to obtain a target display screen and display it, wherein the second color component is the remaining color components in the target color space except the first color component.
9. The method according to any one of claims 5 to 7, characterized in that: Generating a target display picture based on the first fuzzy component and displaying the picture includes: Generate a second blurred component based on the first blurred component and the color component of the pixel that has not been blurred in the pixel matrix data of the first color component; The pixel matrix data of the second fuzzy component and the second color component are reconstructed to obtain a target display screen and display it. The second color component is the remaining color components in the target color space except the first color component.
10. The method according to claim 1, characterized in that The method of performing blurring processing on color components of at least some pixels in the pixel matrix data of the first color component to obtain a first blurred component includes: Determine fuzzy matrix data; The fuzzy matrix data is used to perform fuzzy processing on the color components of at least part of the pixels in the pixel matrix data of the first color component to obtain a first fuzzy component.
11. The method according to claim 10, characterized in that Determine the fuzzy matrix data, including: Acquire a first parameter associated with the current display scene, the first parameter including any one or more of longitudinal chromatic aberration of human eyes, viewing distance of human eyes, pupil diameter of human eyes, user age, user vision data, and axial length of user eyes; Based on the at least one first parameter, the size and / or weight of the fuzzy matrix data are determined.
12. The method according to claim 11, characterized in that The size of the fuzzy matrix data is the number of rows and columns of the fuzzy matrix data; determining the size of the fuzzy matrix data according to the at least one first parameter comprises: The size of the fuzzy matrix data is determined according to the following formula: D=Pupil*(S-G) / G Among them, D is the size of the fuzzy matrix data, Pupil is the pupil diameter of the human eye, S is the viewing distance of the human eye, G is the target parameter calculated based on the viewing distance of the human eye and the longitudinal chromatic aberration, LCA is the longitudinal chromatic aberration, λ is the wavelength of the first color component, and p, q and c are constants.
13. The method according to claim 11, characterized in that The size of the fuzzy matrix data is the number of rows and columns of the fuzzy matrix data; determining the size of the fuzzy matrix data according to the at least one first parameter comprises: The size of the fuzzy matrix data is determined according to the following formula: G=a*0.282*LCA+b*Defocus Among them, D is the size of the fuzzy matrix data, Pupil is the pupil diameter of the human eye, S is the viewing distance of the human eye, H is the pixel size, L is the axial length of the eye, G is the target parameter calculated based on the selected defocus amount and longitudinal chromatic aberration, Defocus is the selected defocus amount, LCA is the longitudinal chromatic aberration, the relationship between a and b is 0≤a≤1, 0≤b≤1, a+b=1, λ is the wavelength of the first color component, and p, q and c are constants.
14. The method according to claim 11, characterized in that The weight of the fuzzy matrix data is the coefficient of each element in the fuzzy matrix data; The larger the coefficient of the target element in the fuzzy matrix data, the larger the weight of the color component of the target pixel in the fuzzy component corresponding to the target pixel; The smaller the coefficient of the target element in the fuzzy matrix data, the greater the weight of the color components of the pixels around the target pixel in the fuzzy component corresponding to the target pixel; The target element is an element at the center point of the fuzzy matrix data, and the target pixel is any one of the at least some pixels.
15. An electronic device, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the device, the device performs the method according to any one of claims 1 to 14.
16. A chip, characterized in that: The chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method as described in any one of claims 1 to 14.
17. A storage medium, characterized in that: The storage medium stores program instructions, which, when executed on an electronic device, enable the electronic device to execute the method as claimed in any one of claims 1 to 14.
Citation Information
Patent Citations
Eye protecting method and device of screen based on virtual reality helmet
CN105489150A
Display method and device for reducing blue light of image
CN106571126A
Color gamut adjusting method and display device
CN106782302A
Electronic device, image processing method and computer readable storage medium
CN108769520A
Screen display method and device and terminal equipment
CN110377385A