Watch this Author's files
excellent work.
I meet one problem. When I use chlbp.c, here is the samples in chlbp.c
clear, close all load viola_24x24 Ny = 24; Nx = 24; options.N = [8 , 4 , 12]; options.R = [1 , 1 , 2]; options.map = zeros(2^max(options.N) , length(options.N));
mapping = getmapping(options.N(1),'u2'); options.map(1:2^options.N(1) , 1) = mapping.table'; options.map(1:2^options.N(2) , 2) = (0:2^options.N(2)-1)'; mapping = getmapping(options.N(3),'u2'); options.map(1:2^options.N(3) , 3) = mapping.table'; options.shiftbox = cat(3 , [Ny , Nx ; 1 , 1] , [16 , 16 ; 4 , 4] , [Ny , Nx ; 1 , 1]);
options.T = 50;
H = chlbp(X , options);
after this I type
H2 = chlbp(X(:,:,2) , options);
and i find H2 is different H(:,:,2)?why?
Contact us at files@mathworks.com