First crop out all the i letters. Then resize them to the same pixel size, then add them to a double array
sum_i = zeros(rows, columns);
for k = 1 : numberOfIs
this_i = imread(.....
sum_i = sum_i + this_i
end
mean_i = sum_i / numberOfIs;
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!