What is the difference between a simple histogram and a histogram LBP (local binary pattern)? Can someone provide the intuition behind histogram LBP?


I have read the wikipedia article for LBP and decided that they are using the word "histogram" incorrectly. They should really be referring to "binning". The former does "binning" as a pre-processing step, but the etymology of histogram suggests that it is only appropriate to call a graph which depicts frequencies using vertical columns a histogram.

The LBP is a rudimentary unsupervised classifier. It uses quadrants to bin and calculates local frequency maxima using nearest neighbor. All of these processes could be modified using other more sophisticated ML techniques.

EDIT: It looks like images can be further processed and indeed represented with some kind of histogram like here. It basically serves to graphically represent the features of an image, presumably if it's adequately normalized the bars should represent the intensity/darkness of various cells in the binned graphic. Each 2-D grid member is mapped (in a serpentine fashion) to the 1-D "feature" axis and the corresponding frequency is displayed. I haven't worked with this much, but I imagine the steps necessary to adequately normalize pictures "in the wild" would be impossible.

| cite | improve this answer | |
  • $\begingroup$ +1 that binning alone does not define a histogram. And you're right about the etymology. But in many subjects there is no problem about histograms being presented as horizontal columns (bars, if you will). Whenever the variable is altitude or depth below surface, as is common in the Earth and environmental sciences, that widely appeals as a natural and congenial display. $\endgroup$ – Nick Cox May 7 '15 at 16:37
  • $\begingroup$ @NickCox you're right. I would never disagree with conventions that make sense in a particular discipline. For instance, in marine sciences aquatic depth (usually an independent variable) is often depicted as a Y axis variable is presented in the negative... appearing like you're diving underwater. $\endgroup$ – AdamO May 7 '15 at 18:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.