How to perform Sobel filter and HOG ?
Show older comments
Hi. I need some help. I want to extract features from signature image by using HOG features. But before that, I need to
1)Calculate horizontal and vertical brightness values at each pixel. Then, get the horizontal and vertical gradient magnitude and direction.
2) At HOG stage, seperate blocks into 8x8 cell and each cell contain its own magnitude and direction
How can I code this ? Urgent, I really need help. Im stuck right now
a= getimage(handles.axes2)
[Gx,Gy]=imgradientxy(a,'Sobel')
[Gmag,Gdir]=imgradient(Gx,Gy)
Answers (1)
KALYAN ACHARJYA
on 13 Oct 2019
Edited: KALYAN ACHARJYA
on 13 Oct 2019
2 Comments
Najwa Samlan
on 14 Oct 2019
KALYAN ACHARJYA
on 20 Oct 2019
You mean both images?? or look imsowpair
Categories
Find more on Image Category Classification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!