B-Ertel
B-Ertel

Reputation: 11

Understanding implementation of Local binary pattern

I am trying to understand the scikit-image implementation of Local Binary Pattern in detail. I understand how LBP works, but I fail to get some points in the implementation.

My main question is: Is the weight matrix in scikit-imgae the same as for example in this image here?

image of weight matrix

When trying to find the answer on my own I faced some problems:

Thanks for any advice and help!

Best, Bernhard

Upvotes: 0

Views: 312

Answers (1)

B-Ertel
B-Ertel

Reputation: 11

I think I found the answer by just trying the algorithm on images. The weight matrix in the local binary pattern in scikit-image is as follows.

It starts at 3 o clock and the goes counterclockwise. For 8 points this would result in:

--------4--------

--8-----------2--

16--------------1

--32----------128

--------64-------

I got the other questions regarding the code open - so I am still happy about any comments etc..

Upvotes: 1

Related Questions