09 2012 档案

人脸数据库汇总【转】
摘要:■Annotated Database (Hand, Meat, LV Cardiac, IMM face) (http://www2.imm.dtu.dk/~aam/)■AR Face Database (http://cobweb.ecn.purdue.edu/~aleix/aleix_face_DB.html)■BioID Face Database (http://www.bioid.com/downloads/facedb/index.php)■Caltech Computational Vision Group Archive (Cars, Motorcycles, Airplan 阅读全文

posted @ 2012-09-18 11:55 圣光 阅读(316) 评论(0) 推荐(0)

图像二值形态学——腐蚀和膨胀的C语言实现
摘要:数学形态学是法国和德国科学家在研究岩石结构时建立的一门科学。形态学的用途主要是获取物体拓扑和结构信息,通过物体和结构元素相互作用的某些运算,得到物体更本质的形态。在图像处理中的应用主要是:利用形态学的基本运算,对图像进行观察和处理,从而达到改善图像质量的目的;描述和定义图像的各种几何参数和特征,如面积、周长、连通度、颗粒度、骨架和方向性等。关于形态学的具体描述和数学形式化的定义可以从文章底部的参考资料中获得。最近的实验中需要对二值图像进行减噪处理,图像形态学中的腐蚀和膨胀能很好的解决此问题。如果在腐蚀和膨胀操作前,对灰度图像做一次滤波,减噪效果将更明显。腐蚀的具体操作是:用一个结构元素(一般是 阅读全文

posted @ 2012-09-09 21:41 圣光 阅读(850) 评论(0) 推荐(0)

Read and write an image's pixels using GetDIBits and SetDIBits
摘要:Initialize a BITMAPINFO structure to describe the image. Redimension an array of Byte to hold pixel data. The array's entries will contain:pixels(1, X, Y)Blue component of pixel (X, Y)pixels(2, X, Y)Green component of pixel (X, Y)pixels(3, X, Y)Red component of pixel (X, Y)pixels(4, X, Y)Padding 阅读全文

posted @ 2012-09-08 15:40 圣光 阅读(330) 评论(0) 推荐(0)

JS获取HTML元素属性【转】
摘要:<script type="text/javascript"> function test() { var d1 = document.getElementById('d1'); var p1 = document.getElementById('p1'); alert(d1.alt); // 仅IE支持 alert(p1.alt); // 仅IE支持 alert(d1.getAttribute('alt')); // IE、FF、谷歌浏览器都支持 alert(p1.getAttribute('alt 阅读全文

posted @ 2012-09-08 06:27 圣光 阅读(455) 评论(0) 推荐(0)

Example for dummy surface view
摘要://Here is the example for dummy surface view.public void takePictureNoPreview(Context context) { // open back facing camera by default Camera myCamera=Camera.open(); if(myCamera!=null) { try { //set camera parameters if you want to //... // here, the ... 阅读全文

posted @ 2012-09-07 07:58 圣光 阅读(563) 评论(0) 推荐(0)

Eclipse 自动提示代码功能消失的解决方法【转】
摘要:如果你在Eclipse中,输入“.”后没有代码提示出现,请看下面的解决步骤。1.window->Preferences->Java->Editor->Content Assist->Advanced上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中把Other Java Proposals选项打上勾:(如下图)2.window->Preferences->Java->Editor->content assist把E 阅读全文

posted @ 2012-09-06 03:49 圣光 阅读(375) 评论(0) 推荐(0)

android 界面切换【转】
摘要:在Android中可以利用两种方式切换界面:1、调用另外一个独立的Activity,2、利用setContentView实现界面转换。1、利用setContentView方法:新建一个layout在两个layout中用分别初始化两个button用来触发切换这两个layout的事件,在各自的SetOnclickListenter函数中处理,实现跳转源码如下:m_button.setOnClickListener(newButton.OnClickListener(){//按键时间处理 public void onClick(Viewv) { jumpToLayout2();//由界面一跳转到界面 阅读全文

posted @ 2012-09-06 02:16 圣光 阅读(306) 评论(0) 推荐(0)

导航