Method, device, and computer program for the virtual fitting of a spectacle frame
11215850 · 2022-01-04
Assignee
Inventors
Cpc classification
G06T19/20
PHYSICS
International classification
Abstract
A method for adjusting spectacles in which a virtual fitting process of a parametric frame model of a spectacle frame on a 3D model of the head of a person, to whom the spectacles are to be fitted, is divided into two fitting procedures. In a first fitting procedure, the parametric frame model is adjusted to the 3D model of the head to meet specific fitting guidelines for the parametric frame model. Fitting guidelines of this nature may be specified by a frame manufacturer to comply with aesthetic criteria in the fitting. Anatomic fitting is then performed in the second fitting procedure.
Claims
1. A computer-implemented method for fitting of a pair of spectacles, the method comprising: virtually fitting a parametric frame model to a 3D model of a head of a person by: performing a first fitting procedure including adapting parameters of the parametric frame model for fitting the parametric frame model to the 3D model of the head to satisfy fitting guidelines that are specific to the parametric frame model; performing a second fitting procedure including adapting the parameters of the parametric frame model for an anatomical fitting of the parametric frame model to the 3D model of the head; determining a first set of parameters in the first fitting procedure; determining a second set of parameters that differs from the first set of parameters in the second fitting procedure, wherein the first set of parameters includes at least one of a scaling of the spectacle frame, an as-worn pantoscopic angle, or a form of a spectacle rim of the spectacle frame, and wherein the second set of parameters includes at least one of a bridge width, an earpiece length, or a nasal wing angle, and wherein adapting the parameters of the parametric frame model changes a geometry of a spectacle frame defined by the parametric frame model; and performing a virtual donning of the parametric frame model having the changed geometry.
2. The method as claimed in claim 1, further comprising: converting at least one of the fitting guidelines or the parametric frame model into a predetermined format.
3. The method as claimed in claim 1, wherein the parametric frame model comprises a multiplicity of parameters.
4. The method as claimed in claim 1, wherein the specific fitting guidelines comprise specifications for features derived from features of the frame, features of the head, or features of the frame and the head.
5. The method as claimed in claim 1, wherein the first fitting procedure employs a syntax tree.
6. The method as claimed in claim 1, wherein the first fitting procedure comprises an optimization process in a target function on a basis of at least one of a deviation of a target value of the specific fitting guidelines or a penalty term when a target range is exceeded.
7. The method as claimed in claim 1, wherein the first fitting procedure comprises a repeated run-through of an optimization loop.
8. The method as claimed in claim 1, wherein the first fitting procedure comprises taking into account a weight of a spectacle lens.
9. The method as claimed in claim 1, wherein at least one of the parametric frame model or the specific fitting guidelines are encrypted.
10. The method as claimed in claim 1, further comprising a calculation of a quality measure for the virtual fitting.
11. The method as claimed in claim 1, further comprising: creating a subset of parameters from the parameters of the parametric frame model; keeping the parameters of the subset at a standard value during the first fitting procedure; and adapting the subset of parameters during the second fitting procedure.
12. A computer comprising: a processor; and a non-transitory storage medium having a program stored thereon and comprising a program code which causes the method as claimed in claim 1 to be carried out when the program code is executed on the processor.
13. An apparatus for virtual fitting of a pair of spectacles, comprising a processor and a memory, in which the computer program as claimed in claim 12 is stored for the purpose of being executed on the processor.
14. A non-transitory computer-readable storage medium comprising instructions that, upon execution by a computer, cause the latter to carry out the method as claimed in claim 1.
15. An apparatus for data processing, comprising a processor configured to carry out the method as claimed in claim 1.
16. A computer-implemented method for fitting of a pair of spectacles, the method comprising: virtually fitting a parametric frame model including a multiplicity of parameters to a 3D model of the head of a person by: performing a first fitting procedure including fitting the parametric frame model to the 3D model of the head to satisfy fitting guidelines that are specific to the parametric frame model and determining a first set of parameters, wherein the first set of parameters includes at least one of a scaling value of the spectacle frame, an as-worn pantoscopic angle, or a form of a spectacle rim of the spectacle frame; performing a second fitting procedure including an anatomical fitting of the parametric frame model to the 3D model of the head and determining a second set of parameters that differs from the first set of parameters, wherein the second set of parameters includes at least one of a bridge width, an earpiece length, or a nasal wing angle, wherein the specific fitting guidelines comprise at least one of a target value or a target range for a distance between a feature of the spectacle frame and a feature of the head of the person, and wherein determining the parameters of the first set of parameters and the second set of parameters changes a geometry of a spectacle frame defined by the parametric frame model; and performing a virtual donning of the parametric frame model having the changed geometry.
17. The method as claimed in claim 16, wherein the at least one of the target value or the target range differs for different spectacle frames.
18. The method as claimed in claim 16, further comprising: creating a subset of parameters from the parameters of the parametric frame model; keeping the parameters of the subset at a standard value during the first fitting procedure; and adapting the subset of parameters during the second fitting procedure.
19. A computer comprising: a processor; and a non-transitory storage medium having a program stored thereon and comprising instructions that, upon execution of the program by a computer, cause the latter to carry out the method as claimed in claim 16.
20. A non-transitory computer-readable data medium, on which the computer program as claimed in claim 19 is stored.
21. An apparatus for data processing, comprising: a processor; and means for carrying out the method as claimed in claim 16.
22. An apparatus for data processing, comprising: means for virtually fitting a parametric frame model to a 3D model of a head of a person, wherein the means for virtual fitting include: means for carrying out a first procedure for fitting the parametric frame model to the 3D model of the head to satisfy fitting guidelines that are specific to the parametric frame model; means for carrying out a second procedure for fitting the parametric frame model to the 3D model of the head for anatomical fitting; means for determining a first set of parameters in the first fitting procedure; means for determining a second set of parameters that differs from the first set of parameters in the second fitting procedure, wherein the first set of parameters includes at least one of a scaling of the spectacle frame, an as-worn pantoscopic angle, or a form of a spectacle rim of the spectacle frame, wherein the second set of parameters includes at least one of a bridge width, an earpiece length, or a nasal wing angle, and wherein the first procedure for fitting the parametric frame model and the second procedure for fitting the parametric frame model change a geometry of a spectacle frame defined by the parametric frame model; and means for performing a virtual donning of the parametric frame model having the changed geometry.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The disclosure will now be described with reference to the drawings wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
DESCRIPTION OF EXEMPLARY EMBODIMENTS
(18)
(19) The apparatus of
(20) The apparatus of
(21)
(22)
(23) The method begins in step 30. In step 31, a 3D model of the head, including head model metadata, is loaded from a memory. The 3D model can be created with the aid of image recordings, as explained above with reference to
(24) The head model metadata are data that contain information items about the features of the 3D model but not the model itself. In particular, the metadata may supply additional information in respect of the 3D model of the head and/or contain certain points, curves or regions on the 3D model of the head. More details about the use of such metadata is also found in the European patent application EP 3410178 A1.
(25) A basic model of a spectacle frame described by a parametric frame model is selected in step 32. The parametric frame model has free parameters, i.e., parameters to be determined. Examples of such free parameters were already specified further above in the context of the description of the parametric frame model, specifically the bridge width or earpiece length of the spectacle frame, or else a form of a frame rim of the spectacle frame.
(26) In step 312, at least some of the parameters are then calculated on the basis of a fitting guideline associated with the frame model, as described above and explained in more detail below. Other parameters are determined on the basis of anatomical fitting, as likewise already explained.
(27) Then, there is virtual donning of the spectacles with more in-depth anatomical fitting in steps 33 to 310. To this end, in step 33 there is approximate positioning on the basis of a placement point and a nasal bridge resting point, as already described in the European patent application EP 3410178 A1. The spectacle earpieces are bent open to the ears of the head and the earpieces are positioned, wherein there may be a rotation about an x-axis of the pair of spectacles, in steps 34 and 35. Here, the x-axis corresponds to a direction that connects the eyes in the head, the z-direction corresponds substantially to the direction of the earpieces and the y-direction is perpendicular thereto. Contact areas of the pair of spectacles are optimized in step 36 by means of fine positioning in the xy-plane. Moreover, parameters not yet set in step 312 can be adapted further here. Steps 34-36 in this case correspond to the corresponding steps described in the European patent application EP 3410178 A1. Within the scope of this fitting, the parametric spectacle model can be deformed and positioned, in particular, after the parameters were determined in step 312.
(28) The frame and the head are then rendered in step 37, i.e., there is an appropriate representation on the display 16 of
(29) Then, there is an interaction of the user with the model in step 38 which, as illustrated in step 39, may have various consequences. Thus, there may simply be navigation, for example in order to observe the head from a different direction. In this case, there is new rendering in step 37.
(30) The interaction in step 39 also allows manual adaptation of the rotation of the frame about the x-axis. In this case, the method returns to step 35, for example to determine the earpieces in accordance with the new position of the frame.
(31) Moreover, the interaction of the user with the model may also adapt the position of the spectacle frame on the nasal bridge of the head model by way of a user of the apparatus. This substantially changes the position of the spectacle frame set in step 33. Therefore, the method returns to step 33 in this case.
(32) The previously described types of interaction, in particular navigation, for example for changing the observation angle, adapting the rotation and adapting the position of the pair of spectacles disposed on the nasal bridge, have likewise already been explained in detail in the European patent application EP 3410178 A1.
(33) Moreover, one of the frame parameters of the parametric frame model can also be set by the user within the scope of the interaction. By way of example, the user can in this case modify the determination of parameters implemented by the automatic calculation in step 312. In this case, this reduces the number of free frame parameters in step 310 and the method is continued in step 36. If the user is finally satisfied with the fit following the interaction, the method is terminated in step 311. In the process, there can still be a final check. The user (e.g., an optician) checks the order data during the final check. In the process, the data of the order and corresponding pictorial representations are presented to the user on an overview monitor. The representations show the parameters of the spectacle frame and/or of the head determined within the scope of the method, such as a bridge width and the nasal wing angle, etc., and also the parameters of the ordered frame, possibly also with notes about deviations from an ideal form which, e.g., are prescribed by the fitting guidelines. The determination of such parameters will still be explained below. Then, the ascertained parameters can be transmitted to an ordering system of the respective manufacturer in order to order a physical spectacle frame with the corresponding parameters.
(34) Individual aspects of the method of
(35)
(36) In the method of
(37) A first set of parameters of the parametric frame model can be set by the adaptation in step 40.
(38) Then, general fitting to the anatomy of the head of the person is undertaken in step 41, i.e., the fitting in step 41 is implemented independently of the specific fitting guidelines. This fitting can be implemented as described in the prior art cited at the outset, and can likewise be implemented in step 312 or optionally also in the adaptation in steps 34 and 35. Then, the anatomical spectacle fitting can also take place directly on the basis of the metadata of the head model, or else as explained in Johannes Eber, “Anatomische Brillenanpassung”, Verlag Optische Fachveröffentlichung GmbH, 1987, page 23ff.
(39)
(40) Input data for the method are provided in steps 50 to 53 in
(41) Moreover, there can be a data reduction (e.g., a reduction in the number of triangles or voxels in the 3D model) or a data compression with the aid of conventional compression methods.
(42) In step 50, the frame manufacturer creates specific fitting guidelines for this parametric frame model, which, as explained, can take account of esthetic aspects when fitting the frame.
(43) A 3D model of the head of the person is created and analyzed in steps 52 and 53. Here, the model is initially created in step 52 with a 3D measurement system, in particular with the camera device shown in
(44) Then, the frame is fitted in step 54 in accordance with the specific fitting guidelines, corresponding to step 40 in
(45) Then, the frame is fitted to anatomical conditions of the head in step 55. Here, parameters that were not yet fitted in step 54, i.e., which are still free parameters, are adapted further.
(46) In step 56 there is virtual donning and rendering, and a manual adaptation in step 57. Here, the virtual donning and manual adapting is implemented as already described with reference to reference signs 33 to 310 in
(47) In step 58, there is a transfer to an ordering system of the frame manufacturer, corresponding to step 311 in
(48) The use of frame-specific fitting guidelines and the corresponding adaptation are now explained in more detail with reference to
(49)
(50) Examples include: 1. The position of the eyes, in particular the pupil centers (point of intersection of the line L2 with the lines LB in
(51) The aforementioned features can be identified by a procedure as described below by means of a parametric head model or else by image analysis methods (image recognition) and/or by machine learning in images recorded by the camera device of
(52) In the following description, references such as left eye, right eye, left half of the face or right half of the face should be understood from the view of the person for whom the pair of spectacles is fitted.
(53)
(54) Fitting guidelines for a parametric frame model are provided at step 70 in
(55) A parametric frame model is provided in step 71, the fitting guidelines at step 70 being assigned thereto. Metadata that denote certain regions or points of the frame model, for example, may be assigned to the parametric frame model. Such metadata of a frame model are also described in the European patent application EP 3410178 A1. This parametric frame model is read in step 74. In step 77, the parameters of the parametric frame model arising from being read at step 74 and their value ranges are provided for subsequent optimization. Finally, a 3D model of the head of the person, for whom a spectacle frame should be fitted, is provided with the associated metadata at step 72, the model being read in step 75.
(56) The fitting guidelines are parsed in step 76. Parsing is understood to mean a decomposition and conversion of input data into a format more suitable for further processing. A parser is a corresponding device (usually implemented by a computer program), which carries out such parsing. More details in this respect are found in the German Wikipedia article “Parser [Parsing],” as of May 19, 2017.
(57) Here, the fitting guidelines are translated, in particular, into a format that is suitable for the subsequent optimization process. Here, as explained, the fitting guidelines may contain target quantities and/or admissible ranges, in particular for distances between features of the spectacle frame and features on the head, for example a distance between the upper frame rim and the eyebrows, a distance between the upper frame rim of the frame and an upper edge of the eyes, a distance of the lower frame rim to a lower edge of the eyes or a relative position of the pupil with respect to the frame rims. Moreover, it is also possible to use distances to calculated derived features, i.e., points or regions that are derived from a plurality of features of the head and/or of the frame. Such derived features are also referred to as auxiliary features. The use of such derived features allows greater flexibility and/or accuracy of the adaptation.
(58) One example of such an auxiliary feature is illustrated in
yH=(yUK−(yUN−0.5.Math.xG))/0.5.Math.xG.
(59) This value yH represents a deviation of a calculated chin lower edge of an ideal face from a real chin lower edge as a ratio to half the width of a face and the value is a measure for the vertical length of the face below the nose. Such an auxiliary feature can be used to set the proportions of the lower frame rims of the spectacle frame. As a result of this, it is possible to take account of the fact that the length of the face in the vertical direction may also have an influence on the esthetic impression caused by the spectacle frame and hence that the specific fitting guidelines may predetermine a relationship of the size and/or form of the spectacle frame with respect to the parameter yH.
(60) A further example of a fitting guideline is a position of the pupil within a frame-circumscribing box. This is illustrated in
(61) The fitting point height of the pupil (height of the pupil above the lower frame rim) is denoted by y; the horizontal position of the pupil is denoted by x. The width of the box 102 is Δa and the height of the box is Δb. By way of example, the fitting guideline may then provide that, in the horizontal direction, the pupil should be situated between the box center and the nasal golden ratio, i.e., Δa.Math.3.82<x<Δa.Math.0.5. Here, the golden ratio means that the ratio of x to Δa-x equals the ratio of Δa-x to Δa, as is the case for x=Δa.Math.3.82. Eye positions closer to the inner side of the frame rim than this golden ratio are generally found to be less esthetic.
(62) As a similar guideline, the eye position in the vertical direction can be set, specifically in such a manner that the pupil is precisely situated, in the vertical direction, between the box center of the box 102 and the value for the golden ratio above the center, i.e., Δb.Math.0.5<y<Δb.Math.0.618.
(63) The fitting guidelines can also be provided directly as a calculation formula, wherein the variables of the calculation formula then are the above-described features. In other words, the frame parameters in the specific fitting guideline can be specified directly as a term, or they can be determined iteratively by way of an optimization loop. In the latter case, a fitting quality defined with the aid of the terms is optimized; the terms set targets—however, these targets are generally not hit; therefore, e.g., an expression in the form “target quantity=term” would only contribute to the fitting quality within the meaning of an optimization e.g. within the meaning of the method of least squares, but would not directly satisfy this.
(64) Parsing in step 76 is implemented, in particular, for the mentioned auxiliary features, for target quantities and calculation prescriptions to this end and, optionally, for a quality value as a scalar quantity, which is available, for example, in the form of a weighted square sum of the deviation from the target quantities and which may optionally have an additional penalty term, as is already described above.
(65) Then, a list of syntax trees for the terms of step 76 is created in step 79.
(66) Accordingly, the position, orientation and dimension for values such as the position of the pupil center, the position and dimension of the eye (e.g., a rectangle describing the eye), the position, orientation and dimension of the nose, the position, orientation and position of the eyebrows and/or the position of the chin are determined in step 78 for the head model.
(67) The terms of the tree are evaluated for the auxiliary features in step 710, i.e., the auxiliary features present are determined, and values for these auxiliary features, for example for the value yH explained above, are determined in step 711. Then, there is an optimization step in step 712. Here, frame parameters of the parametric frame model are varied and the terms are evaluated until target quantities are reached in step 713. From this, a parameter set for a set of frame parameters that were adapted on the basis of the fitting guidelines emerges at 714. In particular, these are parameters with an esthetic effect, for example scaling of the spectacle frame, as worn pantoscopic angle of the spectacle frame and/or a form of the frame rim in the case of a variable frame rim. Further parameters, such as, e.g., angles of nose pads or a length of spectacle earpieces or a bridge width, are initially kept at standard values that are predetermined by the manufacturer. These are then adapted during the anatomical fitting (e.g., step 41 in
(68) The optimization loop may also comprise virtual donning, e.g., as described in the European patent application EP 3410178 A1. The preceding steps including the adaptation of the parameters of the parametric frame model ensure a convergence of the optimization to an optimal adaptation for a pair of spectacles.
(69) Emerging as a result during the virtual donning there is, firstly, the parameters of geometric motion (six degrees of freedom, see the German Wikipedia article “Bewegung (Mathematik) [Motion (Geometry)]” as of May 22, 2017), presentable, for example, as a rotation matrix and translation vector, and, secondly, the parameters of the bending of the frame. As a rule, the latter is a single parameter for the angle traversed at the ear resting point during bending. This corresponds to virtual donning, as described in the European patent application EP 3410178 A1. The results of the virtual donning described there are the rotation and translation of the frame and the parameters of the deformation of the earpieces.
(70) After donning, all frame-specific features are available in the coordinate system of the head. To this end, geometric motion is applied to the features. By way of example, the position and orientation of the right and left nose pad of the individualized frame—i.e., of the frame corresponding to the parametric frame model with fitted parameters—is calculated. In the ideal case, this position and orientation should correspond with the previously calculated position in the step of adapting the frame-specific parameters, in which the corresponding feature of the nasal wing was brought into correspondence with the feature on the frame, as will still be explained specifically below. However, on account of restrictions to the individualization in the nose region, it may be the case that the process of virtual donning does not yield the same result as the fitting procedure when determining the position of the frame. By way of example, this may be due to asymmetries of the real nose in conjunction with a symmetric nose rest of the frame. However, as a rule, there should only be very minor differences between the positions. In the case of minor differences (e.g., a distance of the nose pad centers of less than 1 mm), this can be ignored. In the case of relatively large differences, the new position following the virtual donning may trigger a new fitting procedure for the parameters to be determined on the basis of the frame-specific fitting guidelines. Feedback in the form of a notification to the operator in respect of a possible incompatibility of the frame model is also possible.
(71)
(72)
(73)
(74) Consequently, what can be ensured with the aid of the fitting guidelines and the division into fitting on the basis of fitting guidelines followed by fitting to the anatomy of the head is that prescriptions of a spectacle manufacturer, which are of an esthetic nature in particular, can be satisfied.
(75) In the aforementioned method, and also in other methods for fitting a pair of spectacles, for example in the method described in the European patent application EP 3410178 A1 or in some of the methods explained at the outset as prior art, the position of certain points on the 3D model of the head is required and/or metadata are required, which metadata characterize certain regions for fitting the spectacles, such as a resting point or an ear resting region. One option lies in determining such points or regions manually or by means of the pattern recognition method. A further option will now be described with reference to
(76)
(77) In step 110, a parametric head model with measurement points is provided. Here, a parametric head model is a parametric model that describes a head. Changing the parameters of the parametric model changes the head form described by the head model. The term parametric head model, as used here, also includes models that only describe part of the head, for example only the parts required for fitting spectacles (in particular, the region of the eyes, nose and ears). An example of a parametric head model is explained below with reference to
(78) Then, in step 111, the parametric head model is fitted to the 3D model of the head of the person. To this end, use can be made of any conventional optimization methods that adapt the parameters of the parametric head model in such a way that there is the smallest possible deviation between the parametric head model and the 3D model of the head of the person (e.g., by means of the least-squares method or the method in the article by J. Booth et al., cited above). Then, in step 112, the measurement points are transferred to the 3D model of the head of the person on the basis of the adaptation. In other words, the position of the measurement points on the fitted parametric head model is used to set corresponding measurement points on the 3D model of the head. This can be implemented by projection from the parametric head model to the 3D model of the head, for example by virtue of a point of intersection of a normal vector, i.e., a vector perpendicular in the case of the measurement point on the parametric head model, with the 3D model of the head being used. In accurate models, it is also possible to use the position of the measurement point on the parametric head model directly as a position on the 3D model of the head.
(79) In this way, it is possible to determine measurement points for substantially any 3D model of any head, with the measurement points only having to be set once on the parametric head model.
(80)
(81) In
(82) In step 121, a parametric head model is provided. The parametric head model can be a face model or head model determined on the basis of principal component analysis (PCA), as described in, e.g., A. Brunton, A. Salazar, T. Bolkart, S. Wuhrer, “Review of Statistical Shape Spaces for 3D Data with Comparative Analysis for Human Faces,” Computer Vision and Image Understanding, 128:1-17, 2014, or else a head model as described in J. Booth, A. Roussos, S. Zafeiriou, A. Ponniah and D. Dunaway “A 3D Morphable Model learnt from 10,000 faces,” 2016 IEEE Conference on Computer Vision and Patent Recognition (CVPR), Las Vegas, Nev. 2016 pages 5543-5552 doi:10.1109/CVPR.2016.598. In step 122, a 3D model of the head of the person is provided, which model may have been created by the camera device of
(83) In step 123, measurement points are determined on the parametric head model. An example of such a 3D model of at least a part of the face is presented together with coordinate axes in
(84) In step 123, measurement points are determined on the parametric head model. To this end, a so-called standard head of the parametric head model is provided. A standard head is a head in which the parameters of the parametric head model assume predetermined standard values. In the case of a head model on the basis of principal component analysis, this may be an average head, for example, which corresponds to a first component of the principal component analysis.
(85) In step 123, measurement points are set on the parametric head model. This can take place manually by setting points. An example for such a stipulation is shown in
(86) In step 124, the parametric head model is fitted to the 3D model of the head of the person using the fitting process. A fitting process is a process in which parameters of the parametric head model are determined in such a way that the parametric head model is fitted as accurately as possible to the 3D model of the head of the person, for example according to the least squares criterion. The steps 123 and 124 can be carried out in any sequence. Step 123 need only be carried out once before the method is carried out, and so the determined measurement points can be used every time the method is carried out for different 3D models of heads of different persons and for different parametric frame models.
(87) Then, in step 125, the measurement points are transferred to the fitted parametric head model. In other words, the position of the measurement points is determined on the fitted head model. To this end, substantially the same transformation, which is used to arrive at the fitted parametric head model from the standard head model, on which the measurement points were determined in step 123, is applied to the measurement points, for example as described in the aforementioned article by J. Booth et al. Optionally, in step 126, the measurement points are transferred to the 3D model of the head. Whether step 126 is used depends on the accuracy of the employed model, i.e., on how accurately the fitted parametric head model corresponds to the 3D model of the head of the person. By way of example, step 126 can be omitted if the mean square deviation lies below a threshold value. The transfer of the measurement points from the fitted parametric head model to the 3D model of the head of the person can be implemented by a projection, in which a normal vector is determined through the respective measurement point on the fitted head model and the point of intersection of this normal vector with the 3D model of the head of the person is then used as a corresponding measurement point on the 3D model of the head of the person. Examples are shown in
(88) This projection operates reliably in the case of many facial models since parametric models often have great smoothness, in particular a greater smoothness than a typical 3D model of the head as illustrated in
(89) Moreover, a manual step can be used (not illustrated in
(90) Then, in step 127, features are calculated on the basis of the measurement points (the measurement points at the fitted head model if step 126 is dispensed with or the transferred measurement points when step 126 is carried out). These features, also referred to as measurement features, are based on groups of measurement points and define a region of the head, for example.
(91) The features can be ascertained by means of the direct calculation (e.g., 3 non-collinear points in space uniquely define a plane, the normal vector of which can be calculated by means of the cross product of the normalized difference vectors; 4 non-coplanar points define a sphere, 5 non-coplanar points define a cylinder) or by means of an approximation of a geometric primitive (points, lines or areas) such as a plane or sphere or cylinder to certain measurement points. Then, the feature is determined by the parameters of the adapted geometric primitives, for example by normal vectors and point under consideration of a plane in the case of a plane or by a center and radius of a sphere in the case of a sphere, etc. Examples of such features, which are calculated in step 127, are specified below:
(92) Left or Right Nasal Wing
(93) For the left or right nasal wing of the nose, a plane (e.g., corresponding to the triangle 132′ in
(94) Here, the index N denotes the nose, the index OD denotes the right eye (oculus dexter) and the index OS denotes the left eye (oculus sinister).
(95) Curvature of the Forehead
(96) Here, a section of a circular curve in space can be fitted to measurement points on the forehead, as illustrated in
(97) Eyebrows and/or Cheekbones
(98) Here, a spline surface S (see the German Wikipedia article “Spline”, as of May 23, 2017) or a bivariate polynomial (see, e.g. the url: en.wikipedia.org/wiki/Polynomial#Definition.fwdarw.“bivariate polynomial”, as of Jun. 8, 2017) is fitted in a region around the eyebrows and/or in a region about the cheekbones to the measurement points in the region of the eyebrows and in the region of the cheekbones. In a spline representation
S.sub.(c1, . . . ,cn):(x,z).fwdarw.y,
coefficients (c1, . . . , cn) of the spline function S are determined in such a way here that for a set of measurement points {(x1,y1,z1), . . . , (xm,ym,zm)} in the corresponding region (eyebrows or cheekbones), a root mean square error F is minimal, i.e., the error F has the following form:
F(c1, . . . ,cn)=Σ.sub.i=1 . . . m(yi−S.sub.(c1, . . . ,cn)(xi,zi)).sup.2.
(99) In this representation, the assumption is made that the process of donning the frame is implemented later by a movement parallel to an xy-plane with, in each case, a fixed y-value in the coordinate system of
(100) Point at the Base of the Ear that serves as a Resting Point for the Spectacle Earpiece
(101) To this end, a single point on the head model can be used; i.e., no measurement points need to be combined in this case. In other exemplary embodiments, an ear resting curve can be determined as described in the European patent application EP 3410178 A1. Should use be made of a model without modeling of the ears (see above), for example a pure facial model, or should the ears have been covered when creating the 3D model of the head of the person, this point at the base of the ear can be generated differently, for example by way of machine learning from images that were used for the creation of the 3D model of the head, wherein a trained feature detector can be used to this end for the purposes of detecting the point at the base of the ear in the images. These points detected in the 2D image are projected onto the 3D model of the head in a further step. Information in respect of such projections is found in background literature in respect of projective geometry and camera calibration, e.g., Hartley and Zisserman, “Multiple View Geometry in Computer Vision,” 2000, from page 7 for the representation of the image pixels as straight lines in space; projection onto a 3D model in space as a calculation of the front-most point of intersection of the triangular mesh with the straight line, also referred to as “ray casting;” see also, e.g., the software library “vtk”, function “vtkModifiedBSPTree:IntersectWithLine”. Alternatively, such a point can also be determined manually, as explained above.
(102) In some exemplary embodiments, certain points such as eye position or pupil position can also be determined by a separate method, for example by means of pupil detection and cornea detection using the images recorded by the camera of
(103) On the basis of the features calculated thus in step 127, frame parameters of the parametric frame model are then calculated in step 128. An example for this calculation is provided below. However, the features can also be used for the frame fitting, described above, on the basis of specific fitting guidelines or for the virtual donning, as described in the European patent application EP 3410178 A1.
(104) In general, for fitting purposes, the features are evaluated in combination in respect of the relative position and orientation and/or of further properties such as angle or curvature. Some examples for the calculation of the frame parameters in step 128 are described below. These may also serve as an example for the anatomical fitting of step 41 in
(105) Bridge Width
(106) The bridge width is defined in DIN EN ISO 8624:2015-12, appendix A and emerges from the relative position of the nose pads since the nose pads lie further apart from one another in the case of a greater bridge width and the nose pads lie closer together in the case of a narrower bridge width. In the case of a spectacle frame without nose pads, generalized nose pads are defined as specific regions of the nose rest, which are provided as contact regions with the nose. The bridge width arises as the spacing of the center points of these generalized nose pads. Thus, the bridge width can correspond to the spacing of center points of triangles on both nasal wings that correspond to the triangle 132′ in
(107) For elucidation purposes,
(108) Relative Position and Angle of the Nose Pads
(109) This adaptation is explained in
(110) Each of the two nose pads can be adapted by a plane that contacts the respective nose pad (tangential plane). As described for other planes above, this plane of the nose pad can be approximated by a point under consideration (x.sub.P, y.sub.P, z.sub.P) and a normal vector (nx, ny, nz). In particular, the point under consideration can be a center of the nose pad. In the case of the nose pads in the conventional sense, i.e., in the case of metal frames, this center point is defined, e.g., by a projection of the centroid of the nose pad on the outer side, i.e., the contact face of the pad with the nose—wherein the pad center can also be part of the parameterizable frame model as a predefined point—i.e., this point is supplied together with the model. In the case of plastic frames without separate pads, the part of the frame envisaged as a contact area for the nose (160 in
(111) where the index P represents the nose pad.
(112) As explained above, the position and orientation of the nose pads then also implies the bridge width.
(113) In this representation of the nose pads, the coordinate origin and the orientation of the coordinate system can be chosen freely because the 12-tuple is transferable into any desired coordinate system by way of a common translation mapping of the points under consideration, or by way of a common rotation mapping of the points under consideration and normal vectors. The precondition is that all parameters of the aforementioned 12-tuple are in fact freely selectable in the parametric frame model. In practice, the parameters are subject to restrictions in a parametric frame model and there are maximum and minimum values for the individual parameters of the parametric frame model (by way of example, a frame cannot have an arbitrarily large size or cannot be manufactured with an arbitrarily large or arbitrarily small bridge width). In any case, both the nose pads and, as mentioned above, the nasal wings can be represented as 12-tuples.
(114) Instead of in Cartesian coordinates as above, the normal vectors can be represented in each case by two angles theta and phi in space (substantially a representation in polar coordinates, wherein 1 is selected as a length (radius) of the normal vector:
(nx,ny,nz)=(sin(phi)*sin(theta),cos(phi)*sin(theta),cos(theta)).
(115) Hence, a total of 10 degrees of freedom then arise for the pads (and hence also for the nose bridge) together; a representation as a 10-tuple is obtained: (x.sub.[P,OD],y.sub.[P,OD],z.sub.[P,OD],theta.sub.OD,phi.sub.OD, x.sub.[P,OS],y.sub.[P,OS],z.sub.[P,OS],theta.sub.OS,phi.sub.OS)=z.sub.[P,OS].
(116) The relationship between nasal bridge width and the position of the nose pads is evident from
(117) A reduction in the number of parameters occurs if the assumption is made that the bridge is symmetrical and the nose pads are symmetrical with respect to one another. With the yz-plane of
(118) Then, (w, y.sub.P, z.sub.P, theta, phi) arise as free parameters, with theta=theta.sub.[P,OD]=theta.sub.[P,Os] and phi=phi.sub.[P,OD]=−phi.sub.[P,OS]. Here, w is the bridge width, where x.sub.[P,OD]=w/2 and x.sub.[P,OS]=−w/2 applies. Consequently, five free parameters are present in the symmetric case, which free parameters can be used to adapt the parametric frame model. Depending on the frame, fewer degrees of freedom may be present or the degrees of freedom may be restricted by means of specific fitting guidelines, as explained above.
(119) In order to fit the parametric frame model to the 3D model of the head, the planes of the nose pads may be chosen in such a way that they correspond to the planes of the nasal wings; i.e., in general, the 12-tuples for the nose pads correspond to the 12-tuple for the nasal wings.
(120) By way of example, as a restriction, the position of the bridge or of the nose pads can be fixed in the local coordinate system of the frame (i.e., the values y.sub.P, z.sub.P are fixed), or a fixed and, e.g., linear relationship can be chosen between theta and phi such that theta and phi cannot be chosen independently of one another.
(121) In the case of a reduced set of frame parameters, for example in the aforementioned symmetric case, use can be made of averaging. By way of example, if the corresponding angles theta.sub.[P, OD] and theta.sub.[P, OS] for the nasal wings differ, use can be made of a mean value. Should the difference between the angles be greater than a threshold, a warning to the effect of the symmetric frame form yielding disadvantageous wearing properties in this case can be output. A quality measure that denotes the anatomical fit quality can be used to assess how disadvantageous the wearing properties are. Such a quality measure can be calculated on the basis of the aforementioned distances of the spectacle frame from regions of the head, wherein different distances may be included in the quality measure with different weightings.
(122) Depending on the type of parametric frame, the number of free parameters can be reduced further, for example to two parameters in the region of the nose support, specifically the bridge width and a parameter for the bridge angle. By way of example, the bridge angle is explained in Johannes Eber, “Anatomische Brillenanpassung,” Verlag Optische Fachveröffentlichung GmbH, 1987, page 26,
(123) Pantoscopic Angle of the Frame
(124) Moreover, the pantoscopic angle of the frame (also referred to as as worn pantoscopic angle) can be calculated or adapted by means of the features. In exemplary embodiments in which use is made of frame-specific fitting guidelines as explained above, the pantoscopic angle can already be set during this fitting (step 40 in
(125) Earpiece Length
(126) The earpiece length is calculated in step 128 once the fit of the frame on the nose has been set, for example by way of the aforementioned nose pads. For the purposes of setting the earpiece length of the frame (provided this is a free parameter of the parametric frame model), a front resting point of the earpiece is made congruent with the aforementioned points at the base of the ear.
(127) Then, in step 129, the frame parameters calculated in step 128 are applied to the parametric frame model. In step 1210, there is then virtual donning and rendering, as described with reference to step 56 in
(128) The foregoing description of the exemplary embodiments of the disclosure illustrates and describes the present invention. Additionally, the disclosure shows and describes only the exemplary embodiments but, as mentioned above, it is to be understood that the disclosure is capable of use in various other combinations, modifications, and environments and is capable of changes or modifications within the scope of the concept as expressed herein, commensurate with the above teachings and/or the skill or knowledge of the relevant art.
(129) The term “comprising” (and its grammatical variations) as used herein is used in the inclusive sense of “having” or “including” and not in the exclusive sense of “consisting only of.” The terms “a” and “the” as used herein are understood to encompass the plural as well as the singular.
(130) All publications, patents and patent applications cited in this specification are herein incorporated by reference, and for any and all purposes, as if each individual publication, patent or patent application were specifically and individually indicated to be incorporated by reference. In the case of inconsistencies, the present disclosure will prevail.