replacing the parameters

2 Ansichten (letzte 30 Tage)
Pat
Pat am 30 Dez. 2011
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

Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by