How to detect a red dot on the surface of the object?
조회 수: 8 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
Image Analyst
2015년 7월 12일
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
Image Analyst
2015년 7월 14일
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.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!