• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:朱文博,杜 锋.基于图像处理的工程制图作业批改方法研究[J].软件工程,2021,24(11):42-46.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于图像处理的工程制图作业批改方法研究
朱文博,杜 锋
(上海理工大学机械工程学院,上海 200093)
teacherzwb@163.com; 1002054400@qq.com
摘 要: 为了减轻制图教师批改尺规作业的工作量,提出一种基于图像处理的匹配算法。首先将纸质版作业拍照为图像;然后对图像进行灰度化,利用OTSU方法二值化,对有效区域进行裁剪,调节标准答案与学生作业像素尺寸大小,采用帧差法进行标准答案和学生作业的匹配,将标准答案与学生作业相减得出不同之处;最后在学生作业中将不同之处标记出来,从而实现尺规作业的自动批改。通过实验验证,该方法能快速准确地批改尺规作图。对于采用AutoCAD等软件绘图的作业只需另存为图片格式,同样适用于本文所述方法。
关键词: 图像处理;图像匹配;帧差法;工程制图作业;自动批改
中图分类号: TP391.4    文献标识码: A
Research on the Correcting Method of Engineering Drawing Homework based on Image Processing
ZHU Wenbo, DU Feng
(School of Mechanical Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China)
teacherzwb@163.com; 1002054400@qq.com
Abstract: In order to reduce the workload of drawing teachers in correcting ruler-and-compass construction assignments, this paper proposes a matching algorithm based on image processing. Firstly, the paper homework is photographed as an image that is then grayed and binarized by OTSU method. The effective area is clipped, and the pixel size of the standard answer and the students' homework are adjusted. The frame difference method is used to match the standard answer and students' homework. The standard answer and the students' homework are subtracted to get their differences, which are finally marked in students' homework. Therefore, the automatic correction of students' homework is realized. The experimental results show that the method can correct ruler-and-compass construction homework quickly and accurately. The proposed method also applies to drawing homework with software such as AutoCAD, which only needs to be saved as an image format.
Keywords: image processing; image matching; frame difference method; engineering drawing homework; automatic correction


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫