码迷,mamicode.com
首页 >  
搜索关键字:gray    ( 1068个结果
直方图均衡化和规定化
直方图均衡化 clear;close all; A=imread('lena_gray_512.tif'); B=imadjust(A); subplot(2,2,1); imshow(A); title('原始图像') subplot(2,2,2); imhist(A); title('原始图像直方图') subplot(2,2,3); imshow(B); title('均衡化图像...
分类:其他好文   时间:2015-07-17 21:09:05    阅读次数:334
Gray Code
https://leetcode.com/problems/gray-code/ 1 class Solution { 2 public: 3 vector grayCode(int n) { 4 vector res; 5 if(n==0) 6 ...
分类:其他好文   时间:2015-07-13 15:38:50    阅读次数:95
NGUI 图片变灰
效果图1、先准备好一个变灰shader。代码如下Shader "Custom/Gray"{ Properties { _MainTex ("Base (RGB), Alpha (A)", 2D) = "black" {} } SubShader { LOD 200 Tags { "Qu...
分类:其他好文   时间:2015-07-11 16:22:51    阅读次数:150
Gray Code
Gray Code
分类:其他好文   时间:2015-07-09 00:38:40    阅读次数:105
LeetCode89: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 gray...
分类:其他好文   时间:2015-07-07 16:53:37    阅读次数:108
浅谈数据库隔离级别
本文介绍了关系型数据库的隔离性。ANSI标准里面定义了Read Committed, Repeatable Read, Serializable隔离级别,Jim Gray等针对ANSI的标准提出了改进,并介绍了Cursor Stability, Snapshot Isolation等隔离级别。htt...
分类:数据库   时间:2015-06-25 08:56:16    阅读次数:166
leetcode_89_Gray Code
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 to...
分类:其他好文   时间:2015-06-22 11:11:12    阅读次数:115
filter在CSS中的效果
滤镜说明: Alpha:设置透明层次 blur:创建高速度移动效果,即模糊效果 Chroma:制作专用颜色透明 DropShadow:创建对象的固定影子 FlipH:创建水平镜像图片 FlipV:创建垂直镜像图片 glow:加光辉在附近对象的边外 gray:把图片灰度化 inver...
分类:Web程序   时间:2015-06-12 11:39:22    阅读次数:133
彩色图转化成灰度图
对于图像由彩色图转化为灰度图有三种方法分别为 加权法 均值法 最大值法!加权法就是GRAY==0.3*R+0.59*G+0.11*B均值法就是 GRAY==(R+G+B)/3最大值发就是max(R,G,B)A=imread('D:\lena.BMP');r=double(A(:,:,1));g=do...
分类:其他好文   时间:2015-06-11 12:24:11    阅读次数:157
页面实现验证码功能,点击“注册”按钮后,无论是否完成注册,验证码都能够自动刷新
要求页面实现验证码功能,点击“注册”按钮后,无论是否完成注册,验证码都能够自动刷新   function validteCode() {     var codes = new Array(4);       //     var colors = new Array("Red","Green","Gray","Blue","Maroon","Aqua","Fuchsia","Lim...
分类:其他好文   时间:2015-06-10 14:20:14    阅读次数:163
1068条   上一页 1 ... 87 88 89 90 91 ... 107 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!