Extract histogram of oriented gradients (HOG) features

您所在的位置:网站首页 hog特征提取matlab Extract histogram of oriented gradients (HOG) features

Extract histogram of oriented gradients (HOG) features

2023-03-25 03:33| 来源: 网络整理| 查看: 265

HOG feature visualization, returned as an object. The function outputs this optional argument to visualize the extracted HOG features. You can use the plot method with the visualization output. See the Extract and Plot HOG Features example.

HOG features are visualized using a grid of uniformly spaced rose plots. The cell size and the size of the image determines the grid dimensions. Each rose plot shows the distribution of gradient orientations within a HOG cell. The length of each petal of the rose plot is scaled to indicate the contribution each orientation makes within the cell histogram. The plot displays the edge directions, which are normal to the gradient directions. Viewing the plot with the edge directions allows you to better understand the shape and contours encoded by HOG. Each rose plot displays two times NumBins petals.

You can use the following syntax to plot the HOG features:

plot(visualization) plots the HOG features as an array of rose plots.plot(visualization,AX) plots HOG features into the axes AX.plot(___,'Color',colorValue) Specifies the color used to plot HOG features, where colorValue represents the color as a 1-by-3 RGB vector, a short, or a long color name, described in the Color Value table.


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3