Filtering degree adjusting method of special filtering glasses for albinism patient and special filtering glasses for albinism patient

Through the filter degree adjustment method of special filter glasses for patients with albinism, the photosensitive sensor and the prediction algorithm are used to automatically adjust the filter percentage, which solves the problem of the inability to effectively improve the visual quality of patients with albinism in the existing technology, and realizes the automatic adaptation of the filter to different conditions. The light environment improves the visual effect.

CN118818754APending Publication Date: 2024-10-22ZHONGSHAN OPHTHALMIC CENT SUN YAT SEN UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411060022.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing technology cannot effectively improve the visual quality of patients with albinism. The glasses on the market have limited effect on improving visual quality, and lack the function of automatically adjusting the filter percentage to adapt to different light environments.

Method used

Using the filter adjustment method of special filter glasses for patients with albinism, real-time detection of ambient light intensity through a photosensitive sensor, combined with feedback control and prediction algorithms, automatically adjusts the percentage of the filter to adapt to light changes, including setting the light intensity threshold and filter Filter percentage range, use PWM value to control the color and transmittance of the filter, and predict future light trends through the light prediction model for adjustment.

Benefits of technology

It realizes automatic adjustment of the filter, improves the patient's visual quality, provides a better visual experience, adapts to different light intensities and environments, and improves visual effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118818754A_ABST
    Figure CN118818754A_ABST
Patent Text Reader

Abstract

According to the filtering degree adjusting method of the special filtering glasses for the albinism patient and the special filtering glasses for the albinism patient, the environment illumination intensity is collected through a light sensor on the glasses, the percentage of a light filter is adjusted to adapt to different light intensities and environments, so that the visual quality of the patient is improved, and feedback control and prediction algorithms are adopted to adjust the filtering degree of the special filtering glasses for the albinism patient. The function of automatically adjusting the percentage of the optical filter of the glasses is realized. The feedback control algorithm calculates a control signal according to the current ambient light intensity and the user target optical filter requirement and converts the control signal into the target optical filter percentage, and meanwhile, the prediction algorithm predicts the change trend of the ambient light in a period of time in advance according to historical data analysis and model prediction; and the percentage of the optical filter is adjusted according to a prediction result to adapt to the change of ambient light. The method can automatically adapt to different light intensities and environments, better visual experience is provided for patients, and a new thought is expected to be provided for treatment of other visual impairment diseases.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of ophthalmology, and in particular to a method for adjusting the filter power of special filter glasses for albinos and the special filter glasses for albinos. Background Art

[0002] Ocular albinism is an inherited disorder that affects the production or transport of melanin in the eye, causing vision problems and abnormal eye color. Ocular albinism is a type of albinism, a group of rare inherited disorders that affect melanin in the skin and hair in addition to the eyes. There are several types of albinism, classified according to the inheritance pattern and the genes affected. Oculocutaneous albinism (OCA) is the most common type (autosomal recessive). OCA not only causes a loss of pigment in the skin, hair and eyes, but also vision problems. Ocular albinism mainly affects the eyes, causing vision problems. The most common is type 1 ocular albinism, which is inherited by a mutation in a gene on the X chromosome. X-linked ocular albinism can be passed from a mother who carries one mutated X gene to her son. This is called X-linked recessive inheritance. Ocular albinism is generally only seen in males and is less common than OCA. Diagnosis of albinism is mainly based on clinical manifestations and family history, and can also be confirmed through genetic testing. There is currently no cure for albinism.

[0003] Patients with ocular albinism generally have nystagmus and retinal dysplasia. Nystagmus affects the eye's ability to focus, leading to refractive errors and binocular visual impairment. Retinal dysplasia can lead to decreased vision and foveal defects, affecting binocular coordination and stereoscopic perception. Therefore, people with ocular albinism are more likely to have strabismus. The main reason why ocular albinism affects visual quality is the lack of melanin. Melanin not only determines the color of the eyes, but also participates in the development of the optic nerve. Patients with ocular albinism have reduced iris and retinal pigments, resulting in the inability to effectively filter the light entering the eye, causing photophobia, nystagmus and refractive errors. In addition, the fovea of ​​patients with ocular albinism is underdeveloped, resulting in abnormal vision and poor stereoscopic perception. These factors will reduce the visual quality of patients with albinism.

[0004] There is currently no cure for ocular albinism, but there are some measures that can be taken to improve visual quality. For example, glasses or colored contact lenses can be used to reduce photophobia and improve contrast, and surgery can be performed to correct strabismus. However, the only glasses currently available on the market for patients with ocular albinism are contact lenses and ordinary sunglasses. Contact lenses can help reduce photophobia and improve contrast. Sunglasses can filter out irritating ultraviolet rays and blue light and protect the retina, but they do little to improve the visual quality of patients with ocular albinism.

[0005] Light prediction is a technology that uses historical data and mathematical models to estimate the intensity and changes of light in the future. The purpose of light prediction is to improve the efficiency and stability of photovoltaic power generation and provide a better visual experience for applications such as light-sensitive glasses. There are two main methods for implementing light prediction: statistical-based methods and physical-based methods. The statistical method uses historical data and machine learning algorithms to build a relationship model between light and meteorological factors, and then predicts the intensity and changes of light based on current and future meteorological data. The advantage of this method is that it is fast to calculate and suitable for short-term predictions. However, the disadvantage of this method is that it relies on a large amount of historical data, may not be accurate enough for new locations and seasons, and has difficulty capturing sudden changes and anomalies in light.

[0006] The physics-based approach uses physical principles and numerical simulations to establish a transmission model between light and factors such as the atmosphere, clouds, and terrain, and then predicts the intensity and changes of light based on current and future physical parameters. The advantage of this method is that it can better simulate the physical process of light and is suitable for long-term predictions. Therefore, we use physical principles and numerical simulations to establish a transmission model between light and factors such as the atmosphere, clouds, and terrain, and can automatically adjust the percentage of filters under different lighting environments, thereby improving patients' vision and visual quality.

[0007] Neutral filter glasses are glasses that can reduce light stimulation and improve contrast sensitivity. The use of neutral filters can improve the contrast sensitivity of vision (Contrast Sensitivity Function, CSF level) because it can reduce the strong light and glare received by the eyes, thereby improving contrast and detail resolution. After sensing the light signal, the photosensitive cells will transmit information to the brain. However, when the light intensity is too high, these cells will be overexcited, causing the image on the retina to be distorted, thus affecting the visual quality and CSF level. Neutral filters reduce the impact of glare and strong light by limiting the intensity of light received by the eyes. It can adjust the color and transmittance of light to achieve the best visual effect. The filter can choose to filter specific wavelengths of light, such as ultraviolet or blue light, or filter the intensity of light. This can reduce eye fatigue and discomfort, improve contrast and detail resolution of vision, and then improve CSF levels, which has a certain improvement effect on patients with ocular albinism. Summary of the invention

[0008] In order to solve the shortcomings of the prior art, the present invention provides a method for adjusting the filter degree of filter glasses specially used for albinos and filter glasses specially used for albinos.

[0009] The technical solution adopted by the present invention is: a method for adjusting the filter degree of filter glasses specially used for patients with albinism, comprising the following steps: (1) Setting different light intensity thresholds and corresponding filter percentage ranges in the filter control system of the filter glasses; (2) The light intensity of the ambient light is detected in real time by the photosensor in the filter glasses, and the detection result is transmitted to the filter control system. The filter control system calculates the filter percentage corresponding to the current light intensity and sends instructions to the glasses to control the PWM value of the filter and adjust the filter percentage in real time. (3) Introduce a prediction algorithm to predict the changing trend of ambient light in the future based on historical data analysis and model prediction, and adjust the filter percentage in advance through the controller to adapt to the changes in ambient light.

[0010] The PWM value for controlling the filter in step (2) refers to the duty cycle of the filter controlled by the PWM value. The color and transmittance of the filter are controlled by changing the PWM value, thereby achieving the effect of adjusting the eyeglass filter.

[0011] The step (3) specifically includes the following steps: (a) Data collection and processing: Obtain historical and real-time light and meteorological data, as well as other relevant physical parameters through satellite cloud images, terrain data, etc., and process the data by filtering, interpolation, normalization, etc.; (b) Model building and training: Establish a light prediction model by selecting appropriate input variables, output variables, model structure, and loss function, and train the model through optimization algorithms, cross-validation, hyperparameter adjustment, etc. (c) Model testing and evaluation: Validate and evaluate the performance and accuracy of the light prediction model by using independent test datasets, comparing different models and methods, and analyzing different situations and scenarios; (d) Model application and update: The light prediction model is applied to actual scenarios and needs by acquiring and inputting data in real time, outputting prediction results, and adjusting control strategies. The model is also retrained and optimized by continuously collecting and feeding back data.

[0012] The model in step (b) is established by the following steps: (I) Establishing a 3D scene and coordinate system: defining the position, shape, material and optical properties of the objects, light sources, photosensitive elements and wearers in the scene, then establishing a world coordinate system to describe the position and orientation of the objects, a photosensitive element coordinate system to describe the position and orientation of the photosensitive element, defining an image plane to project the generated image, and an image coordinate system to describe the pixels on the image plane; (II) Calculate the direction of the main light: For each pixel on the image plane, it is necessary to calculate the direction of a main light that starts from the photosensitive element, passes through the pixel, and enters the scene. This is done by converting the image coordinates of the pixel into the photosensitive element coordinates, and then converting them into world coordinates to obtain the position of the pixel in the world coordinate system. The position is then subtracted from the position of the photosensitive element to obtain the direction vector of the main light. (III) Detect the intersection of the main ray and the object: For each main ray, detect whether it intersects with any object in the scene, as well as the intersection position and normal vector. By solving the geometric equations of the main ray and the object, the parameters of the intersection point are obtained. Then, it is determined whether the parameters are within the valid range and whether the intersection point is in the positive direction of the ray. If the main ray intersects with multiple objects, the intersection point closest to the photosensitive element is selected as the final intersection point of the ray. (IV) Calculate the color and brightness of the intersection: For each intersection, calculate its color and brightness. The direction of the reflected light is calculated by the normal vector of the intersection and the direction of the incident light. The direction of the refracted light is calculated according to the refractive index of the object and the Fresnel equation. The color and brightness of the reflected and refracted light need to be recursively repeated until the maximum recursive depth is reached or the light is completely attenuated. The color and brightness of the intersection are the weighted average of the color and brightness of the reflected and refracted light, and the weight is determined by the reflectivity and refractive index of the object. (V) Calculate the shadow of the intersection: For each intersection, it is necessary to determine whether it is within the illumination range of the light source, that is, whether it is in the shadow. This is done by emitting a shadow ray from the intersection to the light source and detecting whether it intersects with other objects in the scene. If the shadow ray intersects with other objects, it means that the intersection is blocked and does not receive light from the light source. The brightness of the intersection needs to be reduced. If the shadow ray does not intersect with other objects, it means that the intersection is illuminated by the light source and the brightness of the intersection needs to be increased.

[0013] A pair of filter glasses specially used for albinos using the filter adjustment method, the filter glasses specially used for albinos comprising a pair of glasses body, a photosensor, a neutral filter and a control system: Light sensor, used to detect the intensity of ambient light; Neutral filter, by changing the PWM value to control the color and transmittance of the filter, so as to adjust the percentage of the glasses filter; The control system presets different light intensity thresholds and corresponding filter percentage ranges, controls the PWM output to control the filter color and transmittance through feedback control algorithm and prediction algorithm, and automatically adjusts the filter percentage.

[0014] The feedback control algorithm in the control system reads the signal of the photosensor, calculates the control signal according to the current ambient light intensity and the user's target filter requirement, and converts the control signal into the target filter percentage to calculate the corresponding filter percentage.

[0015] The prediction algorithm in the control system is to predict the changing trend of ambient light in the future in advance based on historical data analysis and model prediction, and adjust the filter percentage according to the prediction results to adapt to the changes in ambient light.

[0016] The filter degree adjustment range of the neutral filter is from 10% to 70%, and the adjustment span is 10%.

[0017] The neutral filter is an interference filter.

[0018] The beneficial effects of the present invention are as follows: the present invention provides a method for adjusting the filter degree of filter glasses for patients with albinism and filter glasses for patients with albinism, which collects the ambient light intensity through the light sensor on the glasses, adjusts the filter percentage to adapt to different light intensities and environments, thereby improving the patient's visual quality, and adopts feedback control and prediction algorithms to realize the function of automatically adjusting the filter percentage of the glasses. The feedback control algorithm calculates the control signal according to the current ambient light intensity and the user's target filter requirements, and converts the control signal into the target filter percentage. At the same time, the prediction algorithm predicts the change trend of ambient light in the future period of time in advance based on historical data analysis and model prediction, and adjusts the filter percentage according to the prediction results to adapt to the change of ambient light. This method can automatically adapt to different light intensities and environments, provide patients with a better visual experience, and is expected to provide new ideas for the treatment of other visual impairment diseases. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a schematic diagram of the structure of the filter glasses specially used for albinos of the present invention.

[0020] Figure 2 This is a schematic diagram of the operation of the present invention.

[0021] Figure 3 The figure is a flow chart of the adjustment method of the present invention.

[0022] Figure 4 This is a flow chart of the prediction algorithm of the present invention.

[0023] Figure 5 This is a flow chart of the light prediction model method of the present invention. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] Example 1 A method for adjusting the filter degree of filter glasses specially used for patients with albinism, comprising the following steps: (1) Setting different light intensity thresholds and corresponding filter percentage ranges in the filter control system of the filter glasses; (2) The light sensor in the filter glasses detects the intensity of ambient light in real time and transmits the detection results to the filter control system. The filter control system calculates the filter percentage corresponding to the current light intensity and sends instructions to the glasses to control the PWM value of the filter to control the color and transmittance of the filter and adjust the filter percentage in real time. (3) Introduce a prediction algorithm to predict the changing trend of ambient light in the future based on historical data analysis and model prediction, and adjust the filter percentage in advance through the controller to adapt to the changes in ambient light.

[0026] The implementation process of the light prediction algorithm generally includes the following steps: (a) Data collection and processing: Obtain historical and real-time light and meteorological data, as well as other relevant physical parameters through satellite cloud images, terrain data, etc., and process the data by filtering, interpolation, normalization, etc. Data collection can be carried out through various sensors, instruments, satellites, etc.; (b) Model building and training: By selecting appropriate input variables, output variables, model structure, and loss function, a light prediction model can be established, such as regression model, artificial neural network, satellite remote sensing technology, numerical simulation, etc. The model can be established by selecting appropriate input variables, output variables, model structure, loss function, etc., and the model can be trained through optimization algorithms, cross-validation, hyperparameter adjustment, etc.; (c) Model testing and evaluation: Verify and evaluate the performance and accuracy of the light prediction model, such as prediction error, prediction stability, prediction reliability, etc., by using independent test data sets, comparing different models and methods, and analyzing different situations and scenarios. The model can be tested by using independent test data sets, comparing different models and methods, analyzing different situations and scenarios, and the model can be evaluated by using various evaluation indicators, visualization methods, sensitivity analysis, etc.; (d) Model application and update: The light prediction model can be applied to actual scenarios and needs, such as photovoltaic power generation systems, photosensitive glasses, etc., by acquiring and inputting data in real time, outputting prediction results, and adjusting control strategies. The model can be applied by acquiring and inputting data in real time, outputting prediction results, and adjusting control strategies, and by continuously collecting and feeding back data, retraining and optimizing the model.

[0027] Finally, this method has the function of automatic switching between indoor and outdoor (10lx~1000lx). Through the prediction algorithm, the percentage of the filter can be automatically adjusted according to different ambient light intensities to provide better visual effects.

[0028] The ray prediction model is a visualization technology based on the ray tracing algorithm, which can simulate the interaction between light and objects to generate realistic three-dimensional images. The establishment of a ray prediction model generally includes the following steps: (I) Establishing a 3D scene and coordinate system: defining the position, shape, material and optical properties of the objects, light sources, photosensitive elements and wearers in the scene, then establishing a world coordinate system to describe the position and orientation of the objects, a photosensitive element coordinate system to describe the position and orientation of the photosensitive element, defining an image plane to project the generated image, and an image coordinate system to describe the pixels on the image plane; (II) Calculate the direction of the main light: For each pixel on the image plane, it is necessary to calculate the direction of a main light that starts from the photosensitive element, passes through the pixel, and enters the scene. This is done by converting the image coordinates of the pixel into the photosensitive element coordinates, and then converting them into world coordinates to obtain the position of the pixel in the world coordinate system. The position is then subtracted from the position of the photosensitive element to obtain the direction vector of the main light. (III) Detect the intersection of the main ray and the object: For each main ray, detect whether it intersects with any object in the scene, as well as the intersection position and normal vector. By solving the geometric equations of the main ray and the object, the parameters of the intersection point are obtained. Then, it is determined whether the parameters are within the valid range and whether the intersection point is in the positive direction of the ray. If the main ray intersects with multiple objects, the intersection point closest to the photosensitive element is selected as the final intersection point of the ray. (IV) Calculate the color and brightness of the intersection: For each intersection, calculate its color and brightness. The direction of the reflected light is calculated by the normal vector of the intersection and the direction of the incident light. The direction of the refracted light is calculated according to the refractive index of the object and the Fresnel equation. The color and brightness of the reflected and refracted light need to be recursively repeated until the maximum recursive depth is reached or the light is completely attenuated. The color and brightness of the intersection are the weighted average of the color and brightness of the reflected and refracted light, and the weight is determined by the reflectivity and refractive index of the object. (V) Calculate the shadow of the intersection: For each intersection, it is necessary to determine whether it is within the illumination range of the light source, that is, whether it is in the shadow. This is done by emitting a shadow ray from the intersection to the light source and detecting whether it intersects with other objects in the scene. If the shadow ray intersects with other objects, it means that the intersection is blocked and does not receive light from the light source. The brightness of the intersection needs to be reduced. If the shadow ray does not intersect with other objects, it means that the intersection is illuminated by the light source and the brightness of the intersection needs to be increased.

[0029] Example 2 A pair of filter glasses specially designed for albinos, comprising a pair of glasses body, a photosensor, a neutral filter and a control system: Light sensor, used to detect the intensity of ambient light; Neutral filter, by changing the PWM value to control the color and transmittance of the filter, so as to adjust the percentage of the glasses filter; The control system presets different light intensity thresholds and corresponding filter percentage ranges, controls the PWM output to control the filter color and transmittance through feedback control algorithm and prediction algorithm, and automatically adjusts the filter percentage.

[0030] The photosensitive sensor of the present invention uses a photosensitive element to detect the ambient brightness and converts its signal into voltage or current. The control system also includes a microcontroller (Arduino), a variable resistor, and an inlaid display screen.

[0031] The microcontroller (Arduino) of the present invention receives the output of the photosensitive element and calculates the appropriate filter percentage according to the user setting or the preset mode.

[0032] The variable resistor of the present invention is used to control the transmittance of the filter to match the calculated percentage.

[0033] The mosaic display screen of the present invention is used to display the current environment brightness and filter percentage, so that users can view and adjust them.

[0034] The feedback control algorithm in the control system reads the signal of the photosensor, calculates the control signal according to the current ambient light intensity and the user's target filter requirement, and converts the control signal into the target filter percentage to calculate the corresponding filter percentage.

[0035] The prediction algorithm in the control system is to predict the changing trend of ambient light in the future in advance based on historical data analysis and model prediction, and adjust the filter percentage according to the prediction results to adapt to the changes in ambient light.

[0036] The filtration adjustment range of the neutral filter is 10% to 70%, and the adjustment span is 10%. It can meet the needs of patients with different degrees of albinism. A filter is a material that can selectively transmit or reflect a specific wavelength range. According to different principles and functions, filters can be divided into absorption filters and interference filters. Absorption filters are made by mixing special dyes into resin or glass, and using the dye's ability to absorb light of different wavelengths to achieve a filtering effect. Interference filters are made by coating multiple layers of thin films with specific thickness and refractive index on the surface of glass, and using the interference phenomenon between thin films to achieve a high-precision filtering effect. The neutral filter of the present invention uses interference filters. Because they have the advantages of narrow passband, high transmittance, and strong adjustability, etc. By building photosensors into glasses, different light intensity thresholds and corresponding filter percentage ranges are set in the system. The photosensor detects the intensity of ambient light in real time and transmits the detection results to the filter control system. The filter control system calculates the filter percentage corresponding to the current light intensity and sends instructions to the glasses to control the color and transmittance of the filter (filter PWM value). The filter PWM value refers to the duty cycle of the filter controlled by PWM (pulse width modulation). When a neutral filter is used in glasses to adjust the visual impact of ambient light, the color and transmittance of the filter are controlled by changing the PWM value, thereby achieving the effect of adjusting the glasses filter. The larger the PWM value, the higher the transmittance of the filter, and vice versa. By adjusting the filter PWM value, the best filter effect can be achieved according to the current ambient light intensity and the visual problems that need to be improved. After the filter is automatically adjusted, the user can perform visual activities as needed.

[0037] Advantages of the special filter glasses for albinos of the present invention: 1. Wide adjustment range: The adjustment range of the filter is from 10% to 70%, with a span of 10%, which can meet the needs of patients with different degrees of albinism.

[0038] 2. Automatic adjustment: According to different lighting environments, the filter can automatically adjust the percentage to the preset filter intensity, making it more convenient for patients to use.

[0039] 3. Improve vision: Adjusting the filter can improve the patient's vision and improve the patient's visual quality.

[0040] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

[0041] Technical personnel should note that although the present invention has been described according to the above specific implementation methods, the inventive concept of the present invention is not limited to this invention, and any modification using the inventive concept will be included in the scope of protection of this patent.

Claims

1. A method for adjusting the filter power of filter glasses for patients with albinism, characterized in that: The following steps are involved: (1) Setting different light intensity thresholds and corresponding filter percentage ranges in the filter control system of the filter glasses; (2) The light intensity of the ambient light is detected in real time by the photosensor in the filter glasses, and the detection result is transmitted to the filter control system. The filter control system calculates the filter percentage corresponding to the current light intensity and sends instructions to the glasses to control the PWM value of the filter and adjust the filter percentage in real time. (3) Introduce a prediction algorithm to predict the changing trend of ambient light in the future based on historical data analysis and model prediction, and adjust the filter percentage in advance through the controller to adapt to the changes in ambient light.

2. The adjustment method according to claim 1, characterized in that: The PWM value for controlling the filter in step (2) refers to the duty cycle of the filter controlled by the PWM value. The color and transmittance of the filter are controlled by changing the PWM value, thereby achieving the effect of adjusting the eyeglass filter.

3. The adjustment method according to claim 1, characterized in that: The step (3) specifically includes the following steps: (a) Data collection and processing: Obtain historical and real-time light and meteorological data, as well as other relevant physical parameters through satellite cloud images, terrain data, etc., and process the data by filtering, interpolation, normalization, etc.; (b) Model building and training: Establish a light prediction model by selecting appropriate input variables, output variables, model structure, and loss function, and train the model through optimization algorithms, cross-validation, hyperparameter adjustment, etc. (c) Model testing and evaluation: Validate and evaluate the performance and accuracy of the light prediction model by using independent test datasets, comparing different models and methods, and analyzing different situations and scenarios; (d) Model application and update: The light prediction model is applied to actual scenarios and needs by acquiring and inputting data in real time, outputting prediction results, and adjusting control strategies. The model is also retrained and optimized by continuously collecting and feeding back data.

4. The adjustment method according to claim 3, characterized in that: The model in step (b) is established by the following steps: (I) Establishing a 3D scene and coordinate system: defining the position, shape, material and optical properties of the objects, light sources, photosensitive elements and wearers in the scene, then establishing a world coordinate system to describe the position and orientation of the objects, a photosensitive element coordinate system to describe the position and orientation of the photosensitive element, defining an image plane to project the generated image, and an image coordinate system to describe the pixels on the image plane; (II) Calculate the direction of the main light: For each pixel on the image plane, it is necessary to calculate the direction of a main light that starts from the photosensitive element, passes through the pixel, and enters the scene. This is done by converting the image coordinates of the pixel into the photosensitive element coordinates, and then converting them into world coordinates to obtain the position of the pixel in the world coordinate system. The position is then subtracted from the position of the photosensitive element to obtain the direction vector of the main light. (III) Detect the intersection of the main ray and the object: For each main ray, detect whether it intersects with any object in the scene, as well as the intersection position and normal vector. By solving the geometric equations of the main ray and the object, the parameters of the intersection point are obtained. Then, it is determined whether the parameters are within the valid range and whether the intersection point is in the positive direction of the ray. If the main ray intersects with multiple objects, the intersection point closest to the photosensitive element is selected as the final intersection point of the ray. (IV) Calculate the color and brightness of the intersection: For each intersection, calculate its color and brightness. The direction of the reflected light is calculated by the normal vector of the intersection and the direction of the incident light. The direction of the refracted light is calculated according to the refractive index of the object and the Fresnel equation. The color and brightness of the reflected and refracted light need to be recursively repeated until the maximum recursive depth is reached or the light is completely attenuated. The color and brightness of the intersection are the weighted average of the color and brightness of the reflected and refracted light, and the weight is determined by the reflectivity and refractive index of the object. (V) Calculate the shadow of the intersection: For each intersection, it is necessary to determine whether it is within the illumination range of the light source, that is, whether it is in the shadow. This is done by emitting a shadow ray from the intersection to the light source and detecting whether it intersects with other objects in the scene. If the shadow ray intersects with other objects, it means that the intersection is blocked and does not receive light from the light source. The brightness of the intersection needs to be reduced. If the shadow ray does not intersect with other objects, it means that the intersection is illuminated by the light source and the brightness of the intersection needs to be increased.

5. A pair of filter glasses specially used for albinos using the filter adjustment method of claim 1, characterized in that: The albinos-specific filter glasses include a glasses body, a photosensor, a neutral filter and a control system: Light sensor, used to detect the intensity of ambient light; Neutral filter, by changing the PWM value to control the color and transmittance of the filter, so as to adjust the percentage of the glasses filter; The control system presets different light intensity thresholds and corresponding filter percentage ranges, controls the PWM output to control the filter color and transmittance through feedback control algorithm and prediction algorithm, and automatically adjusts the filter percentage.

6. The filter glasses for albinos according to claim 5, characterized in that: The feedback control algorithm in the control system reads the signal of the photosensor, calculates the control signal according to the current ambient light intensity and the user's target filter requirement, and converts the control signal into the target filter percentage to calculate the corresponding filter percentage.

7. The filter glasses for albinos according to claim 5, characterized in that: The prediction algorithm in the control system is to predict the changing trend of ambient light in the future in advance based on historical data analysis and model prediction, and adjust the filter percentage according to the prediction results to adapt to the changes in ambient light.

8. The filter glasses for albinos according to claim 5, characterized in that: The filter degree adjustment range of the neutral filter is from 10% to 70%, and the adjustment span is 10%.

9. The filter glasses for albinos according to claim 5, characterized in that: The neutral filter is an interference filter.

Citation Information

Cited By

  • Combined control system and method of optical system

    CN119383467A

  • Multispectral dynamic visual function training system and method

    CN120860500A