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

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 ?

Respuestas (2)

LO
LO el 14 de Nov. de 2020
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.

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 6 de Mayo de 2017

Respondida:

el 16 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by