replacing the parameters
2 次查看(过去 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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!