Please help how to make pairs of given image features using MATLAB
1 view (last 30 days)
Show older comments
I have 82 persons in my dataset (FGNET)each person have their different images of different age stage. Now i want to make intra personal pairs (all possible pairs of same person) for eg. first person have 6 possible intra personal pairs if he has 4 images and extra personal pairs( all possible pairs with different persons) for face verification and i want to take one pair as a input to given function for finding out cosine similarity between their features (As i calculated feature set of all persons with their identity ) in matlab. (As i want to calculate first intra pairs cosine similarity after that extra pairs cosine similarity)Function is here:-
function x=getFeaturevector(G1,G2); x=(G1.G2)[1.0;1.0];
I have excel sheet data like this...
5915.941889 477.167446 4308.134312 1 (first person)
37.5288661 45.30290217 33.22486626
4447.430599 366.8555425 1982.352833 1
115.9126281 54.65247026 2229.00581
4601.046812 616.422585 2229.00581 1
521.9915925 115.912628 54.65247026
4942.827694 521.9915925 2229.748599 1
411.2597775 454.036646 392.8651035
5991.291927 409.991475 2919.165422 2 (2nd person)
43.56804904 200.8811645 49.63568364
5588.722356 585.128896 2617.788594 2
61.036919 46.93372588 154.4294927
3655.039342 329.425966 2791.186384 3(3rd person)
6423.233954 576.0035015 3574.829631
.......................................
.......................................
3971.036167 457.1214045 1863.496724 n (nth person)
74.30392459 54.29896541 175.7677085
Does anyone know an elegant solution to this? please help... Thanks...
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!