joining points in image??

6 次查看(过去 30 天)
naga prasad
naga prasad 2012-2-17
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 个)

Selwyn
Selwyn 2012-2-17
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 个评论
Image Analyst
Image Analyst 2012-2-17
A black line in the overlay, not in the image itself. Not sure what is wanted.

请先登录,再进行评论。

类别

Help CenterFile 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