【发布时间】:2019-05-23 03:32:19
【问题描述】:
如何使用 matplotlib 绘制 HOG?我不知道人们是如何像下面的例子那样绘制它的:
我浏览了 matplotlib 网站,但没有找到合适的例子。 ¿ 有谁知道如何绘制它或者我可以在哪里学习它?
我现在一直在尝试这个,但没有运气。 https://matplotlib.org/3.1.0/gallery/statistics/histogram_histtypes.html#sphx-glr-gallery-statistics-histogram-histtypes-py
我只需要识别HOG的9个bin内的像素分布和笔画的度数。
【问题讨论】:
-
这是 scikit-image 库中的一个示例:scikit-image.org/docs/dev/auto_examples/features_detection/…
-
@StefanvanderWalt 感谢您的回复,但这就是计算 HOG 的方法。我已经这样做了。就像我说的,我需要绘制到目前为止我计算的内容。
标签: python matplotlib scikit-learn scikit-image