fhog-资料整理

6 篇文章 0 订阅
3 篇文章 0 订阅


fast hog资料整理:

https://github.com/joaofaro/FHOG


https://github.com/ppaanngggg/fhog

这个有两种:

1.DPM的

 Mat tmp_image;
    image.convertTo(tmp_image, CV_32FC1);
    cout<<image.rows<<" "<<image.cols<<endl;

    Mat fhog_feature = fhog::fhog(tmp_image);
cout<<fhog_feature.rows<<" "<<fhog_feature.cols<<endl;

这个很直接,直接计算返回一个矩阵

2.from pdollar's toolbox,这个在pc上使用,因为有sse指令加速,在arm上也可以使用,有neon加速。

参数说明:

 Inputs:
        float* I        - a gray or color image matrix with shape = channel x width x height 图像数据
        int *h, *w, *d  - return the size of the returned hog features 返回的特征尺寸
        int binSize     -[8] spatial bin size cells大小
        int nOrients    -[9] number of orientation bins 方向
        float clip      -[.2] value at which to clip histogram bins 大于0.2的特征值截断
        bool crop       -[false] if true crop boundaries 裁剪边缘的特征
    Return:
        float* H        - computed hog features with shape: (nOrients*3+5) x (w/binSize) x (h/binSize), if not crop


kcf里面的fhog检测:

https://github.com/TianyeAlex/KCF_vs

int getFeatureMaps(const IplImage* image,constint k, CvLSVMFeatureMapCaskade **map)


原文链接:http://blog.csdn.net/jacke121/article/details/54913627

fast hog资料整理:

https://github.com/joaofaro/FHOG


https://github.com/ppaanngggg/fhog

这个有两种:

1.DPM的

 Mat tmp_image;
    image.convertTo(tmp_image, CV_32FC1);
    cout<<image.rows<<" "<<image.cols<<endl;

    Mat fhog_feature = fhog::fhog(tmp_image);
cout<<fhog_feature.rows<<" "<<fhog_feature.cols<<endl;

这个很直接,直接计算返回一个矩阵

2.from pdollar's toolbox,这个在pc上使用,因为有sse指令加速,在arm上也可以使用,有neon加速。

参数说明:

 Inputs:
        float* I        - a gray or color image matrix with shape = channel x width x height 图像数据
        int *h, *w, *d  - return the size of the returned hog features 返回的特征尺寸
        int binSize     -[8] spatial bin size cells大小
        int nOrients    -[9] number of orientation bins 方向
        float clip      -[.2] value at which to clip histogram bins 大于0.2的特征值截断
        bool crop       -[false] if true crop boundaries 裁剪边缘的特征
    Return:
        float* H        - computed hog features with shape: (nOrients*3+5) x (w/binSize) x (h/binSize), if not crop


kcf里面的fhog检测:

https://github.com/TianyeAlex/KCF_vs

int getFeatureMaps(const IplImage* image,constint k, CvLSVMFeatureMapCaskade **map)

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值