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

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 3-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