| With the improvement of people’s material life,there is a higher pursuit of beauty.The development of science and technology has promoted the development of medical aesthetic surgery.However,some medical aesthetics institutions use virtual surgery simulation technology to simulate postoperative effects.In the preoperative consultation stage,the medical aesthetics mechanism not only has requirements for face shaping simulation,but also has great requirements for skin beautification simulation.In addition,for the scene with small shaping range,medical beauty consultants cannot objectively evaluate The beauty needs a cosmetic part,so some auxiliary facial data is needed for display.In this paper,the technology of virtual reality is used to study the threedimensional information extraction,facial skin beautification effect,facial deformation area display and facial plasticity evaluation scheme.The facial beautification design method,facial chromatographic model design and face evaluation are proposed.Method design.The specific work of the thesis includes:(1)Key feature information extraction of face 3D model: key feature information is the key feature point location information of face 3D model in 3D space.This paper uses Harr classifier to detect face and then extracts feature points based on Dlib..The detection of the face model and the extraction of key feature points in the 3D scene are realized.(2)The beautification effect design of the texture: the beautification design mainly refers to the processing of the face model texture,that is,the texture local processing and the texture overall processing.Texture local processing uses two implementation methods.One is based on pixel extraction for ROI image fusion;the other is based on FMM algorithm for texture local restoration.The texture processing is based on the skin-sensing algorithm based on skin color detection.In the implementation of the algorithm,in order to make the effect more realistic,this paper proposes a texture pixel enhancement algorithm based on improved Gamma transform.(3)Chromatographic model design of texture: This paper proposes the chrom atographic display mode of three kinds of face models.One is the four-high three-low chromatographic display mode based on chromaticity diagram.The chromatic ity map is used to map the texture according to the gray level,and then scan.T he filling algorithm of the line fills the four highs and three low areas of the fac e;the second is the chromatographic display method based on the altitude,with t he tip of the nose as the highest point,and the range of different heights by diff erent colors.The third is the real-time precision chromatography for micro-shapin g.Display,the color display area is determined by the change of the vertex coor dinates of the network model.(4)Face evaluation method design: The face model is measured based on the threedimensional key feature information of the face,and 18 length dimensions and 5 angle sizes of the face are obtained,Then,according to the aesthetic theories of three Chambers and five eyes,the golden ratio of eyebrows,the golden ratio of temporal-zygomaticus,and the golden ratio of zygomaticus,the evaluation methods of the face,eyebrows and nose are proposed.(5)Surgical simulation system design: this system is developed in the Unity3 D engine and adopts the MVC system framework.This system can present the effect of facial skin beautification,the accurate display of the plastic area after facial micro-plastic surgery and the Suggestions of facial micro-plastic surgery.The key technology developed in this paper has been applied in Beauty100 3d plastic surgery mentor software,and has been used by guangzhou shouyuan information technology co.,LTD.,with good results. |