| With the rapid development of medical technology,rigid contact lens has been widely used,and also emerged a lot of new corneal refractive surgery,but whether the preparation of rigid contact lenses or corneal refractive surgery,must be based on accurate surface morphology of the cornea.Corneal topography using modern computer technology to accurately measure the surface morphology of the cornea,which has a great practical significance for the clinical treatment of refractive errors by medical.At present,the research and development level of corneal topography in China and the developed countries in Europe and America are not small gap,imported corneal topography is not only expensive,but also in the country there is the problem of software localization.In view of this fact,the paper focus on the development of a domestic corneal topography to break the monopoly of the developed countries in Europe and America.First of all,this paper chooses MFC(Microsoft Foundation Class Library)graphical interface framework,with mature and stable Visual Studio 2015 integrated development tools to complete the user graphical user interface structures.And then use the current popular MySql database design of the corresponding data tables,and through the MySql comes with the API function to achieve the data increase,delete,change,check.Secondly,the real-time display of the CCD camera control and the collection of corneal topography images are realized,and the smoothing filtering,automatic threshold binarization and ring recognition of corneal topographic images were realized by using OpenCV computer vision library function.Finally,use the identified 24 ring to calculate each ring radius of curvature and the corresponding ring point of refraction,then use the Zernike polynomial fitting to realize curvature radius of the corneal surface,and the realization of human eye wavefront aberration analysis.Through the above work,corneal topography software functionality has been basically achieved,and the robustness of the software is also satisfactory. |