emgu cv hog 特征提取 与opencv 生成的结果略有区别
2013-08-28 15:55
399 查看
//////////////////////////////////////////////////////////////////参数设定////////////////////////////////根据自己的参数设置/////////////////////// Rectangle rc = new Rectangle(); rc.Width = 28; rc.Height = 28;//tuxaing daxiao Rectangle rc1 = new Rectangle(); rc1.Width = 14; rc1.Height = 14;//bloke Rectangle rc2 = new Rectangle(); rc2.Width = 7; rc2.Height = 7; Rectangle rc3 = new Rectangle(); rc3.Width = 7; rc3.Height = 7; ///////////////设置参数////////////////////////////////////////////// System.Drawing.Size r1 = new System.Drawing.Size(); r1.Width = 1; r1.Height = 1; System.Drawing.Size r2 = new System.Drawing.Size(); r2.Width = 0; r2.Height = 0; HOGDescriptor hog = new HOGDescriptor(rc.Size, rc1.Size, rc2.Size, rc3.Size, 9, 1, -1.0000000000000000, 0.20000000000000001, false); float[] yy = new float[1000000]; yy = hog.Compute(src, r1,r2, null);//src为要提取特征的图像,yy为生成特征的数组
但是我发现一个问题,同样的参数在opencv 上面显示的hog特征数据略有不同,不知道是什么原因。
相关文章推荐
- 提取特征点的方式,opencv2.x和opencv3.x的区别
- 关于opencv提取ORB特征时 cannot declare variable ‘orb’ to be of abstract type ‘cv::ORB问题
- 特征提取方法(一):HOG原理及OpenCV实现
- 使用EMGU.CV对图像进行SIFT和SURF特征提取
- HOG特征提取代码(opencv处理基本数据,c语言实现基本算法)
- HOG特征提取C++ OpenCV代码
- Emgu.CV训练自己的hog特征,可实现任意物体的检测
- OpenCV提取HOG特征
- 利用OpenCV提取HOG特征需要了解的参数
- OpenCV中HOG特征的提取实现
- 使用openCV提取sift;surf;hog特征
- HOG特征提取代码(opencv处理基本数据,c语言实现基本算法)
- 【练习8.10】直接使用cvFindContour的结果图片和cvDrawContour的方式提取Hu矩,观察在图片缩放或旋转时的稳定性
- OpenCV特征提取
- 图像特征提取三大法宝:HOG特征,LBP特征,Haar特征
- 13.4 目标检测的图像特征提取之(一)HOG特征
- 目标检測的图像特征提取之(一)HOG特征
- OpenCV中feature2D学习——FAST特征点检测与SIFT/SURF/BRIEF特征提取与匹配
- 目标检测的图像特征提取之(一)HOG特征
- 关于Emgu CV或者OPENCV调用cvCreateFileCapture返回NULL的原因