carolinepacheco / lbp-library

LBP Library - A Collection of LBP algorithms for background subtraction in videos.
MIT License
112 stars 38 forks source link

Wrong filter center #3

Open thinkoid opened 7 years ago

thinkoid commented 7 years ago

In OCLBP.cpp:115, the computed filter center index is 5, for a 3x3 filter, instead of 4. Probably a typo from the translation of the Matlab code (Matlab indexes start at 1).

carolinepacheco commented 6 years ago

Hi @nikkoara , thank you for reporting this issue and sorry for my long feedback. You're right, I am fixing it, best