91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

用遺傳算法計算攝像機自標定參數,論文加上一個MATLAB程序,有詳細說明

資源截圖

代碼片段和文件信息

%%?generitic?algrithm
%%?floating?encoding
%%?f(x)=x1^2+x2^2
%%?min?f(x)
clear;
clc;
rand(‘state‘sum(100*clock))
NP=30;
pm=0.05;
pc=0.8;
alaf=0.5;
dimentions=2;
b=0.5;
UB=30;
LB=-30;
Maxiterations=50;
child=rand(NPdimentions)*(UB-LB)+LB;??%%?initialize?
farther=child;
iterations=0;
bestfx=[];
while?iterations%%?computer?the?fitness
for?p=1:NP
????x1=farther(p1);
????x2=farther(p2);
????fx(p)=x1^2+x2^2;
????fitness(p)=1/(fx(p)+0.0000001);????
end
[XI]=sort(fitness);
bestnumber=I(NP);
bestfx(iterations+1)=min(fx);

%%?computer?the?fitness?accumulation
for?p=1:NP
????if?p==1
????????fitacc(p)=fitness(p);
????else
????????fitacc(p)=fitacc(p-1)+fitness(p);
????end
end
%%?copy?operation
for?p=1:NP
????if?p==bestnumber
????????child(p

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????220100??2010-03-20?22:37??基于遺傳算法的攝像機自標定方法.caj

?????文件???????2249??2008-08-24?16:32??GA.m

-----------?---------??----------?-----??----

???????????????222349????????????????????2


評論

共有 條評論