필터 지우기
필터 지우기

Identifying objects in an image

조회 수: 15 (최근 30일)
Tomescu
Tomescu 2011년 12월 20일
I have a reference image that contains more obiecte.Obiectele I have separated (cut from the picture). I have to make a code to recognize an object in the reference image and make a circle around it. Can you give me a hand? 10Q

답변 (1개)

Image Analyst
Image Analyst 2011년 12월 20일
In short, you can use thresholding, bwlabel, and regionprops to find the objects and their centroids. You can use rectangle() to place a circle in the overlay centered at the centroid of each object.
You might also look into the hough() demos - do a search on MATLAB Central, the newsgroup, and on the Answers forum.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by