How to get pixel index / x,y coordinates of bright regions?

6 ビュー (過去 30 日間)
Tahira Batool
Tahira Batool 2017 年 5 月 6 日
回答済み: Sara 2020 年 11 月 16 日
Hey there ! I have an image and it contains 5 bright regions ,after thresholding I want to get the pixel indices or x,y coordinates of those five regions in 5 different arrays. How this should be done ?

回答 (2 件)

LO
LO 2020 年 11 月 14 日
binarize the image, use regionprops,
get the PixelList properties and use bwconncomp to identfy separate objects in the selected pixels corresponding to the different objects.

Sara
Sara 2020 年 11 月 16 日
Hi,
Try imregionalmax
or imtool

カテゴリ

Help Center および File Exchange3-D Volumetric Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by