遥感图像空间尺寸较大、浏览时占用系统资源过多。为实现任意次撤销重做,解决软件支持文件格式较少、数据类型单一等问题,提出一种选择性建立与多线程更新高速缓存的机制。将路径层技术应用于图像显示过程,采用结构体数组与栈对象相结合的方法,并基于地理空间数据抽象库(GDAL)完成软件系统的研发。测试结果表明,该系统表现出较好的稳定性和鲁棒性,尤其是对空间尺寸较大的文件进行RGB模式显示时,缩放与漫游功能操作灵活、响应时间短,能满足工程要求与实际需要。
Remote sensing images have large spatial sizes,and large amount of system resources are occupied during browsing.To deal with these issues,so that arbitrary times of undo and redo operations can be done,and solve problems,such as the system supported less file formats or data types and the high complexity in the conversion of file formats and data types,this paper puts forward a mechanism which selectively builds and updates the cache with multiple threads and uses the path bracket method on image display.The method of combining structure array with stack objects is adopted,and the software system development is based on Geospatial Data Abstraction Library(GDAL).Test results show that the system has good stability and robustness,especially when displaying files with larger spatial sizes in RGB mode,zooming and roaming operate flexibly and respond quickly,which meet the engineering requirements and actual needs.