自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

average diffusion distance

average diffusion distance implemented in matlab

2016-08-13

Farthest Sampling on 3D meshes with mesh kept based on diffusion distance

Farthest Sampling on 3D meshes with mesh kept based on diffusion distance implemented in matlab

2016-08-13

Fast Marching on 3D Meshes with diffusion distance

Fast Marching on 3D Meshes with diffusion distance implemented in matlab

2016-08-13

PCA implementation

PCA implementation in matlab

2016-08-06

Farthest Sampling on 3D meshes with mesh kept

Farthest Sampling on 3D meshes with mesh kept

2016-08-03

Fast Marching on 3D Meshes

implement fast marching on 3d meshes in matlab

2016-07-31

farthest point sampling

implement farthest point sampling in matlab

2016-07-25

2D Fast Marching Computations

implement 2d fast marching computations in matalb

2016-07-25

princal component analysis implemented in matlab

princal component analysis implemented in matlab

2016-07-09

as-conformal-as-possible surface registration

implement paper "as-conformal-as-possible surface registraion" in matlab

2016-07-07

position based dynamics

position based dynamics implemented in matlab

2016-07-05

mixed finite elements

implement mixed finite elements in matlab

2016-06-23

laplacian interpolation

implement laplacian interpolation in matlab

2016-06-23

libmysqlclient.so.16

solve QSqlDatabase: QMYSQL driver not loaded problem

2016-05-17

GLM显示带纹理的OBJ

GLM显示带纹理的OBJ

2016-02-04

2d perlin noise ocean

采用二维柏林噪声模拟的海洋 .zip

2016-01-09

softmax regression

softmax regression 源代码 源码用的armadillo数学库,如何安装armadillo数学库,请看我的博客 http://blog.csdn.net/seamanj/article/details/49892715

2015-11-20

shadow Mapping 阴影投影

shadow Mapping 阴影投影 主要介绍阴影投影实现的原理 和 实现方法

2014-05-12

3D_Shader_DisplacementMapping_Sphere.rar

移位贴图(Displacement Mapping)的实现

2013-09-05

3D_Shader_ProjectivetTexturing.rar

投影贴图(projective texturing)的实现

2013-09-01

3D_Shader_CubeEnvMapping.rar

立方体环境映射(cubic environment mapping)的实现,其中包括了反射,折射,菲涅尔效应,色散等知识.

2013-08-29

3D_Shader_NormalMapping.rar

3D 法线贴图(normal mapping)的实现

2013-08-15

3D_Shader_SphereEnvMapping_by_seamanj

3D球形环境映射(3D Sphere environment mapping)的实现

2013-08-15

3D_Shader_SphereEnvMapping.rar

球形环境映射(sphere environment mappint)原理的实现

2013-07-23

USB监控器.rar

USB监控器_去网页打开 使用到的工具,OD和W32DASM

2013-06-14

texture&blending

DX 混合 纹理操作 包括多重纹理的操作,以及BACKBUFFER的读取

2013-05-03

3D_Math_Quaternion

四元组的应用 包含: 1.从"按定轴旋转某角度"建立四元组 2.四元组的球形插值插值 3.四元组与3x3旋转矩阵的相互转换

2013-03-08

3D_Shader_Expansion&Shrinkage;_by_Seamanj

3D_Shader_Expansion&Shrinkage;_by_Seamanj

2013-03-08

3D_Math_Solve_Matrix_Inverse_by_Seamanj.rar

矩阵各种求逆的方法 包括: 1.用矩阵行列式求逆 2.用高斯-约当消元法求逆 3.用LU分解求逆

2013-03-06

3D_Math_Solve_Matrix_Inverse.rar

矩阵各种求逆的方法 包括: 1.用矩阵行列式求逆 2.用高斯-约当消元法求逆 3.用LU分解求逆

2013-03-06

3D_Math_Quaternion_by_Seamanj.rar

四元组应用的实现 包括了 1.从"按指定轴旋转多少度"建立四元组 2.四元组的球形插值 3.四元组与3x3旋转矩阵的相互转换

2013-03-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除