Self-correcting high-order aberration lens and processing method based on transition region optimization
By optimizing the curvature change and edge area size of the transition area through the neural network model, it solves the problem of the transition area being ignored in high-order aberration correction in the existing technology, realizes the preparation of self-correcting high-order aberration lenses, and improves visual performance and Wearing comfort.
Patent Information
- Application Number
- CN202410100043.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-01-24
AI Technical Summary
Existing eyeglass manufacturing technology ignores the importance of the transition region in high-order aberration correction, resulting in visual discomfort and poor correction effects, especially in low-light or high-contrast scenes.
By designing a neural network model, combining optical area and ergonomic data, optimizing the curvature change scheme of the transition area, and combining with the size adjustment of the edge area, the preparation of self-correcting high-order aberration lenses is achieved.
It improves the visual performance and personalized adaptability of the lens, reduces visual fatigue and discomfort caused by high-order aberrations, and ensures smooth transition and wearing comfort of the lens in different visual scenes.
Smart Images

Figure CN117826448B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computer-aided design, and in particular relates to a self-correcting high-order aberration lens based on transition region optimization and a processing method thereof. Background Art
[0002] Higher-order aberrations refer to changes in the shape of the wavefront at locations farther away from the pupil or the center of the optical system. Unlike common low-order aberrations, such as spherical aberration and astigmatism, higher-order aberrations are more complex and subtle deformations of the wavefront, usually expressed as cubic or higher-order polynomials. These aberrations include coma, trefoil, and spherical aberration.
[0003] Higher-order aberrations may cause images to appear distorted, deformed or irregular, thereby reducing visual quality, which is particularly evident in low-light conditions or scenes with high contrast. Higher-order aberrations may cause visual fatigue, eye discomfort and even headaches, especially when vision changes frequently or lighting conditions change greatly. The impact of higher-order aberrations on vision is more prominent. For tasks that require high visual performance, such as driving and reading small print, higher-order aberrations may limit the eye's sensitivity to details and accurate perception of object shapes, thereby affecting the completion of the task.
[0004] In current eyewear manufacturing technology, the main focus is on the selection of lens optical area parameters, which does play an important role in the adjustment of high-order aberrations. However, this traditional method ignores the importance of the transition area in high-order aberration correction, resulting in a series of challenges and problems in actual use. The importance of the transition area is mainly reflected in the following aspects:
[0005] The transition zone connects the optical zone and the edge zone, and its design goal is to smoothly adjust the wavefront shape in this process. High-order aberrations usually manifest as complex deformations of the wavefront. The existence of the transition zone enables the lens to transition to different areas more smoothly, thereby reducing the occurrence of optical distortion. Through personalized design of the transition zone, more accurate and practical high-order aberration correction can be provided based on individual eye shape, wavefront aberrations and other differences. The personalized design of the transition zone enables the lens to better adapt to the visual needs of different individuals and improve the correction effect. A reasonably designed transition zone helps to reduce visual discomfort that may be caused by the correction of high-order aberrations, such as glare, image distortion, etc. The optimization of the transition zone makes it easier for the eyes to adapt to different visual scenes and reduce visual fatigue and discomfort.
[0006] How to achieve better preparation of self-correcting high-order aberration lenses through personalized design of the transition area based on the optical area and the edge area has become a technical problem that needs to be solved at present. Summary of the invention
[0007] The present invention provides a self-correcting high-order aberration lens based on transition region optimization and a processing method, which can effectively solve the problems in the background technology.
[0008] In order to achieve the above object, the technical solution adopted by the present invention is:
[0009] A self-correcting high-order aberration lens processing method based on transition region optimization, wherein the lens comprises an optical region, a transition region and an edge region, wherein the optical region realizes correction of high-order aberrations through parameter setting, and the edge region is connected to the eyeglass frame through size adjustment;
[0010] include:
[0011] Collecting parameter data of the optical zone of the lens and ergonomic data of the wearer;
[0012] Designing a neural network model, wherein the input of the neural network model is the parameter data and ergonomic data, and the output is a curvature change scheme of the transition area;
[0013] Training the neural network model and adjusting hyperparameters based on user feedback data during the training process;
[0014] Outputting a curvature change scheme of the transition area using the trained neural network model;
[0015] The lens is processed based on the parameter data of the optical zone, the curvature change scheme of the transition zone, and the size of the edge zone.
[0016] Furthermore, during the training process, hyperparameters are adjusted based on user feedback data, including:
[0017] Processing the feedback data to extract user preference information and specific task requirements;
[0018] The candidate values of hyperparameters are adjusted according to the user preference information, and the combination of hyperparameters is adjusted according to the specific task requirements.
[0019] Furthermore, the process of adjusting the hyperparameters includes:
[0020] Determine the range of values for each hyperparameter to be adjusted;
[0021] Combining the value point ranges of each of the hyperparameters to form a grid;
[0022] For each hyperparameter combination within the grid, the training set is used to train the model, and the validation set is used to evaluate the model performance;
[0023] The best performing hyperparameter combination is selected based on the model's performance on the validation set.
[0024] Furthermore, the process of adjusting the hyperparameters includes:
[0025] Determine the range of values for each hyperparameter to be adjusted;
[0026] Selecting a priori model, the priori model is used to evaluate the relationship between the hyperparameter and the objective function;
[0027] Defining the objective function, wherein the objective function maps the hyperparameters to performance indicators of the neural network model on a validation set;
[0028] Repeat the following steps until the predetermined number of iterations is met or convergence conditions are reached:
[0029] Randomly select some initial hyperparameter combinations for testing to obtain initial test results of the neural network model;
[0030] The prior model is updated by the initial test results to obtain an estimated value of the relationship between the hyperparameter and the objective function;
[0031] Based on the estimated value, the prior model is used to determine the hyperparameter combination for the next experiment.
[0032] Furthermore, the neural network model includes:
[0033] An input layer directly concatenates the parameter data and the ergonomic data to obtain concatenated data, wherein the number of nodes in the input layer is m+n, where m is the dimension of the parameter data and n is the dimension of the ergonomic data;
[0034] A first fully connected layer, connected to m nodes of the input layer corresponding to the parameter data;
[0035] A second fully connected layer is connected to n nodes of the input layer corresponding to the ergonomic data;
[0036] A dimension adjustment layer adjusts the dimensions of the first fully connected layer and the second fully connected layer to be consistent, and associates them to obtain an output matrix;
[0037] An activation function is added after each node of the first fully connected layer and the second fully connected layer to introduce nonlinear features;
[0038] An output layer, outputting the rate change scheme, wherein the number of nodes in the output layer matches the dimension of the curvature change scheme of the transition region;
[0039] The loss function is used to measure the difference between the model output and the actual transition region curvature change solution.
[0040] Furthermore, the association of the dimension adjustment layer with the first fully connected layer and the second fully connected layer is specifically to perform element-by-element multiplication of the first fully connected layer and the second fully connected layer after the dimensions are adjusted to be consistent.
[0041] Further, the curvature variation scheme is a set of values representing the variation of curvature in the transition region;
[0042] Also included is a process of adjusting the set of values, comprising:
[0043] Selecting a smoothing function, and determining an adjustment area of the transition area that needs to be smoothly transitioned based on the set of values;
[0044] Setting parameters of the smoothing function based on the adjustment area;
[0045] Applying the smoothing function with completed parameter setting to the curvature variation scheme;
[0046] The effect of smooth transition is evaluated through simulation or actual testing, and a curvature change scheme that meets the smoothness requirements is obtained through iteration.
[0047] A self-correcting high-order aberration lens based on transition zone optimization, comprising an optical zone, a transition zone and an edge zone, wherein the optical zone realizes correction of high-order aberrations by parameter setting, and the edge zone is connected to the eyeglass frame by size adjustment;
[0048] The curvature change scheme of the transition area is output through a neural network model;
[0049] The input of the neural network model is the parameter data of the optical area and the ergonomic data of the wearer. During the training process, the neural network model performs hyperparameter adjustment based on the user's feedback data.
[0050] Furthermore, candidate values of hyperparameters are adjusted according to user preference information extracted from the feedback data, and hyperparameter combinations are adjusted according to specific task requirements extracted from the feedback data.
[0051] Furthermore, the neural network model includes an input layer, which directly splices the parameter data and the ergonomic data to obtain spliced data, and the number of nodes in the input layer is m+n, where m is the dimension of the parameter data and n is the dimension of the ergonomic data;
[0052] A first fully connected layer, connected to m nodes of the input layer corresponding to the parameter data;
[0053] A second fully connected layer is connected to n nodes of the input layer corresponding to the ergonomic data;
[0054] A dimension adjustment layer adjusts the dimensions of the first fully connected layer and the second fully connected layer to be consistent, and associates them to obtain an output matrix;
[0055] An activation function is added after each node of the first fully connected layer and the second fully connected layer to introduce nonlinear features;
[0056] An output layer, outputting the rate change scheme, wherein the number of nodes in the output layer matches the dimension of the curvature change scheme of the transition region;
[0057] The loss function is used to measure the difference between the model output and the actual transition region curvature change solution.
[0058] Through the technical solution of the present invention, the lens material or curvature can be adjusted according to the curvature change scheme of the transition area, so that the transition area can smoothly transition to different areas, reducing the generation of optical distortion; at the same time, by adjusting the size of the edge area, it is ensured that the lens can be well connected to the glasses frame, so that the wearing comfort of the overall glasses can be maintained; by reasonably adjusting various parameters of the lens, self-correction of high-order aberrations is achieved, thereby improving the visual performance and personalized adaptability of the glasses. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0060] Figure 1 A simplified flow chart of a method for processing a self-correcting high-order aberration lens based on transition region optimization;
[0061] Figure 2 A simplified diagram of the process of adjusting hyperparameters based on user feedback data;
[0062] Figure 3 A simplified flowchart of the hyperparameter adjustment process;
[0063] Figure 4 This is the structural diagram of the neural network model. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0066] Embodiment 1
[0067] A method for processing a self-correcting high-order aberration lens based on transition region optimization, wherein the lens comprises an optical region, a transition region and an edge region, wherein the optical region realizes correction of high-order aberrations by parameter setting, and the edge region is connected to a glasses frame by size adjustment; Figure 1 As shown, the preparation process includes:
[0068] Collect parameter data of the optical area of the lens and ergonomic data of the wearer;
[0069] In this step, during the measurement of the eye of the wearer, an automatic ophthalmometer or other optical measurement equipment may be used to obtain measurement data, and the data needs to include parameter data related to high-order aberrations, which at least includes:
[0070] Wavefront distortion coefficients describe the changes in wavefront shape when light passes through an optical system, including the influence of higher-order terms; polynomial coefficients of higher-order aberrations represent polynomial coefficients that represent more complex and subtle deformations of the wavefront, which may include coma, trefoil, spherical aberration, etc.; Zernike polynomial coefficients are mathematical tools used to describe the shape of the wavefront, reflecting aberrations of different orders and directions, including higher-order aberrations.
[0071] During the eyeglass manufacturing process, obtaining the wearer's ergonomic data ensures the comfort and fit of the glasses. This part of the data determines the size of the edge area and may include:
[0072] Use facial scanners or measurement tools to obtain data on the wearer's facial shape so that the glasses can be better adapted; measure the distance between the wearer's pupils to ensure a suitable field of vision; measure the distance from the eye to the lens to ensure that the lens can meet the wearer's needs when worn; these ergonomic data help adjust the glasses frame and transition area to provide a better wearing experience.
[0073] Designing a neural network model, the input of the neural network model is parameter data and ergonomic data, and the output is a curvature change scheme of the transition area; in this step, the goal of the neural network is to learn the mapping relationship between the input data and the curvature change scheme of the transition area, so as to automatically design the shape of the transition area according to the individual characteristics of the wearer and the parameters of the glasses, thereby achieving a more accurate personalized design to optimize the correction effect of high-order aberrations;
[0074] The neural network model is trained, and during the training process, hyperparameters are adjusted based on user feedback data. In this step, the specific training process may include:
[0075] Data preparation, using the collected labeled training data set, which includes optical area parameter data, ergonomic data and the corresponding transition area curvature change scheme; data standardization, standardizing or normalizing the input data to ensure that the numerical range of different features is consistent, which helps the stability of the training process; dividing the data set, dividing the data set into training set, validation set and test set for model training, validation and performance evaluation; model initialization, initializing the weights and parameters of the neural network; loss function selection, selecting an appropriate loss function to measure the difference between the model output and the actual transition area curvature change scheme. The specific loss function can be mean square error, mean absolute error, Huber loss, logarithmic loss or custom loss function, etc.; optimizer selection, selecting an optimizer, such as a variant of the gradient descent method, to adjust the model parameters to reduce the loss function.
[0076] Execute a training loop during implementation: Training is performed through multiple training loop iterations, and each loop may include the following steps during implementation: forward propagation, passing the input data through the neural network to calculate the output of the model; loss calculation, using the loss function to calculate the difference between the model output and the true label; back propagation, through the back propagation algorithm, calculating the gradient of the loss function to the model parameters; parameter update, using the selected optimizer to update the parameters of the model to reduce the loss function;
[0077] Use the trained neural network model to output the curvature change plan of the transition area;
[0078] The lens is processed based on the parameter data of the optical area, the curvature change plan of the transition area, and the size of the edge area.
[0079] Specifically, the lens material or curvature can be adjusted according to the curvature change scheme of the transition area, so that the transition area can smoothly transition to different areas and reduce the generation of optical distortion; at the same time, by adjusting the size of the edge area, it is ensured that the lens can be well connected to the eyeglass frame, so that the overall wearing comfort of the glasses can be maintained. This step is the final preparation stage of the whole process. By reasonably adjusting the various parameters of the lens, self-correction of high-order aberrations is achieved, and the visual performance and personalized adaptability of the glasses are improved.
[0080] As a preferred embodiment of the above, Figure 2 As shown in the figure, during the training process, hyperparameters are adjusted based on user feedback data, including:
[0081] Process the feedback data to extract user preference information and specific task requirements; adjust the candidate values of hyperparameters based on user preference information, and adjust the hyperparameter combination based on specific task requirements.
[0082] During the training process, a mechanism can be established to actively or passively collect user feedback data, which may include user feelings and evaluations in real-time use, as well as specific feedback on different aspects, such as comfort, clarity, adaptability, etc. The collected user feedback data is processed, including but not limited to text analysis, sentiment analysis, keyword extraction and other methods to extract useful information from it. The goal of this step is to convert user subjective feelings into quantifiable or analyzable indicators.
[0083] Through the processed feedback data, user preference information in terms of comfort, clarity, and adaptability is extracted. This may include preferences for certain hyperparameter values or preferences for specific performance. The extracted user preference information is used to adjust the candidate values of the hyperparameters. For example, if the user prefers a smaller learning rate, the user may have used words such as "better adaptability" and "feels more natural", which may be related to a smaller learning rate. In this case, more options for smaller learning rates can be included in the candidate values of the hyperparameters.
[0084] In the implementation process, for each hyperparameter to be adjusted, a set of possible value ranges can be determined by the participation of user preference information. For example, for the learning rate and the number of hidden layer nodes, different candidate values can be set, and the possible values of each hyperparameter are combined to form a grid. For example, if there are three candidate values for the learning rate (0.001, 0.01, 0.1) and three candidate values for the number of hidden layer nodes (64, 128, 256), then nine combinations can be created;
[0085] By combining these possible values, a grid is formed:
[0086] (0.001,64), (0.001,128), (0.001,256),
[0087] (0.01,64), (0.01,128), (0.01,256),
[0088] (0.1,64), (0.1,128), (0.1,256),
[0089] Similarly, through the processed feedback data, we extract information about the user's specific task requirements, which may include specific requirements for clarity, high-order aberration correction, etc. in certain task scenarios. The extracted specific task requirements are used to adjust the overall hyperparameter combination, that is, the overall hyperparameter combination is adjusted by the specific task requirements, and each hyperparameter combination is adjusted. For example, if the user feedback requires better high-order aberration correction in the driving scenario, then the hyperparameter combination can be adjusted to emphasize the performance in this aspect. The following provides a specific example:
[0090] One of the initial hyperparameter combinations is:
[0091] Learning rate: 0.01;
[0092] Number of hidden layer nodes: 128;
[0093] High-order aberration correction module weight: 0.5;
[0094] Clarity optimization module weight: 0.5;
[0095] In the driving scenario, the user feedback model's performance in high-order aberration correction needs to be improved. Through user feedback, it is found that the main performance indicator that users pay attention to in the driving scenario is high-order aberration correction. In response to the needs of high-order aberration correction, the hyperparameter combination is adjusted as follows:
[0096] Learning rate: 0.005, reduce the learning rate to more finely adjust the model parameters;
[0097] Number of hidden layer nodes: 128;
[0098] High-order aberration correction module weight: 0.7, to enhance the impact of high-order aberration correction;
[0099] Clarity optimization module weight: 0.3, which reduces the impact of clarity optimization on overall performance.
[0100] As a preferred embodiment of the above embodiment, the process of adjusting the hyperparameters includes:
[0101] Determine the range of values for each hyperparameter to be adjusted;
[0102] Combine the value point ranges of each hyperparameter to form a grid;
[0103] For each hyperparameter combination within the grid, the model is trained using the training set and the model performance is evaluated using the validation set;
[0104] The best performing hyperparameter combination is selected based on the model's performance on the validation set.
[0105] This process is repeated until the best hyperparameter combination is found. The grid search in the above embodiment is a simple and intuitive method, but when there are many hyperparameters, the search space will become very large, which may lead to high computational costs. In practical applications, as another specific implementation method, Figure 3 As shown in Figure 2, the hyperparameter adjustment process includes:
[0106] Determine the value range for each hyperparameter to be adjusted; In this step, you need to clearly define the value range of each hyperparameter to be adjusted. The choice of hyperparameters will affect the performance of the neural network model, such as learning rate, number of hidden layer nodes, etc. This step ensures that the search space is wide enough to effectively find the best hyperparameter combination;
[0107] Select a priori model. The prior model is used to evaluate the relationship between hyperparameters and the objective function. Commonly used prior models include Gaussian processes, which can provide uncertainty estimates at different points in the hyperparameter space. By selecting an appropriate prior model, the search process can be better guided.
[0108] Define an objective function, which maps hyperparameters to the performance indicators of the neural network model on the validation set; the objective function defines the performance indicators that you want to maximize or minimize during implementation, and the objective function maps hyperparameters to the performance indicators of the neural network model on the validation set, such as accuracy or loss function;
[0109] Repeat the following steps until the predetermined number of iterations is met or convergence conditions are reached:
[0110] Randomly select some initial hyperparameter combinations for testing to obtain the test results of the initial neural network model; that is, use the knowledge of the current prior model to explore new hyperparameter points, in order to ensure that the search will not fall into the local optimal solution and provide sufficient exploration space;
[0111] The prior model is updated through the initial test results to obtain an estimate of the relationship between the hyperparameters and the objective function. The above update will provide a new estimate of the relationship between the hyperparameters and the objective function, helping to adjust the search direction in order to better focus on the hyperparameter area that may be more optimal.
[0112] Based on the estimated values, the prior model is used to determine the hyperparameter combination for the next experiment. This step guides the search more intelligently and improves the search efficiency based on the current estimate of the hyperparameter relationship.
[0113] In the above process, the full utilization of prior knowledge and the dynamic update of experimental results are combined to more intelligently adjust the search direction and more quickly find the global optimal or local optimal hyperparameter combination; the random selection of test points and the use of prior models make this method more efficient than traditional grid search or random search, and can find better hyperparameter combinations in fewer trials, especially when the search space is large or the objective function is non-convex, the advantage is more obvious.
[0114] As a preferred embodiment of the above, Figure 4 As shown, the neural network model includes:
[0115] Input layer, directly splicing the parameter data and ergonomic data to obtain spliced data. The number of nodes in the input layer is m+n, where m is the dimension of the parameter data and n is the dimension of the ergonomic data.
[0116] The first fully connected layer is connected to the m nodes corresponding to the parameter data of the input layer;
[0117] The second fully connected layer is connected to the n nodes corresponding to the ergonomic data of the input layer;
[0118] The dimension adjustment layer adjusts the dimensions of the first fully connected layer and the second fully connected layer to be consistent, and associates them to obtain an output matrix;
[0119] Activation function, added after each node of the first and second fully connected layers, introduces nonlinear features;
[0120] Output layer, output rate change scheme, the number of nodes in the output layer matches the dimension of the curvature change scheme in the transition region;
[0121] The loss function is used to measure the difference between the model output and the actual transition region curvature change solution.
[0122] The parameter data and ergonomic data are directly concatenated through the input layer to form an input vector, so that the network can consider these two types of information at the same time; in the above preferred solution, the first fully connected layer is responsible for processing the parameter data, and extracts the high-level features of the input data by learning weights and biases; the second fully connected layer is responsible for processing the ergonomic data, and also extracts the high-level features of the input data by learning weights and biases; through the dimension adjustment layer, the model can simultaneously consider the interactive information of the parameter data and ergonomic data. In the implementation process, an activation function is added after each node of the first fully connected layer and the second fully connected layer to introduce nonlinear features. Nonlinear activation functions (such as ReLU, Sigmoid, etc.) help the network learn more complex patterns and representations; the loss function is used to measure the difference between the model output and the actual transition area curvature change scheme. Common loss functions include Mean Squared Error, etc., which are used to measure the average difference between the model output and the true value.
[0123] Among them, the dimension adjustment layer is specifically associated with the first fully connected layer and the second fully connected layer by multiplying the first fully connected layer and the second fully connected layer element by element after the dimension adjustment is consistent. In the implementation process, the dimension adjustment layer realizes the feature fusion of the output of the first fully connected layer and the second fully connected layer through element-by-element multiplication. The element-by-element multiplication associates the features of the two elements by element to produce a fused feature representation, which helps the neural network to better learn the complex relationship between parameter data and ergonomic data; the model can better capture the correlation between parameter data and ergonomic data, and improves the sensitivity of the model to input data; after the output dimension is consistent, the complexity of subsequent calculations in the neural network can be reduced, and the feature representation with consistent dimensions is easier to process in subsequent layers, simplifying the calculation structure of the entire network.
[0124] As a preferred embodiment of the above, the curvature change scheme is a set of values, representing the change of curvature in the transition area; and also includes a process of adjusting a set of values, including:
[0125] Selecting a smoothing function and determining an adjustment region where a smooth transition is required based on a set of values;
[0126] Set the parameters of the smoothing function based on the adjustment area;
[0127] Apply the smoothing function with parameter settings to the curvature change scheme;
[0128] The effect of smooth transition is evaluated through simulation or actual testing, and a curvature change scheme that meets the smoothness requirements is obtained through iteration.
[0129] The optimization scheme composed of the above steps can achieve smooth adjustment of the curvature change scheme to ensure ideal optical performance in the transition area. In the implementation process, the selection of an appropriate smoothing function is the key to ensuring smooth curvature changes. The selection of a smoothing function can be customized according to the characteristics of the curvature change and design requirements. By using a suitable smoothing function, it is possible to avoid introducing unnecessary peaks or fluctuations in the curvature change scheme. Common smoothing functions include Gaussian function, S curve (Sigmoid), B-spline curve, etc.
[0130] By analyzing a set of values of the curvature change scheme, the adjustment area that needs to be smoothly transitioned is determined, so that the scheme can focus on the changes that may occur in the optical transition area, rather than over-adjusting the entire lens. The parameters of the smoothing function can accurately control the smoothness and characteristics of the transition area. The parameterized setting enables the scheme to flexibly adapt to different optical requirements and different expectations for smoothness and transition. Applying the selected smoothing function to the curvature change scheme ensures a smooth transition within the adjustment area. This can be achieved by applying the smoothing function point by point, or using an interpolation method. This step ensures that the curvature change remains consistent within the transition area.
[0131] Through simulation or actual testing, the adjusted curvature change scheme is evaluated, including checking the smoothness in the transition area, the consistency of the overall curvature, and whether it meets the user's design requirements. The evaluation results can be used for further adjustment and optimization. If the evaluation results do not meet the requirements, the scheme allows the parameters of the smoothing function to be adjusted iteratively until the ideal smoothing effect is obtained. This flexibility ensures the adjustability and adaptability of the scheme.
[0132] Embodiment 2
[0133] The self-correcting high-order aberration lens based on transition zone optimization includes an optical zone, a transition zone and an edge zone. The optical zone realizes the correction of high-order aberrations through parameter setting, and the edge zone is connected to the eyeglass frame through size adjustment. The curvature change scheme of the transition zone is output through a neural network model. The input of the neural network model is the parameter data of the optical zone and the ergonomic data of the wearer. During the training process, the neural network model adjusts the hyperparameters based on the feedback data of the user.
[0134] As a preferred embodiment of this embodiment, candidate values of hyperparameters are adjusted according to user preference information extracted from feedback data, and hyperparameter combinations are adjusted according to specific task requirements extracted from feedback data.
[0135] The neural network model includes an input layer, which directly splices the parameter data and the ergonomic data to obtain spliced data. The number of nodes in the input layer is m+n, where m is the dimension of the parameter data and n is the dimension of the ergonomic data.
[0136] The first fully connected layer is connected to the m nodes corresponding to the parameter data of the input layer;
[0137] The second fully connected layer is connected to the n nodes corresponding to the ergonomic data of the input layer;
[0138] The dimension adjustment layer adjusts the dimensions of the first fully connected layer and the second fully connected layer to be consistent, and associates them to obtain an output matrix;
[0139] Activation function, added after each node of the first and second fully connected layers, introduces nonlinear features;
[0140] Output layer, output rate change scheme, the number of nodes in the output layer matches the dimension of the curvature change scheme in the transition region;
[0141] The loss function is used to measure the difference between the model output and the actual transition region curvature change solution.
[0142] The technical effects achieved by this embodiment are the same as those of the above embodiments and will not be described again here.
[0143] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for processing a self-correcting high-order aberration lens based on transition zone optimization, wherein the lens comprises an optical region, a transition region and an edge region, wherein the optical region realizes correction of high-order aberrations by parameter setting, and the edge region is connected to the eyeglass frame by size adjustment; It is characterized in that include: Collecting parameter data of the optical zone of the lens and ergonomic data of the wearer; Designing a neural network model, wherein the input of the neural network model is the parameter data and ergonomic data, and the output is a curvature change scheme of the transition area; Training the neural network model and adjusting hyperparameters based on user feedback data during the training process; During the training process, a mechanism is established to actively or passively collect user feedback data, including user feelings and evaluations in real-time use, as well as specific feedback on different aspects, such as comfort, clarity, and adaptability; the collected user feedback data is processed, including text analysis, sentiment analysis, and keyword extraction methods, to extract useful information from it; Outputting a curvature change scheme of the transition area using the trained neural network model; Processing the lens based on the parameter data of the optical zone, the curvature change scheme of the transition zone, and the size of the edge zone; During the training process, hyperparameter adjustment is performed based on user feedback data, including: processing the feedback data to extract user preference information and specific task requirements; adjusting hyperparameter candidate values according to the user preference information, and adjusting hyperparameter combinations according to the specific task requirements; The neural network model includes: An input layer directly concatenates the parameter data and the ergonomic data to obtain concatenated data, wherein the number of nodes in the input layer is m+n, where m is the dimension of the parameter data and n is the dimension of the ergonomic data; A first fully connected layer, connected to m nodes of the input layer corresponding to the parameter data; A second fully connected layer is connected to n nodes of the input layer corresponding to the ergonomic data; A dimension adjustment layer adjusts the dimensions of the first fully connected layer and the second fully connected layer to be consistent, and associates them to obtain an output matrix; An activation function is added after each node of the first fully connected layer and the second fully connected layer to introduce nonlinear features; An output layer, outputting the rate change scheme, wherein the number of nodes in the output layer matches the dimension of the curvature change scheme of the transition region; The loss function is used to measure the difference between the model output and the actual transition region curvature change solution.
2. The method for processing a self-correcting high-order aberration lens based on transition region optimization according to claim 1, characterized in that: The process of adjusting the hyperparameters includes: Determine the range of values for each hyperparameter to be adjusted; Combining the value point ranges of each of the hyperparameters to form a grid; For each hyperparameter combination within the grid, the training set is used to train the model, and the validation set is used to evaluate the model performance; The best performing hyperparameter combination is selected based on the model's performance on the validation set.
3. The method for processing a self-correcting high-order aberration lens based on transition region optimization according to claim 1, characterized in that: The process of adjusting the hyperparameters includes: Determine the range of values for each hyperparameter to be adjusted; Selecting a priori model, the priori model is used to evaluate the relationship between the hyperparameter and the objective function; Defining the objective function, wherein the objective function maps the hyperparameters to performance indicators of the neural network model on a validation set; Repeat the following steps until the predetermined number of iterations is met or convergence conditions are reached: Randomly select some initial hyperparameter combinations for testing to obtain initial test results of the neural network model; The prior model is updated by the initial test results to obtain an estimated value of the relationship between the hyperparameter and the objective function; Based on the estimated value, the prior model is used to determine the hyperparameter combination for the next experiment.
4. The method for processing a self-correcting high-order aberration lens based on transition region optimization according to claim 1, characterized in that: The association of the first fully connected layer and the second fully connected layer by the dimension adjustment layer is specifically to perform element-by-element multiplication of the first fully connected layer and the second fully connected layer after the dimensions are adjusted to be consistent.
5. The method for processing a self-correcting high-order aberration lens based on transition region optimization according to claim 1, characterized in that: The curvature variation scheme is a set of values representing the variation of curvature in the transition area; Also included is a process of adjusting the set of values, comprising: Selecting a smoothing function, and determining an adjustment area of the transition area that needs to be smoothly transitioned based on the set of values; Setting parameters of the smoothing function based on the adjustment area; Applying the smoothing function with completed parameter setting to the curvature variation scheme; The effect of smooth transition is evaluated through simulation or actual testing, and a curvature change scheme that meets the smoothness requirements is obtained through iteration.
6. A self-correcting high-order aberration lens based on transition zone optimization, comprising an optical zone, a transition zone and an edge zone, wherein the optical zone realizes correction of high-order aberrations by parameter setting, and the edge zone is connected to the eyeglass frame by size adjustment; It is characterized in that The curvature change scheme of the transition area is output through a neural network model; The input of the neural network model is the parameter data of the optical area and the ergonomic data of the wearer. During the training process, the neural network model performs hyperparameter adjustment based on the feedback data of the user. During the training process, a mechanism is established to actively or passively collect user feedback data, including user feelings and evaluations in real-time use, as well as specific feedback on different aspects, such as comfort, clarity, and adaptability; the collected user feedback data is processed, including text analysis, sentiment analysis, and keyword extraction methods, to extract useful information from it; The candidate values of the hyperparameters are adjusted according to the user preference information extracted from the feedback data, and the hyperparameter combinations are adjusted according to the specific task requirements extracted from the feedback data; The neural network model includes an input layer, which directly splices the parameter data and the ergonomic data to obtain spliced data, and the number of nodes in the input layer is m+n, where m is the dimension of the parameter data and n is the dimension of the ergonomic data; A first fully connected layer, connected to m nodes of the input layer corresponding to the parameter data; A second fully connected layer is connected to n nodes of the input layer corresponding to the ergonomic data; A dimension adjustment layer adjusts the dimensions of the first fully connected layer and the second fully connected layer to be consistent, and associates them to obtain an output matrix; An activation function is added after each node of the first fully connected layer and the second fully connected layer to introduce nonlinear features; An output layer, outputting the rate change scheme, wherein the number of nodes in the output layer matches the dimension of the curvature change scheme of the transition region; The loss function is used to measure the difference between the model output and the actual transition region curvature change solution.
