码迷,mamicode.com
首页 >  
搜索关键字:gray    ( 1068个结果
Leetcode:Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the sequence of ...
分类:其他好文   时间:2015-02-13 09:21:11    阅读次数:155
89.Gray Code(回溯)
The gray code is a binary numeral system where two successive valuesdiffer in only one bit. Given a non-negative integer n representing the totalnumber of bits in the code, print the sequence of gray...
分类:其他好文   时间:2015-02-11 09:24:25    阅读次数:233
Javascript中Array.prototype.map()详解
在我们日常开发中,操作和转换数组是一件很常见的操作,下面我们来看一个实例:代码如下:var desColors = [], srcColors = [ {r: 255, g: 255, b: 255 }, // White {r: 128, g: 128, b: 128 }, // Gray {r:...
分类:编程语言   时间:2015-02-10 15:16:04    阅读次数:221
Houdini 中 Gray Scott Reaction-Diffusion算法的实现
这篇文章是吧很久以前学的一个神奇算法归一下档,在公交车上突然想起来了,觉得还是很有必要再仔细梳理一遍,对以后也许有用。先看图再说话:Gray Scott Reaction-Diffusion算法, 在模拟微观细胞的运动或者类似的效果是非常神奇。理论链接:http://www.karlsims.com...
分类:编程语言   时间:2015-02-09 22:50:28    阅读次数:175
leetcode[89]Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2015-02-09 15:22:50    阅读次数:115
针对IE 安全问题file无法上传的问题 ajaxFileUpload
<!doctype?html> <html> <head> <meta?charset="UTF-8"> <title>Document</title> <style> .wrap{background:?gray;width:?100px;height:?30px;overflow:?hidden; /*关键属性*/position:?relative;} .btn...
分类:Web程序   时间:2015-01-30 19:44:51    阅读次数:283
【计算机视觉】OpenCV中直方图处理函数简述
计算直方图calcHist直方图是对数据集合的统计 ,并将统计结果分布于一系列提前定义的bins中。这里的数据不只指的是灰度值 ,统计数据可能是不论什么能有效描写叙述图像的特征。如果有一个矩阵包括一张图像的信息 (灰度值 0-255):gray既然已知数字的范围包括256个值, 我们能够将这个范围切...
分类:其他好文   时间:2015-01-30 15:34:54    阅读次数:198
从RGB色转为灰度色算法
一、基础 对于彩色转灰度,有一个很著名的心理学公式:Gray = R*0.299 + G*0.587 + B*0.114二、整数算法 而实际应用时,希望避免低速的浮点运算,所以需要整数算法。 注意到系数都是3位精度的没有,我们可以将它们缩放1000倍来实现整数运算算法:Gray = (R*29...
分类:编程语言   时间:2015-01-29 23:52:30    阅读次数:279
【转】从RGB色转为灰度色算法
----本文摘自作者ZYL910的博客一、基础 对于彩色转灰度,有一个很著名的心理学公式:Gray = R*0.299 + G*0.587 + B*0.114二、整数算法 而实际应用时,希望避免低速的浮点运算,所以需要整数算法。 注意到系数都是3位精度的没有,我们可以将它们缩放1000倍来实现...
分类:编程语言   时间:2015-01-29 22:32:36    阅读次数:262
Black Hat Python2015.pdf
介绍用Python来做网络安全,入侵测试和软件攻击的书。  超好的黑客入门书籍,作者用python演示了如何用最基础的方式进行黑客攻击。  http://pan.baidu.com/s/1c0Elquc  与另一本 Gray hat python 相对应...
分类:编程语言   时间:2015-01-24 09:01:26    阅读次数:210
1068条   上一页 1 ... 94 95 96 97 98 ... 107 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!