필터 지우기
필터 지우기

Gradient feature extraction matlab code

조회 수: 1 (최근 30일)
Shivang Patel
Shivang Patel 2015년 2월 9일
답변: Saeid Abbaasi 2019년 10월 18일
Can anyone explain how to make Gradient feature vector? For example, if we take Sobel edge detection operator, then how to make feature vector?

채택된 답변

Image Analyst
Image Analyst 2015년 2월 9일
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.
  댓글 수: 2
Shivang Patel
Shivang Patel 2015년 2월 9일
So, That mean value of Gmag , and Gdir are the feature vector...
Thank you..
Image Analyst
Image Analyst 2015년 2월 9일
Could be, if that's what you want to be in your feature vector. Again, it can be whatever you define it to be.

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

추가 답변 (2개)

Diksha Kurchaniya
Diksha Kurchaniya 2017년 1월 5일
would anyone can tell me how i can extract feature from sobel oprator. means i have get an image after applying the sobel operator to an image but how can i convert to feature vector to it
  댓글 수: 1
Image Analyst
Image Analyst 2017년 1월 5일
You're asking the question backwards.
You don't say "let me apply some arbitrary algorithm and see what features I can get from it."
You need to say, "these are the features I need to identify my object, now what algorithm can get me those features?"

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


Saeid Abbaasi
Saeid Abbaasi 2019년 10월 18일
for image name I, use the following code:
xHOG = extractHOGFeatures(I);
its a gradient based feature called Histogram of Gradient

Community Treasure Hunt

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

Start Hunting!

Translated by