Point detection and tracking

3 次查看(过去 30 天)
David Pereira
David Pereira 2017-2-21
I have a USB camera connected to my computer. The camera only detects white and black and will show the picture of a circle with 2 points. One of them is concentric and fixed and it comes from a laser. The other is not concentric, it moves, and it is the reflection of the first one.
The idea is to obtain the coordinates of each point, and store them in a vector, for example, so I can later see the distance between them, send an information to my motor and the position of the 2nd point will change. This iteration will happen till the 2 points are concentric, which is the final objective.
I took 2 pictures. One of them shows only the first point, and the second one shows both. HOWEVER. in the real case, there won't be that "stain" evolving the first point. The 2 points will have the same size. This is only happening because the mirror for the reflection isn't ideal, but after it only show the point.
Only one point: http://imgur.com/a/tZqYB
Since I have just began working with image processing, I would really appreciate some help on how to develop a program.
Thank you

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for IP Cameras 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by