MATLAB: Gradient feature extraction matlab code

feature extractiongradientgradient feature extractionImage Processing Toolboxsobel

Can anyone explain how to make Gradient feature vector? For example, if we take Sobel edge detection operator, then how to make feature vector?

Best Answer

There is edge() and imgradient() and imgradientxy(). So, once you have your edge image, what values from it do you want to stick into your feature vector? If you don't know, then we certainly don't know. You could stick virtually any number you want into a vector.
Related Question