Personalized color adjustment method for game interface

By analyzing the pupil reaction intensity of game users and adaptively adjusting the color of electronic devices, it solves the problem of inability to adaptively adjust the existing technology and significantly improves the gaming experience and comfort of color-blind/color-weak users.

CN118593984APending Publication Date: 2024-09-06SHANGHAI UNIV OF SPORT
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410738395.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The screen colors of existing electronic devices cannot be adaptively adjusted, resulting in color-blind users having a poor experience when using games or videos. Existing color adjustment solutions fail to effectively consider the differences of color-blind users.

Method used

By collecting video of the changes in the pupil of the game user's eyes, the time domain-frequency domain conversion method is used to analyze the pupil size response intensity, determine the user's color blindness/color weakness, and adaptively adjust the color of the game interface to increase the intensity of the corresponding color channel to improve the color experience.

Benefits of technology

It realizes personalized color adjustment for users with different levels of color vision deficiency, significantly improves color experience and comfort, and improves the gaming experience for color blind/color weak users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118593984A
    Figure CN118593984A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a personalized color adjustment method for a game interface, which comprises the following steps of: appearing patterns with different colors on a screen according to a set frequency within a set time, and collecting a pupil change video of a game user; a time domain and frequency domain conversion method is adopted to analyze the pupil change video, pupil size reaction intensities corresponding to different colors are obtained, the pupil size reaction intensities are compared with corresponding normal pupil size reaction intensities, and the color blindness / color weakness condition of the game user is judged; according to the color blindness / color weakness condition of the game user, the color of the game interface is adaptively adjusted so as to improve the comfort and color experience when the game user watches the screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computers, and in particular relates to a personalized color adjustment method for a game interface. Background Art

[0002] Color Vision Deficient (CVD), also known as color blindness, is a hereditary eye disease that limits the patient's ability to distinguish specific colors. Different types of color blindness symptoms are related to the damage to the corresponding sensory cells. Due to the damage to different sensory cells, the colors presented to the patients also have different changes. Color blind patients with different degrees of damage have different color recognition compared to normal people. The incidence of color blindness in my country is about 5% to 8% for men and 0.5 to 1% for women. There are about 60 million color blind and color weak people, accounting for a large population base in my country.

[0003] More and more users are using electronic devices to play games, watch videos, etc., which has become a common phenomenon. However, the screens of existing electronic devices are designed for users with normal vision, and the color gamut range is larger than the range that people with color deficiency can normally see, resulting in poor color display on the screens of electronic devices and poor usage effects. In particular, game users will watch the screens for a long time, and the experience will be even worse. The color adjustment solutions for color-blind users currently used by some games or video websites do not take into account the differences among color-blind users themselves and cannot achieve personalized adjustments. Summary of the invention

[0004] The present invention provides a personalized color adjustment method for a game interface, which solves the technical problems that the existing game interface cannot adaptively adjust the color to adapt to the use of color-weak / color-blind people with different degrees of defects, and the user experience is poor.

[0005] The present invention can be achieved through the following technical solutions:

[0006] A personalized color adjustment method for a game interface comprises the following steps:

[0007] Step 1: within a set time, display patterns of different colors on the screen at a set frequency, and collect corresponding videos of human pupil changes;

[0008] Step 2: Use the time-domain frequency-domain conversion method to analyze the pupil change video, obtain the pupil size response intensity corresponding to different colors, compare it with the corresponding normal pupil size response intensity, and determine the color blindness / color weakness of the game user;

[0009] Step 3: Adaptively adjust the color of the game interface based on the game user's color blindness / color weakness to improve the game user's color experience when viewing the screen.

[0010] Furthermore, when the time domain to frequency domain conversion method is used to analyze the pupil change video, the pupil area in each frame image is first calculated to construct the pupil area change time series data, and then the pupil area change time series data is converted into frequency domain data using Fourier transform, and fitted into a continuous curve to obtain the average amplitude around the set frequency, excluding the corresponding value at the set frequency, and finally the ordinate value on the continuous curve corresponding to the set frequency is selected, and the difference between the ordinate value and the average amplitude is calculated, and the difference is the pupil size reaction intensity.

[0011] Furthermore, the continuous curve is set as a change curve between frequency and corresponding pupil response, the flashing frequency set by the color pattern is recorded as the set frequency, the ordinate value corresponding to the interval near the set frequency on the continuous curve is selected, and the average value of all ordinate values ​​is taken as the average amplitude.

[0012] Furthermore, for color-blind game users, the percentage value lower than the normal pupil size reaction intensity is calculated based on the pupil size reaction intensity corresponding to different colors of the game user, and the intensity of the corresponding color channel of the game interface is increased by the corresponding percentage value;

[0013] For color-blind game users, increase the intensity of the corresponding color channel in the game interface to the maximum value.

[0014] Furthermore, three main axis colors of red, green and blue are selected and corresponding patterns are designed. The pattern of each main axis color appears on the screen at a set frequency and continues to appear for the same period of time.

[0015] Further, for the red main axis color,

[0016] If the pupil size reaction intensity is less than the normal pupil size reaction intensity, and the pupil size reaction intensity corresponding to the other two main axis colors is in the normal range, it is determined to be red color deficiency, and then the percentage value X below the normal pupil size reaction intensity is calculated, and the red channel intensity of the game interface is correspondingly increased by the percentage value X;

[0017] If the pupil size response intensity is less than the minimum value of the pupil size response intensity, and the pupil size response intensity corresponding to the other two main axis colors is in the normal range, it is determined to be red color blindness, and the red channel intensity of the game interface is increased to the maximum value;

[0018] For a green primary axis color,

[0019] If the pupil size reaction intensity is less than the normal pupil size reaction intensity, and the pupil size reaction intensity corresponding to the other two main axis colors is in the normal range, it is determined to be green color deficiency, and then the percentage value Y below the normal pupil size reaction intensity is calculated, and the green channel intensity of the game interface is increased by percentage value Y accordingly;

[0020] If the pupil size reaction intensity is less than the minimum pupil size reaction intensity, and the pupil size reaction intensity corresponding to the other two main axis colors is in the normal range, it is determined to be green color blindness, and the green channel intensity of the game interface is increased to the maximum value.

[0021] Furthermore, the pattern appears at the center of the screen and includes random black and white noise.

[0022] A computer storage medium includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned adaptive color adjustment method for a game interface.

[0023] An electronic device comprises a memory, a processor and a computer program stored in the memory. When the processor executes the computer program, the electronic device executes the adaptive color adjustment method for a game interface as described above.

[0024] The beneficial technical effects of the present invention are:

[0025] 1. Since the degree of color vision deficiency of game users varies greatly, the personalized color adjustment method of the present invention can be used to adaptively adjust the actual color vision deficiency of game users. It has a high degree of intelligence, can significantly improve the color experience and comfort of game users, and is more practical.

[0026] 2. Use pre-designed patterns of different colors to appear on the screen at a set frequency as visual stimulation. According to the intensity of the pupil size reaction of the game user to these visual stimuli, the color blindness / color weakness of the game user can be judged, so as to adjust the color of the screen in a targeted manner to make it more in line with the actual situation of the game user and improve the gaming experience and comfort. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is the overall flow chart of the present invention;

[0028] Figure 2 A diagram showing the change of the color signal on the screen of the present invention;

[0029] Figure 3 This is an example of collecting human eye images of the present invention;

[0030] Figure 4 is a time series variation curve of pupillary response of the present invention;

[0031] Figure 5 It is the frequency sequence change curve of the pupil response of the present invention. DETAILED DESCRIPTION

[0032] The specific implementation of the present invention is described in detail below with reference to the accompanying drawings and preferred embodiments.

[0033] like Figure 1 As shown, the present invention provides an adaptive color adjustment method for a game interface. First, within a set time, patterns of different colors appear on the screen at a set frequency, and a video of the pupil changes of the game user's eyes is collected; then, the pupil change video is analyzed by using a time domain frequency domain conversion method to obtain the pupil size reaction intensity corresponding to different colors, and the pupil size reaction intensity is compared with the corresponding normal pupil size reaction intensity to determine the color blindness / color weakness of the game user; finally, according to the color blindness / color weakness of the game user, the color of the game interface is adaptively adjusted to improve the comfort of the game user when watching the screen. In this way, with the help of pre-designed patterns of different colors, they appear on the screen at a set frequency as visual stimulation, and according to the pupil size reaction intensity of the game user to these visual stimulations, the color blindness / color weakness of the game user is determined, so as to adjust the color of the screen in a targeted manner, so that it is more in line with the actual situation of the game user, improve the experience and comfort of playing games, and also protect the eyes.

[0034] The details are as follows:

[0035] S1. Visual stimulation generation

[0036] The program generates black and white noise images in real time. The brightness of the noise image is somewhat random. The range of random brightness can be adjusted according to the specific display device. Its average value needs to be the same as the brightness value of the color signal. The random range is preferably 10% around the average value. For example, if the brightness value of the color signal is 100cd / m 2 , then the brightness of black and white noise is within the range of 10% above and below, that is, 90cd / m 2 -110 cd / m 2 Random selection, the purpose of randomness is to mask the slight brightness differences that may exist in the color signal;

[0037] In the center of the noise image, a color signal equal to the average brightness of the background noise is generated, i.e., a visual stimulus. The color signal is based on the DKL color space, and the three main axis colors of red, green, and blue are selected and attached to the corresponding pattern. The color signal will appear or disappear over time, such as Figure 2 As shown, since the pupil will not be induced to react at frequencies above 5Hz, the flickering frequency should be below 5Hz, and the best frequency is between 0.5-2Hz. The test duration of each color should be at least 5 seconds. The longer the test duration, the more accurate the test. The overall setting time should be about 30 seconds, and the corresponding video of the pupil changes of the human eye should be collected during the entire test process.

[0038] S2. Calculation of pupil size response intensity

[0039] When the time-domain to frequency-domain conversion method is used to analyze the pupil change video, the pupil area in each frame is first calculated to construct the pupil area change time series data. Then, the pupil area change time series data is converted into frequency domain data using Fourier transform and fitted into a continuous curve to obtain the average peak value around the set frequency, excluding the value corresponding to the set frequency. Finally, the ordinate value on the continuous curve corresponding to the set frequency is selected, and the difference between the ordinate value and the average peak value is calculated. The difference is the pupil size reaction intensity.

[0040] 1) Get the pupil ROI area from each frame of the video. Figure 3 Take the eye example as an example. The black circle in the middle is the range of the pupil. Fit the edge of the pupil in the figure. The fitting equation is an ellipse. The area within the fitted pupil range is calculated to obtain the pupil area data, thereby obtaining the pupil change time series data corresponding to each main axis color. For example, if the test time of a main axis color is 30 seconds, then 30 seconds of pupil area data is obtained. If the shooting frame rate is 24Hz, then a total of 30×24=720 continuous pupil area data points are obtained. The corresponding time series change curve is as follows: Figure 4 shown.

[0041] 2) Perform fast Fourier transform on the pupil area change time series data. This is a transformation commonly used in mathematics. The purpose is to transform the time domain signal into the frequency domain signal to obtain the pupil reaction size at a specific frequency. Figure 5 It is an example of converting pupil area time series data from the time domain to the frequency domain and fitting it into a continuous curve. When this section of data was recorded, the flickering frequency of its color signal was 1 Hz. Therefore, it can be seen from the figure that in the pupil response results, the amplitude at 1 Hz is very high, with an obvious peak, but it is not necessarily the maximum peak.

[0042] 3) Calculate the pupil size response intensity at the set frequency. The set frequency is the frequency of the color signal flickering. For example, if the color signal flickers at 1Hz, then the set frequency here is 1Hz. The pupil size at 1Hz needs to be used. The pupil size here is the amplitude corresponding to the set frequency in the frequency domain signal obtained by Fourier transform in step 2), that is, the ordinate value. In order to reduce the impact of noise, it is best to subtract the average amplitude at the nearby frequencies from the amplitude at 1Hz.

[0043] Specifically, first obtain the amplitude A1 (f=1) of the set frequency (1 Hz), then calculate the average amplitude at frequencies near the set frequency, i.e. (A2 (f>0.5&f<1)+A3 (f>1&f<1.5)) / 2, and finally subtract the two to obtain the pupil size response intensity P:

[0044] P=A1(f=1)-(A2(f>0.5&f<1)+A3(f>1&f<1.5)) / 2

[0045] S3, color blindness / color weakness determination

[0046] Calculate the color vision function index, that is, compare the pupil size reaction intensity obtained from each main axis color test with the corresponding normal pupil size reaction intensity. If it is lower than a certain standard, it can be judged as color weakness / color blindness. If the reaction is weak only to red, it can be judged as red weakness / color blindness; if the reaction is weak only to green, it can be judged as green weakness / color blindness; if the reaction is weak to red, green and blue, it can be judged as total color blindness.

[0047] According to experimental tests, the following reaction intensity can be used as a standard for determining color blindness and color weakness, and the intensity unit is pixel value. However, it should be noted that this standard may change according to specific application scenarios. If different color pictures or pupil recording devices are used, the judgment standard needs to be retested.

[0048] The details are as follows:

[0049] Pupil size response intensity of people with normal color vision: red (average = 8, minimum = 4), green (average = 15, minimum = 7), blue (average = 16, minimum = 6)

[0050] Judgment basis for red color deficiency: red reaction < the lowest value of 4 in the normal reaction range, and green and blue reactions are in the normal range;

[0051] Judgment basis for red color blindness: red reaction < minimum value 1, and green and blue reactions are in the normal range;

[0052] Green color deficiency is judged based on: green reaction < the lowest value of 7 in the normal reaction range, and red and blue reactions are in the normal range;

[0053] Green color blindness is determined by: green reaction < minimum value 1, and red and blue reactions are within the normal range; total color blindness is determined by: red, green, and blue reactions are all < minimum value 1

[0054] S4. Personalized Adjustment

[0055] According to the color vision function index detected in step S3, according to the relative sizes of the three color vision function indexes, the digital image such as the game interface can be personalized adjusted to enhance the visual experience of color blind / color weak users, that is, for color-weak game users, according to the pupil size reaction intensity corresponding to different colors of the game users, the percentage value lower than the normal pupil size reaction intensity is calculated, and the corresponding color channel intensity of the game interface is increased by the corresponding percentage value; for color-blind game users, the corresponding color channel intensity of the game interface is increased to the maximum value, thereby achieving personalized color adjustment.

[0056] Specifically, for color-blind users, the average value of normal pupil size reaction intensity minus the actual pupil size reaction intensity of the current user is divided by the average value of normal pupil size reaction intensity, and the obtained ratio is used as the percentage value lower than the normal pupil size reaction intensity, and then the color channel intensity corresponding to the game interface is increased by the corresponding percentage value to achieve personalized color adjustment. For example, if a game user is red color-blind and the pupil size reaction intensity to red is 20% weaker than that of normal users, then the red channel in the digital image is enhanced by 20%.

[0057] For color-blind users, it is difficult to see certain colors such as red, so we need to enhance the red channel in the digital image to the maximum value. Although it cannot completely improve the color experience of color-blind users, compared with digital images using normal settings, their color experience is still slightly improved.

[0058] Since different colors in a display device have different brightness, the most accurate solution requires testing the colors of each brightness, which is very time-consuming. However, the color adjustment method of the present invention can be used to quickly implement adjustments based on a single test, thus meeting the actual needs of game users and having strong practicality. At the same time, it can significantly improve the color experience and comfort of game users with color blindness / color weakness. Of course, if necessary, it can also be used for screen color adjustment of other electronic devices such as televisions, online video websites, and electronic communications, and has a wider range of applications.

[0059] The present invention also provides a computer-readable storage medium for storing a computer program. When the computer program is executed by a processor, the electronic device executes the adaptive color adjustment method for a game interface as described above.

[0060] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory. When the processor executes the computer program, the electronic device executes the adaptive color adjustment method for a game interface as described above.

[0061] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.

[0062] The method steps in the embodiments of the present application can be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a CDROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be in an ASIC. In addition, the ASIC can be in a terminal device. Of course, the processor and the storage medium can also be present in a terminal device as discrete components.

[0063] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the present embodiment is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a user device or other programmable device. The computer program or instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, or a tape; it can also be an optical medium, such as a digital video disc (DVD); it can also be a semiconductor medium, such as a solid state drive (SSD).

[0064] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A personalized color adjustment method for a game interface, Features The following steps are involved: Step 1: Within a set time, different colored patterns appear on the screen at a set frequency, and a video of the game user's pupil changes is collected; Step 2: Use the time-domain frequency-domain conversion method to analyze the pupil change video, obtain the pupil size response intensity corresponding to different colors, compare it with the corresponding normal pupil size response intensity, and determine the color blindness / color weakness of the game user; Step 3: Adaptively adjust the color of the game interface based on the game user's color blindness / color weakness to improve the game user's color experience when viewing the screen.

2. The personalized color adjustment method for a game interface according to claim 1, Features: When the time-domain to frequency-domain conversion method is used to analyze the pupil change video, the pupil area in each frame is first calculated to construct the pupil area change time series data. Then, the pupil area change time series data is converted into frequency domain data using Fourier transform and fitted into a continuous curve to obtain the average amplitude around the set frequency, excluding the value corresponding to the set frequency. Finally, the ordinate value on the continuous curve corresponding to the set frequency is selected, and the difference between the ordinate value and the average amplitude is calculated. The difference is the pupil size reaction intensity.

3. The personalized color adjustment method for a game interface according to claim 2, Features: The continuous curve is set as a change curve between frequency and corresponding pupil response, the flashing frequency set by the color pattern is recorded as the set frequency, the ordinate value corresponding to the interval near the set frequency on the continuous curve is selected, and the average value of all ordinate values ​​is taken as the average amplitude.

4. The personalized color adjustment method for a game interface according to claim 1, Features: For color-blind game users, the percentage value of the pupil size reaction intensity lower than the normal pupil size reaction intensity is calculated based on the pupil size reaction intensity corresponding to different colors of the game user, and the intensity of the corresponding color channel of the game interface is increased by the corresponding percentage value; For color-blind game users, increase the intensity of the corresponding color channel in the game interface to the maximum value.

5. The personalized color adjustment method for a game interface according to claim 4, Features: Select the three main axis colors of red, green and blue and design corresponding patterns. The pattern of each main axis color appears on the screen at the set frequency and lasts for the same amount of time.

6. The personalized color adjustment method for a game interface according to claim 5, Features: The pattern appears in the center of the screen and consists of random black and white noise.

7. The personalized color adjustment method for a game interface according to claim 5, Features: For red primary axis color, If the pupil size reaction intensity is less than the normal pupil size reaction intensity, and the pupil size reaction intensity corresponding to the other two main axis colors is in the normal range, it is determined to be red color deficiency, and then the percentage value X below the normal pupil size reaction intensity is calculated, and the red channel intensity of the game interface is correspondingly increased by the percentage value X; If the pupil size response intensity is less than the minimum value of the pupil size response intensity, and the pupil size response intensity corresponding to the other two main axis colors is in the normal range, it is determined to be red color blindness, and the red channel intensity of the game interface is increased to the maximum value; For a green primary axis color, If the pupil size reaction intensity is less than the normal pupil size reaction intensity, and the pupil size reaction intensity corresponding to the other two main axis colors is in the normal range, it is determined to be green color deficiency, and then the percentage value Y below the normal pupil size reaction intensity is calculated, and the green channel intensity of the game interface is increased by percentage value Y accordingly; If the pupil size reaction intensity is less than the minimum pupil size reaction intensity, and the pupil size reaction intensity corresponding to the other two main axis colors is in the normal range, it is determined to be green color blindness, and the green channel intensity of the game interface is increased to the maximum value.

8. A computer storage medium, Features: It comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the personalized color adjustment method for a game interface as described in any one of claims 1-7.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory, Features: When the processor executes the computer program, the electronic device executes the personalized color adjustment method for the game interface as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method, terminal and head-worn display equipment for automatically adjusting screen brightness

    CN104581127A

  • Color blindness auxiliary system

    CN104794700A

  • Method for measuring PPI through pupils

    CN109480866A

  • Chimeric virus expressing infectious bursal disease antigen and / or avian influenza antigen and vaccine composition containing the same

    KR1020250009628A

  • Portable ocular response testing device and methods of use

    US20180333092A1