Sorting images

I have extracted features of all the images and for query image and have calculated distance,recall ,precision .now i have cancatanated average recall and precision,now,i have to apply PSO algorithm to move the features closer
for example if i have values like
S=[1 3 10 4 2 ],by using PSO algorithm i want to move the values closer i.e 2 must be moved closer to 1 and so on
please help

5 个评论

What is it you would apply PSO to, more precisely? What you have given us to go on at the moment just looks like a sort() call, which PSO would be a waste of time on.
kash
kash 2012-1-24
Walter i have assigned a task of performing PSO in order to move the images closer ,should not use sort
What is it you would apply PSO to, more precisely?
Perhaps you should explain what you mean by "move the images closer" ?
kash
kash 2012-1-25
am using PSO because am using 2 algorithms ,so i need to compare which gives good result,image closer means ,first is query image,i have calculated the euclidean distance,according to distance,where the euclidean distances are closest ,thwy should be moved closer to query image

请先登录,再进行评论。

回答(0 个)

类别

提问:

2012-1-23

Community Treasure Hunt

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

Start Hunting!

Translated by