- 博客(16)
- 资源 (31)
- 收藏
- 关注
原创 display image without margin in matlab
iptsetpref('ImshowBorder','tight')figureimshow('_1.png');
2016-12-29 20:29:03 514
原创 Multithread to read one file
import threadingimport Queue#Number of threadsn_thread = 5#Create queuequeue = Queue.Queue()class ThreadClass(threading.Thread): def __init__(self, queue): threading.Thread.__init_
2016-12-22 21:37:58 416
转载 MULTITHREADING - PRODUCER AND CONSUMER WITH QUEUE
QueueIn this chapter, we'll implement another version of Producer and Consumer code with Queue(see Condition objects with producer and consumer).In the following example, the Consumer and Pr
2016-12-22 21:37:11 369
转载 python多线程
线程和进程计算机,用于计算的机器。计算机的核心是CPU,在现在多核心的电脑很常见了。为了充分利用cpu核心做计算任务,程序实现了多线程模型。通过多线程实现多任务的并行执行。现在的操作系统多是多任务操作系统。每个应用程序都有一个自己的进程。操作系统会为这些进程分配一些执行资源,例如内存空间等。在进程中,又可以创建一些线程,他们共享这些内存空间,并由操作系统调用,以便并行计算。
2016-12-22 11:21:13 768
原创 暴力破解黄巴登录网站
在APP上申请了一个黄巴帐号,由于email输错了,导致买了七天的票不能使用,想找回, 公司却说只能找回密码,不能找回帐号,黄巴的网站也像一坨屎,居然email不经过验证直接可以用,导致你输错了都不知道,于是不甘心白白亏掉自己的12镑于是决定,暴力破解之。先用Python生成帐号字典:import osfrom string import ascii_lowercase
2016-12-22 10:56:17 17056 1
转载 Python-第三方库requests详解
Requests 是用Python语言编写,基于 urllib,采用 Apache2 Licensed 开源协议的 HTTP 库。它比 urllib 更加方便,可以节约我们大量的工作,完全满足 HTTP 测试需求。Requests 的哲学是以 PEP 20 的习语为中心开发的,所以它比 urllib 更加 Pythoner。更重要的一点是它支持 Python3 哦!Beautifu
2016-12-21 23:51:03 739
转载 Minimizing quadratic energies with constant constraints
There are a many different ways to minimize a quadratic energy with constant constraints. I wrote out the exact steps for three such ways:Separate the energy into knowns and unknowns, then solve for t
2016-12-21 19:58:31 395
原创 cotangent matrix or laplacian mesh operator
Actually, stiffness matrix can be transformed to cotangent matrix. In regard to stiffness matrix please refer http://blog.csdn.net/seamanj/article/details/51359991https://uk.mathworks.com/ma
2016-12-21 00:41:04 1288
原创 laplacian matrix
As to the introduction of laplacian matrix, please refer to http://blog.csdn.net/seamanj/article/details/53026157http://www.numerical-tours.com/matlab/C:\TestMatlab\numerical-tours-maste
2016-12-21 00:29:06 1789
原创 ARAP
gptoolbox\mesh\arap.m先以一个三角形为例“arap.m”Covariance Matrixdata.CSM = covariance_scatter_matrix(ref_V,ref_F,’Energy’,energy);In function covariance_scatter_matrix, it constructed a covarience scatter matri
2016-12-20 07:20:46 5465
原创 Laplace-Beltrami operator的理解
laplace-beltrami operator 是 laplace operator在riemann manifolds上的拓展. 至于他们两到底有什么区别和联系,请看[2]中的一段话: 可以看到, laplace-beltrami operator与普通laplace operator的区别就在于一个metric G,那么这个metric G究竟是个什么东西?注意这里的局部坐标系底面的两个
2016-12-14 00:11:23 9936
原创 conformal mapping的理解
先来复习下高数里面的第二类积分变换 以前对conformal mapping的理解都是盲人摸象, 片面局部的. 因为看的资料都是从不同的角度对解释它的. 随着阅历的丰富和理解的深入, 现已能将原来零星的知识点串连起来并找出其中的关系, 于是开篇博客讲讲自己对conformal mapping的学习历程以及深化后的理解, 好了, 开始正题.以前看的资料呢对conformal mapping有
2016-12-11 22:29:01 7698
原创 第二类曲面积分
先看高数曲面积分的定义 推导下如何将曲面上的面元投影到xOy平面上, 曲面z−z(x,y)=0z-z(x,y)=0 的法向量为(−zx,−zy,1)(-z_x, -z_y, 1), 单位化后与xOy平面的法向量(0,0,1)(0,0,1)相乘得到cosθ=1/1+z2x+z2y−−−−−−−−−√cos \theta = 1 / \sqrt{1+z_x^2 + z_y^2}dxdy=cosθdSd
2016-12-09 03:07:21 7164 2
原创 as-conformal-as-possible discrete volumetric mapping
cauchy-riemann equation 3.1中的cauchy-riemann equation中的fxf_x和fyf_y就相当于这里的uu和vv 这个方程呢是相对于每个点来讲的, f的三个分量可以看作在每个点处的偏移量3.2 公式(1)是tetrahedron的插值公式对公式(1)求导,得到JJ, 结果3.1中的D\mathscr D从而可以推出公式(2)中的DD公式(3)的推导:从上
2016-12-06 22:57:27 437
原创 Hierarchical deformation of Locally Rigid Meshes
这篇文章的主要思想是, 先通过 edge collapse 将 mesh 简化, 然后呢通过变形简化的模型 , 重建出复杂的模型, 行为有点类似于embedding deformation那篇2.1 找每个点的EsE_s, 用来决定哪条边被退化, 我估计边退化这里取的是中点2.2 EcE_c呢是指密集点ckc_k在constrain的约束下(实际上就是handle的控制下)移动到dkd_k后,它们
2016-12-05 20:45:17 390
原创 各种norm的理解
0-norm 非零元素的个数应用,比如要想找出不重叠的数据, 那么表示数据的向量应该尽量正交, 而正交呢就是向量相乘应该为0, 也就是让非零元素的个数尽量少, 所以可以min 0-norm去设计优化函数, 0-norm一般不能解,通常会用1-norm去解1-norm是元素绝对值相加, 以二维来讲所以优化的时候会优化到棱形的四个点上, 所以1-norm的优化结果就是大的有值, 小的没值, 应用: ...
2016-12-05 20:36:29 5791
Farthest Sampling on 3D meshes with mesh kept based on diffusion distance
2016-08-13
Fast Marching on 3D Meshes with diffusion distance
2016-08-13
Farthest Sampling on 3D meshes with mesh kept
2016-08-03
princal component analysis implemented in matlab
2016-07-09
as-conformal-as-possible surface registration
2016-07-07
softmax regression
2015-11-20
3D_Shader_CubeEnvMapping.rar
2013-08-29
3D_Math_Solve_Matrix_Inverse_by_Seamanj.rar
2013-03-06
3D_Math_Quaternion_by_Seamanj.rar
2013-03-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人