www.gusucode.com > vision 源码程序 matlab案例代码 > vision/ExtractAndDisplayImageWithHOGFeaturesUsingCellSizeExample.m

    %% Extract HOG Features using CellSize
%
%%
% Read the image of interest.
I1 = imread('gantrycrane.png');
%%
% Extract HOG features.
[hog1,visualization] = extractHOGFeatures(I1,'CellSize',[32 32]);
%%
% Display the original image and the HOG features.
subplot(1,2,1);
imshow(I1);
subplot(1,2,2);
plot(visualization);