I am working on people detection using two feature descriptor, HOG and LBP. So far, I combine both of the features using a simple concatenation. But it shows me sometimes problem due to big vectors. Here is my code.
%extract features from negative and positive images
[HOGpos,HOGneg] = features(pathPos, pathNeg);
% loading and labeling each training example
HOG_featV = HOGfeature(fpos,fneg);
% get label of training data from HOG
HOGlabel = cell2mat(HOG_featV(2,:));
% get the feature vector value from HOG
HOGfeatureVector = HOG_featV(3,:)';
C = cell2mat(HOGfeatureVector); % each row of P correspond to a training example
%extract features from LBP
[LBPpos,LBPneg] = LBPfeatures(pathPos, pathNeg);
% loading and labeling each training example
LBP_featV = loadingV(LBPpos, LBPneg);
% get label of training data from LBP
LBPlabel = cell2mat(LBP_featV(2,:));
% get feature vector value from LBP
LBPfeatureVector = LBP_featV(3,:);
M = cell2mat(LBPtP)'; % each row of P correspond to a training example
%concatenate HOG and LBP feature
featureVector = [C M];
I want to know, is there any method to combine two feature vector which is more reliable and faster? If yes, please give some suggestion or link that I can refer. Thank you.