フィルターのクリア

How to form a feature vector?

3 ビュー (過去 30 日間)
Sidra Aleem
Sidra Aleem 2017 年 3 月 30 日
コメント済み: KSSV 2017 年 3 月 30 日
Hello everyone I am doing a project "identification of person using retina". I have extracted my features (Bifurcation Points and end Points). Now I have to make a feature vector. This feature vector should have the distance and angles between four nearest features of every feature point. Please guide me about some methods through which I can do it. I am not asking for the code. I am only asking for some methods to do it. Below is the image of what I have done so far.

採用された回答

KSSV
KSSV 2017 年 3 月 30 日
As you have the positions (x,y) in your hand. You can use knnsearch to get the desired number of nearest neighbors. Once you have the nearest neighbors, you can find distance and angle. Read about knnsearch.
  2 件のコメント
Sidra Aleem
Sidra Aleem 2017 年 3 月 30 日
編集済み: Sidra Aleem 2017 年 3 月 30 日
@kSSV I have to find the distance and angle between four nearest feature points. Not the angle and distance between four nearest neighbors. I have given colors to feature point using Crossing number technique. This technique performs computation and depending on resulting value color is given.
Can you guide me a bit how can i find angle and distance.?
KSSV
KSSV 2017 年 3 月 30 日
If (x1,y1) and (x2,y2) are two points.
distance = sqrt((x2-x1)^2+(y2-y1)^2) ;
angle = atan2(y2-y1,x2-x1)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAgriculture についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by