Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

click to hide/show revision 2
No.2 Revision

updated 2016-06-14 00:38:47 -0600

berak gravatar image

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.pngexample.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