joining points in image??

4 ビュー (過去 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 Center および File ExchangeRead, 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