MATLAB Code for
the Three-Patch
LBP (TPLBP) and Four-Patch LBP (FPLBP) global image descriptors
Below please find MATLAB code for producing the TPLBP and FPLBP codes
and global image descriptors. Note that this code was not the one used
in the experiments reported in the paper, nor are the default parametrs
necessarily the same as the ones we used. Please report any bugs or
problems to
hassner@openu.ac.il.
Type "help
TPLBP" or "help FPLBP" for more information on each of these functions.
A typical usage would look something like this:
>> I
= imread(...);
>> I = rgb2gray(I);
>> [descI, codeI]=FPLBP(I);
>> descI = descI(:);
descI will then contain the FPLBP global image descriptor.
Downloads:
TPLBP.m
FPLBP.m
Copyright and disclaimer:
Copyright 2008, Lior Wolf and Tal Hassner
The SOFTWARE ("FPLBP.m" and \ or "FPLBP.m") is provided "as
is",
without any guarantee made as to its suitability or fitness for any
particular use. It may contain bugs, so use of this tool is
at
your own risk. We take no responsibility for any damage that may
unintentionally be caused through its use.