Exporting coordinates from a binary image
Show older comments
I would like to extract the necessary coordinates of these structures in order to introduce them in a software that will use them as input to reproduce the image for mechanical simulation purposes. I have never used a matlab-based image analysis approach, would you know how proceed?

Accepted Answer
More Answers (1)
Image Analyst
on 17 Feb 2022
0 votes
Not sure what that software wants, but it looks like those are outlines of labeled regions, so you could extract each region one at a time with ismember() and then use bwboundaries() to get the (x,y) coordinates of the single region and write it out. Then just repeat for every region.
2 Comments
LUIS MARIA ROSETY BERNAL
on 18 Feb 2022
Image Analyst
on 18 Feb 2022
It looks like that is just the binary image you posted. Is that what your program wants?
Categories
Find more on Object Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
