Ask Your Question

m_fory's profile - activity

2016-06-16 07:00:50 -0600 commented answer Uniform LBP - problem with histogram [C++]

Okay, I understand now, thank you very much

2016-06-15 21:06:19 -0600 commented answer Uniform LBP - problem with histogram [C++]

Just one final question (sorry to keep bothering you by the way) to see if I understood, let's say I have the lbp value 00111000, converting to decimal I have the value 56, so I go to this lookup table and look the uniform[45] (46 since the array begins on 0) position and mark the value on uniform[46] as the value on the histogram ?

2016-06-15 21:00:36 -0600 received badge  Scholar (source)
2016-06-15 19:08:21 -0600 commented answer Uniform LBP - problem with histogram [C++]

Thank you, I will try to add this logic to my method,I didn't know this LUT method, interesting, so basically it's just this modification I will have to add to my code above?

2016-06-15 19:07:09 -0600 received badge  Supporter (source)
2016-06-14 10:32:04 -0600 commented question Uniform LBP - problem with histogram [C++]

"if you have converted the lbp features to uniform ones(e.g. using a lookup table)" That's what I'm having trouble doing right

2016-06-14 09:16:20 -0600 commented question Uniform LBP - problem with histogram [C++]

Sorry, I couldn't post the code properly and was afraid it would be a mess, the problem is that I'm not being able to transform this generateHistogram method on the uniform version using only 59 features vs 256 , I know in theory but I'm having trouble with the syntax

2016-06-13 12:30:13 -0600 asked a question Uniform LBP - problem with histogram [C++]

I'm having trouble trying to transform my normal LBP into the uniform version, I already read some guides and even the answers here but I'm feeling kinda dumb since I'm not being able to translate their uniform versions to my LBP version.

The concept is okay but I can't "translate" it to the syntax I have, if someone could guide me I would appreciate, I really tried all I could so asking here is my last resort since I can't change all my code to one that fits better the versions I saw because this would be wrong and of course I'm more used to the version I implemented, anyways, here the method that does my currently histogram: example.png

I "slice" the image into subImages and calculate each one independently they are all on the imgCells vector, and maskHist is the vector that contains all the histograms from each imgCell[]

Thank you very much