Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

implementing pso for image

1 visualizzazione (ultimi 30 giorni)
Sapam Jaya
Sapam Jaya il 7 Nov 2013
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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?

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by