Dominant Local Binary Pattern Algorithm

2 次查看(过去 30 天)
I m doing project on extraction of text from videos based on morphological operations. we are using Dominant Local Binary Pattern(DLBP) algorithm.
Algorithm 1 Determining the number of dominant patterns of DLBP
Input: Input image, and the parameters P and R for DLBP
Output: The required number of patterns for 15% pattern
occurrences
1. Initialize Ktemp=0.
2. FOR each Candidate region I in the image
3. Initialize the pattern histogram, H[0(2^(m-1))]=0.
4. FOR each center pixel gc that belongs to I
5. Compute the pattern label of gc,LBP P,R (1)
6. Increase the corresponding bin by 1, H[LBPP,R ]++
7. END FOR
8. Sort the histogram in descending order
9. Find the number of patterns k for 15% pattern
occurrences in I.
K= arg min k(i=0 to k-1 ? h(i)/i=0 to 2^m-1 ? h(i))>=15%
10. Ktemp+=k
11. END FOR
12. K15%=Number of different Dominant Patterns having occurences more than 15%.
13. Return K15%
I dint understood what is the value of k in step 9 of algorithm. Can anyone explain me what the k is? and how to compute it?.
  1 个评论
Walter Roberson
Walter Roberson 2011-4-19
Please recheck what the operations that show up as ? should be in step 9. You have probably used a special symbol that does not get saved by the web interface.

请先登录,再进行评论。

回答(1 个)

srivibha s
srivibha s 2011-5-9
its summation, not the question mark.

Community Treasure Hunt

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

Start Hunting!

Translated by