WO2021217547A1 - Automatic design method of 3d printing customized goggle frame - Google Patents

Automatic design method of 3d printing customized goggle frame Download PDF

Info

Publication number
WO2021217547A1
WO2021217547A1 PCT/CN2020/087978 CN2020087978W WO2021217547A1 WO 2021217547 A1 WO2021217547 A1 WO 2021217547A1 CN 2020087978 W CN2020087978 W CN 2020087978W WO 2021217547 A1 WO2021217547 A1 WO 2021217547A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
point
face
dimensional face
dimensional
Prior art date
Application number
PCT/CN2020/087978
Other languages
French (fr)
Chinese (zh)
Inventor
周昆
任重
朱谷才
Original Assignee
浙江大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 浙江大学 filed Critical 浙江大学
Priority to PCT/CN2020/087978 priority Critical patent/WO2021217547A1/en
Publication of WO2021217547A1 publication Critical patent/WO2021217547A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F9/00Methods or devices for treatment of the eyes; Devices for putting-in contact lenses; Devices to correct squinting; Apparatus to guide the blind; Protective devices for the eyes, carried on the body or in the hand
    • A61F9/02Goggles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Definitions

  • the invention relates to an automatic design method for 3D printing customized goggles frame.
  • Goggles including windproof goggles, sports goggles and medical goggles, usually include a frame and elastic bands connected to both ends of the frame. There is a silicone strip on the edge of the back of the frame, and the goggles are tightened and worn on the eye sockets through the elastic bands. It can be covered around the eyes at all times to prevent airflow, dust, water stains, and other dirt from affecting the eyes and isolate the eyes from the outside world.
  • the goggles on the market are usually mass-produced according to specific standardized sizes, but each person’s facial contour, size, etc. are different, and there is a gap between the goggles and the wearer’s facial skin.
  • the setting of the silicone strip can reduce this gap to a certain extent, improve the protective effect, and can also reduce the pressure on the facial skin, but after long-term use, it is easy to form negative pressure around the eyes and make the eyes congested. , Swelling, and will leave marks on the face, poor wearing comfort, and affect the appearance.
  • the lenses of these standardized mass-produced goggles are usually integrally formed on the frame without any degree. Therefore, these goggles are usually large in size to facilitate the wearer's glasses and cover the goggles at the same time.
  • the present invention provides an automatic generation method for customizing and generating the goggles frame based on the wearer's face shape, which can make the generated goggles more comfortable and compliant to wear.
  • the present invention provides an automatic design method for 3D printing customized goggles, which includes the following steps:
  • step (1) and step (2) further include the following steps:
  • the three-dimensional face model includes a three-dimensional face mesh model and a set of three-dimensional facial feature points;
  • the step (A) specifically includes: dividing the eye strip area according to a three-dimensional face mesh model and a three-dimensional facial feature point set, and obtaining a point cloud set of the eye strip area;
  • the step (3) specifically includes:
  • the division of the eye strip area of the three-dimensional face model is based on the nose tip points, the eyebrow points at the two ends, and the contour points on the face at the two ends in the three-dimensional face model.
  • step (3.1) specifically includes:
  • the point on the back of the frame it is estimated to find the closest point set on the three-dimensional face model in the eye strip area, and find the back point on the plane fitted by this point set, along the positive direction of the face and the normal direction of the plane Projection point.
  • step (3.2) specifically includes:
  • the step (B) is further included: predicting the projection width of the back of the spectacle frame, and adjusting the width of the back of the spectacle frame according to the required width of the sponge strip.
  • the generated spectacle frame has a lens installation groove, and lenses of different degrees can be embedded on the spectacle frame through the lens installation groove on the spectacle frame.
  • the size of the eyepiece makes it lighter and more compact, and it can also improve the comfort when wearing it.
  • the beneficial effect of the present invention is that the present invention can provide customized goggles frames for users with different face shapes.
  • the back of the goggles generated on the basis of the present invention are more conformable to the contours of the face, and there is no difference between the frame and the facial skin. It is easy to produce gaps, not easy to generate negative pressure, and not easy to fall off, and the protective effect is good, so that the user's eyes are not prone to imprints, redness and swelling after long-term wear, and it is more comfortable to wear.
  • the custom-made goggles frame of the present invention is automatically generated. As long as the user provides a three-dimensional face model, a suitable frame can be automatically generated, which is more convenient and fast.
  • FIG. 1 is a flowchart of an embodiment of the present invention
  • FIG. 2 is a flowchart of step (A) of an embodiment of the present invention.
  • FIG. 3 is a specific flow chart of step (A) of an embodiment of the present invention.
  • Figure 4 is a specific flow chart of step (3) of an embodiment of the present invention.
  • Figure 5 is a specific flow chart of the step (3.1) of the embodiment of the present invention.
  • Figure 6 is a specific flow chart of the step (3.2) of the embodiment of the present invention.
  • FIG. 7 is a schematic diagram of using feature points to find the points of the eye strip area in an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of stretching and deforming the back of the spectacle frame in an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of the lens frame after being deformed and stretched in the embodiment of the present invention.
  • FIG. 1 The embodiment of the method for automatically generating a custom-made goggles frame of the present invention is shown in Figure 1, and includes the following steps:
  • the user in the present invention refers to a wearer of goggles, and the user's three-dimensional face model can be generated by scanning the user's head by a hardware device (for example, a 3D scanner or a mobile device with a 3D scanning function).
  • a hardware device for example, a 3D scanner or a mobile device with a 3D scanning function.
  • step (1) and step (2) further include step (A): dividing the eye strip area from the three-dimensional face model;
  • the three-dimensional face model includes a three-dimensional face grid model and a set of three-dimensional facial feature points, and obtaining a user's three-dimensional face model is specifically: reading a three-dimensional face model of a target object (ie, a user), and calculating corresponding features Point collection.
  • the step (A) specifically includes: dividing the eye strip area according to a three-dimensional face mesh model and a three-dimensional facial feature point set, and obtaining a point cloud set of the eye strip area;
  • the division of the eye strip area of the three-dimensional face model is based on the nose tip points, the eyebrow points on both ends, and the contour points on both ends of the face in the three-dimensional face model.
  • Point, the position of the contour points on both ends of the face select the points in the bounding box as the eye strip area points mentioned in the text (as shown in Figure 3).
  • the eye strip area divided from the three-dimensional face model is used as the basis for the deformation of the back of the frame, which makes the deformation process of the back of the frame more accurate, and can also improve the adaptability to the contour of the face.
  • the step (3) specifically includes:
  • Use the Laplacian Deformation method see http://www.cse.wustl.edu/ ⁇ taoju/cse554/lectures/lect08_Deformation.pdf) to find the overall position of the back point of the frame; after the deformation, if it is iterated The number of times is not over.
  • the step (3.1) specifically includes:
  • the point on the back of the frame it is estimated to find the closest point set on the three-dimensional face model in the eye strip area, and find the back point on the plane fitted by this point set, along the positive direction of the face and the normal direction of the plane Projection point.
  • the step (3.2) specifically includes:
  • the step (3) further includes step (A): predict the projection width of the back of the mirror frame, and adjust the width of the back of the mirror frame according to the required width of the sponge strip.
  • the generated spectacle frame has a lens installation groove, that is, the spectacle frame can be equipped with a lens.
  • the specific process of generating the spectacle frame is: based on the three-dimensional face mesh model and the three-dimensional facial feature point set to generate two complete lens grids composed of several columns of curves and several rows of curves directly in front of the eyes; according to the lens network
  • the outer edge vertex information of the grid and the parameters generated by the set glasses are generated to generate two complete lens circle grids; according to the type of glasses and the parameters generated by the set glasses, a complete nose mesh is generated between the two lens circle grids;
  • the three-dimensional mesh model of the frame can be generated by the above method, and the physical frame can be formed by three-dimensional printing technology.
  • the back edge of the frame can be pasted with sponge strips, and the two ends of the frame can be equipped with elastic bands or straps of suitable length to finally generate goggles.
  • the lens with the power adapted to the user can be embedded in the lens installation groove of the frame, so that the goggles have power, and the user does not need to wear the glasses at the same time, so that the size of the goggles can be reduced to make it It is more portable and improves wearing comfort.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Ophthalmology & Optometry (AREA)
  • Heart & Thoracic Surgery (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Biomedical Technology (AREA)
  • Software Systems (AREA)
  • Vascular Medicine (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Eyeglasses (AREA)

Abstract

An automatic design method of a 3D printing customized goggle frame. The method comprises the following steps: (1) acquiring a three-dimensional face model of a user; (2) generating a goggle frame at a wearing position corresponding to the three-dimensional face model; and (3) stretching and deforming the edge of the back of the goggle frame in the direction of the face of the three-dimensional face model, such that the edge of the back of the goggle frame matches the face contour of the three-dimensional face model. Therefore, the generated goggles can be more comfortable and snug to wear.

Description

一种3D打印定制护目镜框的自动设计方法An automatic design method for 3D printed custom goggles frame 技术领域Technical field
本发明涉及了一种3D打印定制护目镜框的自动设计方法。The invention relates to an automatic design method for 3D printing customized goggles frame.
背景技术Background technique
护目镜,包括防风护目镜、运动护目镜以及医用护目镜等,通常都包括有镜框以及连接在镜框两端的松紧带,镜框背部的边沿处设置有硅胶条,将护目镜通过松紧带拉紧佩戴在眼眶处时能够将其罩盖在眼部四周,从而能够防止外界气流、粉尘、水渍以及其他污物等影响眼部,起到使眼部与外界进行隔绝的作用。Goggles, including windproof goggles, sports goggles and medical goggles, usually include a frame and elastic bands connected to both ends of the frame. There is a silicone strip on the edge of the back of the frame, and the goggles are tightened and worn on the eye sockets through the elastic bands. It can be covered around the eyes at all times to prevent airflow, dust, water stains, and other dirt from affecting the eyes and isolate the eyes from the outside world.
目前市面上的护目镜通常都是按照特定的标准化尺寸批量生产制造而成,但每个人的脸部轮廓、大小等各不相同,护目镜和佩戴者的脸部皮肤之间容易产生间隙,而硅胶条的设置虽然能够在一定程度上减少这种间隙,提高防护效果,并且还能够减少对脸部皮肤的压迫感,但长时间使用之后容易对眼部四周形成负压,使眼部四周充血、肿胀,并且还会在脸上留下印痕,佩戴舒适感较差,且影响美观。此外,这些标准化批量生产制造的护目镜其镜片通常也是一体加工成型在镜框上的,不具备任何度数,因而这些护目镜通常尺寸较大,以方便同时将佩戴者的眼镜同时罩盖在护目镜的内侧。At present, the goggles on the market are usually mass-produced according to specific standardized sizes, but each person’s facial contour, size, etc. are different, and there is a gap between the goggles and the wearer’s facial skin. Although the setting of the silicone strip can reduce this gap to a certain extent, improve the protective effect, and can also reduce the pressure on the facial skin, but after long-term use, it is easy to form negative pressure around the eyes and make the eyes congested. , Swelling, and will leave marks on the face, poor wearing comfort, and affect the appearance. In addition, the lenses of these standardized mass-produced goggles are usually integrally formed on the frame without any degree. Therefore, these goggles are usually large in size to facilitate the wearer's glasses and cover the goggles at the same time. Inside.
发明内容Summary of the invention
为了解决上述问题,本发明提供了一种基于佩戴者脸型定制生成护目镜镜框的自动生成方法,能够使生成的护目镜佩戴起来更为舒适、服帖。In order to solve the above-mentioned problems, the present invention provides an automatic generation method for customizing and generating the goggles frame based on the wearer's face shape, which can make the generated goggles more comfortable and compliant to wear.
为实现上述目的,本发明提供了一种3D打印定制护目镜框的自动设计方法,包括以下步骤:In order to achieve the above objective, the present invention provides an automatic design method for 3D printing customized goggles, which includes the following steps:
(1)获取用户的三维人脸模型;(1) Obtain the user's three-dimensional face model;
(2)在三维人脸模型对应的佩戴位置生成镜框;(2) Generate a spectacle frame at the wearing position corresponding to the three-dimensional face model;
(3)将镜框背部的边沿朝三维人脸模型的脸部方向进行拉伸形变,使镜框背部的边沿与三维人脸模型的脸部轮廓相吻合。(3) Stretch and deform the edge of the back of the frame toward the face of the three-dimensional face model, so that the edge of the back of the frame matches the contour of the face of the three-dimensional face model.
进一步地,所述步骤(1)和步骤(2)之间还包括步骤:Further, the step (1) and step (2) further include the following steps:
(A):从三维人脸模型中划分出眼部条带区域。(A): Divide the eye band region from the three-dimensional face model.
所述三维人脸模型包括三维人脸网格模型和三维面部特征点集合;The three-dimensional face model includes a three-dimensional face mesh model and a set of three-dimensional facial feature points;
所述步骤(A)具体包括:根据三维人脸网格模型和三维面部特征点集合,划分出所述眼部条带区域,并得到所述眼部条带区域的点云集合;The step (A) specifically includes: dividing the eye strip area according to a three-dimensional face mesh model and a three-dimensional facial feature point set, and obtaining a point cloud set of the eye strip area;
所述步骤(3)具体包括:The step (3) specifically includes:
(3.1)与人脸正向相交的投影点和在与镜框背部最近人脸平面上的正投影点;(3.1) The projection point that intersects the face in the positive direction and the orthographic projection point on the face plane closest to the back of the mirror frame;
(3.2)设定变形的次数,按照比例插值人脸正向交点和镜框背部正投影点,对镜框背部进行逐渐的变形,并在变形后再次更新新的投影点,直到变形结束。(3.2) Set the number of deformations, interpolate the front intersection point of the face and the orthographic projection point on the back of the frame according to the proportion, gradually deform the back of the frame, and update the new projection point again after the deformation, until the end of the deformation.
进一步地,所述三维人脸模型的眼部条带区域的划分基于三维人脸模型中的鼻尖点、两端眉上点、两端脸部上轮廓点位置。Further, the division of the eye strip area of the three-dimensional face model is based on the nose tip points, the eyebrow points at the two ends, and the contour points on the face at the two ends in the three-dimensional face model.
进一步地,所述步骤(3.1)具体包括:Further, the step (3.1) specifically includes:
对镜框背部点,估计求其在眼部条带区域中,三维人脸模型上的最近点集,求背部点在这个点集拟合的平面上,沿脸部正向以及该平面法向的投影点。For the point on the back of the frame, it is estimated to find the closest point set on the three-dimensional face model in the eye strip area, and find the back point on the plane fitted by this point set, along the positive direction of the face and the normal direction of the plane Projection point.
进一步地,所述步骤(3.2)具体包括:Further, the step (3.2) specifically includes:
(3.2.1)设定变形的迭代次数,根据次数,设定插值的比例。(3.2.1) Set the number of iterations of deformation, and set the ratio of interpolation according to the number.
(3.2.2)按比例插值沿脸部正向和该平面法向的投影点,得到目标投影点,并根据设置的脸部距离,偏移目标投影点。(3.2.2) Proportionally interpolate the projection points along the positive direction of the face and the normal direction of the plane to obtain the target projection point, and offset the target projection point according to the set face distance.
(3.2.3)按比例插值镜框背部点与目标投影点,作为变形的目标点。(3.2.3) Proportionally interpolate the back point of the mirror frame and the target projection point as the target point of deformation.
(3.2.4)根据如上步骤计算出所有镜框背部点的目标点后,对镜框进行变形,若变形的迭代次数未够,重复该步骤,直到变形结束。(3.2.4) After calculating the target points of all the back points of the frame according to the above steps, deform the frame. If the number of iterations of the deformation is not enough, repeat this step until the end of the deformation.
进一步地,所述步骤(3)之后还包括步骤(B):预测镜框背部的投影宽度,根据需要的海绵条宽度,调整镜框背部宽度。Further, after the step (3), the step (B) is further included: predicting the projection width of the back of the spectacle frame, and adjusting the width of the back of the spectacle frame according to the required width of the sponge strip.
进一步地,所述生成的镜框具有镜片安装槽,通过镜框上的镜片 安装槽能够将不同度数的镜片嵌装在镜框上,用户在佩戴护目镜时不需要再同时佩戴眼镜,从而能够减小护目镜的尺寸,使其更加轻便、小巧,也能够提高佩戴时的舒适性。Further, the generated spectacle frame has a lens installation groove, and lenses of different degrees can be embedded on the spectacle frame through the lens installation groove on the spectacle frame. The size of the eyepiece makes it lighter and more compact, and it can also improve the comfort when wearing it.
本发明的有益效果是:本发明能够针对不同脸型的用户提供定制化的护目镜镜框,基于本发明生成的护目镜,其镜框背部与人脸轮廓更为服帖,镜框和脸部皮肤之间不容易产生缝隙,不容易产生负压,也不容易脱落,且防护效果较好,从而长时间佩戴后用户眼部不容易出现印痕、红肿等现象,佩戴起来更为舒适。且本发明的定制护目镜镜框是全自动生成的,用户只要提供三维人脸模型,便能够自动生成适配的镜框,较为方便、快捷。The beneficial effect of the present invention is that the present invention can provide customized goggles frames for users with different face shapes. The back of the goggles generated on the basis of the present invention are more conformable to the contours of the face, and there is no difference between the frame and the facial skin. It is easy to produce gaps, not easy to generate negative pressure, and not easy to fall off, and the protective effect is good, so that the user's eyes are not prone to imprints, redness and swelling after long-term wear, and it is more comfortable to wear. In addition, the custom-made goggles frame of the present invention is automatically generated. As long as the user provides a three-dimensional face model, a suitable frame can be automatically generated, which is more convenient and fast.
附图说明Description of the drawings
图1为本发明实施例的流程图;Figure 1 is a flowchart of an embodiment of the present invention;
图2为本发明实施例步骤(A)的流程图;Figure 2 is a flowchart of step (A) of an embodiment of the present invention;
图3为本发明实施例步骤(A)的具体流程图;Figure 3 is a specific flow chart of step (A) of an embodiment of the present invention;
图4为本发明实施例步骤(3)的具体流程图;Figure 4 is a specific flow chart of step (3) of an embodiment of the present invention;
图5为本发明实施例步骤(3.1)的具体流程图;Figure 5 is a specific flow chart of the step (3.1) of the embodiment of the present invention;
图6为本发明实施例步骤(3.2)的具体流程图;Figure 6 is a specific flow chart of the step (3.2) of the embodiment of the present invention;
图7为本发明实施例中利用特征点求出眼部条带区域点的示意图;FIG. 7 is a schematic diagram of using feature points to find the points of the eye strip area in an embodiment of the present invention; FIG.
图8为本发明实施例中对镜框背部进行拉伸形变的示意图;8 is a schematic diagram of stretching and deforming the back of the spectacle frame in an embodiment of the present invention;
图9为本发明实施例中镜框变形拉伸后的示意图。FIG. 9 is a schematic diagram of the lens frame after being deformed and stretched in the embodiment of the present invention.
具体实施方式Detailed ways
本发明一种定制护目镜镜框的自动生成方法的实施例如1图所示,包括以下步骤:The embodiment of the method for automatically generating a custom-made goggles frame of the present invention is shown in Figure 1, and includes the following steps:
(1)获取用户的三维人脸模型;(1) Obtain the user's three-dimensional face model;
本发明中所述的用户是指护目镜的佩戴者,用户的三维人脸模型可通过硬件设备(例如3D扫描仪或带有3D扫描功能的移动设备)扫描用户头部生成。The user in the present invention refers to a wearer of goggles, and the user's three-dimensional face model can be generated by scanning the user's head by a hardware device (for example, a 3D scanner or a mobile device with a 3D scanning function).
(2)在三维人脸模型对应的佩戴位置生成镜框;(2) Generate a spectacle frame at the wearing position corresponding to the three-dimensional face model;
(3)将镜框背部的边沿朝三维人脸模型的脸部方向进行拉伸形变,使镜框背部的边沿与三维人脸模型的脸部轮廓相吻合。(3) Stretch and deform the edge of the back of the frame toward the face of the three-dimensional face model, so that the edge of the back of the frame matches the contour of the face of the three-dimensional face model.
所述步骤(1)和步骤(2)之间还包括步骤(A):从三维人脸模型中划分出眼部条带区域;The step (1) and step (2) further include step (A): dividing the eye strip area from the three-dimensional face model;
所述三维人脸模型包括三维人脸网格模型和三维面部特征点集合,获取用户的三维人脸模型具体为:读取目标对象(即用户)的三维人脸模型,并计算出的相应特征点集合。The three-dimensional face model includes a three-dimensional face grid model and a set of three-dimensional facial feature points, and obtaining a user's three-dimensional face model is specifically: reading a three-dimensional face model of a target object (ie, a user), and calculating corresponding features Point collection.
所述步骤(A)具体包括:根据三维人脸网格模型和三维面部特征点集合,划分出所述眼部条带区域,并得到所述眼部条带区域的点云集合;The step (A) specifically includes: dividing the eye strip area according to a three-dimensional face mesh model and a three-dimensional facial feature point set, and obtaining a point cloud set of the eye strip area;
所述三维人脸模型的眼部条带区域的划分基于三维人脸模型中的鼻尖点、两端眉上点、两端脸部上轮廓点位置,根据特征点中鼻尖点,两端眉上点,两端脸部上轮廓点位置,选择包围盒内的点作为文中所提到的眼部条带区域点(如图3所示)。The division of the eye strip area of the three-dimensional face model is based on the nose tip points, the eyebrow points on both ends, and the contour points on both ends of the face in the three-dimensional face model. Point, the position of the contour points on both ends of the face, select the points in the bounding box as the eye strip area points mentioned in the text (as shown in Figure 3).
从三维人脸模型中划分出的眼部条带区域作为镜框背部形变时的基础,使镜框背部形变过程更加精准,也能够提高与脸部轮廓之间的适配性。The eye strip area divided from the three-dimensional face model is used as the basis for the deformation of the back of the frame, which makes the deformation process of the back of the frame more accurate, and can also improve the adaptability to the contour of the face.
如图4所示,所述步骤(3)具体包括:As shown in Figure 4, the step (3) specifically includes:
(3.1)根据镜框背部和眼部条带区域之间的距离计算镜框背部与人脸正向相交的投影点和在与镜框背部最近人脸平面上的投影点;(3.1) According to the distance between the back of the spectacle frame and the eye strip area, calculate the projection point where the back of the spectacle frame intersects the face and the projection point on the face plane closest to the back of the spectacle frame;
(3.2)设定变形的次数,按照比例插值人脸正向交点和镜框背部正投影点,对镜框背部进行逐渐的拉伸变形,并在拉伸变形后再次更新新的投影点,直到变形结束。(3.2) Set the number of deformations, interpolate the forward intersection point of the face and the orthographic projection point on the back of the frame according to the ratio, gradually stretch the back of the frame, and update the new projection point again after the stretching and deformation, until the end of the deformation .
变形后使镜框背部边沿与眼部条带区域相吻合(参见图7、8)。After deformation, make the back edge of the frame match the eye band area (see Figures 7 and 8).
例如:设定迭代的次数为n,那么第i次迭代时,插值比例ratio=i/n;For example: set the number of iterations to n, then at the i-th iteration, the interpolation ratio ratio=i/n;
按ratio进行插值,目标投影点proj_v=(1–ratio)*z_proj_v+ratio*n_proj_v,根据设定的脸部距离d,正向方向z_dir,平面法向方向n_dir,计算偏移量offset=(1–ratio)*z_dir+ratio*n_dir,偏移投影点proj_v’=proj_v+offset;逐渐变形,将与镜框相接的点设置为 固定点,接触面的点的目标位置constraint_v=(proj_v’–v)*ratio+v;通过Laplacian Deformation方法(参见http://www.cse.wustl.edu/~taoju/cse554/lectures/lect08_Deformation.pdf)求解镜框背部点整体位置;该次变形结束后,若迭代次数未结束,对每个镜框背部点v,重新计算沿正向投影点z_proj_v和沿平面法向投影点n_proj_v,重复求解镜框背部点整体位置。变形后生成的结果参考图8-9。Interpolate according to the ratio, the target projection point proj_v=(1–ratio)*z_proj_v+ratio*n_proj_v, according to the set face distance d, the positive direction z_dir, the plane normal direction n_dir, calculate the offset offset=(1 --Ratio)*z_dir+ratio*n_dir, offset the projection point proj_v'=proj_v+offset; gradually deform, set the point connecting with the mirror frame as a fixed point, and the target position of the point on the contact surface constraint_v=(proj_v'–v )*ratio+v; Use the Laplacian Deformation method (see http://www.cse.wustl.edu/~taoju/cse554/lectures/lect08_Deformation.pdf) to find the overall position of the back point of the frame; after the deformation, if it is iterated The number of times is not over. For each point v on the back of the mirror frame, recalculate the forward projection point z_proj_v and the normal projection point n_proj_v along the plane, and repeat the calculation of the overall position of the back point of the mirror frame. Refer to Figure 8-9 for the result generated after deformation.
所述步骤(3.1)具体包括:The step (3.1) specifically includes:
对镜框背部点,估计求其在眼部条带区域中,三维人脸模型上的最近点集,求背部点在这个点集拟合的平面上,沿脸部正向以及该平面法向的投影点。For the point on the back of the frame, it is estimated to find the closest point set on the three-dimensional face model in the eye strip area, and find the back point on the plane fitted by this point set, along the positive direction of the face and the normal direction of the plane Projection point.
例如:对每一个镜框背部点v,计算其在眼部条带区域中,三维人脸模型上的最近点集拟合的xy平面上的沿正向投影点z_proj_v和沿平面法向投影点n_proj_v。For example: for each point v on the back of the spectacle frame, calculate the forward projection point z_proj_v and the normal projection point n_proj_v on the xy plane fitted by the closest point set on the three-dimensional face model in the eye strip area .
所述步骤(3.2)具体包括:The step (3.2) specifically includes:
(3.2.1)设定变形的迭代次数,根据次数,设定插值的比例。(3.2.1) Set the number of iterations of deformation, and set the ratio of interpolation according to the number.
(3.2.2)按比例插值沿脸部正向和平面法向的投影点,得到目标投影点,并根据设置的脸部距离,偏移目标投影点。(3.2.2) Proportionally interpolate the projection points along the positive direction of the face and the plane normal to obtain the target projection point, and offset the target projection point according to the set face distance.
(3.2.3)按比例插值镜框背部点与目标投影点,作为变形的目标点。(3.2.3) Proportionally interpolate the back point of the mirror frame and the target projection point as the target point of deformation.
(3.2.4)根据如上步骤计算出所有镜框背部点的目标点后,对镜框进行变形,若变形的迭代次数未够,重复该步骤,直到变形结束。(3.2.4) After calculating the target points of all the back points of the frame according to the above steps, deform the frame. If the number of iterations of the deformation is not enough, repeat this step until the end of the deformation.
所述步骤(3)之后还包括步骤(A):预测镜框背部的投影宽度,根据需要的海绵条宽度,调整镜框背部宽度。The step (3) further includes step (A): predict the projection width of the back of the mirror frame, and adjust the width of the back of the mirror frame according to the required width of the sponge strip.
例如:对每一轮镜框的内外圈两个点va和vb,分别计算其在眼部条带区域中,三维人脸模型上的最近点集拟合的xy平面上的沿正向投影点v1和v2。根据目标投影长度l,重新计算外圈点的位置,计算方法如下vb=va+(vb–va)*l/|v1–v2|;根据新计算的vb,对镜框背部进行变形。For example: For the two points va and vb of the inner and outer circles of each round of the mirror frame, calculate the forward projection point v1 on the xy plane fitted by the closest point set on the three-dimensional face model in the eye strip area. And v2. According to the target projection length l, recalculate the position of the outer circle point. The calculation method is as follows: vb=va+(vb–va)*l/|v1–v2|; according to the newly calculated vb, deform the back of the frame.
所述生成的镜框具有镜片安装槽,即镜框可安装镜片。The generated spectacle frame has a lens installation groove, that is, the spectacle frame can be equipped with a lens.
所述生成镜框的具体过程为:基于根据三维人脸网格模型和三维面部特征点集合在眼部正前方生成两个由若干列曲线和若干行曲线组成的完整的镜片网格;根据镜片网格的外缘顶点信息以及设定眼镜生成的参数,生成两个完整的镜圈网格;根据眼镜类型和设定眼镜生成的参数,在两个镜圈网格间生成完整鼻中网格;根据人脸区域的三维网格模型、三维面部特征点集合以及设定眼镜生成的参数生成初始的鼻托网格,使用优化方法生成鼻托网格,使其与人脸区域的三维网格模型中鼻子表面贴合。The specific process of generating the spectacle frame is: based on the three-dimensional face mesh model and the three-dimensional facial feature point set to generate two complete lens grids composed of several columns of curves and several rows of curves directly in front of the eyes; according to the lens network The outer edge vertex information of the grid and the parameters generated by the set glasses are generated to generate two complete lens circle grids; according to the type of glasses and the parameters generated by the set glasses, a complete nose mesh is generated between the two lens circle grids; Generate the initial nose pad mesh according to the 3D mesh model of the face area, the 3D facial feature point collection and the parameters generated by the set glasses, and use the optimization method to generate the nose pad mesh to make it match the 3D mesh model of the face area Fit the middle nose surface.
镜框生成过程可参考文献——一种基于人脸三维测量的眼镜架设计方法(CN105842875B)。For the creation process of the spectacle frame, please refer to the literature-a design method of spectacle frame based on the three-dimensional measurement of human face (CN105842875B).
通过上述方法生成镜框的三维网格模型,可通过三维打印技术成型生成实物镜框,镜框背部的边沿处可贴上海绵条,镜框两端再配以适合长度的松紧带或者绑带,最终生成护目镜成品,实际使用时还可以将与用户适配度数的镜片嵌装在镜框的镜片安装槽中,使护目镜具有度数,用户不需要再同时佩戴眼镜,从而可以减小护目镜的尺寸,使其更加轻便,提高佩戴舒适性。The three-dimensional mesh model of the frame can be generated by the above method, and the physical frame can be formed by three-dimensional printing technology. The back edge of the frame can be pasted with sponge strips, and the two ends of the frame can be equipped with elastic bands or straps of suitable length to finally generate goggles. In the finished product, in actual use, the lens with the power adapted to the user can be embedded in the lens installation groove of the frame, so that the goggles have power, and the user does not need to wear the glasses at the same time, so that the size of the goggles can be reduced to make it It is more portable and improves wearing comfort.
以上实施例,只是本发明优选地具体实施例的一种,本领域技术人员在本发明技术方案范围内进行的通常变化和替换都包含在本发明的保护范围内。The above embodiments are only one of the preferred specific embodiments of the present invention, and the usual changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention are all included in the protection scope of the present invention.

Claims (7)

  1. 一种3D打印定制护目镜框的自动设计方法,其特征在于:包括以下步骤:An automatic design method for 3D printing custom goggles frame, which is characterized in that it comprises the following steps:
    (1)获取用户的三维人脸模型;(1) Obtain the user's three-dimensional face model;
    (2)在三维人脸模型对应的佩戴位置生成镜框;(2) Generate a spectacle frame at the wearing position corresponding to the three-dimensional face model;
    (3)将镜框背部的边沿朝三维人脸模型的脸部方向进行拉伸形变,使镜框背部的边沿与三维人脸模型的脸部轮廓相吻合。(3) Stretch and deform the edge of the back of the frame toward the face of the three-dimensional face model, so that the edge of the back of the frame matches the contour of the face of the three-dimensional face model.
  2. 根据权利要求1所述的一种定制护目镜镜框的自动生成方法,其特征在于:The method for automatically generating custom-made goggles frames according to claim 1, characterized in that:
    所述步骤(1)和步骤(2)之间还包括步骤:The step (1) and step (2) further include the steps:
    (A):从三维人脸模型中划分出眼部条带区域;(A): Divide the eye strip area from the three-dimensional face model;
    所述三维人脸模型包括三维人脸网格模型和三维面部特征点集合;The three-dimensional face model includes a three-dimensional face mesh model and a set of three-dimensional facial feature points;
    所述步骤(A)具体包括:根据三维人脸网格模型和三维面部特征点集合,划分出所述眼部条带区域,并得到所述眼部条带区域的点云集合;The step (A) specifically includes: dividing the eye strip area according to a three-dimensional face mesh model and a three-dimensional facial feature point set, and obtaining a point cloud set of the eye strip area;
    所述步骤(3)具体包括:The step (3) specifically includes:
    (3.1)根据镜框背部和眼部条带区域之间的距离计算镜框背部与人脸正向相交的投影点和在与镜框背部最近人脸平面上的正投影点;(3.1) According to the distance between the back of the spectacle frame and the eye strip area, calculate the projection point where the back of the spectacle frame intersects the face and the orthographic projection point on the face plane closest to the back of the spectacle frame;
    (3.2)设定变形的次数,按照比例插值与人脸正向相交的投影点和在与镜框背部最近人脸平面上的正投影点,对镜框背部进行逐渐的变形,并在变形后再次更新新的投影点,直到变形结束。(3.2) Set the number of deformations, and interpolate the projection point that intersects the face in the positive direction and the orthographic projection point on the face plane closest to the back of the mirror frame according to the ratio. Gradually deform the back of the mirror frame and update it again after the deformation. The new projection point until the end of the deformation.
  3. 根据权利要求2所述的一种定制护目镜镜框的自动生成方法,其特征在于:The method for automatically generating custom-made goggles frames according to claim 2, characterized in that:
    所述三维人脸模型的眼部条带区域的划分基于三维人脸模型中的鼻尖点、两端眉上点、两端脸部上轮廓点位置。The division of the eye strip area of the three-dimensional face model is based on the nose tip points, the eyebrow points at both ends, and the contour points on the face at both ends in the three-dimensional face model.
  4. 根据权利要求2所述的一种定制护目镜镜框的自动生成方法,其特征在于:The method for automatically generating custom-made goggles frames according to claim 2, characterized in that:
    所述步骤(3.1)具体包括:The step (3.1) specifically includes:
    对镜框背部点,估计求其在眼部条带区域中,三维人脸模型上的最近点集,求背部点在这个点集拟合的平面上,沿脸部正向以及该平面法向的投影点。For the point on the back of the frame, it is estimated to find the closest point set on the three-dimensional face model in the eye strip area, and find the back point on the plane fitted by this point set, along the positive direction of the face and the normal direction of the plane Projection point.
  5. 根据权利要求2所述的一种定制护目镜镜框的自动生成方法,其特征在于:The method for automatically generating custom-made goggles frames according to claim 2, characterized in that:
    所述步骤(3.2)具体包括:The step (3.2) specifically includes:
    (3.2.1)设定变形的迭代次数,根据次数,设定插值的比例;(3.2.1) Set the number of iterations of deformation, and set the ratio of interpolation according to the number;
    (3.2.2)按比例插值沿脸部正向和该平面法向的投影点,得到目标投影点,并根据设置的脸部距离,偏移目标投影点;(3.2.2) Proportionally interpolate the projection points along the positive direction of the face and the normal direction of the plane to obtain the target projection point, and offset the target projection point according to the set face distance;
    (3.2.3)按比例插值镜框背部点与目标投影点,作为变形的目标点;(3.2.3) Proportionally interpolate the back point of the mirror frame and the target projection point as the target point of deformation;
    (3.2.4)根据如上步骤计算出所有镜框背部点的目标点后,对镜框进行变形,若变形的迭代次数未够,重复该步骤,直到变形结束。(3.2.4) After calculating the target points of all the back points of the frame according to the above steps, deform the frame. If the number of iterations of the deformation is not enough, repeat this step until the end of the deformation.
  6. 根据权利要求1至5中任意一项所述的一种定制护目镜镜框的自动生成方法,其特征在于:A method for automatically generating custom-made goggles frames according to any one of claims 1 to 5, characterized in that:
    所述步骤(3)之后还包括步骤(B):预测镜框背部的投影宽度,根据需要的海绵条宽度,调整镜框背部宽度。After the step (3), it also includes the step (B): predict the projection width of the back of the spectacle frame, and adjust the back width of the spectacle frame according to the required width of the sponge strip.
  7. 根据权利要求1至5中任意一项所述的一种定制护目镜镜框的自动生成方法,其特征在于:A method for automatically generating custom-made goggles frames according to any one of claims 1 to 5, characterized in that:
    所述生成的镜框具有镜片安装槽。The generated spectacle frame has a lens installation groove.
PCT/CN2020/087978 2020-04-30 2020-04-30 Automatic design method of 3d printing customized goggle frame WO2021217547A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087978 WO2021217547A1 (en) 2020-04-30 2020-04-30 Automatic design method of 3d printing customized goggle frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087978 WO2021217547A1 (en) 2020-04-30 2020-04-30 Automatic design method of 3d printing customized goggle frame

Publications (1)

Publication Number Publication Date
WO2021217547A1 true WO2021217547A1 (en) 2021-11-04

Family

ID=78331630

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087978 WO2021217547A1 (en) 2020-04-30 2020-04-30 Automatic design method of 3d printing customized goggle frame

Country Status (1)

Country Link
WO (1) WO2021217547A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077479A (en) * 2023-08-17 2023-11-17 北京斑头雁智能科技有限公司 Ergonomic eyeglass design and manufacturing method and Ergonomic eyeglass

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101249293A (en) * 2008-04-10 2008-08-27 上海理工大学 Breathing mask conforming to human body engineering science design and design method thereof
CN105842875A (en) * 2016-06-07 2016-08-10 杭州美戴科技有限公司 Method for designing glasses frame based on facial three-dimensional measurement
WO2018087386A1 (en) * 2016-11-14 2018-05-17 Themagic5 User-customised goggles
CN208569223U (en) * 2015-04-30 2019-03-01 奥克利有限公司 The correction glasses of 3 D tropism
CN109558665A (en) * 2018-11-22 2019-04-02 杭州美戴科技有限公司 A kind of automatic design method of personalized flexible nose support

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101249293A (en) * 2008-04-10 2008-08-27 上海理工大学 Breathing mask conforming to human body engineering science design and design method thereof
CN208569223U (en) * 2015-04-30 2019-03-01 奥克利有限公司 The correction glasses of 3 D tropism
CN105842875A (en) * 2016-06-07 2016-08-10 杭州美戴科技有限公司 Method for designing glasses frame based on facial three-dimensional measurement
WO2018087386A1 (en) * 2016-11-14 2018-05-17 Themagic5 User-customised goggles
CN109558665A (en) * 2018-11-22 2019-04-02 杭州美戴科技有限公司 A kind of automatic design method of personalized flexible nose support

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077479A (en) * 2023-08-17 2023-11-17 北京斑头雁智能科技有限公司 Ergonomic eyeglass design and manufacturing method and Ergonomic eyeglass
CN117077479B (en) * 2023-08-17 2024-02-13 北京斑头雁智能科技有限公司 Ergonomic eyeglass design and manufacturing method and Ergonomic eyeglass

Similar Documents

Publication Publication Date Title
US11042046B2 (en) Wearable devices such as eyewear customized to individual wearer parameters
JP6542744B2 (en) Method and system for creating a custom product
CN106920274B (en) Face modeling method for rapidly converting 2D key points of mobile terminal into 3D fusion deformation
CN105708467B (en) Human body actual range measures and the method for customizing of spectacle frame
US20220260852A1 (en) Method and apparatus for design and fabrication of customized eyewear
CN109460635B (en) Method and system for generating a frame
US9568748B2 (en) Methods of designing and fabricating custom-fit eyeglasses using a 3D printer
CN105874378B (en) Method for determining a geometric definition of a custom optical device
CN107085864B (en) Glasses modeling device and method based on feature points, glasses manufacturing method and glasses
US20220373820A1 (en) Method and apparatus for design and fabrication of customized eyewear
CN106709886B (en) Automatically drawing method and device are repaired
CN112017278B (en) Grasshopper-based swimming goggles modeling custom design method
CN111467131B (en) Automatic design method for 3D printing customized goggles frame
WO2021217547A1 (en) Automatic design method of 3d printing customized goggle frame
EP2972568A1 (en) Method and apparatus for design and fabrication of customized eyewear
WO2024037082A1 (en) Glasses modeling method and glasses
CN116482874A (en) Glasses frame design method based on face multi-point measurement data
US20220004020A1 (en) Method for producing at least one nose pad of view detection glasses
CN113223154A (en) Personalized spectacle frame three-dimensional model generation method and personalized spectacle frame manufacturing method
CN114782618A (en) Parameterized design method for 3D printing protective mask
CN114547714A (en) Manufacturing method of personalized 3D printing goggles based on face photo synthesis model
CN110503714B (en) Automatic design method of personalized glasses legs
CN116449582A (en) Glasses customization method, glasses customization system and customized glasses
WO2019204728A1 (en) System and method for obtaining ophthalmic measurements for progressive lenses that accurately account for body stature and posture
TWI541012B (en) Device of eyeglasses adjustment and method of eyeglasses adjustment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20933763

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20933763

Country of ref document: EP

Kind code of ref document: A1