Connecting labelmatrix and regionprops Pixel indices

1 次查看(过去 30 天)
Hi all,
I have a list of 200-250 objects in a 512 x 512 image. I used bwconncomp to build a labelmatrix and also watershed and regionprops to measure the properties of the objects.
The properties table from regionprops provides each object's pixel indices in the 512 x 512 image.
How do I connect an object detected by regionprops/watershed with its corresponding label and location in the labelmatrix?
I am attaching examples of the labelmatrix and image files, as well as the output of regionprops.
Thanks a ton for your help!

回答(0 个)

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by