基于Sapera LT实现图像连续存储的方法

2017-05-09 22:54:38张益恭杨磊程向明
现代电子技术 2017年8期

张益恭+杨磊+程向明

摘 要: 多功能天文经纬仪是中国科学院云南天文台研制的一种新型天体测量望远镜。介绍了多功能天文经纬仪图像采集系统中所使用的基于Sapera LT的图像连续存储方法。对该方法的软件实现流程及功能代码编写进行了说明,给出了源代码,并对实现图像序列连续存储功能的主要函数进行了说明。对使用过程中所遇到的问题,进行了分析,并给出两点建议。

关键词: 多功能天文经纬仪; Sapera LT; 图像采集; 图像存储

中图分类号: TN911.73?34 文献标识码: A 文章编号: 1004?373X(2017)08?0094?03

A method of image sequences storage based on Sapera LT

ZHANG Yigong1,2, YANG Lei1,2, CHENG Xiangming1,2

(1. Yunnan Observatory of National Astronomical Observatory, CAS, Kunming 650011, China;

2. Key Lab for Celestial Body Structure, CAS, Kunming 650011, China)

Abstract: The multi?function astronomical theodolite developed by Yunnan Astronomical Observatory is a new astrometric telescope. A method of Sapera LT based image consecutive storage used in the image acquisition system of the multi?function astronomical theodolite is introduced. The software flow and functional code compiling of this method is described. The source code is given in this paper. The main parameters of realizing the image sequence consecutive storage function is elaborated. The problem met in the application process is analyzed, and two suggestions are offered.

Keywords: multi?function astronomical theodolite; Sapera LT; image acquisition; image storage

0 引 言

多功能天文经纬仪[1]是云南天文台研制的一种新型天体测量仪器,利用转轴观测、镜筒弯沉测定、水平差测定、轴准直差测定等手段,实时测定仪器中的各个部套的误差,从而达到较高的精度。该仪器可以用于测量大气折射改正、铅垂线的改正以及经纬度的测定[2?5]。

该仪器采用一台非制冷数字CCD相机作为星像和人造星像的采集终端,两台非制冷模拟CCD相机用来测定水平差和轴准直差。该仪器要求,多幅图像以外触发的方式连续曝光,转轴前后分别进行数据资料的采集和存储,需针对该要求对CCD相机采集时序进行设计,并进一步实现图像的连续存储。

Sapera LT[6?7]是加拿大Dalsa公司开发的专用于图像采集与控制的开发库,具有独立于硬件、能够多处理操作的特点。并提供了功能强大的相机配置工具CamExpert,便于用户使用操作。该软件库被广泛地应用于科学研究与工业控制领域。本文基于Sapera LT实现了多功能天文经纬仪中图像资料的采集与连续存储,在多年的天文观测中运行稳定,使用效果良好。……

登录APP查看全文