フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

implementing pso for image

1 回表示 (過去 30 日間)
Sapam Jaya
Sapam Jaya 2013 年 11 月 7 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I wan to implement pso algorithm for image enhancement using the file from http://www.mathworks.com/matlabcentral/fileexchange/29519-pso.. my objective function is 'g' grayImage=imread('cameraman.tif'); a=1.5; b=.5; c=1; k=1.5; gMean=mean2(double(grayImage)); J=stdfilt(grayImage); slidingmean=conv2(double(grayImage),ones(3)/9,'same'); K=(k.*gMean)./(J+b);
g=K.*(double(grayImage)-(c.*slidingmean))+(slidingmean).^a;
Can someone help?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by