首页 | 本学科首页   官方微博 | 高级检索  
     

基于改进三层缓冲技术的大图片处理
引用本文:冯伟桓,王茂芝,曾颖超.基于改进三层缓冲技术的大图片处理[J].计算机工程与科学,2018,40(1):116-120.
作者姓名:冯伟桓  王茂芝  曾颖超
作者单位:(成都理工大学数学地质四川省重点实验室,四川 成都 610059)
基金项目:地质矿产调查评价项目(1212011120226);中国地质调查局地质调查子项目(DD2016006809);四川省科技厅重点研发项目(2017GZ0302)
摘    要:针对使用传统技术处理和显示大图片在界面重绘时容易造成系统阻塞现象,提出改进三层缓冲技术。该技术在内存中开辟一块与大图片属性相兼容的内存区域,用于载入大图片数据;然后再在内存中开辟另一块与显示设备环境相兼容的内存区域,用于执行其它的图形处理指令;最后通过位块传输法将内存中的图形依次拷贝到真正的显示设备环境输出。输出完成之后仅仅释放与显示设备环境相兼容的内存区域,保留与图片属性相兼容的内存区域,用于界面重绘的时候,避免重新载入图片,从而解决系统阻塞现象。该技术在数字岩心软件系统处理钻孔柱状图中得到验证和应用,取得了良好效果。

关 键 词:三层缓冲技术  内存位图  界面重绘  
收稿时间:2016-01-25
修稿时间:2018-01-25

Big image processing based on improved three level buffers technology
FENG Wei-huan,WANG Mao-zhi,ZENG Ying-chao.Big image processing based on improved three level buffers technology[J].Computer Engineering & Science,2018,40(1):116-120.
Authors:FENG Wei-huan  WANG Mao-zhi  ZENG Ying-chao
Affiliation:(Geomathematics Key Laboratory of Sichuan Province,Chengdu University of Technology,Chengdu 610059,China)
Abstract:Given the problem of system blocking caused by the traditional technology when processing big images and redrawing user interface, we propose an improved three level buffers technology. Firstly, a memory area compatible with the properties of the big image is allocated to load the big image data. Secondly, another allocated memory area compatible with the display device is used to execute other image processing instructions. Finally, the image data is copied to the real display device by the bit-block-transfer method in sequence. So only the memory area compatible with the display device is released and another memory area can avoid reloading the image when redrawing the user interface. The proposed technology is proved to be effective when processing the big drilling histogram in the digital core system software.
Keywords:three level buffers technology  memory bitmap  user interface redrawing  
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号