基于GL847扫描仪颜色校正软件的设计与实现
发布时间:2018-11-22 13:20
【摘要】:随着扫描仪在生活中使用的普及,人们对扫描结果的要求也在不断提高,能否真实的还原色彩是扫描效果好坏的重要评价标准。目前扫描仪颜色校正主要是应用Visual Studio, Matlab等工具,通过扫描值和目标值进行曲线拟合,从而生成相应的颜色校正表。但是当拟合效果不理想时需要反复修改拟合参数进行调整,过程较为繁琐,而且工作人员得到反馈的周期长,影响工作效率。因此开发一款扫描仪颜色校正软件,使其自动校正扫描颜色,同时使得扫描仪调试工作人员能够在可视化的界面下立即观察到校正效果,具有重要的意义。 通过分析基于GL847扫描仪的工作流程以及扫描仪颜色校正的原理和方法,本文对扫描仪颜色校正软件做了详细的需求分析和用例分析,划分软件结构和设计用户界面。将软件主要划分为图像读取与显示模块、颜色查找表生成模块和图像颜色调整模块。在图像读取与显示模块中本文应用双缓存技术,主要利用它来避免界面闪烁的问题;在颜色查找表生成模块中本文利用直方图规定化的方法来自动生成颜色查找表;最后在图像颜色调整模块中通过使用多种图像调整算法让用户能对校正效果进行进一步调整。整个软件基于MFC框架开发,采用了MVC模式,在设计与开发过程中根据面向对象思想充分考虑了代码的复用与功能的扩展,使软件具有更好的复用性与扩展性。 实验表明,本文设计的软件具有良好的可维护性和扩展性,为扫描仪调试人员提供了方便的、可视化的操作界面,通过软件的自动校正功能和颜色调整使扫描颜色更准确,,达到了预期效果。
[Abstract]:With the popularization of scanners in daily life, the demand for scanning results is also increasing. Whether the color can be truly restored is an important criterion for evaluating the quality of scanning results. At present, the color correction of scanner is mainly by using Visual Studio, Matlab and other tools, through the curve fitting between scanning value and target value, the corresponding color correction table is generated. However, when the fitting effect is not satisfactory, the fitting parameters need to be modified and adjusted repeatedly, the process is more complicated, and the staff get the long period of feedback, which affects the work efficiency. Therefore, it is of great significance to develop a scanner color correction software that can automatically correct the scanning color and enable the scanner debugging staff to observe the correction effect immediately under the visual interface. By analyzing the workflow based on GL847 scanner and the principle and method of scanner color correction, this paper makes a detailed requirement analysis and use case analysis to the scanner color correction software, divides the software structure and designs the user interface. The software is mainly divided into image reading and display module, color lookup table generation module and image color adjustment module. In the image reading and display module, this paper applies double buffer technology, mainly uses it to avoid the problem of interface flicker, in the color lookup table generation module, this paper uses the histogram specification method to automatically generate the color lookup table. Finally, a variety of image adjustment algorithms are used in the image color adjustment module to enable the user to further adjust the correction effect. The whole software is based on MFC framework and adopts MVC mode. In the process of design and development, the reuse of code and the extension of function are fully considered according to the idea of object oriented, so that the software has better reusability and extensibility. Experiments show that the software designed in this paper has good maintainability and expansibility, and provides a convenient and visual operating interface for scanner debugging personnel. The scanning color is more accurate through the automatic correction function and color adjustment of the software. The expected effect has been achieved.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP391.41;TP334.22
本文编号:2349488
[Abstract]:With the popularization of scanners in daily life, the demand for scanning results is also increasing. Whether the color can be truly restored is an important criterion for evaluating the quality of scanning results. At present, the color correction of scanner is mainly by using Visual Studio, Matlab and other tools, through the curve fitting between scanning value and target value, the corresponding color correction table is generated. However, when the fitting effect is not satisfactory, the fitting parameters need to be modified and adjusted repeatedly, the process is more complicated, and the staff get the long period of feedback, which affects the work efficiency. Therefore, it is of great significance to develop a scanner color correction software that can automatically correct the scanning color and enable the scanner debugging staff to observe the correction effect immediately under the visual interface. By analyzing the workflow based on GL847 scanner and the principle and method of scanner color correction, this paper makes a detailed requirement analysis and use case analysis to the scanner color correction software, divides the software structure and designs the user interface. The software is mainly divided into image reading and display module, color lookup table generation module and image color adjustment module. In the image reading and display module, this paper applies double buffer technology, mainly uses it to avoid the problem of interface flicker, in the color lookup table generation module, this paper uses the histogram specification method to automatically generate the color lookup table. Finally, a variety of image adjustment algorithms are used in the image color adjustment module to enable the user to further adjust the correction effect. The whole software is based on MFC framework and adopts MVC mode. In the process of design and development, the reuse of code and the extension of function are fully considered according to the idea of object oriented, so that the software has better reusability and extensibility. Experiments show that the software designed in this paper has good maintainability and expansibility, and provides a convenient and visual operating interface for scanner debugging personnel. The scanning color is more accurate through the automatic correction function and color adjustment of the software. The expected effect has been achieved.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP391.41;TP334.22
【参考文献】
相关期刊论文 前5条
1 张磊;;基于VC++的高效绘图——双缓冲技术[J];硅谷;2009年20期
2 丁二锐;曾平;罗雪梅;王义峰;;非均匀三维查找表的快速查找技术[J];计算机科学;2007年02期
3 车忠志;孙雪雁;;MFC应用程序基本框架分析[J];农业网络信息;2010年09期
4 龙家文,邹红丽;窗口分裂和视图更新[J];现代情报;2002年11期
5 张仁忠,常明志,许德新;利用MFC实现双缓存机制改善图形的显示效果[J];应用科技;2005年01期
相关博士学位论文 前1条
1 刘瑞华;基于ICC规范的色彩管理技术研究[D];西安电子科技大学;2008年
相关硕士学位论文 前4条
1 张朋昌;基于GL847的大幅面图像数据采集系统底层驱动软件研究与实现[D];西安电子科技大学;2010年
2 李芳;大幅面扫描仪驱动程序软件的模块化设计与实现[D];西安电子科技大学;2010年
3 郭建华;多CCD扫描仪系统的图像几何校正与拼接[D];西安电子科技大学;2006年
4 李楠;ZEVIO嵌入式系统GUI设计与实现[D];哈尔滨工程大学;2009年
本文编号:2349488
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2349488.html