CN114675744B - AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses - Google Patents

AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses Download PDF

Info

Publication number
CN114675744B
CN114675744B CN202210589734.2A CN202210589734A CN114675744B CN 114675744 B CN114675744 B CN 114675744B CN 202210589734 A CN202210589734 A CN 202210589734A CN 114675744 B CN114675744 B CN 114675744B
Authority
CN
China
Prior art keywords
brightness
glasses
display
display brightness
ambient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210589734.2A
Other languages
Chinese (zh)
Other versions
CN114675744A (en
Inventor
马宝真
蔡炜
王铂
张朝志
郑喜凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202210589734.2A priority Critical patent/CN114675744B/en
Publication of CN114675744A publication Critical patent/CN114675744A/en
Application granted granted Critical
Publication of CN114675744B publication Critical patent/CN114675744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B27/0172Head mounted characterised by optical features

Abstract

The invention discloses an AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses, belonging to the field of AR glasses, wherein the method comprises the following steps: acquiring left side ambient brightness and right side ambient brightness of the AR glasses; acquiring left display brightness and right display brightness of the AR glasses; calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness; the compensation method can enable the AR glasses to be normally used in an environment with uneven light sources by increasing or decreasing one of the left-side display brightness and the right-side display brightness according to the adjustment amount of the display brightness, and the brightness of one of the left lens and the right lens of the AR glasses is adjusted according to the characteristic that two eyes of a person can respectively adjust the environmental brightness adaptively, so that the phenomenon that the eyes of the person think that the image on one side of the eyes of the person is too bright or too dark is avoided, and the vertigo of the user is avoided.

Description

AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses
Technical Field
The invention relates to a visual brightness compensation method for AR glasses, electronic equipment and the AR glasses, and belongs to the field of AR glasses.
Background
The binocular vision equipment is a popular research direction in the current display field, and can be applied to various scenes such as learning, games, driving simulation, maintenance and the like. Wherein, AR glasses equipment, also called reality reinforcing glasses, the user can see real scene in front after wearing, also can see the virtual image that is thrown by AR glasses. Since AR glasses need to see a real scene, the requirements of AR glasses on environmental adaptability are much higher than VR glasses (virtual reality glasses) that cannot see a real scene.
One problem that is often ignored by prior art AR glasses is that in some usage scenarios the light source of the ambient light is not uniform, but the brightness of the picture provided by the prior art AR glasses for both eyes is always the same. The human eye can automatically adapt to the ambient brightness according to the ambient light intensity, cone cells responsible for sensing colors are distributed in the central recess of the retina, rod cells responsible for identifying under low brightness are distributed in the peripheral area of the retina, and under the environment with sufficient light, the pupil is shrunk, so that on one hand, the light entering the retina is automatically reduced, and on the other hand, the cone cells are mainly allowed to work; in the dark environment, the through-holes are enlarged, on the one hand, the light entering the retina is automatically increased, on the other hand, the rod cells are mainly allowed to work, and the two eyes of a person can respectively perform the adaptability adjustment. In an environment with one side bright and the other side dark, both eyes are adjusted adaptively according to the environment, but the brightness of the picture provided by the AR glasses is still the same for both eyes, so that one eye of the AR glasses considers that the image is too bright or too dark, and the user feels dizzy.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides an AR glasses vision brightness compensation method, an electronic device and AR glasses, which can adjust the brightness of the binocular pictures of the AR glasses according to the light distribution of the environment where the user is located, so as to adapt to the vision feeling of human eyes.
The technical scheme adopted by the invention for solving the technical problems is as follows:
in a first aspect, the present application provides a method for compensating visual brightness of AR glasses, comprising the following steps:
acquiring left display brightness and right display brightness of the AR glasses;
acquiring the left ambient brightness and the right ambient brightness of the AR glasses;
calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness;
and adjusting one of the left side display brightness and the right side display brightness up or down according to the display brightness adjustment amount.
The AR glasses visual brightness compensation method can compensate brightness of one of left display brightness and right display brightness according to the difference of the ambient light brightness of the left side and the right side of the AR glasses, and prevents a user from being dizzy.
Optionally, the step of calculating a display brightness adjustment amount according to the left ambient brightness and the right ambient brightness includes:
and calculating a left experience value according to the left environment brightness, calculating a right experience value according to the right environment brightness, calculating a second difference value between the left experience value and the right experience value, and calculating the display brightness adjustment amount according to the second difference value.
The German physiologist E.H. Weber finds that the sensory difference threshold changes along with the change of the original stimulus quantity and shows a certain regularity, the increase of the sensory quantity lags behind the increase of the physical quantity, on the basis, the Fisher's law shows that the physical quantity increases in a geometric progression way, the progression of mental quantity calculation is increased, the ambient brightness serving as the physical quantity is firstly converted into a sensory value capable of becoming the mental quantity, then the difference of the sensory value is utilized to calculate the display brightness adjustment quantity, the display brightness can adapt to the sensory difference of human eyes facing the brightness change, and the display brightness is adjusted to the left and the right according to the ambient brightness difference directly, so that the display brightness is more in line with the physiological characteristics of people, the appearance of a user is more comfortable, and the vertigo is avoided.
Optionally, before the step of calculating the display brightness adjustment amount according to the left-side ambient brightness and the right-side ambient brightness, the method further includes the steps of:
calculating a first average value of the left side display brightness and the right side display brightness; calculating a first difference between the left ambient brightness and the right ambient brightness, and calculating a first ratio of the first difference to the first average;
the step of calculating the display brightness adjustment amount according to the left side environment brightness and the right side environment brightness comprises the following steps:
and when the first ratio is larger than a first preset ratio, calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness.
When the AR glasses are worn by a person, the head can not move to a small extent, so that the sensor for acquiring the ambient light brightness can have measurement errors, when the brightness difference of the left side and the right side of the AR glasses is small, the brightness compensation is not performed in the range adaptable to the eyes of the person, the brightness compensation is performed only when the brightness difference of the left side and the right side of the AR glasses is large, and the phenomenon that the picture has twinkling feeling due to frequent brightness adjustment is avoided.
Optionally, the step of increasing or decreasing one of the left-side display brightness and the right-side display brightness according to the display brightness adjustment amount includes:
calculating a second average of the left ambient brightness and the right ambient brightness;
when the second average value is smaller than or equal to a preset threshold value, reducing the higher ambient brightness of the left-side display brightness and the right-side display brightness according to the display brightness adjustment quantity; and when the second average value is larger than the preset threshold value, increasing the lower ambient brightness of the left-side display brightness and the right-side display brightness according to the display brightness adjustment amount.
The screen brightness with higher brightness is adjusted to be lower in the dark light environment, and the screen brightness with lower brightness is adjusted to be higher in the bright light environment, so that the requirement of users for seeing clearly can be met, and the eyesight of the users can be protected.
Optionally, the step of obtaining the left ambient brightness and the right ambient brightness of the AR glasses further includes, before the step of obtaining the left ambient brightness and the right ambient brightness of the AR glasses, the step of:
acquiring central environment brightness of the AR glasses;
generating basic brightness according to the central environment brightness;
the left display brightness is the basic brightness or the combination of the basic brightness and the display brightness adjustment amount; the right-side display brightness is the base brightness or a combination of the base brightness and the display brightness adjustment amount. When the brightness compensation is not needed, the display is directly displayed according to the basic brightness; when brightness compensation is needed, only one of the left lens and the right lens of the AR glasses is compensated.
Optionally, the step of obtaining the left ambient brightness and the right ambient brightness of the AR glasses further includes, before the step of obtaining the left ambient brightness and the right ambient brightness of the AR glasses, the step of:
calculating the variation of the central environment brightness obtained twice continuously; calculating a first average value of the left side display brightness and the right side display brightness;
and when the variation is smaller than or equal to a preset multiple of the first average value, suspending adjusting the display brightness, and returning to the step of obtaining the central environment brightness of the AR glasses.
In a second aspect, the present application provides an electronic device comprising a processor and a memory, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, perform the steps of the method according to the first aspect.
Third aspect, the application provides an AR glasses, be in including spectacle-frame and setting left lens, right lens on the spectacle-frame, the left side of spectacle-frame is provided with left ambient light sensor, the right side of spectacle-frame is provided with right ambient light sensor, the spectacle-frame embeds there is the control unit, the control unit is used for:
reading the left display brightness of the left lens and the right display brightness of the right lens;
acquiring left-side ambient brightness detected by the left ambient light sensor and right-side ambient brightness detected by the right ambient light sensor;
calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness;
and increasing or decreasing one of the left side display brightness of the left lens and the right side display brightness of the right lens according to the display brightness adjustment amount.
The application provides an AR glasses can carry out brightness compensation to one in the left and right sides display brightness according to the ambient light brightness difference of the left and right sides of the AR glasses, and avoids the user to feel dizzy.
Preferably, the eyeglass frame is provided with a central ambient light sensor between the left lens and the right lens;
the control unit acquires central ambient brightness detected by the central ambient light sensor;
the control unit generates basic brightness according to the central environment brightness;
the control unit instructs the left lens to display according to the basic brightness and instructs the right lens to display according to the basic brightness; or instructing the left lens to perform combined display according to the basic brightness and the display brightness adjustment amount, and instructing the right lens to perform display according to the basic brightness; or, the left lens is instructed to display according to the basic brightness, and the right lens is instructed to display according to the combination of the basic brightness and the display brightness adjustment amount.
Preferably, the control unit calculates an amount of change in the central ambient brightness acquired two times in succession; calculating a first average value of the left side display brightness and the right side display brightness; when the variation is smaller than or equal to a preset multiple of the first average value, instructing the left ambient light sensor and the right ambient light sensor to stop working; and when the variation is larger than the preset multiple of the first average value, instructing the left ambient light sensor and the right ambient light sensor to be started.
The brightness value detected by the brightness sensor is related to the irradiation angle of the light source, so that whether the irradiation angle of the light source changes or not can be judged by using a single ambient light sensor, and the ambient light sensors on the two sides are started when the irradiation angle of the light source changes, so that the increase of the cruising ability of the AR glasses is facilitated, the calculation amount of the control unit is reduced to a certain extent, and the frequent brightness compensation can be avoided.
The invention has the beneficial effects that: the visual brightness compensation method of the AR glasses can enable the AR glasses to be normally used in an environment with uneven light sources, aiming at the characteristic that two eyes of a person can respectively adjust the environmental brightness adaptively, the display brightness adjustment amount is calculated according to the difference of the environmental brightness of the left side and the right side of the AR glasses, only one of the left lens and the right lens of the AR glasses is adjusted according to the display brightness adjustment amount, the phenomenon that the eyes think that the image on one side is too bright or too dark is avoided, and the phenomenon that a user feels dizzy is avoided.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
Fig. 1 is a flowchart of a method for compensating visual brightness of AR glasses according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of AR glasses provided in an embodiment of the present application.
Fig. 3 is a logic diagram for adjusting the brightness of the AR glasses according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
In the prior art, the brightness of pictures provided by the AR glasses for two eyes is always the same, and in some use scenes, the light source of ambient light is not uniform, for example, when the AR glasses are used for overhauling, an overhauling lamp used for irradiating a workpiece is not uniform like natural light, and when the AR glasses are used for overhauling the inside of the workpiece by the aid of the overhauling lamp, the light quantity entering the left eye and the right eye is not the same; for example, when the AR glasses are used to play games indoors, the brightness of each lamp in the room is different, the installation position of each lamp in the room is also different, and the light intensity entering both eyes is constantly changed when the user walks indoors while wearing the AR glasses. Human eyes can be adaptively adjusted according to the brightness of the ambient light, and the two eyes are respectively adjusted, at the moment, pictures with equal brightness are provided for the two eyes, so that one eye of the two eyes easily considers that the image is too bright, and the eyes are dazzled or too dark and cannot see clearly.
Based on the above problem, referring to fig. 1, the method for compensating visual brightness of AR glasses in the present application includes the following steps:
s10: and acquiring the left display brightness and the right display brightness of the AR glasses.
S20: and acquiring left ambient brightness and right ambient brightness of the AR glasses.
S30: and calculating the display brightness adjustment amount according to the left ambient brightness and the right ambient brightness.
S40: and adjusting up or down one of the left display brightness and the right display brightness according to the display brightness adjustment amount.
The visual brightness compensation method of the AR glasses can enable the AR glasses to be normally used in an environment with an uneven light source, aiming at the characteristic that two eyes of a person can respectively adjust the environmental brightness, the display brightness adjustment amount is calculated according to the difference of the environmental brightness of the left side and the right side of the AR glasses, only one of the left lens and the right lens of the AR glasses is adjusted according to the display brightness adjustment amount, the phenomenon that the image on one side of the AR glasses is too bright or too dark by the eyes of the person is avoided, and the phenomenon that the user feels dizzy is avoided.
Accordingly, referring to fig. 2, the present application provides an AR glasses, including spectacle-frame 1 and left lens 2, right lens 3 of setting on spectacle-frame 1, the left side of spectacle-frame is provided with left ambient light sensor 12, and the right side of spectacle-frame is provided with right ambient light sensor 13, and the spectacle-frame embeds there is the control unit, and the control unit is used for: reading the left display brightness of the left lens 2 and the right display brightness of the right lens 3; acquiring left ambient brightness detected by a left ambient light sensor 12 and right ambient brightness detected by a right ambient light sensor 13; calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness; and increasing or decreasing one of the left display brightness of the left lens and the right display brightness of the right lens according to the display brightness adjustment amount.
The AR glasses are normally used in the environment with the uneven light source, the display brightness adjustment amount is calculated according to the difference between the left side environment brightness and the right side environment brightness aiming at the characteristic that two eyes of a person can respectively adjust the environment brightness in an adaptive mode, only the left lens 2 or the right lens 3 is adjusted according to the display brightness adjustment amount, the phenomenon that the eyes of the person think that an image on one side of the eyes of the person is too bright or too dark is avoided, and the phenomenon that a user feels dizzy is avoided.
In some embodiments, the step of obtaining the left ambient brightness and the right ambient brightness of the AR glasses further comprises the steps of:
s11: acquiring central environment brightness of the AR glasses;
s14: the base luminance is generated from the central ambient luminance.
The AR glasses visual brightness compensation method is mainly used for compensating the brightness of the left lens 2 and the right lens 3, and the compensation method can be used for a manual brightness adjustment mode of the AR glasses and an automatic brightness adjustment mode.
Accordingly, for the AR glasses provided previously, the eyeglass frame 1 is provided with a central ambient light sensor 11 between the left lens 2 and the right lens 3. The control unit acquires the central ambient brightness detected by the central ambient light sensor 11; generating basic brightness according to the central environment brightness; instructing the left lens 2 to display according to the basic brightness, and instructing the right lens 3 to display according to the basic brightness; or, the left lens 2 is instructed to perform combined display according to the basic brightness and the display brightness adjustment quantity, and the right lens 3 is instructed to perform display according to the basic brightness; or, the left lens 2 is instructed to display according to the basic brightness, and the right lens 3 is instructed to display according to the combination of the basic brightness and the display brightness adjustment amount. When the brightness compensation is not needed, the display is directly displayed according to the basic brightness; when brightness compensation is needed, only one of the left lens and the right lens of the AR glasses is compensated.
The single screen automatically adjusts the display brightness according to the ambient brightness belongs to the prior art, and for example, mobile phones, tablet computers and the like on the market have the function. However, for AR glasses, it is impossible to set the two glasses lenses as two screens whose brightness is independently adjusted in order to match the characteristics of both eyes respectively adapted to the ambient light. If a brightness sensor is respectively configured for the left and right lenses, the display brightness of each lens is only controlled by the measured value of the respective brightness sensor, which seems to be capable of respectively providing proper brightness when the eyes adapt to the uneven ambient light, but the display effect is not good in practice. For example, when a binocular stereoscopic image is used to display a stereoscopic image, the contrast of objects viewed by two eyes is required to be consistent, and the brightness of two lenses is independently adjusted, which may cause the contrast of images viewed by two eyes to be inconsistent, so that the stereoscopic display effect on the same target cannot be achieved. According to the method, a basic brightness is generated through manual adjustment or automatic adjustment, a display brightness adjustment amount is combined on the basic brightness during display, the brightness of one lens is only compensated, and the left lens 2 and the right lens 3 are guaranteed to have the same contrast.
In some preferred embodiments, the step of obtaining the left ambient brightness and the right ambient brightness of the AR glasses further comprises the steps of:
s12: calculating the variation of the two continuously acquired central environment brightnesses; calculating a first average value of the left display brightness and the right display brightness;
s13: and when the variation is smaller than or equal to the preset multiple of the first average value, suspending adjusting the display brightness, and returning to the step of obtaining the central environment brightness of the AR glasses. Preferably, the preset multiple is 0.005.
Accordingly, for the AR glasses provided as described above, the control unit calculates the amount of change in the central ambient brightness acquired twice consecutively (the measurement interval may be 10ms to 40 ms); calculating a first average value of the left display brightness and the right display brightness; when the variation is smaller than or equal to a preset multiple of the first average value, instructing the left ambient light sensor and the right ambient light sensor to stop working; and when the variation is larger than a preset multiple of the first average value, instructing the left ambient light sensor and the right ambient light sensor to be started.
In many use scenes of the AR glasses, a user can walk, so that the AR glasses cannot be plugged with a charging wire all the time, and the work of the electronic device, such as detection performed by a brightness sensor, and calculation performed by a control unit are behaviors of consuming electric energy. The brightness value detected by the brightness sensor is related to the illumination angle of the light source, so that the central ambient light sensor 11 can be used to determine whether the illumination angle of the light source changes, and the ambient light sensors on the two sides are turned on only when the illumination angle of the light source changes. That is, when the variation is less than or equal to 0.005 times the first average value, it is considered that this situation may be a measurement error of the central ambient light sensor, or it is considered that this situation may be that the variation of the illumination angle is small and not enough to cause a large variation in the brightness of the left and right sides of the AR glasses, and the left ambient light sensor 12 and the right ambient light sensor 13 are not turned on for a while; when the variation is larger than "0.005 × first average", the left ambient light sensor 12 and the right ambient light sensor 13 are turned on. Several advantages can be derived: firstly, the endurance of the AR glasses is increased; secondly, the calculation amount of the control unit is reduced to a certain degree; and thirdly, the brightness compensation can be prevented from being carried out too frequently.
Also based on the above three advantages, in a more preferred embodiment, step S12 and step S13 can be designed between step S11 and step S14, which is beneficial to reduce the number of times of generating the base luminance, reduce the amount of computation of the control unit, and avoid frequent luminance adjustment.
In another embodiment, there are other means to avoid frequent adjustment of the display brightness, for example, the step of calculating the display brightness adjustment amount according to the left-side ambient brightness and the right-side ambient brightness further comprises the steps of:
calculating a first average value D, D = (Dl + Dr)/2 of the left-side display brightness Dl and the right-side display brightness Dr; calculating a first difference value (| Bl-Br |/D) between the left ambient brightness Bl and the right ambient brightness Br, and calculating a first ratio (| Bl-Br |/D) of the first difference value and the first average value;
the step of calculating the display brightness adjustment amount according to the left side environment brightness and the right side environment brightness comprises the following steps:
and when the first ratio is larger than a first preset ratio, calculating a display brightness adjustment amount according to the left-side environment brightness and the right-side environment brightness. Preferably, the first predetermined ratio is 0.02.
When the absolute value of Bl-Br/D is greater than 0.02, the human eyes perceive two brightness differences to be larger, and the display brightness adjustment amount is calculated according to the left side environment brightness and the right side environment brightness; when the absolute value of Bl-Br/D is less than or equal to 0.02, the difference is considered to be small and still in the range acceptable by human eyes, and the brightness compensation is not carried out.
In some embodiments, the brightness compensation is performed by adjusting one of the left-side display brightness and the right-side display brightness up or down according to the brightness of the environment. When a person is in a dark environment, the pupil can be enlarged, and the display brightness of the higher ambient brightness of the left lens 2 and the right lens 3 is reduced; when a person is in a bright environment, the pupil can be shrunk, and the display brightness of the lower ambient brightness of the left lens 2 and the right lens 3 is increased, so that the compensation method can meet the requirement of the user for seeing clearly and is favorable for protecting the eyesight of the user. Specifically, a second average value of the left-side ambient brightness and the right-side ambient brightness is calculated, and when the second average value is larger than a preset threshold value, the person is considered to be in a bright environment; when the second average value is less than or equal to a preset threshold value, the person is considered to be in a dark environment. Preferably, the preset threshold is 3 nit.
By integrating the above preferred embodiments, the logic of adjusting brightness of the AR glasses is as shown in fig. 3, first obtaining the central ambient brightness of the AR glasses, and then calculating the variation of the central ambient brightness obtained twice continuously (which may be the comparison between the measured value of this time and the measured value during the previous adjustment, and the interval between two adjacent adjustment rounds is 30 ms); and calculating a first average value of the left display brightness and the right display brightness. Judging whether the variation is larger than a preset multiple (such as 0.005) of the first average value, if not, continuously displaying with the original brightness without adjusting the brightness; if so, generating basic brightness according to the central ambient brightness, starting a left ambient light sensor and a right ambient light sensor, acquiring left ambient brightness and right ambient brightness of the AR glasses, and calculating a first average value of the left display brightness and the right display brightness; calculating a first difference value between the left ambient brightness and the right ambient brightness, calculating a first ratio of the first difference value to the first average value, and if the first ratio is less than or equal to a first preset ratio (such as 0.02), directly displaying according to the new basic brightness; if the first ratio is greater than the first preset ratio, the brightness compensation of the left lens 2 or the right lens 3 is required.
At the moment, the display brightness adjustment amount is calculated according to the left side environment brightness and the right side environment brightness, then whether the AR glasses are in a dark environment or a bright environment needs to be judged, and a second average value of the left side environment brightness and the right side environment brightness is calculated; if the second average value is larger than the preset threshold value, the AR glasses are considered to be in a bright environment, and on the basis of the new basic brightness, one of the left display brightness and the right display brightness which is higher in the environment brightness is increased according to the display brightness adjustment amount; if the second average value is less than or equal to the preset threshold value, the AR glasses are considered to be in a dark environment, on the basis of the new basic brightness, one of the left display brightness and the right display brightness, which is lower in the environment brightness, is adjusted according to the display brightness adjustment amount, and then display is performed according to the adjusted brightness (one of the left lens 2 and the right lens 3 is displayed according to the basic brightness, and the other is displayed according to the adjusted brightness).
A method of visual brightness compensation for AR glasses corresponding to the logic of fig. 3 includes the steps of:
s10: and acquiring left display brightness and right display brightness of the AR glasses. Since the left display luminance and the right display luminance are calculated from the previous adjustment, they are actually the display luminance obtained when the previous adjustment is read.
S11: the central ambient brightness of the AR glasses is obtained.
S12: calculating the variation of the two continuously acquired central environment brightnesses; and calculating a first average value of the left display brightness and the right display brightness.
S13': and when the variation is smaller than or equal to the preset multiple of the first average value, suspending adjusting the display brightness, and returning to the step of obtaining the central environment brightness of the AR glasses. When the variation is larger than the preset multiple of the first average value, the process proceeds to step S14.
S14: the base luminance is generated from the central ambient luminance.
S20: and acquiring left ambient brightness and right ambient brightness of the AR glasses.
S21: reading the first average value (calculated in the previous step S12); a first difference (absolute value) between the left ambient brightness and the right ambient brightness is calculated, and a first ratio of the first difference to the first average is calculated.
S30': when the first ratio is larger than a first preset ratio, calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness; and when the first ratio is smaller than or equal to the first preset ratio, displaying according to the basic brightness, and returning to the step S10.
S41: calculating a second average value of the left ambient brightness and the right ambient brightness;
s42: when the second average value is smaller than or equal to the preset threshold value, adjusting down one of the left side display brightness and the right side display brightness which is higher in the environment brightness according to the display brightness adjustment quantity; and when the second average value is larger than the preset threshold value, increasing the lower ambient brightness of the left display brightness and the right display brightness according to the display brightness adjustment quantity.
In a preferred embodiment, the specific steps of step S30 include:
calculating a left-side feeling value according to the left-side environment brightness, calculating a right-side feeling value according to the right-side environment brightness, calculating a second difference value delta S between the left-side feeling value and the right-side feeling value, and calculating a display brightness adjustment quantity delta L according to the second difference value delta S.
The german physiologist e.h. weber found that the threshold of the difference in sensation varied with the amount of the original stimulus and appeared to be regular, with the increase in the amount of sensation lagging behind the increase in the amount of the physical quantity. Based on weber's research, fisher, a german physicist proposed a hypothesis in 1860: taking the minimum perceptible difference (successive difference thresholds) as a unit of perceived volume, i.e. the mental volume increases by one unit for each increase of a difference threshold, the following formula can be derived:
s = K × lgB + C; formula 1
Wherein S is a sensory quantity, K is a Weber constant, B is a physical quantity, and C is an integration constant. K. The value of C can be referred to existing studies on the sensitivity of the human eye to luminance.
According to the embodiment of the application, the environmental brightness serving as the physical quantity is converted into the sensing value capable of becoming the psychological quantity, then the display brightness adjustment quantity is calculated by utilizing the difference of the sensing value, the human eye can adapt to the feeling difference when the brightness changes, and compared with the situation that the left display brightness and the right display brightness are directly adjusted according to the environmental brightness difference, the display brightness more conforms to the physiological characteristics of people, the impression of a user is more comfortable, and the dizziness is avoided.
The formula for calculating the sensitivity value (the amount of sensitivity) is directly expressed by formula 1, and the left-side sensitivity value and the right-side sensitivity value can be calculated by substituting the values of the left-side ambient brightness Bl and the right-side ambient brightness Br into B in formula 1. And (4) taking the difference between the left-side experience value and the right-side experience value and taking the absolute value to obtain a second difference value delta S.
Equation 2 for calculating the display luminance adjustment amount Δ L is also converted from the weber-fisher equation.
Figure 153927DEST_PATH_IMAGE001
The Δ L thus calculated is used to adjust the power of the light source used by the AR glasses for imaging, and display the display brightness difference on the left and right sides of the AR glasses.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the present disclosure provides an electronic device, including: the processor 301 and the memory 302, the processor 301 and the memory 302 being interconnected and communicating with each other via a communication bus 303 and/or other form of connection mechanism (not shown), the memory 302 storing a computer program executable by the processor 301, the computer program being executable by the processor 301 when the computing device is running to perform the method in any of the alternative implementations of the above embodiments when the processor 301 executes the computer program to perform the following functions: acquiring left ambient brightness and right ambient brightness of the AR glasses; acquiring left display brightness and right display brightness of the AR glasses; calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness; and adjusting up or down one of the left display brightness and the right display brightness according to the display brightness adjustment amount.
In the description of the present specification, reference to the description of the terms "one embodiment," "certain embodiments," "illustrative embodiments," "example," "specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (9)

1. A visual brightness compensation method for AR glasses is characterized by comprising the following steps:
acquiring left display brightness and right display brightness of the AR glasses;
acquiring the left ambient brightness and the right ambient brightness of the AR glasses;
calculating a left experience value according to the left environment brightness, calculating a right experience value according to the right environment brightness, calculating a second difference value between the left experience value and the right experience value, and calculating a display brightness adjustment amount according to the second difference value;
and increasing or decreasing one of the left side display brightness and the right side display brightness according to the display brightness adjustment amount.
2. The method for compensating visual brightness of AR glasses according to claim 1, wherein said step of calculating a display brightness adjustment amount according to said left side ambient brightness and said right side ambient brightness further comprises the steps of:
calculating a first average value of the left side display brightness and the right side display brightness; calculating a first difference between the left ambient brightness and the right ambient brightness, and calculating a first ratio of the first difference to the first average;
the step of calculating the display brightness adjustment amount according to the left side environment brightness and the right side environment brightness comprises the following steps:
and when the first ratio is larger than a first preset ratio, calculating a display brightness adjustment amount according to the left side environment brightness and the right side environment brightness.
3. The AR glasses visual brightness compensation method of claim 1, wherein the step of increasing or decreasing one of the left-side display brightness and the right-side display brightness according to the display brightness adjustment amount comprises:
calculating a second average of the left ambient brightness and the right ambient brightness;
when the second average value is smaller than or equal to a preset threshold value, reducing the higher ambient brightness of the left-side display brightness and the right-side display brightness according to the display brightness adjustment quantity; and when the second average value is larger than the preset threshold value, increasing the lower ambient brightness of the left-side display brightness and the right-side display brightness according to the display brightness adjustment amount.
4. The method for compensating visual brightness of AR glasses according to claim 1, wherein said step of obtaining left ambient brightness and right ambient brightness of said AR glasses further comprises the steps of:
acquiring central environment brightness of the AR glasses;
generating a basic brightness according to the central environment brightness;
the left display brightness is the basic brightness or the combination of the basic brightness and the display brightness adjustment amount; the right-side display brightness is the base brightness or a combination of the base brightness and the display brightness adjustment amount.
5. The method for compensating visual brightness of AR glasses according to claim 4, wherein said step of obtaining said left ambient brightness and said right ambient brightness of AR glasses further comprises the steps of:
calculating the variation of the central environment brightness obtained twice continuously; calculating a first average value of the left side display brightness and the right side display brightness;
and when the variation is smaller than or equal to a preset multiple of the first average value, suspending adjusting the display brightness, and returning to the step of obtaining the central environment brightness of the AR glasses.
6. An electronic device comprising a processor and a memory, said memory storing computer readable instructions which, when executed by said processor, perform the steps of the method according to any one of claims 1 to 5.
7. The utility model provides a AR glasses, includes the spectacle-frame and sets up left lens, right lens on the spectacle-frame, its characterized in that, the left side of spectacle-frame is provided with left ambient light sensor, the right side of spectacle-frame is provided with right ambient light sensor, the spectacle-frame embeds there is the control unit, the control unit is used for:
reading the left display brightness of the left lens and the right display brightness of the right lens;
acquiring left ambient brightness detected by the left ambient light sensor and right ambient brightness detected by the right ambient light sensor;
calculating a left experience value according to the left environment brightness, calculating a right experience value according to the right environment brightness, calculating a second difference value between the left experience value and the right experience value, and calculating a display brightness adjustment amount according to the second difference value;
and increasing or decreasing one of the left side display brightness of the left lens and the right side display brightness of the right lens according to the display brightness adjustment amount.
8. The AR glasses according to claim 7, wherein the glasses frame is provided with a central ambient light sensor between the left and right lenses;
the control unit acquires central ambient brightness detected by the central ambient light sensor;
the control unit generates basic brightness according to the central environment brightness;
the control unit instructs the left lens to display according to the basic brightness and instructs the right lens to display according to the basic brightness; or instructing the left lens to perform combined display according to the basic brightness and the display brightness adjustment amount, and instructing the right lens to perform display according to the basic brightness; or, the left lens is instructed to display according to the basic brightness, and the right lens is instructed to display according to the combination of the basic brightness and the display brightness adjustment amount.
9. The AR glasses according to claim 8, wherein the control unit calculates an amount of change in the central ambient brightness acquired two times in succession; calculating a first average value of the left side display brightness and the right side display brightness; when the variation is smaller than or equal to a preset multiple of the first average value, instructing the left ambient light sensor and the right ambient light sensor to stop working; and when the variation is larger than the preset multiple of the first average value, instructing the left ambient light sensor and the right ambient light sensor to be started.
CN202210589734.2A 2022-05-27 2022-05-27 AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses Active CN114675744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210589734.2A CN114675744B (en) 2022-05-27 2022-05-27 AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210589734.2A CN114675744B (en) 2022-05-27 2022-05-27 AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses

Publications (2)

Publication Number Publication Date
CN114675744A CN114675744A (en) 2022-06-28
CN114675744B true CN114675744B (en) 2022-09-02

Family

ID=82080475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210589734.2A Active CN114675744B (en) 2022-05-27 2022-05-27 AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses

Country Status (1)

Country Link
CN (1) CN114675744B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115166975B (en) * 2022-06-30 2023-12-22 上海摩勤智能技术有限公司 Dynamic brightness adjustment method, dynamic brightness adjustment device, terminal and storage medium
CN115909114B (en) * 2022-09-21 2023-11-10 中国人民解放军陆军防化学院 Method and medium for improving display definition of AR glasses in fuming training and glasses
CN115482776B (en) * 2022-10-31 2023-02-10 长春希达电子技术有限公司 Method, system and device for correcting bright and dark lines of virtual pixel display screen and display system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572458A (en) * 2010-12-17 2012-07-11 北京牡丹电子集团有限责任公司 Measuring method of left and right eye brightness crosstalk values of stereoscopic display device
CN102822886A (en) * 2010-04-05 2012-12-12 夏普株式会社 Three-dimensional image display device, display system, drive method, drive device, display control method, display control device, program, and computer-readable recording medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415126A (en) * 2007-10-18 2009-04-22 深圳Tcl新技术有限公司 Method for generating three-dimensional image effect and digital video apparatus
JP5214020B2 (en) * 2009-12-07 2013-06-19 パナソニック株式会社 3D display system
JP2012053152A (en) * 2010-08-31 2012-03-15 Fujifilm Corp Stereoscopic image display device and stereoscopic image display method
TWI432012B (en) * 2010-11-02 2014-03-21 Acer Inc Method, shutter glasses, and apparatus for controlling environment brightness received by shutter glasses
JP6364715B2 (en) * 2013-07-18 2018-08-01 セイコーエプソン株式会社 Transmission display device and control method of transmission display device
US11211030B2 (en) * 2017-08-29 2021-12-28 Apple Inc. Electronic device with adaptive display

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102822886A (en) * 2010-04-05 2012-12-12 夏普株式会社 Three-dimensional image display device, display system, drive method, drive device, display control method, display control device, program, and computer-readable recording medium
CN102572458A (en) * 2010-12-17 2012-07-11 北京牡丹电子集团有限责任公司 Measuring method of left and right eye brightness crosstalk values of stereoscopic display device

Also Published As

Publication number Publication date
CN114675744A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN114675744B (en) AR (augmented reality) glasses visual brightness compensation method, electronic equipment and AR glasses
US10795184B2 (en) Apparatus and method for improving, augmenting or enhancing vision
JP2023058736A (en) Electronic spectacles
RU2642811C2 (en) Imaging device, imaging control method and programme
TWI516804B (en) Head mounted display apparatus and backlight adjustment method thereof
CN111095077B (en) Electronic device with adaptive display
US20200160606A1 (en) Transition between virtual reality and real world
US20130293531A1 (en) User perception of visual effects
CN106309089A (en) VR (Virtual Reality) eyesight correction method and device
CN108762496B (en) Information processing method and electronic equipment
US11122249B2 (en) Dynamic covergence adjustment in augmented reality headsets
CN104167196B (en) The control method of a kind of backlight illumination, device and electronic equipment
Vasylevska et al. Towards eye-friendly VR: how bright should it be?
CN106169290A (en) Control method, control device and electronic installation
GB2548151A (en) Head-mountable display
CN108140362A (en) Display method, display device, electronic equipment and computer program product
CN110426848B (en) Head-mounted display device and display method thereof
CN111179877B (en) Screen display effect adjusting method, mobile device and storage device
CN113534949A (en) Head-mounted display device and control method thereof
CA2436859A1 (en) Sight enhancement device
CN110840721B (en) Near-eye display-based eyesight prevention, control and training method and near-eye display equipment
US11366321B1 (en) Predictive dimming of optical passthrough displays
CN116413915A (en) Luminance adjusting method of near-eye display device, near-eye display device and medium
CN211014891U (en) Light-adjusting glasses
JP7199562B2 (en) Image display device, display control device, display control method, program and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant