- 博客(370)
- 资源 (9)
- 收藏
- 关注
翻译 Correlation based similarity measures-Summary
Correlation based matching typically produces dense depth maps by calculating the disparity at each pixel within a neighborhood. This is achieved by taking a square window of certain size around the p
2015-06-18 10:13:27
3621
1
转载 最小二乘的理论依据
在做数据建模或者曲线拟合的时候,我们通常会用到最小二乘法。假设作为数学模型的函数为y=f(x,S),其中S为参数集向量(即一系列的参数),x为自变量。在这种情况下,为了求出S,需要对下式进行极小化: 即:对已知的一个数据集xi(i=1,2,⋯,n),能极小化该式的S就是最优参数。但是这个式子是怎么来的呢?它是从最大似然估计方法得到的:对参数S,能使已知数据集发生的概率越
2015-06-15 18:02:19
3971
转载 最大似然估计(Maximum likelihood estimation)
最大似然估计提供了一种给定观察数据来评估模型参数的方法,即:“模型已定,参数未知”。简单而言,假设我们要统计全国人口的身高,首先假设这个身高服从服从正态分布,但是该分布的均值与方差未知。我们没有人力与物力去统计全国每个人的身高,但是可以通过采样,获取部分人的身高,然后通过最大似然估计来获取上述假设中的正态分布的均值与方差。 最大似然估计中采样需满足一个很重要的假设,就是所有的采样都是
2015-06-15 12:10:23
2749
转载 从Essential Matrix估计R,T
clccleart=rand(3,1)R=rodrigues(rand(3,1))T=[0 -t(3) t(2); t(3) 0 -t(1); -t(2) t(1) 0];E=T*R[U,S,V]=svd(E);disp('S?=?diag(1,1,0)')SW=[0 -1 0; 1 0 0; 0 0 1];P1=[U*W*V' U(:,3
2015-06-12 18:10:57
4849
1
原创 Levenberg–Marquardt algorithm
function [x,minf] = minLM(f,x0,beta,u,v,var,eps)format long;if nargin == 6 eps = 1.0e-6;endS = transpose(f)*f;k = length(f);n = length(x0);x0 = transpose(x0);A = jacobian(f,var);tol = 1;
2015-06-12 16:27:39
3819
原创 Gauss-Newton algorithm
function [x,minf] = minGN(f,x0,var,eps)format long;if nargin == 3 eps = 1.0e-6;endS = transpose(f)*f;k = length(f);n = length(x0);x0 = transpose(x0);tol = 1;A = jacobian(f,var);while to
2015-06-12 16:04:44
3753
翻译 Lucas-Kanade algorithm
As we own quite powerful process capabilities, it’s possible to put a webcam pointing to the ground and to track points in order not to drift along x and y. In order to do this, we could use the Lucas
2015-06-12 15:42:27
3751
转载 距离和相似性度量
在做分类时常常需要估算不同样本之间的相似性度量(Similarity Measurement),这时通常采用的方法就是计算样本间的“距离”(Distance)。采用什么样的方法计算距离是很讲究,甚至关系到分类的正确与否。 本文的目的就是对常用的相似性度量作一个总结。本文目录:1. 欧氏距离2. 曼哈顿距离3. 切比雪夫距离4. 闵可夫斯
2015-05-22 13:42:31
2148
翻译 What does the distance attribute in DMatches mean?
In this context, a feature is a point of interest on the image. In order to compare features, you "describe" them using a feature detector. Each feature is then associated to a descriptor. When you
2015-05-21 20:05:10
2310
转载 矩阵特征值分解与奇异值分解含义解析及应用
特征值与特征向量的几何意义矩阵的乘法是什么,别只告诉我只是“前一个矩阵的行乘以后一个矩阵的列”,还会一点的可能还会说“前一个矩阵的列数等于后一个矩阵的行数才能相乘”,然而,这里却会和你说——那都是表象。矩阵乘法真正的含义是变换,我们学《线性代数》一开始就学行变换列变换,那才是线代的核心——别会了点猫腻就忘了本——对,矩阵乘法 就是线性变换,若以其中一个向量A为中心,则B的作
2015-04-30 11:34:24
2735
原创 Android -- 获取CPU使用率
public static float getProcessCpuRate() { float totalCpuTime1 = getTotalCpuTime(); float processCpuTime1 = getAppCpuTime(); try { Thread.sleep(360);
2015-04-12 11:53:22
4985
原创 IOS -- 利用URL Scheme启动第三方应用
以启动Instagram为例Custom URL SchemeOpening instagram://, followed by one of the following parameters, will open our app and perform a custom action. For example, for camera, you would direct u
2015-04-11 12:25:22
4348
翻译 From feature descriptors to deep learning: 20 years of computer vision
We all know that deep convolutional neural networks have produced some stellar results on object detection and recognition benchmarks in the past two years (2012-2014), so you might wonder: what did t
2015-03-27 18:52:10
3137
翻译 A Byte of Python
1. Welcome2. Dedication3. Preface4. Introduction5. Installation6. First Steps7. Basics8. Operators and Expressions9. Control Flow10. Functions11. Modules12. Data Structures13. Problem Solving14. Objec
2015-02-24 19:19:29
3463
转载 机器学习和深度学习学习资料
比较全面的收集了机器学习的介绍文章,从感知机、神经网络、决策树、SVM、Adaboost到随机森林、Deep Learning。《机器学习经典论文/survey合集》介绍:看题目你已经知道了是什么内容,没错。里面有很多经典的机器学习论文值得仔细与反复的阅读。《Brief History of Machine Learning》33介绍:这是一篇介绍机器学习历史的文章,介绍很全面
2015-01-02 13:58:48
2256
原创 Android -- 采用zxing生成二维码
首先在grandle里面添加zxing的库引用compile 'com.google.zxing:core:3.1.0'生成二维码静态类,返回一张二维码的Bitmappublic class QrCodeUtil { // 生成QR图 public static Bitmap getQrCodeImage(int QR_WIDTH, int QR_HEIG
2014-12-21 17:36:02
2436
原创 Android -- 回调函数的使用
public class CallBackTools { //接口 public interface OnListener { void execute(); } //声明接口 OnListener callBack; //被调用,执行接口实现 public void callListen() {
2014-12-21 17:27:18
2037
原创 Android -- BroadCastReceiver的简单使用
//首先新建一个继承自BroadcastReceiver的广播监听类class StartActiviryReceiver extends BroadcastReceiver { public final static String intentKey = "startTestActivity"; @Override public void on
2014-12-21 17:13:17
2090
原创 Android -- 采用系统相册浏览指定路径下照片
//打开系统相册Intent intent=new Intent(Intent.ACTION_GET_CONTENT);intent.setType("image/*");startActivity(intent);//打开指定的一张照片Intent intent = new Intent();intent.setAction(android.content.Intent.ACTIO
2014-12-21 16:59:27
6300
1
原创 Android -- 使用广播监听Home键
//广播监听事件类public class HomeKeyEventBroadCastReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { //do what you want System.e
2014-12-21 16:47:03
3606
原创 Android -- 查询手机上所有的能分享图片或者文字的App packageName
//方法一 查找分享app class namepublic static Map getShareList(final Activity mActivity){ final Map appInfo = new HashMap(); List appList = getShareTargets(mActivity); String[]items = null;
2014-12-13 22:15:26
1249
原创 Android -- Sharedpreferences
//采用android sharedpreferences 进行数据的保存读取SharedPreferences sharedPreferences;private final String mediaShare = "test";private void InitMediaSharePreference() { sharedPreferences = this.getShared
2014-12-13 22:12:26
797
原创 Android -- 播放视频的两种形式
1. 采用Intent调用外部播放器进行视频播放Intent intent = new Intent(Intent.ACTION_VIEW);String type = "video/mp4";Uri uri = Uri.parse("/sdcard/123.mp4");intent.setDataAndType(uri, type);startActivity(intent);
2014-12-13 22:07:35
1214
原创 OpenCV -- 采用Python打开摄像头并截图
import cv2.cv as cvimport timeif __name__ == '__main__': cv.NamedWindow("camera",1) # capture = cv.CaptureFromCAM(0) #开启摄像头 capture = cv.CaptureFromFile("Video.avi") #打开一
2014-12-12 13:49:56
17299
1
原创 Android -- 几种保存成jpeg文件的形式
//1.采用NV21格式 YuvImage类进行保存 效率很高String fileName = "IMG_" + String.valueOf(index) + ".jpg";File sdRoot = Environment.getExternalStorageDirectory();String dir = "/picture/";File mkDir = new
2014-12-10 22:49:53
3617
原创 Android -- 将NV21图像保存成JPEG
//保存一张照片String fileName = "IMG_" + String.valueOf(index) + ".jpg"; //jpeg文件名定义File sdRoot = Environment.getExternalStorageDirectory(); //系统路径String dir = "/jpeg/"; //文件夹名File mkDir = new Fil
2014-11-23 17:08:09
15794
1
原创 Java -- Tcp Socket的使用
客户端/******************** Client **************************/public void startSocket() { new Thread(new initSocket()).start();}private Socket sendClient = null;private OutputStream sendO
2014-11-23 16:54:45
977
原创 Java -- FileInputStream与FileOutputStream的简单使用
本地文件读写编程的基本过程为: ① 生成文件流对象(对文件读操作时应该为FileInputStream类,而文件写应该为FileOutputStream类);② 调用FileInputStream或FileOutputStream类中的功能函数如read()、write(int b)等)读写文件内容;③ 关闭文件(close())。 //读取某路径下的文件Fi
2014-11-23 16:47:34
1315
原创 Java -- 保存byte[] 数据
//创建文件,将byte数据直接进行保存private RandomAccessFile file_test;try { File file = new File("/sdcard/data.yuv"); if (file.exists()) file.delete(); file_test = new RandomAccessFile(file, "rw");} catch (
2014-11-23 16:30:51
5595
翻译 4:2:0 Video Pixel Formats
To decode compressed 4:2:0 video, use one of the following uncompressed pixel formats.Pixel FormatDescriptionYUY2As described in 4:2:2 Video Pixel Formats, except that two li
2014-11-05 19:39:36
943
翻译 High Performance Browser Networking
Table of ContentsForewordPrefaceAbout This BookConventions Used in This BookSafari® Books OnlineHow to Contact UsContent UpdatesMay 23, 2014I. Networking 1011. Primer on Latency an
2014-09-18 21:36:44
1220
翻译 WebRTC in the real world: STUN, TURN and signaling
What is signaling?Signaling is the process of coordinating communication. In order for a WebRTC application to set up a 'call', its clients need to exchange information:Session control message
2014-08-30 23:54:02
2711
翻译 介绍 JSON
JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。它基于JavaScript Programming Language,Standard ECMA-262 3rd Edition - December 1999的一个子集。JSON采用完全独立于语言的文本格式,但是也使用了类似于C语言家族的习惯(包括C,
2014-08-25 11:07:36
841
原创 Android MediaRecorder
MediaRecorder recorder;Camera camera;SurfaceView preview;SurfaceHolder holder;boolean isRecording = false;String TAG = "Evolution Camera";int frameRate = 30;public static final int MEDIA_TYPE
2014-08-05 11:51:17
1177
翻译 Streaming Video with RTSP and RTP
The CodeIn this lab you will implement a streaming video server and client that communicate using the Real-Time Streaming Protocol (RTSP) and send data using the Real-time Transfer Protocol (RTP). Y
2014-08-04 09:39:10
3100
转载 Android使用LocalSocket抓取数据
LocalSocket类描述:在Unix域名下创建一个(非服务器)Socket,这种Socket和java.net.Socket不同贴上一个LocalSocket简单应用package com.snowice.local;import java.io.IOException;import java.io.InputStream;import java.io.Ou
2014-08-01 10:18:22
819
转载 Android开发者应该深入学习的10个开源应用项目
1.Android团队提供的示例项目如果不是从学习Android SDK中提供的那些样例代码开始,可能没有更好的方法来掌握在Android这个框架上开发。由Android的核心开发团队提供了15个优秀的示例项目,包含了游戏、图像处理、时间显示、开始菜单快捷方式等。地址:http://code.google.com/p/apps-for-android/2.Remote Dr
2014-07-28 11:30:44
611
转载 VLC简介及使用说明
一、简介 VLC的全名是Video Lan Client,是一个开源的、跨平台的视频播放器。VLC支持大量的音视频传输、封装和编码格式,完整的功能特性列表可以在这里获得http://www.videolan.org/vlc/features.html,下面给出一个简要的不完整的列表: 操作系统:Windows、WinCE、Linux、MacOSX、BEOS、BSD 访
2014-07-26 22:36:43
3881
翻译 3 Possible Ways for Real-Time Video Streaming Between Camera and Android Device Read more at http://
You can use your robot to send real-time video images, and this could be a very interesting DIY robotic application. In this article, we make an overview of three possible ways for real-time streaming
2014-07-24 15:46:51
1711
转载 视频会议十大开源项目
在视频会议领域,有许多可以值得参考的开源项目,这些开源项目有的是协议栈、有的是编码器或者是传输协议,由于视频会议系统是一个综合性的应用系统,里面包含功能较多,如能把这些开源项目选择性的加入我们的视频会议开发当中,我们的开发效率肯定会事半功倍,下面我们列举一下视频会议相关的十大开源项目,并对其重要性及优缺点做一个全面的评价与排名。1、 OpenH323项目 (★★★★★)
2014-07-23 14:51:04
3162
Bar code symbology 二维码原理解析
2014-02-16
Unity加载和内存管理全面理解
2013-04-15
Unity 3D 摄像机 Clear Flags和Culling Mask属性用途详解
2013-04-13
Walking robot's future—典型行走机器人发展趋势分析
2011-12-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人