Points on and inside a boundary

I have an arbitrary boundary and I need to locate some points on that boundary first(note the boundary is in the form of an image). Then, I will be given a set of points and I have to test whether these points lie inside the boundary or not? I tried to do it using the bwboundary and bwperim functions, but didn't get the results. Any idea how this can be done??

回答 (0 件)

質問済み:

2012 年 1 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by