简体   繁体   English

GeniCam 标准 XML 格式

[英]GeniCam Standard XML format

I am trying to include some configuration XML file that complies with GeniCam standard for a camera application in C. I read GeniCam standard documentation and it is mostly explaining the syntax of the XML file and many details.我试图包含一些符合 GeniCam 标准的配置 XML 文件,用于 C 中的相机应用程序。我阅读了 GeniCam 标准文档,它主要解释了 XML 文件的语法和许多细节。

Is there a good sample for the Genicam XML file standard that I can use?我可以使用 Genicam XML 文件标准的好样本吗?

After that, the main thing is for the camera application to read the camera condition from the XML file and perform configuring the camera based on that?之后,主要是让相机应用程序从 XML 文件中读取相机条件并基于此配置相机? Or the app is supposed to write into the XML file as well?或者应用程序也应该写入 XML 文件?

Check out Aravis , it is an open-source implementation of genIcam and GigEVision.查看Aravis ,它是 genIcam 和 GigEVision 的开源实现。 Every real camera will provide its own genIcam XML on-demand (use arv-tool for that), by standard, which defines what parameters can be changed, in what ranges and so on, and how to access them in the camera.每个真实的相机都会按需提供自己的 genIcam XML(为此使用 arv-tool),按照标准,它定义了可以更改的参数、范围等,以及如何在相机中访问它们。 The library takes care of setting the new value in the camera, not by writing to the XML, but by updating the settings over the wire.该库负责在相机中设置新值,不是通过写入 XML,而是通过网络更新设置。

All arvgc* files in the Aravis repository deal with the genIcam procotol (getting and setting camera parameters), arvgv* implement the GigEVision protocol (streaming data from the camera), arvuv* implement the USB3Vision protocol (USB streaming). Aravis 存储库中的所有arvgc*文件都处理 genIcam 协议(获取和设置相机参数), arvgv*实现 GigEVision 协议(来自相机的数据流), arvuv*实现 USB3Vision 协议(USB 流传输)。

arv-fake-camera.xml is a good example of a relatively simple XML camera description. arv-fake-camera.xml是一个相对简单的 XML 相机描述的好例子。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM