Color correction method, apparatus and system, and storage medium and electronic device
By generating images inside the display and outputting them directly to the display panel, the problems of complex and inaccurate color correction architecture in the prior art are solved, and a more accurate color correction effect is achieved.
Patent Information
- Application Number
- PCT/CN2023/110619
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-12
- Filing Date
- 2023-08-01
- Publication Date
- 2024-11-21
AI Technical Summary
In the prior art, the color correction architecture is complex and the correction results are inaccurate, mainly because the external image generator is expensive and requires special program settings, and the image output of the upper computer is affected by the OS and graphics card, resulting in the output being unstandard and linear.
The image is generated by the internal image generator of the display, and by receiving and analyzing the control instructions issued by the upper computer, performing image path switching and color adjustment, and outputting them directly to the display panel to avoid the influence of the external image generator and the upper computer.
The color correction architecture is simplified, the accuracy of the correction results is improved, and the incorrect signals introduced by the external image generator and the nonlinear influence of the upper computer output is avoided.
Smart Images

Figure CN2023110619_21112024_PF_FP_ABST
Abstract
Description
Color correction method, device, system, storage medium and electronic device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on May 12, 2023, with application number 202310537835.X, and application name “Color correction method, device, system, storage medium and electronic device”, all contents of which are incorporated by reference into this application. Technical Field
[0003] The present disclosure relates to the field of display technology, and in particular to a color correction method, a color correction device, a color correction system, a computer-readable storage medium, and an electronic device. Background Art
[0004] Of all the input and output devices used in color management, the most important is the monitor, as it serves as the intermediary between humans and image data. Animation production, image printing, and post-production graphics are all performed by humans operating monitors. Furthermore, printing, animation production, and professional photography post-production involve numerous imaging devices, such as digital cameras, scanners, printers, digital proofers, presses, and monitors. If the color data input / output devices required by ICC profiles are not used, the image displayed on the monitor and the printed image often exhibit different color rendering capabilities.
[0005] To avoid the aforementioned phenomenon, existing technologies use external image generators such as quantum data and chroma pattern generators to calibrate displays. However, these are typically expensive and require special programming to synchronize image output and measurement. Alternatively, a host computer's signal output is used to synchronize image and measurement output. However, the host computer's image output is affected by the operating system and graphics card (GPU), potentially resulting in non-linear output and inaccurate calibration results.
[0006] Therefore, a new color correction method or device is urgently needed to at least solve the above-mentioned problems of complex color correction architecture or inaccurate color correction.
[0007] Summary of the Invention
[0008] The main purpose of the present disclosure is to provide a color correction method, a color correction device, a computer-readable storage medium, and an electronic device, so as to at least solve the problems in the prior art of complex color correction architecture or inaccurate correction results.
[0009] In order to achieve the above-mentioned purpose, according to one aspect of the present disclosure, a color correction method is provided, comprising the following steps: receiving and parsing a first control instruction issued by a host computer to obtain a first parsing result, wherein the first control instruction is used to control the display to output a target image; enabling an internal image generator of the display to execute the first control instruction according to the first parsing result, and generate a first image, wherein the first image corresponds to the target image; outputting the first image to a display panel of the display, and displaying the first image.
[0010] Furthermore, the method further includes: after the display panel displays the first image, requesting a host computer to control an optical measuring instrument to measure first optical data of the display panel.
[0011] Furthermore, it also includes: before the internal image generator outputs the first image, receiving and parsing the second control instruction issued by the host computer to obtain a second parsing result; enabling the image path switcher of the display to execute the second control instruction according to the second parsing result, and selecting the target output path for outputting the first image.
[0012] Furthermore, it also includes: before the internal image generator outputs the first image, receiving and parsing the third control instruction sent by the host computer to obtain a third parsing result; enabling the color adjustment control group of the display to execute the third control instruction according to the third parsing result, and initializing the display parameters.
[0013] According to another aspect of the present disclosure, a color correction device using the above-mentioned color correction method is provided, including: a receiving module, configured to receive and parse a first control instruction issued by a host computer to obtain a first parsing result, the first control instruction being used to control a display to output a target image; a generating module, configured to enable an internal image generator of the display to execute the first control instruction according to the first parsing result and generate a first image; and a display module, configured to output the first image to a display panel of the display and display the first image, the first image corresponding to the target image.
[0014] According to another aspect of the present disclosure, a color correction system is provided, comprising: a host computer configured to issue a first control instruction, the first control instruction being used to control a display to output a target image; and a color correction device such as the above-mentioned one, wherein a receiving module of the color correction device is configured to receive and parse the first control instruction issued by the host computer, obtain a first parsing result, and enable a generating module of the color correction device to execute the first control instruction based on the first parsing result, generate a first image, output the first image to a display module of the color correction device, and display the first image, wherein the first image corresponds to the target image, the receiving module includes a register receiving / control module, the generating module includes an internal image generator, and the display module includes a display panel.
[0015] Furthermore, the color correction system further includes an optical measuring instrument, which is configured to measure first optical data of the first image on the display panel after the display panel displays the first image, and provide the first optical data to the host computer.
[0016] Furthermore, the color correction device includes an image path switcher, which is configured to request the color correction device to receive and parse a second control instruction issued by the host computer before the internal image generator outputs the first image, obtain a second parsing result, and execute the second control instruction based on the second parsing result to select a target output path for outputting the first image.
[0017] Furthermore, the color correction device includes a color adjustment control group, which is configured to request the color correction device to receive and parse a third control instruction issued by the host computer before the internal image generator outputs the first image, obtain a third parsing result, execute the third control instruction according to the third parsing result, and initialize the display parameters.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned color correction method.
[0019] According to another aspect of the present invention, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing the above-mentioned color correction method.
[0020] The technical solution disclosed herein receives and analyzes a first control instruction issued by a host computer to obtain a first analysis result. Based on the first analysis result, an enable port corresponding to an internal image generator can be set to be enabled. When the internal image generator is enabled to execute the first control instruction issued by the host computer, the internal image generator generates a first image, which is then output to a display panel of a display, causing the display panel to display the first image. Compared to the prior art method of using an external image generator to perform color correction on a display, this method not only simplifies the color correction architecture, but also, because the host computer is used to simultaneously output image control and measurement control during image output in the prior art, the image output of the host computer is affected by the operating system and the graphics card (GPU), resulting in the output image possibly being non-linear and inaccurate color correction. However, in the present solution, since the first image is generated by the internal image generator of the display, the first image can be directly output on the display panel of the display, thereby avoiding incorrect image signals introduced by the external image generator and making the color correction result based on the first image more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings, which constitute part of the present disclosure, are intended to provide a further understanding of the present disclosure. The exemplary embodiments of the present disclosure and their descriptions are intended to explain the present disclosure and do not constitute an improper limitation of the present disclosure. In the accompanying drawings:
[0022] FIG1 shows a hardware structure block diagram of a mobile terminal for executing a color correction method provided in an embodiment of the present disclosure;
[0023] FIG2 shows a schematic flow chart of a color correction method according to an embodiment of the present disclosure;
[0024] FIG3 shows a structural block diagram of a color correction device provided according to an embodiment of the present disclosure;
[0025] FIG4 shows a structural block diagram of a color correction system provided according to an embodiment of the present disclosure.
[0026] The above drawings include the following reference numerals: 10, receiving module; 20, generating module; 30, display module; 40, host computer; 50, color correction device. DETAILED DESCRIPTION
[0027] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0028] In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present disclosure.
[0029] It should be noted that the terms "first," "second," and the like in the specification and claims of the present disclosure and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate for the embodiments of the present disclosure described herein. In addition, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or apparatus.
[0030] As described in the background, the external image generators used in the prior art are typically expensive and require special programming to synchronize image output and measurement. Alternatively, both image output and measurement control are synchronized using signals from a host computer. However, the image output from the host computer is affected by the operating system and graphics card (GPU), and there is a possibility that the output will not be standard linear, resulting in inaccurate correction results. Therefore, to address the issues of complex color correction architecture or inaccurate color correction, the presently disclosed embodiments provide a color correction method, color correction device, color correction system, computer-readable storage medium, and electronic device.
[0031] The technical solutions in the embodiments of the present invention will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present invention.
[0032] The method embodiments provided in the embodiments of the present disclosure can be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking operation on a mobile terminal as an example, FIG1 is a hardware block diagram of a mobile terminal for a color correction method according to an embodiment of the present invention. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data. The mobile terminal may also include a transmission device 106 and input / output devices 108 for communication functions. Those skilled in the art will appreciate that the structure shown in FIG1 is merely illustrative and does not limit the structure of the mobile terminal. For example, the mobile terminal may include more or fewer components than shown in FIG1 , or have a configuration different from that shown in FIG1 .
[0033] Memory 104 can be used to store computer programs, such as software programs and modules for application software, such as the computer program corresponding to the color correction method in the embodiments of the present invention. Processor 102 executes the computer programs stored in memory 104 to execute various functional applications and data processing, thereby implementing the aforementioned method. Memory 104 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory remotely located from processor 102, which can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Transmission device 106 is used to receive or transmit data via a network. Specific examples of such networks may include a wireless network provided by the mobile terminal's telecommunications provider. In one example, transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] In this embodiment, a color correction method running on a mobile terminal, a computer terminal, or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0035] FIG2 is a flow chart of a color correction method according to an embodiment of the present disclosure. As shown in FIG2 , the method includes the following steps:
[0036] Step S201: receiving and parsing a first control instruction sent by a host computer to obtain a first parsing result, where the first control instruction is used to control a display to output a target image;
[0037] Specifically, the host computer includes any device that can be used to output the target image. For example, the host computer may include a camera, a plotter, a mobile phone, etc.; the display includes any device that can display the target image of the host computer. For example, the display may include a mobile phone, a computer, a printer, a notebook, a tablet, etc.
[0038] In some optional embodiments, a target image is stored in the host computer. In order to display the target image on the host computer on the display, and to make the image displayed on the display consistent with the target image at least in the color gamut space, after the host computer is connected to the display, the host computer can first generate a first control instruction based on the target image, and then send the first control instruction to the display. After receiving the first control instruction, the display parses the first control instruction to determine the operation object corresponding to the first control instruction in the display and determine the task content of the operation object. Optionally, the task content of the operation object includes outputting the target image of the host computer.
[0039] Step S202 , enabling an internal image generator of the display to execute a first control instruction according to the first parsing result to generate a first image, where the first image corresponds to the target image;
[0040] Specifically, after obtaining the first parsing result, since the first parsing result includes a corresponding operation object and the task content that determines the operation object, the display can prepare the operation object based on the first parsing result and perform the operation according to the task content in the first parsing result. Optionally, the operation object includes an internal image generator of the display, and the task content is image data corresponding to the target image of the host computer, so that the internal image generator generates the first image based on the image data corresponding to the target image of the host computer.
[0041] Step S203 : outputting the first image to a display panel of a display to display the first image.
[0042] Specifically, in order to display the target image of the host computer on the display, after generating the above-mentioned first image, since the first image corresponds to the target image, the first image is directly output to the display panel of the display, and the display panel displays the first image.
[0043] According to this embodiment, a first analysis result can be obtained by receiving and analyzing a first control instruction issued by a host computer. Based on the first analysis result, an enable port of a corresponding internal image generator can be set to be enabled. Then, when the internal image generator is enabled to execute the first control instruction issued by the host computer, the internal image generator is caused to generate a first image, and the generated first image is output to the display panel, so that the display panel displays the first image. Compared with the prior art method of using an external image generator to perform color correction on a display, this method not only simplifies the color correction architecture, but also, because the host computer is used for signal output and measurement control during image output in the prior art, the image output of the host computer is affected by the operating system and the graphics card (GPU), resulting in the output image not being standard linear, resulting in inaccurate color correction. In this solution, because the first image is generated by the internal image generator of the display, the first image can be directly output on the display panel, thereby avoiding incorrect image signals introduced by the external image generator, making the color correction result based on the first image more accurate.
[0044] In order to enable those skilled in the art to more clearly understand the technical solution of the present disclosure, the implementation process of the color correction method of the present disclosure will be described in detail below with reference to specific embodiments.
[0045] In some optional implementations, the color correction method further includes: after the display panel displays the first image, requesting a host computer to control an optical measurement instrument to measure first optical data of the display panel.
[0046] In the above embodiment, in order to determine whether the first image displayed on the display panel is consistent with the target image, a measurement step is added to the color correction method, so that after the display panel displays the first image, the first optical data of the display panel can be obtained by requesting the host computer to control the optical measuring instrument to measure the display panel. Since the first optical data is the optical data after the display panel displays the first image, the first optical data corresponds to the first image, and the first image corresponds to the target image. Therefore, it can be determined based on the first optical data and the target image whether the first image actually displayed on the display is consistent with the target image.
[0047] In some optional embodiments, the optical measuring instrument can provide the measured first optical data to a host computer, so that when the host computer determines that the first image actually displayed on the display is consistent with the target image, the first optical data is stored to provide the first optical data to a back-end program for use. Exemplarily, the first optical data can be a chromaticity diagram, and the back-end program can include but is not limited to calculating color correction formula operations such as white balance and color gamut conversion.
[0048] In some optional embodiments, the color correction method also includes: before the internal image generator outputs the first image, receiving and parsing a second control instruction issued by the host computer to obtain a second parsing result; enabling the image path switcher of the display to execute the second control instruction according to the second parsing result, and selecting the target output path for outputting the first image.
[0049] In the above embodiment, since after the host computer and the display are connected, there is an original output path for image output between the host computer and the display, so that in order to prevent the target image of the host computer from being output to the display from the original output path and to enable the display panel of the display to display the target image, before the internal image generator in the display outputs the first image, the display can send a request to the host computer, so that the host computer sends a second control instruction according to the request, so that after the display receives and parses the second control instruction, a second parsing result is obtained, and the second parsing result can determine the operation object corresponding to the second control instruction in the display and determine the task content of the operation object, and enable the display to prepare the operation object according to the second parsing result and perform operations according to the task content in the second parsing result. Optionally, the operation object includes an image path switcher of the display, and the task content is to switch the image output path of the display so that the image path switcher closes the original output path of the image output and selects the target output path for outputting the first image.
[0050] In some optional embodiments, the color correction method further includes: before the internal image generator outputs the first image, receiving and parsing a third control instruction issued by the host computer to obtain a third parsing result; enabling the color adjustment control group of the display to execute the third control instruction according to the third parsing result, and initializing the display parameters.
[0051] In the above embodiment, since the display parameters are adjustable, the display parameters for different time periods may include multiple different parameter settings. For example, the display performs a first calibration to adapt to a first host computer, and then performs a second calibration to adapt to a second host computer. The resolutions of the first and second host computers are different. Therefore, when the display is connected to the first host computer again, the display parameters of the display are no longer adapted to the first host computer, resulting in an output image that is inconsistent with the target image. Therefore, in order to avoid the display being able to directly output a first image consistent with the target image without having to calibrate the display parameters for different host computers multiple times, before the internal image generator outputs the first image, the display can send a request to the host computer to cause the host computer to issue a third control instruction. The third control instruction is used to initialize the display parameters. After the display receives and parses the third control instruction, a third parsing result is obtained. The third parsing result can determine the operation object corresponding to the third control instruction in the display and determine the task content of the operation object, and enable the display to prepare the operation object according to the third parsing result and perform the operation according to the task content in the third parsing result. Optionally, the operation object includes a color adjustment control group of a display, and the task content is initializing display parameters.
[0052] The embodiments of the present disclosure also provide a color correction device. It should be noted that the color correction device of the embodiments of the present disclosure can be used to execute the color correction method provided by the embodiments of the present disclosure. The device is used to implement the above-mentioned embodiments and preferred implementation methods, and the details that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and conceivable.
[0053] The following introduces the color correction device provided by the embodiment of the present disclosure.
[0054] Figure 3 is a schematic diagram of a color correction device according to an embodiment of the present disclosure. As shown in Figure 3, the device includes: a receiving module 10 configured to receive and parse a first control instruction issued by a host computer to obtain a first parsing result, wherein the first control instruction is used to control a display to output a target image; a generating module 20 configured to enable an internal image generator of the display to execute the first control instruction based on the first parsing result and generate a first image; and a display module 30 configured to output the first image to a display panel of the display and display the first image, wherein the first image corresponds to the target image.
[0055] In some optional implementations, the color correction device further includes: a first processing module configured to request a host computer to control the optical measurement instrument to measure first optical data of the display panel after the display panel displays the first image.
[0056] In the above embodiment, in order to determine whether the first image displayed on the display panel is consistent with the target image, a first processing module is added to the color correction device, so that after the display panel displays the first image, the first optical data of the display panel can be obtained by requesting the host computer to control the optical measuring instrument to measure the display panel. Since the first optical data is the optical data after the display panel displays the first image, the first optical data corresponds to the first image, and the first image corresponds to the target image. Therefore, it can be determined based on the first optical data and the target image whether the first image actually displayed on the display is consistent with the target image.
[0057] In some optional embodiments, the optical measuring instrument can provide the measured first optical data to a host computer, so that when the host computer determines that the first image actually displayed on the display is consistent with the target image, the first optical data is stored to provide the first optical data to a back-end program for use. Exemplarily, the back-end program includes but is not limited to calculating color correction formula operations such as white balance and color gamut conversion.
[0058] In some optional embodiments, the color correction device also includes: a second processing module, configured to receive and parse a second control instruction issued by the host computer before the internal image generator outputs the first image, to obtain a second parsing result; enable the image path switcher of the display to execute the second control instruction according to the second parsing result, and select a target output path for outputting the first image.
[0059] In the above embodiment, since after the host computer and the display are connected, there is an original output path for image output between the host computer and the display, so that in order to prevent the target image of the host computer from being output to the display from the original output path and to enable the display panel of the display to display the target image, before the internal image generator in the display outputs the first image, the second processing module can send a request to the host computer, so that the host computer sends a second control instruction according to the request, and after the display receives and analyzes the second control instruction, a second analysis result is obtained, which can determine the operation object corresponding to the second control instruction in the display and determine the task content of the operation object, and enable the display to prepare the operation object according to the second analysis result and perform operations according to the task content in the second analysis result. Optionally, the operation object includes an image path switcher of the display, and the task content is to switch the image output path of the display so that the image path switcher closes the original output path of the image output and selects the target output path for outputting the first image.
[0060] In some optional embodiments, the color correction device also includes: a third processing module, configured to receive and parse a third control instruction issued by the host computer before the internal image generator outputs the first image, to obtain a third parsing result; enable the color adjustment control group of the display to execute the third control instruction according to the third parsing result, and initialize the display parameters.
[0061] In the above embodiment, since the display parameters are adjustable, the display parameters in different situations may include a variety of different parameter settings. For example, the display is calibrated for the first time to adapt to the first host computer, and then calibrated for the second time to adapt to the second host computer. The resolutions of the first host computer and the second host computer are different. Therefore, when the display is connected to the first host computer again, the display parameters of the display are no longer adapted to the first host computer, resulting in the output image being inconsistent with the target image. Therefore, in order to avoid the situation where the display has to adapt to different host computers multiple times and enable the display to directly output a first image consistent with the target image without having to calibrate the display parameters for different host computers again, before the internal image generator outputs the first image, the third processing module can send a request to the host computer to enable the host computer to send a third control instruction. The third control instruction is used to initialize the display parameters, so that after the display receives and parses the third control instruction, a third parsing result is obtained. The third parsing result can determine the operation object corresponding to the third control instruction in the display and determine the task content of the operation object, and enable the display to enable the operation object to be prepared according to the third parsing result, and perform operations according to the task content in the third parsing result.
[0062] Optionally, the operation object includes a display color adjustment control group, and the task is to initialize display parameters. The color correction device includes a processor and memory. The receiving module, generating module, and display module are stored as program units in the memory, and the processor executes the program units stored in the memory to implement the corresponding functions. The modules are all located in the same processor; alternatively, the modules can be located in different processors in any combination.
[0063] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be set, and the problem of complex color correction architecture and inaccurate correction results in the existing technology can be solved by adjusting the core parameters.
[0064] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0065] An embodiment of the present invention provides a color correction system. FIG4 is a block diagram of the color correction system according to an embodiment of the present disclosure. As shown in FIG4 , the color correction system includes: a host computer 40 configured to issue a first control instruction, the first control instruction being used to control a display to output a target image; and a color correction device 50, such as the aforementioned color correction device 50, wherein a receiving module 10 of the color correction device 50 is configured to receive and parse the first control instruction issued by the host computer 40, obtain a first parsing result, and enable a generation module 20 to execute the first control instruction based on the first parsing result, generate a first image, output the first image to a display module, and display the first image, wherein the first image corresponds to the target image. Optionally, the receiving module 10 may be a register receiving / control module, the generation module 20 may be an internal image generator, and the display module may be a display panel.
[0066] In the above embodiment, the color correction system of the present disclosure can directly output the first image on the display panel of the display because the first image is generated by the internal image generator (generation module) of the display. Compared with the prior art method of using an external image generator to perform color correction on the display, the color correction architecture is not only simplified, but also because in the prior art, when using a host computer to output an image, the host computer is simultaneously used for synchronous output image control and measurement control, which causes the image output of the host computer to be affected by the OS and the graphics card (GPU), resulting in the output image may not be standard linear, resulting in inaccurate color correction. Therefore, the present disclosure avoids the incorrect image signal introduced by the external image generator, so that the color correction result based on the first image is more accurate.
[0067] Furthermore, to determine whether the first image actually displayed on the display is consistent with the target image, the color correction system is configured to further include an optical measurement instrument. The optical measurement instrument is configured to measure first optical data of the first image on the display panel after the display panel displays the first image, and provide the first optical data to a host computer. Since the first optical data is obtained after the display panel displays the first image, it corresponds to the first image, which in turn corresponds to the target image. Therefore, the host computer can determine whether the first image actually displayed on the display is consistent with the target image based on the first optical data and the target image.
[0068] Furthermore, in order to prevent the target image of the host computer from being output to the display from the original output path, the color correction device is provided to include an image path switcher. The image path switcher is configured to request the color correction device to receive and parse the second control instruction issued by the host computer before the internal image generator outputs the first image, obtain a second parsing result, and execute the second control instruction according to the second parsing result to select the target output path for outputting the first image.
[0069] Furthermore, in order to avoid the situation where the display has to adapt to different host computers multiple times and enable the display to directly output a first image consistent with the target image without the need to calibrate the display parameters again for different host computers, a color correction device is provided including a color adjustment control group. The color adjustment control group is configured to request the color correction device to receive and parse the third control instruction issued by the host computer before the internal image generator outputs the first image, obtain a third parsing result, execute the third control instruction according to the third parsing result, and initialize the display parameters.
[0070] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, a device where the computer-readable storage medium is located is controlled to execute a color correction method.
[0071] Specifically, the color correction method includes:
[0072] Step S201: receiving and parsing a first control instruction sent by a host computer to obtain a first parsing result, where the first control instruction is used to control a display to output a target image;
[0073] Specifically, the host computer includes any device that can be used to output the target image. For example, the host computer may include a camera, a plotter, a mobile phone, etc.; the display includes any device that can display the target image of the host computer. For example, the display may include a mobile phone, a computer, a printer, a notebook, a tablet, etc.
[0074] In some optional embodiments, the target image is first input into the host computer. In order to display the target image in the host computer on the display, and to make the image displayed on the display consistent with the target image at least in the color gamut space, after the host computer is connected to the display, the host computer can first generate a first control instruction based on the target image, and then issue the first control instruction to the display. After receiving the first control instruction, the display parses the first control instruction to determine the operation object corresponding to the first control instruction in the display and determine the task content of the operation object. Optionally, the task content of the operation object includes outputting the target image of the host computer. Optionally, the host computer can output RGB data corresponding to the target image to the display based on an application programming interface (API). For example, when the color corresponding to the target image is red, the application programming interface (API) of the host computer outputs RGB (255, 0, 0); when the color corresponding to the target image is green, the application programming interface (API) of the host computer outputs RGB (0, 255, 0); and when the color corresponding to the target image is blue, the application programming interface (API) of the host computer outputs RGB (0, 0, 255).
[0075] Step S202 , enabling an internal image generator of the display to execute a first control instruction according to the first parsing result to generate a first image, where the first image corresponds to the target image;
[0076] Specifically, after obtaining the first parsing result, since the first parsing result includes a corresponding operation object and the task content that determines the operation object, the display can prepare the operation object based on the first parsing result and perform the operation according to the task content in the first parsing result. Optionally, the operation object includes an internal image generator of the display, and the task content is image data corresponding to the target image of the host computer, so that the internal image generator generates the first image based on the image data corresponding to the target image of the host computer.
[0077] Step S203 : outputting the first image to a display panel of a display to display the first image.
[0078] Specifically, in order to display the target image of the host computer on the display, after generating the above-mentioned first image, since the first image corresponds to the target image, the first image is directly output to the display panel of the display, and the display panel displays the first image.
[0079] Optionally, the color correction method further includes: after the display panel displays the first image, requesting a host computer to control an optical measuring instrument to measure first optical data of the display panel.
[0080] Optionally, the color correction method also includes: before the internal image generator outputs the first image, receiving and parsing a second control instruction issued by the host computer to obtain a second parsing result; enabling the image path switcher of the display to execute the second control instruction according to the second parsing result, and selecting the target output path for outputting the first image.
[0081] Optionally, the color correction method also includes: before the internal image generator outputs the first image, receiving and parsing a third control instruction issued by the host computer to obtain a third parsing result; enabling the color adjustment control group of the display to execute the third control instruction according to the third parsing result, and initializing the display parameters.
[0082] An embodiment of the present invention provides a device comprising a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps: receiving and parsing a first control instruction issued by a host computer to obtain a first parsing result, wherein the first control instruction is used to control a display to output a target image; enabling an internal image generator of the display to execute the first control instruction based on the first parsing result and generate a first image, wherein the first image corresponds to the target image; and outputting the first image to a display panel of the display, thereby displaying the first image. The device herein may be a server, a PC, a PAD, a mobile phone, or the like.
[0083] Optionally, the color correction method further includes: after the display panel displays the first image, requesting a host computer to control an optical measuring instrument to measure first optical data of the display panel.
[0084] Optionally, the color correction method also includes: before the internal image generator outputs the first image, receiving and parsing a second control instruction issued by the host computer to obtain a second parsing result; enabling the image path switcher of the display to execute the second control instruction according to the second parsing result, and selecting the target output path for outputting the first image.
[0085] Optionally, the color correction method also includes: before the internal image generator outputs the first image, receiving and parsing a third control instruction issued by the host computer to obtain a third parsing result; enabling the color adjustment control group of the display to execute the third control instruction according to the third parsing result, and initializing the display parameters.
[0086] The present disclosure also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialized program having at least the following method steps: receiving and parsing a first control instruction issued by a host computer to obtain a first parsing result, wherein the first control instruction is used to control the display to output a target image; enabling an internal image generator of the display to execute the first control instruction according to the first parsing result, and generate a first image, wherein the first image corresponds to the target image; outputting the first image to a display panel of the display, and displaying the first image.
[0087] Color Correction Method Optionally, the color correction method further includes: after the display panel displays the first image, requesting a host computer to control an optical measuring instrument to measure first optical data of the display panel.
[0088] Optionally, the color correction method receives and parses a second control instruction issued by the host computer before the internal image generator outputs the first image to obtain a second parsing result; enables the image path switcher of the display to execute the second control instruction based on the second parsing result, and selects the target output path for outputting the first image.
[0089] Optionally, the color correction method receives and parses a third control instruction sent by the host computer before the internal image generator outputs the first image to obtain a third parsing result; enables the color adjustment control group of the display to execute the third control instruction according to the third parsing result, and initializes the display parameters.
[0090] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0091] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0092] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0093] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0095] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0097] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0098] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0099] From the above description, it can be seen that the above embodiments of the present disclosure achieve the following technical effects:
[0100] By receiving and parsing a first control instruction issued by a host computer, a first parsing result is obtained, and based on the first parsing result, an enable port corresponding to an internal image generator can be set to be enabled. Then, when the internal image generator is enabled to execute the first control instruction issued by the host computer, the internal image generator is caused to generate a first image, and the generated first image is output to a display panel, so that the display panel displays the first image. Compared with the prior art method of using an external image generator to perform color correction on a display, this method not only simplifies the color correction architecture, but also, because the host computer is used in the prior art to output images, the host computer is also used for signal output and measurement control, which may cause the image output of the host computer to be affected by the operating system and the graphics card (GPU), resulting in the output image not being standard linear, resulting in inaccurate color correction. In this solution, since the first image is generated by the internal image generator of the display, the first image can be directly output on the display panel, thereby avoiding incorrect image signals introduced by the external image generator, and making the color correction result based on the first image more accurate.
[0101] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A color correction method, comprising: Receiving and parsing a first control instruction sent by a host computer to obtain a first parsing result, wherein the first control instruction is used to control a display to output a target image; enabling an internal image generator of the display to execute the first control instruction and generate a first image according to the first parsing result, wherein the first image corresponds to the target image; The first image is output to a display panel of the display, and the first image is displayed.
2. The color correction method according to claim 1, wherein: Also includes: After the display panel displays the first image, the host computer is requested to control the optical measuring instrument to measure the first optical data of the display panel.
3. The color correction method according to claim 1 or 2, wherein: Also includes: Before the internal image generator outputs the first image, receiving and parsing a second control instruction issued by the host computer to obtain a second parsing result; The image path switcher of the display is enabled to execute the second control instruction according to the second analysis result, and select a target output path for outputting the first image.
4. The color correction method according to claim 1 or 2, wherein: Also includes: Before the internal image generator outputs the first image, receiving and parsing a third control instruction issued by the host computer to obtain a third parsing result; The color adjustment control group of the display is enabled to execute the third control instruction according to the third analysis result, and the display parameters are initialized.
5. A color correction device using the color correction method according to any one of claims 1 to 4, wherein: include: A receiving module, configured to receive and parse a first control instruction sent by a host computer to obtain a first parsing result, wherein the first control instruction is used to control the display to output a target image; a generating module, configured to enable an internal image generator of the display to execute the first control instruction according to the first parsing result, and generate a first image, wherein the first image corresponds to the target image; The display module is configured to output the first image to a display panel of the display and display the first image.
6. A color correction system, wherein: include: The host computer is configured to issue a first control instruction, wherein the first control instruction is used to control the display to output a target image; The color correction device as claimed in claim 5, wherein the receiving module of the color correction device is configured to receive and parse the first control instruction issued by the host computer, obtain a first parsing result, and enable the generating module of the color correction device to execute the first control instruction according to the first parsing result, and generate a first image, wherein the first image corresponds to the target image, and output the first image to the display module of the color correction device, and display the first image, wherein the receiving module includes a register receiving / control module, the generating module includes an internal image generator, and the display module includes a display panel.
7. The color correction system according to claim 6, wherein: The color correction system further includes an optical measuring instrument, which is configured to measure first optical data of the first image on the display panel after the display panel displays the first image, and provide the first optical data to the host computer.
8. The color correction system according to claim 6 or 7, wherein: The color correction device includes an image path switcher, which is configured to request the color correction device to receive and parse a second control instruction issued by the host computer before the internal image generator outputs the first image, obtain a second parsing result, execute the second control instruction according to the second parsing result, and select a target output path for outputting the first image.
9. The color correction system according to claim 6 or 7, wherein: The color correction device includes a color adjustment control group, which is configured to request the color correction device to receive and parse a third control instruction issued by the host computer before the internal image generator outputs the first image, obtain a third parsing result, execute the third control instruction according to the third parsing result, and initialize display parameters.
10. A computer-readable storage medium, the computer-readable storage medium comprising a stored program, wherein: When the program is running, the device where the computer-readable storage medium is located is controlled to execute the color correction method according to any one of claims 1 to 4.
11. An electronic device, comprising: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing the color correction method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Display And Method For Processing Curved Image Thereof
CN105427778A
Liquid crystal panel aging test method
CN115188303A
Image display system, host computer equipment, image display equipment and image display method
CN1305155A
Automatic regulating system for display
CN1482592A
Display with automatically adjustable resolution factor
CN201876861U
