Can you please tell me how to divided image into 30 blocks and obtained histogram of each block using LBP algorithm.

1 view (last 30 days)
Can you please tell me how to divided image into n blocks and obtained histogram of each block using LBP algorithm.

Answers (2)

Image Analyst
Image Analyst on 24 Feb 2015
And what is the LBP method of creating a histogram? What's wrong with imhist(), histc(), or hist()? What does it matter HOW the histogram is created?

Nikolay S.
Nikolay S. on 16 Mar 2015
From my experience, an efficient way to to so is to calculate LBP image of the image, and then apply histogram function via "blocproc" Matlab function. I've used it for image segmentation and ot worked nicely. Best regards, Nikolay.

Community Treasure Hunt

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

Start Hunting!