hog图像分类 matlab

该博客介绍了如何从图像中提取HOG(Histogram of Oriented Gradients)特征,包括函数`extractHOGFeatures`的基本用法,如返回特征向量、指定点位置的特征提取及可视化,并提供了额外的Name,Value选项来定制特征提取过程。这些特征常用于图像分类、检测和跟踪任务。
摘要由CSDN通过智能技术生成

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.

]

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值