Introduction - If you have any usage issues, please Google them yourself
LBP returns the local binary pattern image or LBP histogram of an image.
J LBP(I,R,N,MAPPING,MODE) returns either a local binary pattern
coded image or the local binary pattern histogram of an intensity
image I. The LBP codes are computed using N sampling points on a
circle of radius R and using mapping table defined by MAPPING.
See the getmapping function for different mappings and use 0 for
no mapping. Possible values for MODE are
h or hist to get a histogram of LBP codes
nh to get a normalized histogram
Otherwise an LBP code image is returned.
J LBP(I) returns the original (basic) LBP histogram of image I
J LBP(I,SP,MAPPING,MODE) computes the LBP codes using n sampling
points defined in (n* 2) matrix SP. The sampling points should be
defined around the origin (coordinates (0,0)).
Examples
I imread( rice.png )
mapping getmapping(8, u2 )
H1 LBP(I,1