フィルターのクリア

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.
  1 件のコメント
DAT VUONG
DAT VUONG 2017 年 9 月 4 日
Thanks a lot!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by