码迷,mamicode.com
首页 >  
搜索关键字:histogram    ( 477个结果
84 Largest Rectangle in Histogram
参考 :http://www.cnblogs.com/lichen782/p/leetcode_Largest_Rectangle_in_Histogram.html public int largestRectangleArea(int[] height) { int i =...
分类:其他好文   时间:2015-05-29 09:44:48    阅读次数:124
C语言K&R习题系列——统计一段文字中各个字母出现的频率
原题: /*Write a program to print a histogram of the frequencies of   *difficent characters in it inputs  */ 这个和上一个类似 输入部分 #include #define NUM_CHARS 256 main ( voi...
分类:编程语言   时间:2015-05-28 14:11:52    阅读次数:162
POJ 2559 Largest Rectangle in a Histogram(单调栈)
Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different heights. For example, the figure o...
分类:其他好文   时间:2015-05-26 01:40:02    阅读次数:770
LIRe提供的图像检索算法的速度
在LIRe中主要实现的图像特征有: 1. RGB和HSV空间的颜色直方图; 2. MPEG-7的颜色特征,包括Scalable color,Color layout和Edge Histogram; 3. Tamura纹理特征,包括粗糙度(Coarseness),对比度(...
分类:编程语言   时间:2015-05-24 20:17:35    阅读次数:222
图像检索:FCTH(Fuzzy Color and Texture Histogram)算法
模糊颜色和纹理直方图(Fuzzy Color and Texture Histogram,FCTH)本文节选自论文《基于半监督和主动学习相结合的图像的检索研究》FCTH 特征可从 3 个模糊单元的组合求得结果。先将图像划分成若干分块,在第一个模糊单元中以 HSV 颜色空间的三个信道为输入,经模糊系统...
分类:编程语言   时间:2015-05-24 20:14:12    阅读次数:262
Java for LeetCode 084 Largest Rectangle in Histogram【HARD】
For example,Given height = [2,1,5,6,2,3],return 10.解题思路:参考Problem H: Largest Rectangle in a Histogram 第四种思路,或者翻译版Largest Rectangle in Histogram@LeetCo...
分类:编程语言   时间:2015-05-19 20:43:54    阅读次数:174
[LeetCode]*84.Largest Rectangle in Histogram
题目Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.Above is a histogram where width of each ba...
分类:其他好文   时间:2015-05-13 19:52:46    阅读次数:125
【Largest Rectangle in Histogram】cpp
题目:Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the his...
分类:其他好文   时间:2015-05-13 10:09:33    阅读次数:156
python实战-字典使用
python实战-字典使用使用字典统计字符出现次数#! /usr/bin/env python #coding:utf-8 #定义一个函数,接收字符串,统计出每个字符的出现次数 #实现思路:字典实现,看字符是否在字典中,在则+1,否则计入字典。 def histogram(str): dic = dict() for s in str: if s not in dic...
分类:编程语言   时间:2015-05-10 18:59:36    阅读次数:155
目标检測的图像特征提取之(一)HOG特征
1、HOG特征: 方向梯度直方图(Histogram of Oriented Gradient, HOG)特征是一种在计算机视觉和图像处理中用来进行物体检測的特征描写叙述子。它通过计算和统计图像局部区域的梯度方向直方图来构成特征。Hog特征结合SVM分类器已经被广泛应用于图像识别中,尤其在行人检測中...
分类:其他好文   时间:2015-05-10 11:07:58    阅读次数:186
477条   上一页 1 ... 31 32 33 34 35 ... 48 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!