how can I obtain the coordinates of the polygon border pixels
Show older comments
Hello,
For example, there is an image on which I have a set of points and the vertices of the convex hull of these points. We can know the vertices coordinates easily, but how can I obtain the pixels' coordinates on the lines (border) of the convex hull. Any idea would be appreciated. I don't want to use the line equation such as y = kx+b, because we are not sure how many lines are there.
Thanks.
Answers (0)
Categories
Find more on Computational Geometry 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!