joining points in image??

my question is how to join points in an image using matlab after creating database with land mark points on key features of face???

回答(1 个)

If you know the x and y locations of each of the points it should be quite straightforward.
So, if your database has points 1 to 5 (for example) with x-locations x1 x2 x3 x4 x5 and similar for y, then you could say
X = [x1 x2 x3 x4 x5];
Y = [y1 y2 y3 y4 y5];
line(X,Y)
will plot a black line through those points

1 个评论

A black line in the overlay, not in the image itself. Not sure what is wanted.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by