How to detect a red dot on the surface of the object?

2 vues (au cours des 30 derniers jours)
W Joey
W Joey le 12 Juil 2015
Commenté : Image Analyst le 14 Juil 2015
Hello, I want to detect the red dot on the surface of an object and obtain the center coodinates of the dot.The radius of the dot is between 8 and 15. I used ‘imfindcircles’ function but it seems not to be very robust since it sometimes makes false detection. Is there any more robust method? Looking forward to some advice.

Réponse acceptée

Image Analyst
Image Analyst le 12 Juil 2015
See my color tracking app. It tracks green spots in an image. The video shows a green Sharpie marker moving and being tracked. Just modify it to find red instead of green.
  4 commentaires
W Joey
W Joey le 14 Juil 2015
The spot brightness is constant and it should be detected from an image only. Here is the image. I want to detect and obtain the location of the red spot on the surface of the phone.
Image Analyst
Image Analyst le 14 Juil 2015
Is everything in the field of view still except the spot? If so, you might be able to subtract sequential frames, like in my attached demo, to detect what is different from frame to frame. Your spot is not very red and there are other things in the frame of that color so you might have to also take size, shape, and location into your segmentation algorithm.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by