%mirrorClassifier
function newci = mirrorClassifier(ci)
     nI = ci.nI-1;
     nJ = ci.nJ-1;
     newci = ci;  % make a copy of ci
     % replace each feature (columns of ci.F) with its own mirror image
     for i=1:newci.numClassifiers
         newci.F(:,i) = MirrorFeature(nI, nJ, newci.F(:,i));
     end
     if isfield(newci,'shape_feature')
       newci = rmfield(newci, 'shape_feature');
     end
     newci = shape_all_features(newci);
return;
