码迷,mamicode.com
首页 >  
搜索关键字:grey    ( 103个结果
程序员的未来
程序员的未来在一个来自于CGP Grey很精彩的视频中,他提出说,在不久的将来,大多数工作将会由机器替代。许多行业,从卡车司机到医生,在不久的将来将会消失或发生巨大的变化,创造出一种全新的社会体制。但是,这样一来似乎有点说不通——既然未来的计算机程序将会大放光彩,那么势必需要更多的程序员。毕竟,创建...
分类:其他好文   时间:2015-10-10 12:09:44    阅读次数:243
perl正则表达式第一周笔记
正则表达式基础^行首标志$行末标志如^cat$即一整行只有cat这个单词,^$则是一个空行[ ]字符组,用来匹配若干字符之一如gr[ae]y,即grey或者gray-在字符组内部,字符组元字符'-'(连字符)表示一个范围(前提是不在字符组开头)如和是一样的。而[0-9] [a-z] [A-Z]分别用...
分类:其他好文   时间:2015-10-07 01:04:36    阅读次数:267
4-13编程练习解答
4-13_1 1 /* Author : grey_qisen */ 2 // 4-13_1.cpp 3 #include 4 const int Size = 20; 5 6 int main(){ 7 using namespace std; 8 char firstName...
分类:其他好文   时间:2015-08-28 02:08:40    阅读次数:254
#4 复合类型
*1:C++接受输入字符串 1 /* Author : grey_qisen */ 2 // instr1.cpp -- reading more than one string 3 4 #include 5 int main(){ 6 using namespace std; 7 ...
分类:其他好文   时间:2015-08-26 10:37:15    阅读次数:160
3-7 编程练习解答
3-7_1 1 /* Author : grey_qisen */ 2 //3-7_1.cpp 3 4 #include 5 const int CHANGENUM = 12; 6 int main(){ 7 using namespace std; 8 int height; ...
分类:其他好文   时间:2015-08-25 21:04:41    阅读次数:254
When you are old (当你老了)
— William Butler Yeats ——威廉·巴特勒·叶芝When you are old and grey and full of sleep; 当你老了,头发花白,睡意沉沉,And nodding by the fire,take down this book, 倦坐在炉边,取下这本书来,And slowly read,and dream of the soft look 慢慢...
分类:其他好文   时间:2015-08-20 10:31:35    阅读次数:132
RGB图像转为灰度图
最后结论: Grey = (R*38 + G*75 + B*15)>> 7 代码 #include #include using namespace cv; int main(){ Mat src= imread("C:\\Users\\Poplar\\Pictures\\ff.jpg"); Matgrey(src.rows, src.cols...
分类:其他好文   时间:2015-08-07 20:07:56    阅读次数:207
Shader 使按钮图片致灰
Shader "UI/Default Grey" { Properties { [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} _Color ...
分类:其他好文   时间:2015-07-27 20:26:08    阅读次数:167
20150719 The grey sweater looks good on you
bracelet英 /bre?sl?t/ 美 /bresl?t/necklace英 /nekl?s/ 美 /n?kl?sIs there any food left? 还有吃的吗?Is the climate dry here?flea marketWhat about this one in na...
分类:其他好文   时间:2015-07-19 14:59:38    阅读次数:335
Bitmap转灰度字节数组byte[]
工作中遇到图片转灰度数组的需要,经过研究和大神的指导,最终得到如下两个方法,可以实现位图转灰度数组 简单的位图转灰度数组就是:得到位图中的每个像素点,然后根据像素点得到RGB值,最后对RGB值,根据灰度算法得到灰度值即可 /*如一张480*800的图片,最终得到一个byte[480*800/2]的灰度数组,因为函数把每两个相邻高的像素灰度转化为一个灰度*/ private byt...
分类:编程语言   时间:2015-07-07 19:37:44    阅读次数:130
103条   上一页 1 ... 6 7 8 9 10 11 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!