How can I close the roi edge

Hi, I have an image that represents part of ROI edge, I need to complete the ROI edge. the command:
BW = poly2mask(x, y, m, n)
doesn't help because I don't know the order of the dots in the edge of the shape. An image with an example and the correspond variable are attached.

Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Tags

Asked:

ELI
on 9 Jul 2015

Edited:

ELI
on 9 Jul 2015

Community Treasure Hunt

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

Start Hunting!