Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

implementing pso for image

조회 수: 2 (최근 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