由于sass的作者是rubyer,因此它的类型与JS有点不一样,但一样可以类推。@charset "utf-8";//必须设置了这个才能编译有中文的注释$gray: #333;//颜色$number: 12;//数字$boolean: true;$array:();$string:"string";...
分类:
其他好文 时间:
2014-07-07 23:40:02
阅读次数:
209
为了加快处理速度在图像处理算法中,往往需要把彩色图像转换为灰度图像。24为彩色图像每个像素用3个字节表示,每个字节对应着RGB分量的亮度。当RGB分量值不同时,表现为彩色图像;当RGB分量相同时,变现为灰度图像:一般来说,转换公式有3中。(1)Gray(i,j)=[R(i,j)+G(i,j)+B(i...
分类:
其他好文 时间:
2014-07-03 10:54:07
阅读次数:
270
The gray code is a binary numeral system where two successive values differ in only one bit.
分类:
其他好文 时间:
2014-07-02 14:47:43
阅读次数:
253
转自 :http://blog.csdn.net/hust1900/article/details/8843270halcon有三种模板匹配方法:即Component-Based、Gray-Value-Based、Shaped_based,分别是基于组件(或成分、元素)的匹配,基于灰度值的匹配和基于...
分类:
其他好文 时间:
2014-07-01 19:21:06
阅读次数:
626
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 ...
分类:
其他好文 时间:
2014-07-01 12:42:16
阅读次数:
192
@at-root和&的结合&在Sass中所起的作用,文章开头就简单的进行演示了。在@at-root中也同样可以配合&一起使用,下面我们同样来看几个用例:SCSS.foo { @at-root .bar & { color:gray; }}CSS.bar .foo { co...
分类:
其他好文 时间:
2014-06-26 15:28:54
阅读次数:
310
// ConsoleApplication3_6_23.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
using namespace std;
using namespace cv;
Mat src,dst,gray;
int pro_typ...
分类:
其他好文 时间:
2014-06-26 06:46:25
阅读次数:
315
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...
分类:
其他好文 时间:
2014-06-25 22:07:58
阅读次数:
330
美国计算机科学家、图灵奖获得者詹姆斯·尼古拉·格雷(Jim Gray),在他的著名的论文“Why do computers stop and what can be done about it?”中首次提出了程序bug的类型,比如玻尔bug(Bohrbug)、 海森堡bug(Bohrbug)等用著名...
分类:
其他好文 时间:
2014-06-25 14:55:40
阅读次数:
263
img = cv2.imread( 'E:\A.jpeg' )
cv2.imshow( 'img', img )
gray = cv2.cvtColor( img, cv2.COLOR_BGR2GRAY )
ret, binary = cv2.threshold( gray, 127, 255, cv2.THRESH_BINARY )
contours, hierarchy = cv2.fin...
分类:
其他好文 时间:
2014-06-22 09:49:42
阅读次数:
370