Method for automatically adjusting display brightness and color temperature of AR glasses
1. A method for automatically adjusting display brightness and color temperature of AR glasses is characterized by comprising the following steps:
step 1: presetting a corresponding relation between the pupil diameter range and the display brightness value of the AR glasses;
step 2: collecting brightness information in the whole field of view of human eyes by using a plane brightness meter on AR glasses, and calculating the theoretical pupil diameter D of the human eyes according to a pupil diameter calculation modelseq;
And step 3: the infrared camera acquires the pupil diameter once every T time, and the pupil diameter acquired by the infrared camera is recorded as DtSimultaneously, measuring the luminance distribution L (x, y) of the environment in the primary view field by a plane luminance meter; performing theoretical pupil calculation for one time;
and 4, step 4: after the pupil diameter is obtained each time, comparing the obtained pupil diameter with the pupil diameter range obtained in the step 1, judging the pupil diameter range where the pupil diameter is located, and adjusting the AR glasses to corresponding brightness values according to the corresponding relation between the pupil diameter range and display brightness values of the AR glasses;
and 5: obtaining the reference pupil diameter D obtained by the brightness information in the field of view in the step 3seqAnd making a difference with the pupil diameter acquired through the infrared image at the same moment, and adjusting the color temperature of the AR glasses by using the difference value.
2. The method of claim 1, wherein the AR glasses have two infrared cameras, and the two infrared cameras are respectively located at the middle positions of the upper rims of the left and right lenses.
3. The method of claim 1, wherein the planar luminance meter is disposed on a nose bridge of the AR glasses.
4. The method of claim 1, wherein in step 2, the specific calculation process of the theoretical pupil diameter is as follows:
recording the brightness distribution L (x, y) in the lower field of view by a plane brightness meter, calculating the corneal flux density F according to the formula (1), and calculating the theoretical pupil diameter D by substituting the corneal flux density F into the formula (2)seq
Wherein, L (x, y) represents the brightness distribution after the virtual image and the actual scene are superposed, D is the diameter of the pupil, and sigma is1、σ2For a fixed numerical parameter, σ1=0.27;σ2=0.12。
5. The method of claim 1, wherein in step 3, the time interval T is three seconds; the pupil diameters acquired by the infrared camera are the average value of the binocular pupil diameters.
6. The method of claim 1, wherein in step 5, when D is reached, the display brightness and color temperature of the AR glasses are automatically adjustedt-Dseq>0, indicating that the integral color temperature of the ambient light is higher, and increasing the display color temperature of the AR glasses; if D ist-Dseq<And 0, indicating that the overall color temperature of the ambient light is lower, and turning down the display color temperature of the AR glasses to match the color temperature of the ambient light.
Background
The usage scenario of the AR glasses generally requires that the displayed content and the external environment are viewed clearly at the same time, so that the automatic adjustment capability of the display brightness is highly required. The brightness of the AR glasses is automatically adjusted by sensing the ambient light brightness. However, the brightness of the ambient light sometimes cannot correctly reflect the human perception of brightness, because the positions of human eyes and the light sensor are generally different, which causes the difference of the light environments of the human eyes and the light sensor; on the other hand, the two light sensors have different brightness sensing modes, the principle of the light sensor is that the brightness of the display is changed according to the brightness or illumination of the light environment, and the brightness sensing of human eyes is not only related to the brightness and illumination of the light environment, but also has a larger relation to the chromaticity of the luminous body, the diameter of the pupil and the like. The color temperature of the ambient light can be represented by using the theoretical and actual pupil diameter difference, so that the display color temperature can be adjusted, and the display content can be better matched with the light environment.
Therefore, it is necessary to combine the light environment and the pupil diameter, and design a method for automatically adjusting the brightness and the color temperature of the AR glasses in consideration of the influence of the chromaticity on the perceived brightness, so as to ensure that the user can obtain a better display effect in different use scenes.
Disclosure of Invention
The invention aims to solve the technical problem that the display brightness of the existing AR glasses is not accurately adjusted, and provides a method for automatically adjusting the display brightness and the color temperature of the AR glasses.
The invention discloses a method for automatically adjusting display brightness and color temperature of AR glasses, which comprises the following steps:
step 1: presetting a corresponding relation between the pupil diameter range and the display brightness value of the AR glasses;
by adopting the scheme of presetting scenes, different preset scenes represent different ambient brightness, the infrared cameras on the AR glasses are started, the ranges of the pupil diameters under different preset scenes are respectively measured, the display brightness values of the AR glasses are preset by a user under different preset scenes, and the pupil diameter ranges and the display brightness values of the AR glasses form a corresponding relation.
Step 2: collecting brightness information in the whole field of view of human eyes by using a plane brightness meter on AR glasses, and calculating the theoretical pupil diameter D of the human eyes according to a pupil diameter calculation modelseq;
And step 3: every interval T moment of infrared cameraAcquiring the diameter of the pupil once, and recording the diameter of the pupil acquired by the infrared camera at the moment t as DtThe time interval T is three seconds; the pupil diameters acquired by the infrared camera are the average value of the binocular pupil diameters. Meanwhile, the plane luminance meter measures the luminance distribution L (x, y) of the environment in the primary view field; performing theoretical pupil calculation for one time;
and 4, step 4: after the pupil diameter is obtained each time, comparing the obtained pupil diameter with the pupil diameter range obtained in the step 1, judging the pupil diameter range where the pupil diameter is located, and adjusting the AR glasses to corresponding brightness values according to the corresponding relation between the pupil diameter range and display brightness values of the AR glasses;
and 5: obtaining the reference pupil diameter D obtained by the brightness information in the field of view in the step 3seqAnd making a difference with the pupil diameter acquired through the infrared image at the same moment, and adjusting the color temperature of the AR glasses by using the difference value.
When D is presentt-Dseq>0, indicating that the integral color temperature of the ambient light is higher, and increasing the display color temperature of the AR glasses; if D ist-Dseq<And 0, indicating that the overall color temperature of the ambient light is lower, and turning down the display color temperature of the AR glasses to match the color temperature of the ambient light.
Has the advantages that: compared with the prior art, the invention has the following advantages:
1. automatically regulated AR display device's luminance is adjusted through pupil diameter, compares original photosensitive device measuring method more accurate, makes the virtual image of demonstration and external environment's luminance phase-match, reduces when ambient light is darker and shows luminance, improves when ambient light is brighter and shows luminance.
2. The color temperature of the AR display equipment is automatically adjusted, the integral color temperature of the ambient light is obtained through the difference value of the reference pupil diameter and the actual pupil diameter, so that the color temperature of the AR display is adjusted, the color temperature of the display image is matched with the color temperature of the ambient light, the virtual image is enabled to be closer to the real environment, and the visual experience is improved.
Drawings
FIG. 1 is a flow chart of a method for automatically adjusting brightness and color temperature based on pupil diameter and light environment according to the present invention;
FIG. 2 is an AR eyewear apparatus equipped with an infrared camera and a planar luminance meter;
1. an infrared camera; 2. and a plane brightness meter.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, the method for automatically adjusting display brightness and color temperature of AR glasses of the present invention comprises the following steps:
step 1: presetting a corresponding relation between the pupil diameter range and the display brightness value of the AR glasses;
by adopting the scheme of presetting scenes, different presetting scenes represent different ambient brightness, the infrared cameras 1 on the AR glasses are started, the ranges of the pupil diameters under different presetting scenes are respectively measured, the display brightness values of the AR glasses are preset by a user under different presetting scenes, and the pupil diameter ranges and the display brightness values of the AR glasses form a corresponding relation. As shown in fig. 2, the AR glasses are provided with two infrared cameras 1, and the two infrared cameras 1 are respectively located in the middle of the upper frames of the left and right lens rings.
The method presets three scenes, namely a darkroom scene, an outdoor scene and an indoor scene, respectively pre-measures pupil diameter ranges under the three scenes, and simultaneously presets a brightness value which is most comfortable to see for a user under the three scenes. And then when in use, the AR glasses are adjusted to the corresponding display brightness value according to the range of the pupil diameter.
Step 2: collecting brightness information in the whole field of view of human eyes by using a plane brightness meter 2 on the AR glasses, wherein the plane brightness meter 2 is arranged on the nose bridge of the AR glasses, and calculating the theoretical pupil diameter D of the human eyes according to a pupil diameter calculation modelseq;
The planar luminance meter 2 records the luminance distribution L (x, y) in the lower field of view, the corneal flux density F is calculated according to the formula (1), and then the corneal flux density F is substituted for the formula (2) to calculate the theoretical pupil diameter, which is recorded as the theoretical pupil diameter Dseq。
Wherein, L (x, y) represents the brightness distribution after the virtual image and the actual scene are superposed, D is the diameter of the pupil, and sigma is1、σ2For a fixed numerical parameter, σ1=0.27;σ2=0.12。
And step 3: the infrared camera 1 acquires the pupil diameter once every T time, and the infrared camera 1 acquires the pupil diameter at the T time and records the pupil diameter as DtThe time interval T is three seconds; the pupil diameters acquired by the infrared camera 1 are all the average value of the binocular pupil diameters. Meanwhile, the plane luminance meter 2 measures the luminance distribution L (x, y) of the environment in the primary view field; performing theoretical pupil calculation for one time;
and 4, step 4: after the pupil diameter is obtained each time, comparing the obtained pupil diameter with the pupil diameter range obtained in the step 1, judging the pupil diameter range where the pupil diameter is located, and adjusting the AR glasses to corresponding brightness values according to the corresponding relation between the pupil diameter range and display brightness values of the AR glasses;
and 5: obtaining the reference pupil diameter D obtained by the brightness information in the field of view in the step 3seqAnd making a difference with the pupil diameter acquired through the infrared image at the same moment, and adjusting the color temperature of the AR glasses by using the difference value.
When D is presentt-Dseq>0, indicating that the integral color temperature of the ambient light is higher, and increasing the display color temperature of the AR glasses; if D ist-Dseq<And 0, indicating that the overall color temperature of the ambient light is lower, and turning down the display color temperature of the AR glasses to match the color temperature of the ambient light.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:虚拟/增强现实系统中的偏振保持光纤