replacing the parameters

2 views (last 30 days)
Pat
Pat on 30 Dec 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

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!