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 num
分类:
其他好文 时间:
2016-02-04 06:45:56
阅读次数:
227
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 num
分类:
其他好文 时间:
2016-01-29 11:43:39
阅读次数:
133
textbooks Peter Gray's 《Psychology》, 5th edition . short readings , The Norton Reader edited by Gary Marcus. so,traditionly,Psychology is often broken
分类:
其他好文 时间:
2016-01-27 21:04:15
阅读次数:
130
从RGB色转为灰度色算法(转)http://www.cnblogs.com/carekee/articles/3629964.html一、基础 对于彩色转灰度,有一个很著名的心理学公式: Gray = R*0.299 + G*0.587 + B*0.114二、整数算法 而实际应用时,希望避免低速.....
分类:
编程语言 时间:
2016-01-24 11:34:29
阅读次数:
237
We can find the regular pattern in gray code, which is:the first of the combinations of n-digit gray code is exactly the combinations of (n-1)-digit g...
分类:
其他好文 时间:
2016-01-24 11:29:48
阅读次数:
109
代码如下:<html><head><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8"/><title>MACsearch</title></head><bodyalign="middle"bgcolor="gray"><h1><fontsize="20"face="Verdana"color="blue">MACsea..
分类:
Web程序 时间:
2016-01-10 17:14:11
阅读次数:
307
Question:https://leetcode.com/problems/gray-code/题目:The gray code is a binary numeral system where two successive values differ in only one bit.Given ...
分类:
其他好文 时间:
2016-01-10 07:05:43
阅读次数:
179
CString gray("Gray");CString cat("Cat");CString graycat = gray + cat;与其用 sprintf() 函数或 wsprintf() 函数来格式化一个字符串,还不如用 CString 对象的Format()方法:CString s;s.F...
分类:
其他好文 时间:
2016-01-04 11:32:04
阅读次数:
126
题目: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 n...
分类:
其他好文 时间:
2016-01-04 08:52:28
阅读次数:
172
一、图像通道1、彩色图像转灰度图from PIL import Imageimport matplotlib.pyplot as pltimg=Image.open('d:/ex.jpg')gray=img.convert('L')plt.figure("beauty")plt.imshow(gra...
分类:
编程语言 时间:
2016-01-03 15:00:20
阅读次数:
411