搜索资源列表
二维小波变换
- 关于二维小波变换的程序 [精华] 说明:此算法重在概念,速度并不是很快。因为FOR循环的缘故。此程序从循环矩阵的观点出发,把圆周卷积和快速幅里叶变换建立了联系。实现了分解和无失真重构。它只做了一层分解,即将256x256图形分解成为64x64的四个图形,避免了使用WKEEP()的困惑。主要思想为用小波滤波器族构造正交阵W,变换写为B=W*A*W ,反变换为:A=W *A*W,这与所有正交变换无异。W为循环正交矩阵,因此可用FFT实现快速运算,难点就在重构矩阵上。若用矩阵概念明确,一个
particlefiltertotrackhand2.rar
- 使用粒子滤波进行手部跟踪,动态转移矩阵训练得到.使用B样条曲线对手外部轮廓拟合,并引入形状空间限制维数.详细理论参考active contour由michael isard和Andrew blake完成.,The use of particle filter for hand tracking, the dynamic transfer matrix has been training. The use of B-spline curve fitting against an external
ControlPt.rar
- 根据曲线上的型值点,用追赶法求反算出3次B样条的曲线控制顶点,再由3次B样条的系数矩阵设定均匀节点(50份)矢量求出50个点。 左键输入,完后右键完成输入,重新绘制,Under the curve data points, with catch-up method to calculate the anti-3 B-spline curve control points, and then 3 times by B-spline coefficient matrix of the node s
CircleFitByPratt
- Input: XY(n,2) is the array of coordinates of n points x(i)=XY(i,1), y(i)=XY(i,2) Output: Par = [a b R] is the fitting circle: center (a,b) and radius R Note: this fit does not use built-in matrix functions (except "mean"), so it can be
SurfCreat
- 根据给定的数据点阵,自动自成三次B样条曲面。可一次生成多张曲面。有源代码和执行文件。-According to the given data matrix, automatic self-cubic B-spline surfaces into. Can generate more than one surface. Source code and executable files.
glutEx1-vs6
- 首先,画一张有四条腿的桌子,其中四条腿的形状一样位置各异,所以先写一个画桌脚的函数Draw_Leg113(a,b,c),并通过参数把绘制的位置告诉函数。函数的实现较为简单,只需先push,后pop保护当前的矩阵,再经过移位,缩放z轴,绘制cube即可完成。 -First, draw a table has four legs, one of the four legs of different shapes, like the location, so the first leg draw
5[1][1].4
- 两个稀疏矩阵的三元组a,b输出,转置,相加及相乘-Two sparse matrix triple a, b output, transpose, add and multiply
Close3B
- 采用拟三对角矩阵反算出过一定点(大于等于3个)的控制顶点,再由这些控制顶点计算出3次B样条曲线,由于曲线封闭的,所以无需引入边界条件即可求得曲线。-Used to be anti-tridiagonal matrix calculated over a certain point (greater than or equal to 3) of the control points and then calculate the control points of these 3 B-spline
Microsoft
- 设计一个矩阵相乘的程序,首先从键盘输入两个矩阵a,b的内容,并输出两个矩阵,输出ab-1结果。-Design a matrix multiplication of the program first and foremost from a keyboard two matrix a, b, and output two matrix and output result. ab - 1
1438
- zju1438一道广度优先搜索题目,三维空间,陷阱很多。-You re in space. You want to get home. There are asteroids. You don t want to hit them. input Input to this problem will consist of a (non-empty) series of up to 100 data sets. Each data set will be formatted ac
2-DFFT
- 该实验的目的是开发一个 2-D FFT程序包。要求程序能完成下面的功能: (a) 用因子 (-1)x+y 乘以输入图像,以实现滤波的中心化变换; (b) 用一个实矩阵乘以一个复数矩阵,即用实矩阵中的元素同时乘以复数矩阵对应位置上的复数的实部与虚部。 可以通过调用两个图像的乘法程序来实现对应元素的相乘; (c) 计算反付立叶变换; (d) 结果乘以 (-1)x+y ,并取其实部; (e) 计算频谱。 -The purpose of this ex
histogram
- function H = histogram(X, B) 序列的直方图统计 X : 输入序列 B : 直方图统计区间的中间值,按从小到大排列。 H : 直方图统计结果 注:第一个统计区间的左边界是-inf,最后一个统计区间的右边界是inf。 扩展1:采用2种或以上方法实现该函数,在算法思路、内存使用、速度上应有明显不同。 扩展2:对输入的二维矩阵进行缩放。 -function H = histogram (X, B) Sequence histog
SVD_RT
- 目的:根据刚体变换理论计算rt矩阵,点云在旋转前后发生刚体变换,并不会对点云数据的模型进行改变 相对于最小二乘法的直接计算点云的方法,A=R*B,>> R=(A*B )*[inv(B*B )] 与该方法相比,该方法最直观, 但是会引起点云模型变形,该方法求出的rt,矩阵不是正交矩阵,而下面的方法则是刚体变换,不会引起点云数据 模型的变形-Objective: according to the theory of rigid body transformation ma
Desktop
- A.2 Open Image Files This function looks for x-ray images (.tif) in directory ‘dname’ and creates a movie of I(q) versus q and saves the corresponding 3D matrix. ‘TempA’ and ‘TempB’ are the slope and y-intercept of the ramp temperature profi
pcnn
- 利用pcnn,每当有一批像素对应的神经元点火,对像素值进行一次修正。第n次点火的所有神经元用矩阵B(n)表示, 已经点火的像素位置标记为‘1’,未点火的标记为‘0’。通过一个3*3的模板滑过B(n),判断若模板内的值全为‘1’或全为‘0’, 则这些像素值不进行处理,否则若模板中心的值为‘1’,则增加该位置的像素值的大小,中心值为‘0’,则减小像素值。该功能由xiugai(B,K)函数实现 Beta取负值来抑制周围的神经元点火,因为输入pcnn(X)的是模糊图像,抑制之后使处理的
5.5MATLAB
- 输入一副图像,检测图像的RGB,并输出其值的矩阵,将符合公式R>Rt,R>G>B,S>=(255-R)*S/R,等的图像点标记出来,并输出图像-A pair of input images, the image detecting RGB, and outputs the value of the matrix, would be consistent with the formula R> Rt, R> G> B, S> = (255-R)* S
dft
- 其中dft.m 是通过该程序同时输出图片1,2的R、G、B三通道的DFT正反变换图、相角图、幅度图,图片1,2的彩色DFT正反变换图以及DFT后图片1,2幅度相位信息置换后的彩色结果图。 dct.m是通过该程序显示“实验室用原图像”中的图片3的R、G、B三通道DCT正反变化对比图,变换系数图以及彩色DCT正反变换图。 compress.m是通过该程序输出图片3的保留n个DCT变换系数重构彩色结果图。需要说明的是其中决定保留系数个数n的mask矩阵需要手动更改。-Wherein
Diagonal and edge
- B正在做一个关于图像理解方面的研究,她的目标是识别图像中的轮廓。当前阶段,她希望能够识别正方形。图像用一个矩阵表示,矩阵的每个元素对应于图像中的一个像素点,值为0或1,0表示背景,1表示前景。需要寻找的正方形必须满足线宽为单像素,且大小至少为2x2。她希望你能帮她找出图像中满足如下条件的两类正方形的个数: 正方形的边与矩阵边缘平行; 正方形的边与矩阵对角线平行;(B is doing a research on image understanding, and her goal is to
Transform
- 包括以下函数 1)平移(tx,ty,tz)的矩阵Txyz void matTxyz(float Txyz[4][4],float tx,float ty,float tz) 2)绕x轴旋转theta角的矩阵Rx void matRx(float Rx[4][4],float theta) 3)绕y轴旋转theta角的矩阵Ry void matRy(float Ry[4][4],float theta) 4)绕z轴旋转theta角的矩阵Rz void matRz(float Rz[4][4]