Ask Your Question
0

Where can i find a fast opencv c++ code to compute LBP and LTP histograms?

asked 2015-05-13 08:02:00 -0600

Ricardo Câmara gravatar image

I am working on a SVM classifier to classify eye images in open or closed eye. I found this paper:

http://www.sciencedirect.com/science/...

Some of the methods described on this paper use LPB (Local Binary Pattern) and LTP (Local Ternary Pattern) as descriptors to generate the features to a SVM classifier. I know that opencv makes face recognition using LBP descriptor, but i don't know how to use it's code to get LBP histograms.

Can some one help me with this?

If someone tell me how can i use opencv LBP implementation to compute LBP histograms, or show me where can i find a fast LTP C++ code for opencv i will be grateful. If someone can tell me both will be great!

Thanks!

edit retag flag offensive close merge delete

Comments

1

look e.g. here and here . openbr also has a ltp implementation

berak gravatar imageberak ( 2015-05-13 10:00:46 -0600 )edit
1

Here also, it has fast OpenCV implementation and a GPU one.

tuannhtn gravatar imagetuannhtn ( 2015-05-13 21:59:59 -0600 )edit
1

I have 3 posts on LBP, you can check it for useful infos :P, one has a LBP.cpp by bytefish and another one has histogram comparison implemented using CHI-SQR.

fredreload gravatar imagefredreload ( 2015-05-13 23:38:41 -0600 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2015-05-14 02:14:25 -0600

Thanks for sharing the useful info. I am new here.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-05-13 08:02:00 -0600

Seen: 5,304 times

Last updated: May 13 '15