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

10 Ansichten (letzte 30 Tage)
Vinay Kumar
Vinay Kumar am 31 Dez. 2014
Beantwortet: Gautam am 9 Jan. 2025
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?

Antworten (1)

Gautam
Gautam am 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!

Translated by