Screen calibration method and device, electronic equipment and storage medium
By configuring multiple test probes in different areas of the screen and using color compensation values for calibration, the problem of low screen color calibration efficiency is solved, achieving efficient and accurate screen color calibration.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2024-10-23
- Publication Date
- 2026-04-24
AI Technical Summary
In existing technologies, the testing efficiency during screen color calibration is low and the time consumption is long, making it difficult to meet the high requirements of screen display color calibration.
By configuring multiple test probes in different display areas of the screen, different colors can be detected simultaneously using different test probes to obtain color values of different display areas of the screen, and calibration can be performed using color compensation values, thereby reducing the time required for individual testing.
It improves the efficiency and accuracy of screen color calibration, shortens the testing cycle, and ensures that the screen display colors meet the standards.
Smart Images

Figure CN121922053A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of terminal technology, and in particular to a screen calibration method, apparatus, electronic device and storage medium. Background Technology
[0002] With the continuous development of terminal technology, people have increasingly higher requirements for the visual experience of screen display colors in electronic devices.
[0003] In related technologies, color calibration of electronic device screens involves using test probes to perform successive color tests on the screen, thereby calibrating the screen's color. However, as people's requirements for screen display color continue to increase, the number of images tested by the test probes during the screen color calibration process also increases. Therefore, the testing efficiency is low. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides a screen calibration method, apparatus, electronic device, and storage medium.
[0005] According to a first aspect of the present disclosure, a screen calibration method is provided, comprising: displaying a test image, the test image having multiple display areas on a screen, wherein the same color is displayed in the same display area and different colors are displayed in different display areas; detecting color values corresponding to each of the multiple display areas based on multiple test probes, wherein the color values are the color coordinate values of the pixel values of the test image in a preset color space; and calibrating the colors displayed in the multiple display areas based on the color values corresponding to each of the multiple display areas.
[0006] In one embodiment, adjacent display areas of the screen share a common edge, and the common vertex of the multiple display areas is the center point of the screen display area. The distance between the multiple test probes and the center of the screen is less than a distance threshold. The step of detecting the color value corresponding to each of the multiple display areas based on the multiple test probes includes: placing the multiple test probes near the center of the screen in each of the multiple display areas, and detecting the color value of each of the multiple display areas near the center of the screen.
[0007] In one embodiment, calibrating the colors displayed in the plurality of display areas based on the color values corresponding to each of the plurality of display areas includes: compensating the color values corresponding to the display areas based on the color compensation values of each of the plurality of display areas to obtain the compensated color values of each of the plurality of display areas; and calibrating the colors displayed in the plurality of display areas based on the compensated color values of each of the plurality of display areas.
[0008] In one embodiment, the color compensation values of each of the plurality of display areas are predetermined as follows: Multiple test probes are placed in each of the plurality of display areas near the center of the screen; the screen is controlled to sequentially display N test images, each of the N test images dividing the screen display area into multiple centrally symmetrical display areas with the screen center as the display center area, where N is a positive integer; based on the plurality of test probes, the color values of the N test images at their respective locations near the screen center in each of the plurality of display areas are detected to obtain the color detection value of each display area; one of the multiple test probes is placed at the center of the screen, and the screen is controlled to sequentially display the N test images; based on the one test probe, the color values of the N test images at the screen center are detected to obtain the color detection value at the screen center position; the first difference between the color detection value at the screen center position and the color detection values of each display area is determined as the color compensation value of each of the plurality of display areas.
[0009] In one embodiment, calibrating the colors displayed in the plurality of display areas based on their respective compensated color values includes: determining a second difference between the compensated color values of the plurality of display areas and the color value at the center position; in response to the second difference being greater than a difference threshold, repeatedly executing the process of obtaining color compensation values and determining the second difference until the second difference is less than the difference threshold, and redetermining the compensated color values; and calibrating the colors displayed in the plurality of display areas based on the redetermined compensated color values.
[0010] According to a second aspect of the present disclosure, a screen calibration apparatus is provided, comprising: a display unit for displaying a test image, the test image having multiple display areas on the screen, wherein the same color is displayed in the same display area and different colors are displayed in different display areas; and a processing unit for detecting, based on multiple test probes, the color values corresponding to each of the multiple display areas, wherein the color values are the color coordinate values of the pixel values of the test image in a preset color space; and calibrating the colors displayed in the multiple display areas based on the color values corresponding to each of the multiple display areas.
[0011] In one embodiment, adjacent display areas of the screen share a common edge, and the common vertex of the multiple display areas is the center point of the screen display area. The distance between the multiple test probes and the center of the screen is less than a distance threshold. The processing unit detects the color values corresponding to each of the multiple display areas based on the multiple test probes in the following manner: the multiple test probes are placed near the center of the screen in each of the multiple display areas, and the color values of each of the multiple display areas near the center of the screen are detected respectively.
[0012] In one embodiment, the processing unit calibrates the colors displayed in the plurality of display areas based on the color values corresponding to each of the plurality of display areas in the following manner: compensating the color values corresponding to the display areas based on the color compensation values of each of the plurality of display areas to obtain the compensated color values of each of the plurality of display areas; and calibrating the colors displayed in the plurality of display areas based on the compensated color values of each of the plurality of display areas.
[0013] In one embodiment, the processing unit predetermines the color compensation values for multiple display areas in the following manner: Multiple test probes are placed in each of the multiple display areas near the center of the screen; the screen is controlled to sequentially display N test images, each of the N test images dividing the screen display area into multiple centrally symmetrical display areas with the screen center as the display center area, where N is a positive integer; based on the multiple test probes, the color values of the N test images at their respective locations near the screen center in each of the multiple display areas are detected to obtain the color detection value for each display area; one of the multiple test probes is placed at the center of the screen, and the screen is controlled to sequentially display the N test images; based on the one test probe, the color values of the N test images at the screen center are detected to obtain the color detection value at the screen center position; the first difference between the color detection value at the screen center position and the color detection values of each display area is determined as the color compensation value for each of the multiple display areas.
[0014] In one embodiment, the processing unit calibrates the colors displayed in the plurality of display areas based on the compensated color values of each of the plurality of display areas in the following manner: determining a second difference between the compensated color value of each of the plurality of display areas and the color value at the center position; in response to the second difference being greater than a difference threshold, repeating the process of obtaining color compensation values and determining the second difference until the second difference is less than the difference threshold, and redetermining the compensated color value; and calibrating the colors displayed in the plurality of display areas based on the redetermined compensated color value.
[0015] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to perform a screen calibration method according to the first aspect or any embodiment of the first aspect.
[0016] According to a fourth aspect of the present disclosure, a storage medium is provided that stores instructions which, when executed by a processor, enable the screen calibration method of the first aspect or any embodiment of the first aspect to be performed.
[0017] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: by displaying multiple different colors in different display areas of the screen using a single test image, the test probes in different display areas can simultaneously test the color values that characterize the different colors displayed on the screen, thereby reducing the test time for performing single color tests on the screen's display colors multiple times and improving the efficiency of screen calibration tests.
[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0020] Figure 1 This is a flowchart illustrating a screen calibration method according to an exemplary embodiment.
[0021] Figure 2 This is a schematic diagram illustrating the fixed position of a test probe according to an exemplary embodiment.
[0022] Figure 3 This is a flowchart illustrating the detection of color values in different regions according to an exemplary embodiment.
[0023] Figure 4 This is a flowchart illustrating a method for determining screen color calibration data according to an exemplary embodiment.
[0024] Figure 5 This is a flowchart illustrating a method for determining a color compensation value according to an exemplary embodiment.
[0025] Figure 6 This is a schematic diagram illustrating a test probe at the center of a screen for testing color values, according to an exemplary embodiment.
[0026] Figure 7This is a flowchart illustrating the detection of the accuracy of color compensation values according to an exemplary embodiment.
[0027] Figure 8 This is a block diagram illustrating a screen calibration device according to an exemplary embodiment.
[0028] Figure 9 This is a block diagram illustrating a screen calibration device according to an exemplary embodiment.
[0029] Figure 10 This is a block diagram illustrating a screen calibration device according to an exemplary embodiment. Detailed Implementation
[0030] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.
[0031] The screen calibration method provided in this disclosure is applied to screen color calibration scenarios. For example, it is applied to screen color calibration scenarios on production lines.
[0032] The test probe involved in this disclosure can also be called a color acquisition device, which is used to characterize the color coordinate value when the screen displays the color by testing the color of the image currently displayed on the screen, thereby obtaining the performance of the screen display color, and performing color calibration by detecting the color coordinate value when the screen displays the color.
[0033] In related technologies, electronic devices undergo screen color calibration before leaving the factory. To ensure the accuracy of screen color testing, the test probe is typically aligned with the center of the screen during calibration. Furthermore, to comprehensively evaluate the screen's color performance, multiple test images with different color characteristics are usually displayed during calibration, allowing the screen to cover the entire color gamut and thus more accurately adjust the screen's color settings. However, repeatedly displaying a single color on test images in related technologies can lead to low testing efficiency and long testing times, thereby affecting the overall screen color calibration rate.
[0034] Therefore, in the process of color calibration of the production line screen, this disclosure uses different test probes configured in different display areas of the screen to simultaneously detect different colors displayed in different display areas of the screen, thereby enabling the simultaneous acquisition of color coordinate values when the screen displays different colors, thus improving the speed of screen color calibration.
[0035] The color values involved in this disclosure can also be understood as color coordinate values, which are used to characterize the screen color coordinates detected during screen color calibration.
[0036] Figure 1 This is a flowchart illustrating a screen calibration method according to an exemplary embodiment. Figure 1 As shown, it includes the following steps.
[0037] In step S11, the test image is displayed.
[0038] In this embodiment of the disclosure, the test image is displayed in different colors in different display areas of the screen.
[0039] The test image corresponds to multiple display areas on the screen. The same color is displayed in the same display area, and different colors are displayed in different display areas.
[0040] In step S12, based on multiple test probes, the color values corresponding to each of the multiple display areas are detected respectively.
[0041] In this embodiment of the disclosure, color values of different display areas are tested using multiple test probes on the screen, and data on the screen displaying that color is determined using the color values of the tested image.
[0042] Among them, the color value is the color coordinate value of the pixel value of the test image in the preset color space, and the test probe and the corresponding display area on the screen have a one-to-one correspondence.
[0043] In step S13, the colors displayed in the multiple display areas are calibrated based on the color values corresponding to each of the multiple display areas.
[0044] In this embodiment of the disclosure, the color values corresponding to each of the multiple display areas of the screen obtained by testing the test image are used to characterize the color characteristics of the entire screen when displaying the corresponding colors, and then the colors displayed in the multiple display areas are calibrated.
[0045] According to embodiments of this disclosure, by displaying different colors in different display areas of the screen, the screen can simultaneously display different colors during screen color calibration. By simultaneously testing multiple colors using test probes corresponding to different display areas, testing time is reduced, thereby shortening the testing cycle.
[0046] In this embodiment of the disclosure, the following method is used to further illustrate the use of multiple test probes in the screen to simultaneously detect the display color of the test image in multiple display areas of the screen, thereby calibrating the screen display color.
[0047] In the embodiments of this disclosure, adjacent display areas of the screen have a common edge, the common vertex of the multiple display areas is the center point of the screen display area, and the distance between the multiple test probes and the center position of the screen is less than a distance threshold.
[0048] In one example, such as Figure 2 As shown, Figure 2 This is a schematic diagram illustrating the fixed position of a test probe according to an exemplary embodiment. The screen includes at least four test probes, namely probe 1, probe 2, probe 3, and probe 4. The four test probes, which perform the testing function, are calibrated to ensure consistency in their testing accuracy as much as possible. The positions of the four probes are fixed so that they are as close as possible to the center of the screen, thereby eliminating differences in the detected color values caused by different screen positions. Furthermore, by bringing the four test probes closer together, testing differences between different test probes can also be eliminated.
[0049] Figure 3 This is a flowchart illustrating the detection of color values in different regions according to an exemplary embodiment. For example... Figure 3 As shown, the steps include the following.
[0050] In step S21, multiple test probes are placed in multiple display areas, with each display area located near the center of the screen.
[0051] In this embodiment of the disclosure, the positions of multiple test probes are fixed such that each test probe corresponds to a display area, and the test probe in each display area is close to the center of the screen.
[0052] In step S22, test probes for different display areas are used to detect the color values of each display area near the center of the screen.
[0053] According to an exemplary embodiment of this disclosure, when the screen displays a single color, the center of the screen is more representative of the screen's color characteristics for displaying that single color compared to other areas. Therefore, by using multiple test probes to test the color values near the center of the screen in multiple display areas, the possibility of color differences when different areas of the screen display the same color is reduced, thereby improving the accuracy of subsequent color calibration.
[0054] In this embodiment of the disclosure, the following is adopted: Figure 4 The method shown calibrates the colors displayed in multiple display areas based on the color values corresponding to each of the multiple display areas.
[0055] Figure 4 This is a flowchart illustrating the determination of screen color calibration data according to an exemplary embodiment. Figure 4As shown, it includes the following steps.
[0056] In step S31, based on the color compensation values of each of the multiple display areas, the corresponding color values of the display areas are compensated to obtain the compensated color values of each of the multiple display areas.
[0057] In this embodiment of the disclosure, a color compensation value is determined, and the color values detected in different display areas are compensated using the color compensation values corresponding to different display areas, so as to obtain the compensated color values of multiple display areas respectively.
[0058] In step S32, the colors displayed in the multiple display areas are calibrated based on the compensated color values of each display area.
[0059] According to an exemplary embodiment of this disclosure, color values obtained from tests in different display areas are compensated using color compensation values, so that the color values obtained from tests in different display areas are close to the color values at the center of the screen, thereby improving the accuracy of color calibration of the screen based on the compensated color values.
[0060] The color compensation values for the various display areas involved in this embodiment are adopted as follows: Figure 5 The method shown is predetermined.
[0061] Figure 5 This is a flowchart illustrating the determination of a color compensation value according to an exemplary embodiment. Figure 5 As shown, it includes the following steps.
[0062] In step S41, multiple test probes are placed in multiple display areas near the center of the screen, and the screen is controlled to display N test images sequentially.
[0063] In this embodiment of the disclosure, the control screen sequentially displays N test images, and each test image has a single color. Test probes distributed in different display areas are used to test the N test images respectively.
[0064] In this context, each of the N test images divides the screen display area into multiple centrally symmetrical display areas with the center of the screen as the display center, where N is a positive integer.
[0065] In step S42, based on multiple test probes, the color values of N test images at positions near the center of the screen in multiple display areas are detected respectively, and the color detection values of each display area are obtained.
[0066] In this embodiment of the disclosure, the color values of N test images in different display areas are tested using multiple test probes in different display areas, thereby obtaining the color detection values in different display areas when testing a test image of a single display color.
[0067] In step S43, one of the multiple test probes is placed in the center of the screen, and the screen is controlled to display N test images in sequence.
[0068] In step S44, based on a test probe, the color values of N test images at the center position of the screen are detected respectively to obtain the color detection value at the center position of the screen.
[0069] In this embodiment of the disclosure, a test probe is set at the center of the screen, and the color detection values of N test images at the center of the screen are tested using the set test probe.
[0070] In step S45, the first difference between the color detection value at the center of the screen and the color detection value of each display area is determined as the color compensation value for each of the multiple display areas.
[0071] In this embodiment of the disclosure, test images of a single display color are tested sequentially on the screen, and the color compensation value of the single display color in different display areas of the screen is determined by the difference between the color detection value of the test image at the test position in the center of the screen and the color detection value of other display areas.
[0072] According to an exemplary embodiment of this disclosure, color value differences caused by differences in screen test positions are eliminated by obtaining the difference between the color detection value at the test position at the center of the screen and the color detection values of different display areas.
[0073] In one example, using Figure 2 The screen is shown with different regions corresponding to different test probes. N test images are displayed sequentially on the screen, with the same color displayed in all four display areas. The color coordinate values of the corresponding display areas are measured using four probes, and the following data are obtained:
[0074] Test probe 1 tests N test images, and the data is (X 1,1 ,Y 1,1 Z 1,1 ),(X 1,2 ,Y 1,2 Z 1,2 ),(X 1,3 ,Y 1,3 Z 1,3 ),……,(X 1,N ,Y 1,N Z 1,N );
[0075] Test probe 2 tests N test images, and the data is (X 2,1 ,Y 2,1 Z 2,1 ),(X 2,2 ,Y 2,2 Z 2,2 ),(X 2,3 ,Y 2,3 Z 2,3 ),……,(X 2,N ,Y 2,N Z 2,N );
[0076] Test probe 3 tests N test images, and the data is (X 3,1 ,Y 3,1 Z 3,1 ),(X 3,2 ,Y 3,2 Z 3,2 ),(X 3,3 ,Y 3,3 Z 3,3 ),……,(X 3,N ,Y 3,N Z 3,N );
[0077] Test probe 4 tests N test images, and the data is (X x,1 ,Y 4,1 Z 4,1 ),(X 4,2 ,Y 4,2 Z 4,2 ),(X 4,3 ,Y 4,3 Z 4,3 ),……,(X 4,N ,Y 4,N Z 4,N ).
[0078] Fix one of the probes in the center of the screen, such as Figure 6 As shown. Figure 6 This is a schematic diagram illustrating a test probe at the center of a screen testing color values according to an exemplary embodiment. Figure 6 The test involves measuring N test images using a probe positioned at the center of the screen. These N test images are displayed sequentially on the screen, and the data obtained from the N test images measured by the probe at the center of the screen is (X...). 0,1 ,Y 0,1 Z 0,1 ),(X 0,2 ,Y 0,2 Z 0,2 ),(X 0,3 ,Y 0,3 Z0,3 ),……,(X 0,N ,Y 0,N Z 0,N ).
[0079] The compensated color values for different colors corresponding to the four probes were calculated, and the color compensation values for the N test images are as follows:
[0080]
[0081] Based on the above formula, the compensation values of the test probe 0 at the center of the screen for the color of the test probe in different areas are obtained when testing the same image.
[0082] Where i represents the i-th test probe, i = 1, 2, 3, 4, and j represents the test image, j >= 1.
[0083] In this embodiment of the disclosure, after obtaining the color compensation values of different display colors corresponding to different display areas of the screen, the accuracy of detecting the color compensation values can be achieved by means of... Figure 7 As shown in the diagram.
[0084] Figure 7 This is a flowchart illustrating the detection of the accuracy of color compensation values according to an exemplary embodiment. For example... Figure 7 As shown, it includes the following steps.
[0085] In step S51, a second difference between the compensated color value of each of the multiple display areas and the color value at the center position is determined.
[0086] In step S52, in response to the second difference being greater than the difference threshold, the process of obtaining the color compensation value and determining the second difference is repeated until the second difference is less than the difference threshold, and the compensated color value is re-determined.
[0087] In this embodiment of the disclosure, the same color can be displayed in different display areas of the screen. The compensated color value corresponding to the color in each display area is obtained and compared with the color value at the center position. If the second difference between the compensated color value and the color value at the center position is not 0, the color compensation value is obtained again until the second difference between the compensated color value and the color value at the center position corresponding to the newly obtained color compensation value is 0. Then, the newly obtained color compensation value is determined as the color compensation value for calibration.
[0088] The difference threshold can be understood as a value that represents the difference between the compensated color value and the color value at the center of the screen that is close to or equal to 0.
[0089] In step S53, the colors displayed in multiple display areas are calibrated based on the newly determined compensated color values.
[0090] According to the embodiments of this disclosure, by continuously adjusting the color compensation value, the compensated color value is made close to or equal to the color value at the center position, thereby improving the reliability of screen color calibration after testing the display colors of different areas with multiple probes.
[0091] In one example, the screen color calibration process described above in this disclosure is illustrated as follows.
[0092] In one implementation, the color coordinate values measured by the test probe reflect the actual colors displayed on the screen. These coordinate values accurately describe the hue, saturation, and brightness of the colors displayed on the screen, thereby ensuring the performance of the screen's color display. The measured color coordinate values are compared with the color coordinate values at the center of the screen to evaluate the screen's deviation when displaying a specific color. For example, by comparing the measured color coordinate values of different display areas with the color coordinate values at the center of the screen, a color compensation value for each color during screen display is calculated. The color compensation values corresponding to all colors are summarized to generate a compensation file for adjusting the screen's color settings during subsequent calibration. During the actual calibration process, the color compensation values in the compensation file are applied to the screen's color settings. This may include adjusting the gamma curve, white balance, color matrix, etc. By applying the color compensation values, the screen's color settings are adjusted so that the colors displayed on the screen are closer to the standard colors. After calibration, the color coordinate values of the screen are tested again using the probe to ensure that the calibration results meet expectations. The color coordinate values before and after calibration can also be recorded to track and manage screen performance.
[0093] In this embodiment, the color compensation value is used to eliminate the mechanical difference between the test probe in different display areas and the test probe at the center of the screen, as well as the color coordinate difference caused by the difference in screen test position. This enables simultaneous testing of the color coordinate values of different colors, effectively improving the screen calibration rate and ensuring the accuracy and reliability of the calibration.
[0094] Based on the same concept, embodiments of this disclosure also provide a screen calibration device.
[0095] It is understood that the screen calibration device provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by 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, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.
[0096] Figure 8 This is a block diagram illustrating a screen calibration device according to an exemplary embodiment. (Refer to...) Figure 8 The device 100 includes a display unit 101 and a processing unit 102.
[0097] The display unit 101 is used to display a test image. The test image has multiple display areas on the screen. The same color is displayed in the same display area, and different colors are displayed in different display areas.
[0098] The processing unit 102 is used to detect the color values corresponding to each of the multiple display areas based on multiple test probes, wherein the color values are the color coordinate values of the pixel values of the test image in a preset color space; and to calibrate the colors displayed in the multiple display areas based on the color values corresponding to each of the multiple display areas.
[0099] In one embodiment, adjacent display areas in multiple display areas of the screen share a common edge, and the common vertex of the multiple display areas is the center point of the screen display area. The distance between the multiple test probes and the center position of the screen is less than a distance threshold. The processing unit 102 uses the multiple test probes to detect the color values corresponding to each of the multiple display areas respectively: the multiple test probes are placed in the multiple display areas near the center position of each display area, and the color values of each of the multiple display areas near the center position of the screen are detected respectively.
[0100] In one embodiment, the processing unit 102 calibrates the colors displayed in the multiple display areas based on the color values corresponding to each of the multiple display areas in the following manner: compensating the color values corresponding to the display areas based on the color compensation values of each of the multiple display areas to obtain the compensated color values of each of the multiple display areas; and calibrating the colors displayed in the multiple display areas based on the compensated color values of each of the multiple display areas.
[0101] In one embodiment, the processing unit 102 predetermines the color compensation values for multiple display areas in the following manner: Multiple test probes are placed in each of the multiple display areas near the center of the screen; the screen is controlled to sequentially display N test images, each of the N test images dividing the screen display area into multiple centrally symmetrical display areas with the screen center as the display center area, where N is a positive integer; based on the multiple test probes, the color values of the N test images at the respective display areas near the screen center are detected to obtain the color detection value for each display area; one of the multiple test probes is placed at the center of the screen, and the screen is controlled to sequentially display N test images; based on the one test probe, the color values of the N test images at the screen center are detected to obtain the color detection value at the screen center position; the difference between the color detection value at the screen center position and the color detection values of each display area is determined as the color compensation value for each of the multiple display areas.
[0102] In one embodiment, the processing unit 102 calibrates the colors displayed in the multiple display areas based on the compensated color values of each of the multiple display areas in the following manner: determining a second difference between the compensated color values of each of the multiple display areas and the color value at the center position; in response to the second difference being greater than a difference threshold, repeating the process of obtaining color compensation values and determining the second difference until the second difference is less than the difference threshold, and redetermining the compensated color values; and calibrating the colors displayed in the multiple display areas based on the redetermined compensated color values.
[0103] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0104] Figure 9 This is a block diagram illustrating a screen calibration device 200 according to an exemplary embodiment. For example, device 200 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0105] Reference Figure 9 The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.
[0106] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.
[0107] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, images, videos, etc. Memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0108] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.
[0109] Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0110] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
[0111] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0112] Sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of device 200. For example, sensor assembly 214 may detect the on / off state of device 200, the relative positioning of components such as the display and keypad of device 200, changes in the position of device 200 or a component of device 200, the presence or absence of user contact with device 200, the orientation or acceleration / deceleration of device 200, and temperature changes of device 200. Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0113] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0114] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0115] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by a processor 220 of the device 200 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0116] Figure 10 This is a block diagram illustrating a screen calibration device 300 according to an exemplary embodiment. For example, device 300 may be provided as a server. (Refer to...) Figure 10 The device 300 includes a processing component 322, which further includes one or more processors, and memory resources represented by memory 332 for storing instructions, such as application programs, that can be executed by the processing component 322. The application programs stored in memory 332 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 322 is configured to execute instructions to perform the methods described above.
[0117] Device 300 may also include a power supply component 326 configured to perform power management of device 300, a wired or wireless network interface 350 configured to connect device 300 to a network, and an input / output (I / O) interface 352. Device 300 may operate on an operating system stored in memory 332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.
[0118] It is understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.
[0119] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0120] It is further understood that the terms “center,” “longitudinal,” “lateral,” “front,” “rear,” “up,” “down,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” and “outer,” etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation.
[0121] It can be further understood that, unless otherwise specified, "connection" includes both direct connections where no other components exist between the two parties and indirect connections where other components exist between them.
[0122] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.
[0123] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein.
[0124] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A screen calibration method, characterized in that, The method includes: The test image is displayed, and the test image corresponds to multiple display areas on the screen. The same color is displayed in the same display area, and different colors are displayed in different display areas. Based on multiple test probes, the color values corresponding to each of the multiple display areas are detected respectively, wherein the color values are the color coordinate values of the pixel values of the test image in a preset color space; Based on the color values corresponding to each of the multiple display areas, the colors displayed in the multiple display areas are calibrated.
2. The method according to claim 1, characterized in that, The adjacent display areas of the screen share a common edge, and the common vertex of the multiple display areas is the center point of the screen display area. The distance between the multiple test probes and the center position of the screen is less than a distance threshold. The step of detecting the color values corresponding to each of the multiple display areas based on multiple test probes includes: The multiple test probes are placed near the center of each of the multiple display areas, and the color values of each display area near the center of the screen are detected.
3. The method according to claim 1 or 2, characterized in that, The calibration of the colors displayed in the plurality of display areas based on their respective color values includes: Based on the color compensation values of each of the multiple display areas, the corresponding color values of the display areas are compensated to obtain the compensated color values of each of the multiple display areas; Based on the compensated color values of each of the multiple display areas, the colors displayed in the corresponding multiple display areas are calibrated.
4. The method according to claim 3, characterized in that, The color compensation values for each of the multiple display areas are predetermined in the following manner: Multiple test probes are placed in multiple display areas near the center of the screen, and the screen is controlled to display N test images in sequence. Each of the N test images divides the screen display area into multiple centrally symmetrical display areas with the center of the screen as the display center area, where N is a positive integer. Based on the multiple test probes, the color values of the N test images are detected at the positions near the center of the screen in multiple display areas to obtain the color detection values of each display area. Place one of the multiple test probes in the center of the screen and control the screen to display the N test images sequentially; Based on the aforementioned test probe, the color values of the N test images at the center position of the screen are detected respectively to obtain the color detection value at the center position of the screen. The first difference between the color detection value at the center of the screen and the color detection value of each display area is determined as the color compensation value for each of the multiple display areas.
5. The method according to claim 3, characterized in that, The calibration of the colors displayed in the plurality of display areas based on their respective compensated color values includes: Determine the second difference between the compensated color value of each of the plurality of display areas and the color value at the center position; In response to the second difference being greater than the difference threshold, the process of obtaining the color compensation value and determining the second difference is repeated until the second difference is less than the difference threshold, and the compensated color value is re-determined. Based on the newly determined compensated color values, the colors displayed in the multiple display areas are calibrated.
6. A screen calibration device, characterized in that, The device includes: The display unit is used to display a test image. The test image has multiple display areas on the screen. The same color is displayed in the same display area, and different colors are displayed in different display areas. The processing unit is configured to detect the color values corresponding to each of the multiple display areas based on multiple test probes, wherein the color values are the color coordinate values of the pixel values of the test image in a preset color space; and to calibrate the colors displayed in the multiple display areas based on the color values corresponding to each of the multiple display areas.
7. The apparatus according to claim 6, characterized in that, The adjacent display areas of the screen share a common edge, and the common vertex of the multiple display areas is the center point of the screen display area. The distance between the multiple test probes and the center position of the screen is less than a distance threshold. The processing unit uses multiple test probes to detect the color values corresponding to each of the multiple display areas respectively: The multiple test probes are placed near the center of each of the multiple display areas, and the color values of each display area near the center of the screen are detected.
8. The apparatus according to claim 6 or 7, characterized in that, The processing unit calibrates the colors displayed in the plurality of display areas based on the color values corresponding to each of the plurality of display areas in the following manner: Based on the color compensation values of each of the multiple display areas, the corresponding color values of the display areas are compensated to obtain the compensated color values of each of the multiple display areas; Based on the compensated color values of each of the multiple display areas, the colors displayed in the corresponding multiple display areas are calibrated.
9. The apparatus according to claim 8, characterized in that, The processing unit predetermines the color compensation values for each of the multiple display areas in the following manner: Multiple test probes are placed in multiple display areas near the center of the screen, and the screen is controlled to display N test images in sequence. Each of the N test images divides the screen display area into multiple centrally symmetrical display areas with the center of the screen as the display center area, where N is a positive integer. Based on the multiple test probes, the color values of the N test images are detected at the positions near the center of the screen in multiple display areas to obtain the color detection values of each display area. Place one of the multiple test probes in the center of the screen and control the screen to display the N test images sequentially; Based on the aforementioned test probe, the color values of the N test images at the center position of the screen are detected respectively to obtain the color detection value at the center position of the screen. The first difference between the color detection value at the center of the screen and the color detection value of each display area is determined as the color compensation value for each of the multiple display areas.
10. The apparatus according to claim 8, characterized in that, The processing unit calibrates the colors displayed in the multiple display areas based on their respective compensated color values in the following manner: Determine the second difference between the compensated color value of each of the plurality of display areas and the color value at the center position; In response to the second difference being greater than the difference threshold, the process of obtaining the color compensation value and determining the second difference is repeated until the second difference is less than the difference threshold, and the compensated color value is re-determined. Based on the newly determined compensated color values, the colors displayed in the multiple display areas are calibrated.
11. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the method described in any one of claims 1-5.
12. A storage medium, characterized in that, The storage medium stores instructions that, when executed by a processor, enable the execution of the method described in any one of claims 1-5.