feature extraction using Local Line Binary Patterm

7 views (last 30 days)
i have image with size 156x156, i want block this image to 13x13 block size. can you help me to get it using LLBP??

Accepted Answer

Anand on 2 Aug 2013
From what I can tell of the reference you provided, it should be easy enough to use an existing implementation of local binary patterns to get the LLBP.
The file exchange has many implementations of local binary patterns that you can use. A simple search gave these results:
If you were to pick this entry, you could use the following approach to get the LLBP:
lbpV = efficientLBP(im,[13 1], true);
lbpH = efficientLBP(im,[1 13], true);
llbp = sqrt( lbpH.^2 + lbpV.^2 );
I haven't actually tried this out, so be mindful of that. The diagram on Fig.6 from the reference is very helpful.
  1 Comment
Nikolay S.
Nikolay S. on 17 Mar 2015
Hi. I'm sorry but this format will not work. You must first generate appropriate shape filter.
Best regards, Nikolay

Sign in to comment.

More Answers (4)

Image Analyst
Image Analyst on 1 Aug 2013
I know what local binary pattern is, and I have a demo for that, but I don't know what local line binary pattern is. Can you explain the algorithm?
  1 Comment
elfrida on 2 Aug 2013
i have paper about this methode but i can make the program from the formula has been given... can you help me to make program? http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3251987/

Sign in to comment.

Nikolay S.
Nikolay S. on 17 Mar 2015
Hi. You can try my lineLBP implementation: http://www.mathworks.com/matlabcentral/fileexchange/50058-efficient-llbp--line-local-binary-pattern- Hope this wil do the trick. Best regards, Nikolay

Dima Lisin
Dima Lisin on 12 Dec 2015
extractLBPFeatures function was added to the Computer Vision System Toolbox in R2015b release.

Sign in to comment.

oza san
oza san on 6 Mar 2017
i know LBP (local binary pattern)can be used for script identification from color images!!!but i want to identify scripts from binary image(i.e with black background and white foreground which contain texts) anyone can tell me that i can use it?!!!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!