function [ totalcorners ] = averageNumberOfCorners( cornerMap_dt )
% Hassan Nahas
%This function calculates the average number of corners in a set of corner
%maps
    totalcorners = 0;
    for i=1:length(cornerMap_dt)
        totalcorners = totalcorners + sum(sum(cornerMap_dt{i}));
    end
    totalcorners = totalcorners/length(cornerMap_dt);
end

