How to create a features vector after extracting them from an Image?
3 views (last 30 days)
Show older comments
Elias Unk
on 29 Apr 2017
Commented: Image Analyst
on 30 Apr 2017
I extracted color features like mean,standard deviation,variance etc...note that i extracted from different color spaces like RGB,HSV,YCbCr and extracted the same features for each color plane,R,G,B,H,...etc.. and texture features like correlation,contrast,energy etc..note that i used GLCM to extract my texture features and i did that for 4 orientations so some of my texture features is a 1D 4 elements vector. How can i create 1 final vector that summarizes everything for an image and which way/ways could be used so i can actually find out what features matter most so i can increase their weights accordingly or get rid of the least important.
0 Comments
Accepted Answer
Image Analyst
on 29 Apr 2017
String them all together:
featureVector = [var1, var2, var3, ..... etc.]
It might help to normalize all variables to the range 0-1 so that one is not overly influential just because it has a higher value.
4 Comments
Image Analyst
on 30 Apr 2017
They do different things. Either might be okay. The thing is you want to avoid values in your feature vector that are like orders of magnitude different from each other.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!