MASH logo
Login | Register

ftarsett/lbp

User avatar

Contributor

Author:
ftarsett
Upload date:
July 10, 2009, 6:47 p.m.
Status:
Enabled
Summary:
This heuristics computes a Local Binary Pattern (LBP)
Description:

It compares the pixel values to the center pixel.


x x x
x o x
x x x


The pixels x are compared to the value of the pixel o. Result returned is an LBP code value (8 bits example : 00100111). If x is greater than o the returned value is 1 otherwise 0.


In the following example:


110 160 205
111 150 130
90 155 85


the pixels are compared to the center pixel value 150 so the LBP code will be [01100010]

Evaluation:
Configuration Training error ( sd ) Test error ( sd )
adaboost-caltech 71.12% (1.2313) 75.47% (1.6315)
perceptron-mnist 0.02% (0.0134) 10.12% (0.1167)

No heuristic found