matlab还没有集成,但是有固定函数,如trainCascadeObjectDetection里面含有提取haar特征的接口,代码也很少,几乎没有。opencv中倒是有一些提取haar的代码,就是有些过于复杂,跟adabost分类器连接在了一起。
https://blog.csdn.net/qq_32864683/article/details/79968346 Haar特征提取算法的实现 最后使用了这个代码
https://blog.csdn.net/lanxuecc/article/details/52222369#commentBox 机器学习 之 Haar特征
https://blog.csdn.net/weixin_37720172/article/details/77926585?locationNum=7 openCV之HAAR特征(代码实现)
2019/2/ 26
使用https://blog.csdn.net/qq_32864683/article/details/79968346的代码
发现提取特征没、每行长度都不一样,发现是图片忘记统一更改大小。
http://blog.sina.com.cn/s/blog_736aa0540101kzqb.html Haar-like矩形遍历检测窗口演示Matlab源代码
matlab中repmat函数的用法 https://blog.csdn.net/anqier1009/article/details/5214978
MATLAB中plot函数功能详解 https://blog.csdn.net/zengxiantao1994/article/details/73440934
axis 用法:http://blog.sina.com.cn/s/blog_b26a90750101kxdx.html
axis tight:将坐标范围设定为被绘制的数据范围
axis square:将坐标轴设置为正方形
p[:,end]矩阵中的最后一列