필터 지우기
필터 지우기

Detect bright object in image

조회 수: 11 (최근 30일)
DAT VUONG
DAT VUONG 2017년 8월 29일
댓글: DAT VUONG 2017년 9월 4일
Could you please help me related to identify exactly central coordination of bright Objects in an image. For example, in image below, i want to know the exact position of each LED. Thanks for your help.

채택된 답변

Image Analyst
Image Analyst 2017년 8월 29일
편집: Image Analyst 2017년 8월 29일
Try this:
binaryImage = grayImage > 128;
[labeledImage, numSpots] = bwlabel(binaryImage);
props = regionrops(labeledImage, 'Centroid');
props is a structure array where Centroid is a field of the structure. You can get a table variable out instead of a structure array if you want.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by