#include
void colorReduce(cv::Mat &image, int div=64)
{
int nr= image.rows; // number of rows
int nc= image.cols * image.channels(); // total number of elements per line
for (int j=0; j<nr;...
分类:
移动开发 时间:
2015-03-09 20:58:51
阅读次数:
307
PART I: IntegerThere are two types of integer : unsigned integer(only positive) & signed integer(positive,negative and 0)So how does a computer storag...
分类:
移动开发 时间:
2015-03-09 20:45:20
阅读次数:
148
My VCDS VAGCOM (clone) cable would not work recently and I could not find a place to buy a new cheap one. Anyway, I love VCDS, but I wanted a computer...
分类:
其他好文 时间:
2015-03-09 17:30:20
阅读次数:
186
说明欧长坤原创作品转载请注明出处《Linux内核分析》MOOC课程http://mooc.study.163.com/course/USTC-1000029000这学期学校恰好有操作系统的课程,上个学习就开始寻思研究研究Linux内核代码,恰好MOOC有这个课程,遂选了此课。一、实验过程首先,我们将...
分类:
系统相关 时间:
2015-03-09 15:50:00
阅读次数:
143
After too much playing on paper, Iahub has switched to computer games. The game he plays is called "Block Towers". It is played in a rectangular grid with n rows
and m columns (it contains n?×?m cel...
分类:
其他好文 时间:
2015-03-09 14:33:43
阅读次数:
151
注明李振业原创作品转载请注明出处《Linux内核分析》MOOC课程http://mooc.study.163.com/course/USTC-1000029000一、实验过程
首先创建一个C语言文件vimain.c接着编写一段C语言代码intg(intx)
{
returnx+32;
}
intf(intx)
{
returng(x);
}
intmain(void)
{
returnf(6)+1;
..
分类:
系统相关 时间:
2015-03-09 01:48:40
阅读次数:
274
在使用Team Foundation Server (TFS)的过程中,由于用户重装或切换了计算机,再次连接到TFS服务器的过程中可能会碰到错误提示“出错: 工作区 ComputerName;TFSUser 已存在于计算机 computer上。”,在这种情况下,用户可以使用tf workspace命...
分类:
Web程序 时间:
2015-03-09 00:18:32
阅读次数:
2874
高效绘图软件绘图术语绘图通常在Core Animation的上下文中指代软件绘图(意即:不由GPU协助的绘图)。在iOS中,软件绘图通常是由Core Graphics框架完成来完成。但是,在一些必要的情况下,相比Core Animation和OpenGL,Core Graphics要慢了不少。软件绘...
分类:
其他好文 时间:
2015-03-08 21:25:01
阅读次数:
251
1、学习过程在c:\下建立文件夹c,并将编译器tcc.exe、连接器tlink.exe、相关文件c0s.obj、cs.lib、emu.lib、maths.lib放入文件夹中。要搭建一个简单的C语言编译环境,需要TC2.0、c0s.obj、emu.lib、maths.lib、graphics.lib、...
分类:
其他好文 时间:
2015-03-08 20:06:59
阅读次数:
2596
自从在笔记本上装了ubuntu和nvidia驱动后,每次切换程序、切换窗口,尤其是浏览器的tab之间切换后,就会发生当前页面和之前页面之间的的快速切换式的闪烁。闪烁情况类似这样(youtube)
google后在一个外网论坛得到结果:https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-346/+bug/1314367...
分类:
系统相关 时间:
2015-03-08 17:21:05
阅读次数:
181