Human eye color difference grade threshold value measurement method and device, medium and product

By generating the different color axis in the Ycbcr color space and calculating the different color Ycbcr value, the figure to be identified is formed, which solves the problem of low measurement accuracy of human eye color recognition ability in the prior art, and realizes the ability to recognize human eye color Fine measurement.

CN119418388AInactive Publication Date: 2025-02-11BEIJING JUEMING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411471344.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-02-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art is low in the accuracy of measuring the recognition ability of the human eye to color, making it difficult to specifically determine the recognition ability of the human eye to color.

Method used

By generating the different color axis corresponding to the basic color, calculate the Ycbcr value of the different color in the Ycbcr color space, fill the basic color and the different color in the figure according to the predetermined arrangement rules, and form the figure to be identified until the detected person correctly recognizes the different The color position is recorded at this time and the color difference level is the threshold value of the color difference level that can be recognized by the human eye.

Benefits of technology

The accuracy of measuring the color recognition ability of the human eye can be improved, and the color difference level threshold of the human eye can be specifically determined for any color.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119418388A_ABST
    Figure CN119418388A_ABST
Patent Text Reader

Abstract

The invention discloses a human eye color difference grade threshold value measuring method and device, a medium and a product, and the method comprises the steps that a heterochromatic axis corresponding to a basic color is generated, the basic color refers to any color with the Ycbcr value being a preset value, and the heterochromatic axis is formed by gradually increasing a blue or red chromaticity component in the Ycbcr value of the basic color according to a preset chromaticity component; calculating a Ycbcr value of the heterochromatic color based on the chromatic aberration grade, the basic color and the heterochromatic axis; based on the Ycbcr value of the basic color and the Ycbcr value of the different color, filling the basic color and the different color in a preset graph according to a preset arrangement rule to obtain a to-be-recognized graph, so that the detected person recognizes the position of the different color in the to-be-recognized graph; and when the different-color position is incorrect, increasing the color difference level, and repeatedly executing the steps until the correct different-color position is received, and recording the color difference level at the moment as a color difference level threshold value which can be identified by the detected person. According to the invention, the detection precision of the human eye color recognition capability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of detecting the color recognition ability of the human eye, and in particular to a method, device, medium and product for measuring the color difference level threshold of the human eye. Background Art

[0002] The human eye is an important organ of the human body and can recognize colors.

[0003] In some cases, it is necessary to determine the color recognition ability of the human eye. At present, the following method can be used to qualitatively determine the color recognition ability of the human eye: generate a pattern to be recognized, such as a rabbit pattern, the pattern to be recognized is composed of multiple areas; fill each area with a different color; the subject recognizes the pattern; when the recognition is correct, it is determined that the subject's human eye's color recognition ability meets the standard; if the image cannot be recognized normally, for example, the rabbit is recognized as a puppy, it is determined that the subject's human eye's color recognition ability does not meet the standard.

[0004] In addition, existing human eye color tests also include the common Ishihara test, but this method can only distinguish between color weakness and color blindness, and cannot more precisely measure the ability to recognize a certain color. Similarly, the Munsell 100 color test and the 15-color arrangement test are difficult to be precise and difficult to adjust the color according to needs.

[0005] Therefore, from the above content, it can be seen that the existing technology can only make a rough qualitative judgment on the ability of the human eye to recognize colors, and cannot specifically determine the ability of the human eye to recognize colors. Therefore, in measuring the ability of the human eye to recognize colors, the measurement accuracy is still relatively low. Summary of the invention

[0006] The purpose of this application is to provide a method, device, medium and product for measuring the color difference level threshold of the human eye to solve the problems described in the background technology.

[0007] To achieve the above objectives, this application provides the following solutions:

[0008] In a first aspect, the present application provides a method for measuring a human eye color difference level threshold, which is applied to a computer device, comprising:

[0009] When receiving a human eye color difference level threshold measurement instruction, a heterochromatic axis corresponding to a basic color is generated, wherein the basic color refers to any color whose YCbcr value has a predetermined value, and the heterochromatic axis is formed by gradually increasing the blue chromaticity component or the red chromaticity component in the YCbcr value of the basic color according to a predetermined chromaticity component based on the basic color;

[0010] Based on the color difference level, the basic color and the heterochromatic axis, the YCbcr value of the heterochromatic color is calculated, and for the heterochromatic axis, as the chromaticity component increases, the color difference level increases, and the heterochromatic color is located on the heterochromatic axis;

[0011] Based on the YCbcr value of the basic color and the YCbcr value of the different color, the basic color and the different color are filled in a predetermined pattern according to a predetermined arrangement rule to obtain a pattern to be identified, so that the subject can identify the position of the different color in the pattern to be identified;

[0012] When the heterochromatic position is incorrect, the color difference level is increased, and the steps of "calculating the YCbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic axis" to "enabling the subject to identify the heterochromatic position in the to-be-identified graphic" are repeated until the correct heterochromatic position is received, and the color difference level at this time is recorded as the color difference level threshold that can be recognized by the subject.

[0013] Optionally, for a basic color, the heterochromatic axis is determined by the following method:

[0014] Get the Ycbcr value of the basic color;

[0015] The Ycbcr value of the basic color is sent to a color calculation model, so that the color calculation model outputs a heterochromatic axis of the basic color in a Ycbcr color space.

[0016] Optionally, the calculating the YCbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic color axis includes:

[0017] Get the Ycbcr value of the basic color;

[0018] Determine the product of the color difference level and the level chromaticity component to obtain the level increment value of the chromaticity component between the different color and the basic color, wherein the level chromaticity component is the increment of the chromaticity component between every two adjacent color difference levels;

[0019] The sum of the YCbcr value of the basic color and the level increment value is determined to obtain the YCbcr value of the different color.

[0020] Optionally, the computer device obtains the heterochromatic position determined by the subject by the following method:

[0021] Sending the to-be-recognized pattern to a display, so that the display displays the to-be-recognized pattern, thereby allowing the subject to recognize the heterochromatic position through the display;

[0022] The heterochromatic position recognized by the detected person and sent by the human-computer interaction device is received.

[0023] Optionally, after receiving the heterochromatic position recognized by the detected person and sent by the human-computer interaction device, the method further includes:

[0024] Receiving a different color position refresh instruction sent by an operator through a human-computer interaction device;

[0025] In response to the different color position refresh instruction, the position of the different color in the predetermined pattern is changed according to a predetermined different color position change rule to obtain a new pattern to be identified;

[0026] Sending the new pattern to be identified to the display so that the subject can identify the position of the heterochromatic color;

[0027] Receiving a new heterochromatic position sent by an operator through a human-computer interaction device, and determining the correctness of the new heterochromatic position;

[0028] Repeat the steps of "receiving a different color position refresh instruction sent by an operator through a human-computer interaction device" to "receiving a new different color position sent by an operator through a human-computer interaction device, and determining the correctness of the new different color position". When the person being tested gives a correct answer to the different color position for a predetermined number of consecutive times, it is determined that the different color position is correctly identified; otherwise, it is determined that the different color position is incorrectly identified.

[0029] Optionally, the predetermined arrangement rule includes: the number of area blocks of the basic color is greater than the number of area blocks of the different color, or the number of area blocks of the basic color is less than the number of area blocks of the different color.

[0030] Optionally, the display includes a main display and a sub-display, and sending the to-be-recognized graphic to the display includes: sending the to-be-recognized graphic to the main display and the sub-display.

[0031] In a second aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any one of the methods described in the first aspect.

[0032] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.

[0033] In a fourth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.

[0034] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0035] The present application provides a method, device, medium and product for measuring the color difference level threshold of human eyes, the method comprising: when receiving a human eye color difference level threshold measurement instruction, generating a heterochromatic axis corresponding to a basic color, wherein the basic color refers to any color with a YCbcr value of a predetermined value, and the heterochromatic axis is formed by gradually increasing the blue chromaticity component or the red chromaticity component in the YCbcr value of the basic color according to the predetermined chromaticity component based on the basic color; calculating the YCbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic axis; calculating the YCbcr value of the heterochromatic color based on the YCbcr value of the basic color and the YCbcr value of the basic color ... The YCbcr value of the heterochromatic color is used to fill the basic color and the heterochromatic color in a predetermined pattern according to a predetermined arrangement rule to obtain a pattern to be identified, so that the person being detected can identify the heterochromatic position in the pattern to be identified; when the heterochromatic position is incorrect, the color difference level is increased, and the "calculation of the YCbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic axis" to "so that the person being detected can identify the heterochromatic position in the pattern to be identified" is repeated until the correct heterochromatic position is received, and the color difference level at this time is recorded as the color difference level threshold that can be identified by the person being detected. As for the prior art, by identifying a pattern filled with different colors, if the pattern can be identified, it is determined that the human eye has the ability to recognize colors. If the pattern cannot be identified, it is determined that the human eye has no ability to recognize colors, and only a rough judgment is made, and the measurement accuracy is low. In measuring the ability of the human eye to recognize colors, the embodiment of the present application can determine the color difference level threshold for the human eye to recognize the color for any color, thereby improving the measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 This is an application environment diagram of a method for measuring color difference level threshold of human eyes in one embodiment of the present application;

[0038] Figure 2 A schematic diagram of a flow chart of a method for measuring a color difference level threshold of a human eye provided in an embodiment of the present application;

[0039] Figure 3 A schematic diagram of a process for forming a heterochromatic axis provided in one embodiment of the present application;

[0040] Figure 4 A schematic diagram of a flow chart of a method for determining heterochromatic Ycbcr provided in an embodiment of the present application;

[0041] Figure 5 A schematic diagram of a heterochromatic axis provided in one embodiment of the present application;

[0042] Figure 6 A schematic diagram of a graphic to be identified provided in another embodiment of the present application;

[0043] Figure 7 A schematic flow chart of a method for receiving a heterochromatic position identified by a subject by a computer device provided in one embodiment of the present application;

[0044] Figure 8 A schematic diagram of a process for determining whether heterochromatic position recognition is correct or not provided in an embodiment of the present application;

[0045] Fig. 9 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0048] The method for measuring the color difference level threshold of the human eye provided in the embodiment of the present application is applied to Figure 1 In the environment shown, the application environment includes: a computer device, a display and a console.

[0049] The computer device is used to obtain a basic color and a different color, and fill the basic color and the different color into a predetermined graphic, thereby obtaining a graphic to be recognized; and send the graphic to be recognized to the display.

[0050] The display is communicatively connected to the computer device, and is used to receive and display the graphics to be identified, so that the subject can identify the different colors in the graphics to be identified through the display, thereby determining the color difference level threshold of the subject.

[0051] The console is communicatively connected with the computer device for performing human-computer interaction and sending the contents input by the operator through the console to the computer device.

[0052] Among them, the console can be a touch screen type with buttons set on the touch screen, or it can be a mechanical button type. The embodiment of the present application does not limit this, as long as the console can realize human-computer interaction.

[0053] The computer device is also used to measure the color difference level threshold based on the situation of the detected and identified heterochromatic color.

[0054] The computer device is also used to calculate a heterochromatic axis, which is a color axis formed by gradually increasing the blue chromaticity component and the red chromaticity component in the Ycbcr value of any color according to a predetermined chromaticity component.

[0055] The computer device is also used to calculate the Ycbcr value of the heterochromatic color based on the heterochromatic color axis, the basic color and the color difference level.

[0056] The computer device is also used to receive control instructions input by the user through the console, such as instructions for adding or subtracting color difference levels and instructions for refreshing different color positions.

[0057] The devices included in the application environment are connected to each other in communication as needed, which may include wired or wireless connections, to exchange data.

[0058] Furthermore, the display includes a main display and a sub-display, the main display is used to receive the graphics to be identified sent by the computer device and display them so that medical staff can view the graphics to be identified through the main display; the sub-display is used to receive the graphics to be identified sent by the computer device and display them so that the person being tested can view the graphics to be identified through the sub-display.

[0059] The graphics to be identified are displayed together on the main display and the sub-display, so that medical workers and the subjects can view the graphics to be identified conveniently.

[0060] In addition, the computer device may be a terminal device or a server.

[0061] The terminals may be, but are not limited to, various desktop computers, laptops, smart phones, tablet computers, IoT devices and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server may be implemented as an independent server or a server cluster consisting of multiple servers, or a cloud server.

[0062] For more detailed information about the functions and usage of each device in the detection system, please refer to the relevant description in the following method, which will not be described in detail in this application.

[0063] Furthermore, the display includes a main display and a sub-display, the main display is used to receive the graphics to be identified sent by the computer device and display them so that medical staff can view the graphics to be identified through the main display; the sub-display is used to receive the graphics to be identified sent by the computer device and display them so that the person being tested can view the graphics to be identified through the sub-display.

[0064] The graphics to be identified are displayed together on the main display and the sub-display, so that medical workers and the subjects can view the graphics to be identified conveniently.

[0065] In an exemplary embodiment, Figure 2 As shown, a method for measuring the color difference level threshold of human eyes is provided. Figure 1 The computer device in the embodiment is executed, for any color, the method includes the following steps 2031-2034:

[0066] Step 2031, when a human eye color difference level threshold measurement instruction is received, a color axis corresponding to a basic color is generated, wherein the basic color refers to any color whose Ycbcr value is a predetermined value, and the color axis is formed by gradually increasing the blue chromaticity component or the red chromaticity component in the Ycbcr value of the basic color according to a predetermined chromaticity component based on the basic color.

[0067] The human eye color difference level threshold is the color difference level that can be recognized by the subject.

[0068] The human eye color difference level threshold measurement instruction may be input to the computer device by an operator through a user interface. For example, a medical staff or the person being tested may input the instruction to the computer device through a user interface. The user interface here may be the console mentioned above.

[0069] The color difference level is the level corresponding to the color of different Ycbcr values ​​determined in advance according to the heterochromatic axis.

[0070] Among them, the basic color is the color with the lowest level on the heterochromatic axis, and each color corresponds to a color difference level threshold.

[0071] The heterochromatic axis can also be formed by gradually decreasing the blue chromaticity component and the red chromaticity component in the Ycbcr value of the basic color according to the predetermined color difference level, that is, on the heterochromatic axis, the basic color is located at the initial position of the heterochromatic axis. For the convenience of description, this application takes the color difference level reduction and increase as an example. For the situation where the color difference level is gradually reduced, the relevant content of the color difference level gradually increasing can be referred to, and this application will not be described in detail here.

[0072] The predetermined chromaticity component may be determined based on experience. For example, the chromaticity component added between every two adjacent colors on the color axis is 5.

[0073] Each basic color corresponds to a heterochromatic axis. The color at the starting position of the color axis is the basic color. The heterochromatic colors other than the basic colors, that is, the heterochromatic colors farther away from the basic colors, have greater chromaticity components.

[0074] Therefore, see Figure 3 For a basic color, the heterochromatic axis in step 2031 is determined by the following steps 2031a and 2031b:

[0075] Step 2031a: Get the Ycbcr value of the basic color.

[0076] Step 2031b: Send the Ycbcr value of the basic color to the color calculation model, so that the color calculation model outputs the heterochromatic axis of the basic color in the Ycbcr color space.

[0077] The color calculation model determines the heterochromatic axis through the following process: the Y value remains unchanged; the cb value (or cr value) is gradually increased according to the predetermined blue chromaticity component (or the predetermined red chromaticity component) to obtain the color axis. For a more detailed generation process of the color axis, please refer to the relevant description in the prior art, which will not be described in detail in this application.

[0078] The predetermined blue chromaticity component and the predetermined red chromaticity component are the predetermined chromaticity components mentioned above, which are generally very small so as to determine a color axis with uniform and gradual color change.

[0079] In addition, it should be noted that when determining the heterochromatic axis, it can be determined only by a predetermined blue chromaticity component, or it can be determined only by a predetermined red chromaticity component, that is, for a basic color, two color axes can be determined, which are respectively recorded as the first color axis and the second color axis. Further, in the present application, when referring to "heterchromatic axes", it can be one of them, and in order to improve the accuracy of human eye color difference level threshold detection, it can also be two. When two heterochromatic axes are selected, the human eye color difference level threshold is based on the average of the human eye color difference level thresholds obtained by detecting the two heterochromatic axes.

[0080] Step 2032, calculating the Ycbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic color axis.

[0081] For the heterochromatic axis, as the chromatic component increases, the color difference level increases, and the heterochromatic color is located on the heterochromatic axis. Since the basic color is located at the initial position of the heterochromatic axis, the color difference level of the basic color is 0, and the color difference level of the heterochromatic color increases in natural numbers starting from 1. The larger the color difference level, the larger the blue chromatic component or red chromatic component of the heterochromatic color. For two adjacent color difference levels, multiple predetermined chromatic components are spanned.

[0082] Among them, when determining the heterochromatic color for the first time, the color difference level is generally selected at a low level, such as level 1 or level 2; if the person being tested cannot recognize the heterochromatic color of the current level, it can be increased step by step or skipped, and the embodiment of the present application does not limit this.

[0083] Among them, when the color difference level is level 1, the color difference between the heterochromatic color and the basic color is the smallest, that is, it is closest to the basic color in visual effect, so it is also the heterochromatic color that is most difficult for the tester to identify. The higher the level, the easier it is to identify.

[0084] In addition, it should be noted that when selecting the color difference level for the first time, you can also start from a high level and gradually decrease the level. The relevant method is similar to selecting a low level first, and will not be described in detail here.

[0085] Alternatively, see Figure 4 , step 2032 is implemented by the following steps 2032a-2032c:

[0086] Step 2032a, obtaining the Ycbcr value of the basic color.

[0087] The Ycbcr value of the basic color is determined in advance by humans, and the Ycbcr value of the basic color is stored in the computer device. Therefore, when the Ycbcr value of the basic color needs to be obtained, it can be directly obtained from the storage location of the computer device.

[0088] Step 2032b, determining the product of the color difference level and the level chromaticity component, and obtaining the level increment value of the chromaticity component between the different color and the basic color, wherein the level chromaticity component is the increment of the chromaticity component between every two adjacent color difference levels.

[0089] The level chromaticity component may also be referred to as a chromaticity component corresponding to a special step distance, where the special step distance is the distance between every two adjacent color difference levels.

[0090] It should be noted that the special step distance can be Euclidean distance, Manhattan distance or cosine distance.

[0091] In addition, for the difference and relationship between the predetermined chromaticity component and the graded chromaticity component on the heterochromatic axis, please refer to Figure 5 , this application will not be described in detail here.

[0092] Step 2032c, determining the sum of the YCbcr value of the basic color and the level increment value, and obtaining the YCbcr value of the different color.

[0093] It should be noted here that if the computer stores the Ycbcr value of each color difference level, step 2023 can directly obtain the Ycbcr value corresponding to the color difference level from the storage location of the computer device according to the color difference level without recalculating; if the computer device does not store it, execute steps 2032a-step 2032c to calculate the Ycbcr value.

[0094] Step 2033, based on the YCbcr value of the basic color and the YCbcr value of the different color, fill the basic color and the different color in a predetermined pattern according to a predetermined arrangement rule to obtain a pattern to be identified, so that the person being tested can identify the position of the different color in the pattern to be identified.

[0095] The different color position is an area filled with different colors in the graphics to be identified.

[0096] The predetermined pattern includes a plurality of regions, and these regions are used to fill different colors or basic colors.

[0097] Optionally, the predetermined arrangement rule includes that the number of the base color area blocks is greater than the number of the heterochromatic color area blocks. Further, see Figure 6 The pattern to be identified includes 3 area blocks of the basic color and 1 area block of the different color. Of course, the number of area blocks of the basic color may be less than the number of area blocks of the different color, and this embodiment of the application does not limit this.

[0098] Alternatively, see Figure 7 The computer device obtains the heterochromatic position determined by the subject through the following steps 20331 and 20332:

[0099] Step 20331, sending the pattern to be identified to a display, so that the display displays the pattern to be identified, thereby allowing the person being tested to identify the heterochromatic position through the display.

[0100] After the image to be identified is displayed on the monitor, the person being tested can see the image to be identified through the monitor to determine the position of the heterochromatic color, and send the position of the heterochromatic color to the computer device through a human-computer interaction device, such as a console.

[0101] Optionally, the display includes a main display and a sub-display, and the above step 20331 includes: sending the graphics to be identified to the main display and the sub-display.

[0102] The main display is used for viewing by medical staff, and the secondary display is used for viewing by the person being tested, which improves the convenience of each person using the equipment during the testing process, thereby also improving the testing efficiency.

[0103] Step 20332, receiving the heterochromatic position identified by the subject sent by the human-computer interaction device.

[0104] When the subject determines which area blocks are heterochromatic areas, the position of the area blocks where the heterochromatic areas are located is sent to the computer device through the human-computer interaction device; the computer device determines whether the recognition result of the subject is correct. When the recognized heterochromatic position is correct, the color difference level at this time is determined to be the recognizable color difference level threshold of the subject on the basic color; when the heterochromatic position is determined to be incorrect, step 2034 is executed.

[0105] Step 2034, when the heterochromatic position is incorrect, increase the color difference level, and repeat the above steps 2032 and 2033 until the correct heterochromatic position is received, and record the color difference level at this time as the color difference level threshold that can be recognized by the subject.

[0106] For any basic color, the corresponding color difference level threshold is calculated according to the method described in the above steps 2031 to 2034. However, since there are infinite YCbCr values ​​of colors, and thus infinite colors, it is impossible to detect all colors when detecting the color difference level of the human eye, so some representative colors are generally selected, such as red, orange, yellow, green, cyan, blue and purple, and the corresponding relationship between the basic color and the color difference level threshold is obtained for each color.

[0107] Exemplarily, when there are 7 basic colors, each basic color corresponds to 2 color axes, and the human eye color difference level thresholds include 14 in total.

[0108] The final color difference level can be the average value of 14 human eye color difference level thresholds to obtain the approximate color difference level threshold of the human eye; or it can be two human eye color difference level thresholds corresponding to each color.

[0109] Alternatively, see Figure 8 After step 20332, the method further includes steps 20333-20337:

[0110] Step 20333, receiving a different color position refresh instruction sent by the operator through the human-computer interaction device.

[0111] The operator can be a medical staff or the person being tested.

[0112] Step 20334, in response to the different color position refresh instruction, the position of the different color in the predetermined pattern is changed according to a predetermined different color position change rule to obtain a new pattern to be identified.

[0113] Step 20335, sending the new pattern to be identified to the display so that the person being tested can identify the position of the different color.

[0114] After the subject recognizes the position of the heterochromatic color, the position of the heterochromatic color is sent to the computer device again through the human-computer interaction device.

[0115] Step 20336, receiving the new heterochromatic position sent by the operator through the human-computer interaction device, and determining the correctness of the new heterochromatic position.

[0116] Step 20337, repeat the above steps 20333 to 20336. When the subject gives correct answers to the heterochromatic position for a predetermined number of consecutive times, it is determined that the heterochromatic position is correctly identified. Otherwise, it is determined that the heterochromatic position is incorrectly identified.

[0117] For each different color, the above steps 2033 to 2037 can be performed to change the position of the different color multiple times, for example, 3 times, so that the person being tested can determine the position of the different color multiple times to improve the detection accuracy.

[0118] In addition, the Y value in the Ycbcr color space is the brightness channel. In the measurement of the color difference level threshold of the human eye, the heterochromatic color on each heterochromatic axis will gradually change with the test. However, in the process of gradual change of heterochromatic color, the color brightness needs to be controlled to remain unchanged. Therefore, the application uses the Ycbcr color space to facilitate the control of color brightness and prove the difference in human eye perception of color. For the conventional RGB color space, each color channel contains the brightness factor, and it is difficult to control the brightness factor separately.

[0119] In addition, the relevant contents of the method can also be found in the relevant description of the above-mentioned detection system, and this application will not elaborate on it here.

[0120] The present application provides a method for measuring a human eye color difference level threshold, the method comprising: when receiving a human eye color difference level threshold measurement instruction, generating a heterochromatic axis corresponding to a basic color, wherein the basic color refers to any color whose YCbcr value is a predetermined value, and the heterochromatic axis is formed by gradually increasing the blue chromaticity component or the red chromaticity component in the YCbcr value of the basic color according to the predetermined chromaticity component based on the basic color; calculating the YCbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic axis; calculating the YCbcr value of the heterochromatic color based on the YCbcr value of the basic color and the YCbcr value of the heterochromatic color ... Ycbcr value, fill the basic color and the heterochromatic color in a predetermined pattern according to a predetermined arrangement rule to obtain a pattern to be identified, so that the person being detected can identify the heterochromatic position in the pattern to be identified; when the heterochromatic position is incorrect, increase the color difference level, and repeat the "calculate the Ycbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic axis" to "so that the person being detected can identify the heterochromatic position in the pattern to be identified" until the correct heterochromatic position is received, and record the color difference level at this time as the color difference level threshold that can be recognized by the person being detected. As for the prior art, the human eye's ability to recognize colors is determined by identifying patterns filled with different colors. In measuring the human eye's ability to recognize colors, the embodiment of the present application can determine the color difference level threshold for the human eye to recognize the color for any color, thereby improving the measurement accuracy.

[0121] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to the measurement of the color difference level threshold of the human eye. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for measuring the color difference level threshold of the human eye is implemented.

[0122] Those skilled in the art will understand that Fig. 9The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0123] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0124] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0125] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0126] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0127] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0128] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.

[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0130] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A method for measuring the color difference level threshold of human eyes, characterized in that: Applied to computer equipment, for any color, including: When receiving a human eye color difference level threshold measurement instruction, a heterochromatic axis corresponding to a basic color is generated, wherein the basic color refers to a color whose YCbcr value has a predetermined value, and the heterochromatic axis is formed by gradually increasing the blue chromaticity component or the red chromaticity component in the YCbcr value of the basic color according to a predetermined chromaticity component based on the basic color; Based on the color difference level, the basic color and the heterochromatic axis, the YCbcr value of the heterochromatic color is calculated, and for the heterochromatic axis, as the chromaticity component increases, the color difference level increases, and the heterochromatic color is located on the heterochromatic axis; Based on the YCbcr value of the basic color and the YCbcr value of the different color, the basic color and the different color are filled in a predetermined pattern according to a predetermined arrangement rule to obtain a pattern to be identified, so that the subject can identify the position of the different color in the pattern to be identified; When the heterochromatic position is incorrect, increase the color difference level, and repeat "calculate the YCbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic axis" to "enable the subject to identify the heterochromatic position in the to-be-identified graphic" until the correct heterochromatic position is received, and record the color difference level at this time as the color difference level threshold that can be recognized by the subject.

2. The method for measuring the color difference level threshold of human eyes according to claim 1, characterized in that: For a basic color, the heterochromatic axis is determined by the following method: Get the Ycbcr value of the basic color; The Ycbcr value of the basic color is sent to a color calculation model, so that the color calculation model outputs a heterochromatic axis of the basic color in a Ycbcr color space.

3. The method for measuring the color difference level threshold of human eyes according to claim 1, characterized in that: The calculating the Ycbcr value of the heterochromatic color based on the color difference level, the basic color and the heterochromatic color axis includes: Get the Ycbcr value of the basic color; Determine the product of the color difference level and the level chromaticity component to obtain the level increment value of the chromaticity component between the different color and the basic color, wherein the level chromaticity component is the increment of the chromaticity component between every two adjacent color difference levels; The sum of the YCbcr value of the basic color and the level increment value is determined to obtain the YCbcr value of the different color.

4. The method for measuring the color difference level threshold of human eyes according to claim 1, characterized in that: The computer device obtains the heterochromatic position determined by the subject through the following method: Sending the to-be-recognized pattern to a display, so that the display displays the to-be-recognized pattern, thereby allowing the subject to recognize the heterochromatic position through the display; The heterochromatic position recognized by the detected person and sent by the human-computer interaction device is received.

5. The method for measuring the color difference level threshold of human eyes according to claim 4, characterized in that: After receiving the heterochromatic position recognized by the detected person sent by the human-computer interaction device, the method further includes: Receiving a different color position refresh instruction sent by an operator through a human-computer interaction device; In response to the different color position refresh instruction, the position of the different color in the predetermined pattern is changed according to a predetermined different color position change rule to obtain a new pattern to be identified; Sending the new pattern to be identified to the display so that the subject can identify the position of the heterochromatic color; Receiving a new heterochromatic position sent by an operator through a human-computer interaction device, and determining the correctness of the new heterochromatic position; Repeat the steps of "receiving a heterochromatic position refresh instruction sent by an operator through a human-computer interaction device" to "receiving a new heterochromatic position sent by an operator through a human-computer interaction device, and determining the correctness of the new heterochromatic position". When the person being tested gives a correct answer to the heterochromatic position for a predetermined number of consecutive times, it is determined that the heterochromatic position is correctly identified; otherwise, it is determined that the heterochromatic position is incorrectly identified.

6. The method for measuring the color difference level threshold of human eyes according to claim 5, characterized in that: The predetermined arrangement rule includes: the number of area blocks of the basic color is greater than the number of area blocks of the different color, or the number of area blocks of the basic color is less than the number of area blocks of the different color.

7. The method for measuring the color difference level threshold of human eyes according to claim 4 or 5, characterized in that: The display includes a main display and a sub-display, and sending the to-be-recognized graphic to the display includes: sending the to-be-recognized graphic to the main display and the sub-display.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for measuring the color difference level threshold of the human eye according to any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for measuring the color difference level threshold of the human eye described in any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for measuring the color difference level threshold of the human eye described in any one of claims 1 to 7 is implemented.