How to form a feature vector?
조회 수: 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.
댓글 수: 0
채택된 답변
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
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!