摘要
MATLAB拥有优秀的图像处理能力,但界面设计能力不足,处理速度一般。C#编程能带来优良的处理速度与界面设计,但图像处理与科学计算弱于MATLAB,且代码冗长。针对以上问题,利用混合编程的方法设计并实现了图像处理程序,该程序结合了MATLAB的图像处理能力与C#的界面设计,同时实现混编的图像滤波、分割、边缘提取等功能。实验表明,C#与MATLAB混编方法能保持两者优势,保证图像处理速度与质量,互堵劣势,且能够简化代码,极大的缩短了编程时间,提高编程效率。
MATLAB has excellent capabilities of image processing,but lack of interface design capabilities,processing speed is at a general level. C# programming can bring efficient processing speed and interface design,but the image processing and scientific computing of C # programming is weaker than MATLAB,and the code is lengthy. In view of the above problems,designs and realizes the image processing program by using the method of mixed programming in this paper. The program combines the image processing ability of MATLAB with the interface design of C#,and realizes the functions of image filtering,segmentation and edge extraction by mixed programming. Experiments show that the mixed programming method of C# and MATLAB can maintain the advantages of both,ensure the speed and quality of image processing,complement each other and simplify the code,which greatly shorten the programming time and improve the programming efficiency.
作者
卢兴
陈晓勇
LU Xing;CHEN Xiao-yong(School of Geomaties,East China University of Technology,Nanchang,JX 330013,China;Key Laboratory of Watershed Ecology and Geographical Environment Monitoring,Nanchang,JX 330013,China)
出处
《东华理工大学学报(自然科学版)》
CAS
2018年第2期185-190,共6页
Journal of East China University of Technology(Natural Science)
基金
国家自然科学基金资助项目(41401526)
流域生态与地理环境检测国家测绘地理信息局重点实验室重点课题(WE2015003)