MATLAB: I computed LBP histogram for two images in matlab, what method used to compare the LBP histograms

comparision of histograms

LBP histogram

Best Answer

Hi there. The question is how to compare two histograms. In other words you want to find their similarity/dissimilarity measure. One way to do so is to calculate their SSD- Sum oF Square differences, which is a common way to present difference between tow feature vectors. To do so htry: diffHistLBP=hist1-hist2; SSD=sum(diffHistLBP.^2);
Naturally there are many other metrics... You can normalize/equalize the histogram before finding their SSD. Hope this is helpful, Nikolay