필터 지우기
필터 지우기

feature vectorsf or histogram

조회 수: 1 (최근 30일)
jenifer
jenifer 2012년 10월 29일
I want to classify normal and abnormal images..I m having histogram as a features for normal and abnormal images.. How can i compute the feature vectors for these histograms... please anyone help me ..
thanks in advance

답변 (3개)

Image Analyst
Image Analyst 2012년 10월 29일
편집: Image Analyst 2012년 10월 29일
This is somewhat unclear. First you say that the histograms are the features. Then you ask how to compute features for histograms. Are the histograms the features, or do you want to start with the histograms and derive features from them (such as [mean, stddev, skew, kurtosis])?
Anyway, once you've answered that, how about using imhist() to compute the histograms? Then you're either done (if the histograms themselves are the features) or you need additional steps to derive features from the histograms.
  댓글 수: 1
Image Analyst
Image Analyst 2012년 10월 30일
If they say the whole entire histogram is one feature, then just use it as such. Normally a feature vector is something more meaningful, like a list of histogram moments like I said above: [mean, stddev, skew, kurtosis]. That would be a 4 element feature vector. It has 4 features, which are the 1st, 2nd, 3rd, and 4th moments of the histogram. A feature vector is just a list of various measurements that you make and they could be anything, like number of regions, mean intensity of the regions, mean area of the regions or all the areas of all the regions. It could be anything you want because you are the one who is going to be processing them in some what that makes sense for you. You should know what to do with them - there is not one overall way to manipulate a feature vector, it depends on what you want to do with the numbers.

댓글을 달려면 로그인하십시오.


jenifer
jenifer 2012년 10월 30일
s sir.. in my paper they said histogram as features...using these histogram features how can i train and test the images... then wt about feature vectors?..pls exlain me sir...
thanks in advance.
  댓글 수: 1
Image Analyst
Image Analyst 2012년 10월 30일
I'll respond under my answer, where you should have placed this - since it's a comment, not an answer to your question.

댓글을 달려면 로그인하십시오.


jenifer
jenifer 2012년 10월 30일
sir i m applying edge histogram descriptor to extract the edge features... I abtained 80 bin histogram as features.... can i compute mean or standard deviation for histogram...
  댓글 수: 1
Image Analyst
Image Analyst 2012년 10월 30일
Is this an "Answer" to your Question? You posted it as an "Answer".

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by