Finding connected pixels of an object from a starting pixel in a gray scale image
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Please I need your help.
Is there anyone who can help me to find connected pixels of an object from a gray scale image. I mean what is the method that I can use? (i,e In each iteation, a region is grown from the start seed pixel. the growth of reagion spreads across all
connecting pixels that are not already labeled and that are above the current threshold Th)
Thanks in advance
0 Kommentare
Antworten (2)
Matt J
am 15 Mär. 2021
Bearbeitet: Matt J
am 15 Mär. 2021
Once you threshold the image (making it binary) you can use regionprops or bwconncomp.
3 Kommentare
Matt J
am 15 Mär. 2021
I don't think you'll find that in Matlab proper. You can look through some of the region growing routines on the File Exchange to see if any give you that kind of control,
Matt J
am 15 Mär. 2021
You could apply bwdist to find all pixels that are within some distance of the seed pixels, and bwdistgeodesic if you want to constrain that distance to certain paths.
3 Kommentare
Matt J
am 15 Mär. 2021
With what Matlab tool? And would it let you capture only 1000 pixels worth of region growth?
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!