码迷,mamicode.com
首页 >  
搜索关键字:histogram of oriente    ( 481个结果
Most common words
To find the most common words, we can apply the DSU pattern; most_common takes a histogram and returns a list of word-frequency tuples, sorted in reve...
分类:其他好文   时间:2014-08-17 17:00:32    阅读次数:180
Word histogram
Here is a program that reads a file and builds a histogram of the words in the file: process_file loops through the lines of the file, passi...
分类:其他好文   时间:2014-08-17 15:30:32    阅读次数:176
POJ 2559 Largest Rectangle in a Histogram RMQ || 单调栈
题目链接:点击打开链接 题意就是求最大面积 枚举每个柱子作为起点 然后二分两边长度。 求个区间最值。 #include #include #include using namespace std; #define ll long long #define N 100100 inline bool rd(int &n){ int x = 0, tmp = 1; ...
分类:其他好文   时间:2014-08-16 18:34:41    阅读次数:228
目标检測的图像特征提取之(一)HOG特征
1、HOG特征: 方向梯度直方图(Histogram of Oriented Gradient, HOG)特征是一种在计算机视觉和图像处理中用来进行物体检測的特征描写叙述子。它通过计算和统计图像局部区域的梯度方向直方图来构成特征。Hog特征结合SVM分类器已经被广泛应用于图像识别中,尤其在行人检測中...
分类:其他好文   时间:2014-08-15 17:37:09    阅读次数:257
[LeetCode] Maximal Rectangle(good)
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.参考“Largest Rectangle in Histogram...
分类:其他好文   时间:2014-08-15 12:45:58    阅读次数:162
LeetCode "Largest Rectangle in Histogram" - TRICKY MONO-QUEUE
I got a DP solution first which is O(n^2). Apparently it is not a optimized one - think about: it is linear value space. There must be O(n) solution.A...
分类:其他好文   时间:2014-08-15 05:04:07    阅读次数:249
反射投影 cvCalcBackProject
#include"cv.h" #include"cxcore.h" #include"highgui.h" #include<iostream> #include"function.h" CvHistogram*histogram2(IplImage*src,intHSize)//返回归一化的histogram { IplImage*SrcH=cvCreateImage(cvGetSize(src),8,1); //IplImage*SrcS=cvCreateImage(cvGetSi..
分类:其他好文   时间:2014-08-14 17:11:29    阅读次数:264
基于块的反射投影
#include"cv.h" #include"cxcore.h" #include"highgui.h" #include<iostream> #include"function.h" CvHistogram*histogram2(IplImage*src,intHSize,intSSize)//返回归一化的histogram { IplImage*SrcH=cvCreateImage(cvGetSize(src),8,1); IplImage*SrcS=cvCreateImage(..
分类:其他好文   时间:2014-08-14 17:11:19    阅读次数:275
直方图 陆基移动距离 cvCalcEMD2 基于BGR
和基于HSV的陆基移动距离相对比,这个为三维直方图程序:结论:和基于HSV的路基距离相比,效果没有HSV好代码:#include"cv.h" #include"cxcore.h" #include"highgui.h" #include<iostream> CvHistogram*histogram(IplImage*src,intBSize,intGSize,intRSize)//返回归一化..
分类:移动开发   时间:2014-08-14 17:09:49    阅读次数:422
直方图 陆地移动距离 cvCalcEMD2 基于HSV的HS
程序:HSize=30,SSize=32:比例为2.89HSize=20,SSize=20:比例为2.88HSize=50,SSize=50:比例为2.87代码:#include"cv.h" #include"cxcore.h" #include"highgui.h" #include<iostream> CvHistogram*histogram(IplImage*src,intHSize,intSSize)//返回归一化的histogram..
分类:移动开发   时间:2014-08-14 17:09:29    阅读次数:438
481条   上一页 1 ... 43 44 45 46 47 ... 49 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!