필터 지우기
필터 지우기

Detecting objects by template

조회 수: 5 (최근 30일)
Anika Paulsen
Anika Paulsen 2017년 3월 11일
댓글: Pete McEldowney 2017년 7월 27일
Hey, I'm working on an object detection. I have an image from multiple objects:
and want to find all screws, for example of this type:
Currently im trying to extract the screws edges using the canny algorithm. Then I want to use the generalized Hausdorff measure to search for it: http://www.cs.cornell.edu/vision/hausdorff/hausmatch.html
I'm not sure whether this is the right approach. Since I am a newbe maybe you can give me some hints for the best practices? Note that this should work for multiple objects and images. I tried using the image gradient and boundarys, too. But this failed because I could not get meaningful contours. It would be great to work with contour snippets, which would not make it neccessary to extract the whole object.
Thanks in advantage

채택된 답변

Image Analyst
Image Analyst 2017년 3월 11일
But first you'll have to extract the objects. To do that you should use better lighting, for example bottom up light, like a radiologists light box, to produce silhouettes. Or else use a broad overhead light source to eliminate shadows.
  댓글 수: 8
Image Analyst
Image Analyst 2017년 3월 15일
Try increasing your tolerance. Also work on getting a better segmentation so that you don't have big black "bays" going into your objects. You may also have to compute a feature vector with several metrics rather than just rely on Hu's moments.
Pete McEldowney
Pete McEldowney 2017년 7월 27일
I was also trying to figure out SVD and LSF from that video too - I'm still looking but all sources are very mathematical ...

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Pete McEldowney
Pete McEldowney 2017년 7월 27일
Those holes on the bolt masks look like reflectance - either fill using code, or alter the ilghting - make it more diffuse? Or from behind the scene. Harris corner features might work OK as extra identification aids.

Community Treasure Hunt

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

Start Hunting!

Translated by