How to classify image histogram?

3 views (last 30 days)
trisha
trisha on 31 Aug 2014
Commented: tamoor shakoor on 5 Jul 2019
I am trying to detect emotion using linear binary pattern. I got a histogram from the lbp image. My question is can I use the histogram as input in SVM classifier . If yes, how can I do it?
  1 Comment
tamoor shakoor
tamoor shakoor on 5 Jul 2019
firslty send me histogram code and send me svm classifier code at tamoor1000@gmail.com

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 31 Aug 2014
I've never heard of linear binary patterns. Perhaps you mean local binary patterns. You forgot to attach an image. I do not understand why LBP might be used to detect emotion, presumably the emotion of a person in a picture of their face. Can you explain the rationale for that? What is the size of the window you are using to obtain the LBP pixel value? The LBP image will depend on many things that have nothing to do with emotion such as angle of lighting, overall exposure level, etc. so I just don't see why the histogram will be of any help at all in determining emotion.
  5 Comments
Image Analyst
Image Analyst on 12 Feb 2015
To convert any array into a vector, use (:):
vector = yourAray(:);
Walter Roberson
Walter Roberson on 11 May 2017
As Has comments to Image Analyst
i want to know the statement of how can i select the features from LBP ?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!