Open ifcoxs opened 5 years ago
In Matlab version: 1. 错误使用 bitshift ASSUMEDTYPE 必须为整数类型名称。
出错 getmapping (line 37) j = bitset(bitshift(i,1,samples),1,bitget(i,samples)); %rotate left
出错 DoG_LBP_NUAA_Test (line 10) Map_u2_16 = getmapping(16, 'u2');
Solution: find the file /lbp-0.3.3/getmapping.m in line 37, instead of bitshift(i,1,samples) use bitand(bitshift(i,1),2^samples-1) 2. run in linux ClientTrain = imread(['./NUAA/ClientNormalized/' strrep(ClientTrainNormalizedName{i}, '\', '/')]);
In Matlab version: 1. 错误使用 bitshift ASSUMEDTYPE 必须为整数类型名称。
出错 getmapping (line 37) j = bitset(bitshift(i,1,samples),1,bitget(i,samples)); %rotate left
出错 DoG_LBP_NUAA_Test (line 10) Map_u2_16 = getmapping(16, 'u2');
Solution:
find the file /lbp-0.3.3/getmapping.m in line 37, instead of bitshift(i,1,samples) use bitand(bitshift(i,1),2^samples-1) 2. run in linux ClientTrain = imread(['./NUAA/ClientNormalized/' strrep(ClientTrainNormalizedName{i}, '\', '/')]);