extractHOGFeatures
Extract histogram of oriented gradients (HOG) features
Syntax
Description
returns
extracted HOG features from a truecolor or grayscale input image, features
= extractHOGFeatures(I
)I
.
The features are returned in a 1-by-N vector, where N is
the HOG feature length. The returned features encode local shape information
from regions within an image. You can use this information for many
tasks including classification, detection, and tracking.
[
returns
HOG features extracted around specified point locations. The function
also returns features
,validPoints
]
= extractHOGFeatures(I
,points
)validPoints
, which contains the
input point locations whose surrounding region is fully contained
within I
. Scale information associated with the
points is ignored.
[___,
optionally
returns a HOG feature visualization, using any of the preceding syntaxes.
You can display this visualization using visualization
]
= extractHOGFeatures(I
,___)plot
(visualization
).
[___] = extractHOGFeatures(___,
uses
additional options specified by one or more Name,Value pair arguments,
using any of the preceding syntaxes.Name,Value
)
Examples
Input Arguments
Output Arguments
More About
References
[1] Dalal, N. and B. Triggs. "Histograms of Oriented Gradients for Human Detection", IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Vol. 1 (June 2005), pp. 886–893.
Extended Capabilities
Version History
Introduced in R2013b