replacing the parameters

2 次查看(过去 30 天)
Pat
Pat 2011-12-30
path = 'D:\images\';
imagelist = dir(strcat(path,'*.jpg'));
idk = 0;
for x = 1 : 8
for y = 1 : 10
idk = idk + 1;
I = imread(fullfile(path,imagelist(idk).name));
mean10(y) = mean(I(:));
end
mean8(x) = mean(mean10(:));
end
I have to substitute R=6/8,and p=6/28 in place of mean10(y),such that i get values of R and P for every image
in place of mean 8 in need the average (each 10 values of R and P )
i tried but not getting values for individual image ,please help

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by