features = extractHOGFeatures(I)
[features,validPoints] = extractHOGFeatures(I,points)
[___, visualization] = extractHOGFeatures(I,___)
[___] = extractHOGFeatures(___,Name,Value)
Description
example
features = extractHOGFeatures(I)
returns extracted HOG features from a truecolor or grayscale input image, 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.
[features,validPoints] = extractHOGFeatures(I,points)
returns HOG features extracted around specified point locations. The function also returns validPoints, which contains the input point locations whose surrounding region is fully contained within I. Scale information associated with the points is ignored.
[___, visualization] = extractHOGFeatures(I,___) optionally returns a HOG feature visualization, using any of the preceding syntaxes. You can display this visualization using plot(visualization).
[___] = extractHOGFeatures(___,Name,Value) uses additional options specified by one or more Name,Value pair arguments, using any of the preceding syntaxes.
]