Search

CN-121985101-A - Color difference correction method based on computer vision feedback and storage medium

CN121985101ACN 121985101 ACN121985101 ACN 121985101ACN-121985101-A

Abstract

The invention discloses a color difference correction method and a storage medium based on computer visual feedback, wherein the method comprises the steps of traversing all standard color values, controlling all projectors to project pure color images generated according to the current standard color values, shooting all images projected by all projectors through a camera at the same time, calculating imaging color differences of a reference projector and all to-be-adjusted projectors according to the shot images, taking the latest output color value of the to-be-adjusted projector as a correction color value corresponding to the current standard color value if the imaging color difference is smaller than a preset color difference threshold value, otherwise, updating the output color value of the to-be-adjusted projector, repeating the steps of projecting the images and calculating the imaging color difference, obtaining a color lookup table of each to-be-adjusted projector after traversing, and controlling the reference projector to display the to-be-displayed color value and controlling each to-be-adjusted projector to display the corresponding correction color value of the to be-displayed color value in the projector. The invention can offset the chromatic aberration between projectors.

Inventors

  • CHEN YONG
  • XU JIYUN
  • WANG ZILIANG
  • MA XUEHUAI

Assignees

  • 福建星网视易信息系统有限公司

Dates

Publication Date
20260505
Application Date
20251229

Claims (10)

  1. 1. A color difference correction method based on computer vision feedback, comprising: sampling the preset color space along each color channel according to the preset step length to obtain a standard color value; Selecting one projector from more than two projectors as a reference projector, and using other projectors as projectors to be adjusted; Traversing each standard color value, and sequentially obtaining a standard color value as a current standard color value; Controlling each projector to project a solid-color image generated according to the current standard color value, and simultaneously shooting the image projected by each projector through a camera; According to the shot images, imaging color differences of the reference projector and each projector to be adjusted are calculated respectively; If the imaging color difference between the reference projector and the projector to be adjusted is larger than or equal to a preset color difference threshold, updating the output color value of the projector to be adjusted according to the imaging color difference between the reference projector and the projector to be adjusted, repeating the steps of controlling each projector to project pure color images generated according to the current standard color value and simultaneously shooting the images projected by each projector through a camera; If the imaging color difference between the reference projector and a to-be-adjusted projector is smaller than a preset color difference threshold value, taking the latest output color value of the to-be-adjusted projector as a corrected color value corresponding to the current standard color value in the to-be-adjusted projector; after the traversing is finished, respectively obtaining a color lookup table of each projector to be adjusted according to the corresponding corrected color value of each standard color value in each projector to be adjusted; When the color value to be displayed is to be displayed, the correction color value corresponding to the color value to be displayed in each projector to be adjusted is determined through interpolation according to the color lookup table of each projector to be adjusted, the reference projector is controlled to display the color value to be displayed, and each projector to be adjusted is controlled to display the correction color value corresponding to the color value to be displayed in the projector to be adjusted.
  2. 2. The method for correcting chromatic aberration based on computer visual feedback according to claim 1, wherein determining, by interpolation, a corrected color value corresponding to the color value to be displayed in each projector to be adjusted according to the color lookup table of each projector to be adjusted, respectively, comprises: Acquiring a preset number of standard color values closest to the color value to be displayed in a color lookup table of a projector to be adjusted; And calculating to obtain the corrected color value corresponding to the color value to be displayed in the projector to be adjusted through a tri-linear interpolation method according to the corrected color value corresponding to the standard color value of the nearest preset number.
  3. 3. The method for correcting chromatic aberration based on computer vision feedback according to claim 1, wherein the calculating the imaging chromatic aberration of the reference projector and each of the projectors to be adjusted from the photographed images, respectively, comprises: determining imaging areas corresponding to the projectors in the photographed images; And respectively calculating imaging color differences of the reference projector and each to-be-adjusted projector according to imaging color values of imaging areas corresponding to the reference projector and each to-be-adjusted projector.
  4. 4. A color difference correction method based on computer vision feedback as defined in claim 3, wherein said determining the imaging area corresponding to each projector in the photographed image comprises: determining a segmentation threshold value through an Ojin binarization method, and carrying out image segmentation on a shot image according to the segmentation threshold value to obtain imaging areas corresponding to all projectors.
  5. 5. The method according to claim 1, wherein updating the output color value of the stand-by projector according to the imaging color difference between the reference projector and the stand-by projector comprises: Calculating a correction vector according to imaging color differences of the reference projector and the projector to be adjusted and a preset correction weight; and updating the output color value of the projector to be adjusted according to the correction vector.
  6. 6. The method for correcting chromatic aberration based on computer-vision feedback of claim 5, wherein updating the output color value of the projector to be adjusted according to the correction vector comprises: And adding the latest output color value of the projector to be adjusted to the correction vector to obtain an updated output color value.
  7. 7. The method for correcting chromatic aberration based on computer-vision feedback according to claim 1, wherein before simultaneously capturing the images projected by each projector by the camera, further comprising: and obtaining optimal shooting parameters through an automatic exposure algorithm.
  8. 8. The color difference correction method based on computer vision feedback according to any one of claims 1 to 7, characterized in that a projector with minimum brightness is used as a reference projector.
  9. 9. The method for correcting chromatic aberration based on computer-vision feedback of any one of claims 1-7, wherein the color space is RGB color space, HSV color space, or LAB color space.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-9.

Description

Color difference correction method based on computer vision feedback and storage medium Technical Field The invention relates to the technical field of projection, in particular to a chromatic aberration correction method based on computer vision feedback and a storage medium. Background Because of different installation positions and different using time periods, different projectors in the multi-projection system can generate chromatic aberration and brightness difference. The conventional countermeasure is to apply different levels of attenuation or gain to the R/G/B channels by software or hardware, respectively, to cancel the color difference/brightness difference. However, applying the same attenuation or gain to all colors does not cancel the color differences well due to crosstalk problems between the projector's own color channels. Another accurate approach is to measure CIE-XYZ values of standard colors by a professional color corrector and calculate a LUT Table (Look-Up Table) to map the projector gamut to the target gamut. Although this method can construct the map accurately, a high-precision professional device is required. In the patent publication No. CN1658651A, a color correction method for a multi-channel projection display system is disclosed, which comprises (1) generating an input image by an image generator of each projection channel, correcting the input image by an image corrector, inputting the corrected image to a projector, projecting the corrected image to a projection screen, obtaining color values of the screen image by a color measuring device, inputting the color values of the input image of each projection channel to a color conversion unit of a debugging computer, obtaining color mapping data from the color values of the screen image, storing the color mapping data in a memory, (2) calculating the target color mapping data of the system by the debugging computer according to the color mapping data of each channel, storing the target color mapping data in the memory, (3) calculating a color correction coefficient of each channel by the debugging computer, correcting the input image generated by the image generator by the image corrector by using the color correction coefficient, inputting the corrected image to the projector, projecting the corrected color mapping data to the screen, calculating the difference between the corrected color mapping data and the target color mapping data, if the difference values of the previous and subsequent correction values are converged within a set error range, completing the color correction, and (4) otherwise (3) storing the corrected image obtained by the debugging computer into the image corrector, and processing the corrected image by the image input by the image corrector. However, the scheme is to calculate the target color first and then execute the color mapping data calculation, so that parameters such as exposure, sensitization, aperture and the like of the camera are required to be kept unchanged all the time. However, in the practical application scenario, unless the camera is a high-dynamic camera, it is difficult to ensure the best recognition degree for all sample colors. Disclosure of Invention The invention aims to solve the technical problems of providing a chromatic aberration correction method and a storage medium based on computer vision feedback, which can well counteract chromatic aberration between projectors and have low equipment requirements. In order to solve the technical problems, the technical scheme adopted by the invention is that the chromatic aberration correction method based on computer vision feedback comprises the following steps: sampling the preset color space along each color channel according to the preset step length to obtain a standard color value; Selecting one projector from more than two projectors as a reference projector, and using other projectors as projectors to be adjusted; Traversing each standard color value, and sequentially obtaining a standard color value as a current standard color value; Controlling each projector to project a solid-color image generated according to the current standard color value, and simultaneously shooting the image projected by each projector through a camera; According to the shot images, imaging color differences of the reference projector and each projector to be adjusted are calculated respectively; If the imaging color difference between the reference projector and the projector to be adjusted is larger than or equal to a preset color difference threshold, updating the output color value of the projector to be adjusted according to the imaging color difference between the reference projector and the projector to be adjusted, repeating the steps of controlling each projector to project pure color images generated according to the current standard color value and simultaneously shooting the images projected by each projector through a camera; If the i