CN-121983000-A - Color correction method of augmented reality equipment and related equipment
Abstract
The invention relates to the technical field of augmented reality equipment and the technical field of color correction, in particular to a color correction method of augmented reality equipment and related equipment. The method comprises the steps of obtaining a gray scale maximum value of a target color channel, displaying a first color picture based on a first parameter set, carrying out color measurement on the first color picture to obtain a first measured value, calculating a measurement gray scale gamma value corresponding to the target color channel according to the first measured value, a first preset value and the gray scale maximum value, displaying a second color picture based on a second parameter set, wherein the first preset value and the second preset value are fixed values smaller than the maximum value, carrying out color measurement on the second color picture to obtain a second measured value, calculating a measurement brightness gamma value corresponding to the target color channel according to the second measured value, the second preset value and the gray scale maximum value, and carrying out color correction on augmented reality equipment if the measurement gray scale gamma value does not meet a first preset condition or the measurement brightness gamma value does not meet a second preset condition.
Inventors
- XIE ZONGXIAN
- LI LONGGAO
- LI HAONAN
- LU ZERONG
- Lai Conghui
Assignees
- 富联裕展科技(深圳)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251219
Claims (10)
- 1. A color correction method for an augmented reality device, comprising: Acquiring the gray-scale maximum value of the augmented reality equipment in a target color channel; controlling the augmented reality equipment to display a first color picture based on a first parameter set, wherein the value of a brightness channel in the first parameter set is the maximum value, and the value of a target color channel is a first preset value; Performing color measurement on the first color picture surface to obtain a first measured value; Calculating a measurement gray-scale gamma value corresponding to the target color channel according to the first measured value, the first preset value and the gray-scale maximum value; judging whether the measured gray-scale gamma value accords with a first preset condition or not; If the measured gray-scale gamma value does not meet the first preset condition, performing color correction on the augmented reality equipment; if the measured gray-scale gamma value meets the first preset condition, controlling the augmented reality device to display a second color picture based on a second parameter set, wherein the value of a target color channel in the second parameter set is the maximum value, and the value of a brightness channel is a second preset value; Performing color measurement on the second color picture to obtain a second measured value; Calculating a measured brightness gamma value corresponding to the target color channel according to the second measured value, the second preset value and the gray-scale maximum value; Judging whether the measured brightness gamma value accords with a second preset condition or not; and if the measured brightness gamma value does not meet the second preset condition, performing color correction on the augmented reality equipment.
- 2. The method of claim 1, wherein the obtaining the gray-scale maximum value of the augmented reality device in the target color channel comprises: Controlling the augmented reality device to display a third color picture based on a third parameter set, wherein the values of the target color channel and the brightness channel in the third parameter set are maximum values, and the values of the other color channels except the target color channel are minimum values; and performing color measurement on the third color picture surface to obtain the gray-scale maximum value of the target color channel.
- 3. The method of claim 1, wherein the values of the color channels other than the target color channel are both the minimum value in the first parameter set and the second parameter set.
- 4. The method of claim 1, wherein performing color correction on the augmented reality device if the measured gray-scale gamma value does not meet the first preset condition comprises: determining a first difference between the measured gray-scale gamma value and a first preset gamma value; If the first difference value is not zero, determining that the measured gray-scale gamma value does not accord with the first preset condition, and determining a first correction value according to the first difference value; And adjusting the gray-scale gamma value of the target color channel according to the first correction value.
- 5. The method of claim 1, wherein performing color correction on the augmented reality device if the measured luminance gamma value does not meet the second preset condition comprises: Determining a second difference between the measured luminance gamma value and a second preset gamma value; if the second difference value is not zero, determining that the measured brightness gamma value does not meet a preset condition, and determining a second correction value according to the second difference value; And adjusting the brightness gamma value of the target color channel according to the second correction value.
- 6. The method of claim 1, wherein the target color channel is any one of a red color channel, a green color channel, and a blue color channel.
- 7. A color correction apparatus of an augmented reality device, comprising: the acquisition module is used for acquiring the gray-scale maximum value of the augmented reality equipment in the target color channel; The control module is used for controlling the augmented reality equipment to display a first color picture based on a first parameter set, wherein the value of a brightness channel in the first parameter set is the maximum value, the value of a target color channel is a first preset value, and controlling the augmented reality equipment to display a second color picture based on a second parameter set, wherein the value of the target color channel in the second parameter set is the maximum value, the value of the brightness channel is a second preset value, and the first preset value and the second preset value are fixed values smaller than the maximum value; the measuring module is used for carrying out color measurement on the first color picture to obtain a first measured value, and carrying out color measurement on the second color picture to obtain a second measured value; The processing module is used for calculating a measured gray-scale gamma value corresponding to the target color channel according to the first measured value, the first preset value and the gray-scale maximum value, and calculating a measured brightness gamma value corresponding to the target color channel according to the second measured value, the second preset value and the gray-scale maximum value; the device comprises a measuring module, a judging module and a display module, wherein the measuring module is used for measuring the gray-scale gamma value and judging whether the gray-scale gamma value accords with a first preset condition or not; the device comprises a judgment module, a correction module and a color correction module, wherein the judgment module is used for judging whether the measured gray-scale gamma value accords with a first preset condition or not, and the correction module is used for carrying out color correction on the augmented reality device when the judgment module judges that the measured brightness gamma value does not accord with a second preset condition.
- 8. The apparatus of claim 7, wherein the values of the color channels other than the target color channel are both the smallest values in the first parameter set and the second parameter set.
- 9. An electronic device, comprising: at least one processor, and At least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1-6.
- 10. A computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 6.
Description
Color correction method of augmented reality equipment and related equipment Technical Field The invention relates to the technical field of augmented reality equipment and the technical field of color correction, in particular to a color correction method of augmented reality equipment and related equipment. Background Augmented reality (Augmented Reality, AR) technology provides a completely new interactive experience for users by superimposing virtual information into the real world. The color accuracy of the display effect of an augmented reality device, such as AR glasses or a helmet, is of paramount importance, and the fusion fidelity of a virtual object and a real environment and the visual comfort of a user are directly related. Currently, color display correction of augmented reality devices is mainly faced with the challenge that, first, color display is easily biased after the device leaves the factory due to the spectral characteristics of optical modules (such as waveguides, prisms, etc.), individual differences of microdisplays, and the influence of ambient light. Therefore, there is an urgent need in the art for a color correction method that can correct the characteristics of color channels and luminance channels, is easy to operate, and does not depend on a complex external environment, so as to improve the display quality and user experience of the augmented reality device. Disclosure of Invention In view of the above, the present invention provides a color correction method for an augmented reality device and related device, which are independent of a complex external environment and simple and convenient to operate. In a first aspect, an embodiment of the present invention provides a color correction method for an augmented reality device, including: Acquiring the gray-scale maximum value of the augmented reality equipment in a target color channel; controlling the augmented reality equipment to display a first color picture based on a first parameter set, wherein the value of a brightness channel in the first parameter set is the maximum value, and the value of a target color channel is a first preset value; Performing color measurement on the first color picture surface to obtain a first measured value; Calculating a measurement gray-scale gamma value corresponding to the target color channel according to the first measured value, the first preset value and the gray-scale maximum value; judging whether the measured gray-scale gamma value accords with a first preset condition or not; If the measured gray-scale gamma value does not meet the first preset condition, performing color correction on the augmented reality equipment; if the measured gray-scale gamma value meets the first preset condition, controlling the augmented reality device to display a second color picture based on a second parameter set, wherein the value of a target color channel in the second parameter set is the maximum value, and the value of a brightness channel is a second preset value; Performing color measurement on the second color picture to obtain a second measured value; Calculating a measured brightness gamma value corresponding to the target color channel according to the second measured value, the second preset value and the gray-scale maximum value; Judging whether the measured brightness gamma value accords with a second preset condition or not; and if the measured brightness gamma value does not meet the second preset condition, performing color correction on the augmented reality equipment. In one possible implementation manner, the obtaining the gray-scale maximum value of the augmented reality device in the target color channel includes: Controlling the augmented reality device to display a third color picture based on a third parameter set, wherein the values of the target color channel and the brightness channel in the third parameter set are maximum values, and the values of the other color channels except the target color channel are minimum values; and performing color measurement on the third color picture surface to obtain the gray-scale maximum value of the target color channel. In one possible implementation manner, the values of the color channels other than the target color channel in the first parameter set and the second parameter set are all minimum values. In one possible implementation manner, if the measured gray-scale gamma value does not meet the first preset condition, performing color correction on the augmented reality device includes: determining a first difference between the measured gray-scale gamma value and a first preset gamma value; If the first difference value is not zero, determining that the measured gray-scale gamma value does not accord with the first preset condition, and determining a first correction value according to the first difference value; And adjusting the gray-scale gamma value of the target color channel according to the first correction value. In one