问题描述
制作十字准线受其上方图像框大小限制的最佳方法是什么?它将使用操纵杆移动.对于正在研发的ROV的HUD.十字准线必须能够返回x和y坐标及其位置,该坐标由操纵杆的x和y轴值确定,该值缩放为640x480像素emguCV图像框的大小.关于如何解决这个问题的任何想法?我把操纵杆放下了,但我不知道该怎么用作为十字准线...
PS-EmguCV是C#的openCV库,用于计算机视觉. EmguCV图像框针对视频播放进行了优化.
Whats the best way to make a crosshair that is bounded by the size of the image box it is on top of? Its will be moved using a joystick. Its for the HUD of an ROV im working on. The crosshair needs to be able to return an x and y coordinate and its location to be determined by the joystick x and y axis value scaled to the size of the 640x480 pixel emguCV image box. Any ideas of how to approach this? I got the joystick part down but I don''t know what to use as the crosshair...
PS - EmguCV is an openCV library for C# and it is used in computer vision. The EmguCV image box is optimized for video playback.
推荐答案
这篇关于在EmguCV图像框上制作十字准线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!