码迷,mamicode.com
首页 >  
搜索关键字:mat    ( 14954个结果
如何在ggplot2中使用spline平滑算法
smooth.spline2 <- function(formula, data, ...) {mat <- model.frame(formula, data)smooth.spline(mat[, 2], mat[, 1])}predictdf.smooth.spline <- function...
分类:其他好文   时间:2014-06-28 14:58:36    阅读次数:351
[Unity菜鸟] 材质
1. 材质定义:2. 把材质都改成支持透明通道 因为物体太多了,比如树跟房子材质必须用不一样的。所以办法还是你得改每个材质的Shader,都改成支持透明通道的。 在Project的搜索窗口输入t: material 然后材质就都出来了。 然后全部选定,把shader 改成Particle/Alp.....
分类:其他好文   时间:2014-06-28 10:49:41    阅读次数:215
TLD跟踪算法优化(一)并行化
才学疏浅,只言片语,只求志同道的朋友一起交流研究。        并行化不算是算法的改进,只是追求运行的实时性。        简要列举一个例子:        TLD算法的C++版本源码里: LKTracker::trackf2f(const Mat& img1, const Mat& img2,vector &points1, vector &points2){ bool LKT...
分类:其他好文   时间:2014-06-26 07:33:40    阅读次数:183
opencv-边缘检测
// 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
265656555
证明:令$d = \mathop {inf}\limits_{y \in M} \left\| {x - y} \right\|$,由下确界的定义知,存在${x_n} \in M$,使得\[\mathop {\lim }\limits_{n \to \infty } \left\| {{x_n} -...
分类:其他好文   时间:2014-06-25 13:12:36    阅读次数:263
2656565
证明:令$d = \mathop {inf}\limits_{y \in M} \left\| {x - y} \right\|$,由下确界的定义知,存在${x_n} \in M$,使得\[\mathop {\lim }\limits_{n \to \infty } \left\| {{x_n} -...
分类:其他好文   时间:2014-06-25 09:39:09    阅读次数:263
Bitmap BitmapData
var sp:Sprite=new Sprite(); sp.graphics.beginFill(0xffccdd); sp.graphics.drawRect(0,0,100,100); sp.graphics.beginFill(0x33eedd); sp.graphics.d...
分类:其他好文   时间:2014-06-24 12:13:29    阅读次数:191
poj-3744-Scout YYF I-矩阵乘法
f[i]=f[i-1]*p+f[i-2]*(1-p); 正好可以用矩阵加速。。。。 #include #include #include #include #include using namespace std; struct matr { double mat[3][3]; friend matr operator *(const matr a,const matr b) ...
分类:其他好文   时间:2014-06-22 18:23:06    阅读次数:173
[Android][Memory Leak] InputMethodManager内存泄露现象及解决
[Android][Memory Leak]InputMethodManager内存泄露现象及解决 现象:          在特定的机型天语k_touch_v9机型上,某个界面上出现InputMethodManager持有一Activity,导致该Activity无法回收.如果该Activity再次被打开,则旧的会释放掉,但新打开的会被继续持有无法释放回收.MAT显示Path to gc...
分类:移动开发   时间:2014-06-22 18:17:48    阅读次数:344
[LeetCode] Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:其他好文   时间:2014-06-21 07:17:47    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!