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
Color histogram : it computes the histogram for each channel of the image, like per example a RGB image, C.H computes hists for R G and B matrices(images).
normal histgram : as i think , it computes a histogram of Gray-Scale image ( single 2D signal ) ,
I am sure there are many submissions in the FileExchange for computing Color Histograms , here is an example by Jeff Mather :
Best Answer