(2012-04-22 16:28:55)转载▼标签:css3阴影分类:CSS3AndHTML5css3 box-shadow 内阴影与外阴影1-box-shadow具体使用方法,语法:E {box-shadow:inset x-offset y-offset blur-radius spread....
分类:
Web程序 时间:
2015-01-22 13:11:54
阅读次数:
154
//这个方法需要self调用,相当于加工一张图片- (UIImage *)blurryImage:(UIImage *)image withBlurLevel:(CGFloat)blur{ //模糊度, if ((blur 2.0f)) { blur = 0.5f; } //box...
分类:
移动开发 时间:
2015-01-15 19:58:25
阅读次数:
177
1.readonly="true"<inputtype="text"readonly="true"/>2.disabled="true"<inputtype="text"disabled="true"/>3.当focus触发时,立刻blur,使它无法获得焦点。<inputtype="text"onfocus="this.blur()"readonly="true"/>readonly/disabled都可以不跟参数,默认..
分类:
Web程序 时间:
2015-01-15 01:52:54
阅读次数:
781
方法1: onfocus=this.blur()方法2:readonly方法3: disabled
分类:
其他好文 时间:
2015-01-12 11:34:46
阅读次数:
136
UIBlurEffect *blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];UIVisualEffectView *effectview = [[UIVisualEffectView alloc] initWithEffect:...
分类:
其他好文 时间:
2015-01-07 22:06:07
阅读次数:
194
onfocus="this.blur()"解决低版本IE点击后留下黑色虚线框问题:onfocus="this.blur()"加在标签中使用。职工平均工资职级平均工资对比
分类:
其他好文 时间:
2015-01-07 14:52:10
阅读次数:
107
1. DOM的概念 D:Document. O:Object.对象可以分为三类, 1. 用户自定义的对象。 2. 内建对象,如Array,Math,Date。 3. 宿主对象,浏览器提供的对象。如window对象,方法例如window.open,window.blur. M:...
分类:
其他好文 时间:
2015-01-02 10:57:51
阅读次数:
128
修改了之前的滤波算法,采用了copyMakeBorder扩充边界像素,给处理边界像素带来了很大的方便
void Blur(const Mat &image_Src, Mat &image_Dst, Size size_Aperture)
{
/////////////////////////////step 1.重新分配图像(如果需要)/////////////////////////...
分类:
其他好文 时间:
2015-01-02 09:47:58
阅读次数:
176
【Motion Blur】 此篇介绍最简单的全局Motion Blur。算法是将当前帧与前一帧按某一比例混合。这是一个过程,例如有10帧,在第1帧中,只有第1帧原图,第2帧中有1、2帧原图,第3帧中会有1、2、3帧原图,依次类推。 假设混合比较为a,即原图为1-a,累积图为a,那么1帧新进入...
分类:
其他好文 时间:
2014-12-31 20:06:43
阅读次数:
267
CSS3中新增属性-阴影,可以做出很多漂亮的效果。文字阴影text-shadowtext-shadow属性值的顺序:text-shadow: h-shadow v-shadow blur color;参数分别表示水平阴影位置,垂直阴影位置,模糊半径,阴影颜色。一个栗子: CSS3阴影 ...
分类:
Web程序 时间:
2014-12-30 20:33:18
阅读次数:
204