function [ scores ] = getFeatureScores( allF,labels )
% Hassan Nahas
%This function coutns the number of corners and non corners in the feature
%space for every relative position (counts the corners and non-corners for
%every possible partition with respect to a choice of x, relative position.
    scores = zeros(16,3,2);
    for x = 1:16
        for class = [1,2,3]
    %         [x,class]
            scores(x,class,1) = sum(labels(allF(x,:) == class-2) == 1);
            scores(x,class,2) = sum(labels(allF(x,:) == class-2) == 0);
        end
    end

end

