フィルターのクリア

Can Vision System Toolbox calculate the X-Y offset between reticle cross hairs, and the calculated center of a series of concentric rings (bullseye)? I would like to do this with streaming video; sampling rate only 2- 5 Hz, offset displayed on screen

3 ビュー (過去 30 日間)

回答 (1 件)

Image Analyst
Image Analyst 2017 年 6 月 12 日
Yes, it can, with the proper programming. Good luck.
Get rid of the cross hairs with morphology. Then use regionprops() to get the circle centroids. Then get the cross hairs alone, from the first two images, and use polyfit() to find the two lines and where they cross. I don't have code ready in hand to do that, but you can do it because you're a talented engineer, and it's not that hard.
  2 件のコメント
M G
M G 2017 年 6 月 12 日
Thanks- and this can be done with streaming video?
Image Analyst
Image Analyst 2017 年 6 月 13 日
I don't know. If you can somehow grab a frame from it, like you're using getsnapshot() from the Image Acquisition Toolbox, then yes. If you're trying to do it from some kind of web site, like YouTube.com, then I don't know - it depends if you can somehow figure out how to pull a frame from it so that you can analyze it.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeComputer Vision Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by