joining points in image??

1 view (last 30 days)
naga prasad
naga prasad on 17 Feb 2012
my question is how to join points in an image using matlab after creating database with land mark points on key features of face???

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!