How to get pixel index / x,y coordinates of bright regions?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 ?
0 Commenti
Risposte (2)
LO
il 14 Nov 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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Explore and Edit Images with Image Viewer App in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!