How to see the extracted HoG features of the image??(visualization)

2 views (last 30 days)
I have extracted HoG features and now i want to plot those on the image. I mean I want to see the extracted features on the image. How can i do that?

Answers (1)

Gautam
Gautam on 9 Jan 2025
Hello Vinay,
You can use MATLAB's "extractHOGFeatures" function to compute the HoG features and obtain the visualization data and use the visualization data returned to overlay the HoG features on the original image.
[features, visualization] = extractHOGFeatures(img);
imshow(img);
hold on;
plot(visualization);
hold off
Refer to the documentation below for more information on the "extractHOGFeatures" function

Community Treasure Hunt

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

Start Hunting!