nourani / LBP

C++ implementation of the Local Binary Pattern texture descriptors. This class integrates with OpenCV and FFTW3 to bring a complete and fast implementation of the popular descriptors: LBP u2, ri, riu2 & hf. The routines for calculating these descriptors are inspired by the Matlab code of the original authors.
GNU General Public License v3.0
97 stars 60 forks source link

fix the calcLBP bug when samples is bigger than 8, for example: 16 #16

Closed liurs1990 closed 6 years ago

liurs1990 commented 6 years ago

When the samples is bigger than 8, "result" should convert to CV8U after transforming with the table.

nourani commented 6 years ago

Thanks for the fix @liurs1990