搜索资源列表
huffman
- matlab实现huffman编码 1. norm2huff.m (encoder function) 2. huff2norm.m (decoder function) 3. frequency.m (private function) 4. huffcodes2bin.m (binary rapresentation of huffman codes) 5. huffman_bench1.m (benchmark) 6. huffman_demo1.m (dem
FullSceneMotionBlur_src_demo
- The texture used for the motion blur is d In the demo application, the following keys are usable: * s - for changing the rendered scene. * t - for changing the FirstRenderTexture flag that is passed to the RenderToMotionBlurTexture procedu
hw01
- 本程序实现了一个二维图元的移动、旋转、缩放功能。采用设备坐标系。 首先输入多边形,以三角形为例: 1、输入多边形顶点个数:3 2、输入第一个顶点坐标:200 130 3、输入第二个顶点坐标:100 300 4、输入第三个顶点坐标:70 100 而后,输入: m :表示移动多边形。接着输入x方向移动大小和y方向移动大小,均为设备坐标系下的像素数; r :表示选装多边形。接着输入旋转角度,比如:20; s :表示缩放多边形。接着输入x方向比例和y
convolve2
- CONVOLVE2可以用于任何CONV2使用,采取同样的参数并返回一个小的公差范围内同样结果。加速计算是通过使用面膜中的奇异值分解,表示为外产品总结一下。这些都可以有效地计算与行和列向量的卷积。 CONV2是用来从事这项运动。 可分面具是一个特殊情况,并受CONVOLVE2处理多达FILTER2一样。许多不属于其他口罩可分低等级(如Gabor函数口罩),并更有效地处理CONVOLVE2。 该功能也将计算出降秩逼近一个给定的面具如果需要的话,将使用此是否会加速计算。一个额外
surface2volume
- surface2volume SURFACE2VOLUME convert a surface volume to a solid volume OV = surface2volume(fv) creates a volume block (logical) in which every voxel which is inside the given surface fv is set to 1. The structure fv defines the surfa
wavelet_haar
- mra_mallat_2D_iterate.m实现二维图像的分解,mra_mallat_2D_merge_iterate.m实现二维图像的重构。程序针对2^N*2^M像素的图像设计,可以实现任意次数的分解与重构。也很很方便改写成针对任意像素的程序。-mra_mallat_2D_iterate.m decomposition of the two-dimensional image, mra_mallat_2D_merge_iterate.m two-dimensional image recon
haarmtx.m
- The Haar transform can be expressed in the matrix form as T = HIHT (inverse transform HTTH) where I is an NxN image matrix, H is an NxN transformation matrix and T is the resulting NxN transform. For Haar transform, the transformation matrix H c
MyBarChartTest
- 基于MFC工程柱状图 柱状图类(CMyBarChart)的两个文件(MyBarChart cpp MyBarChart h)不依赖于具体的工程 将文件添加至自己的工程即可运行 控件内柱子所在位置 大小 可根据控件大小自适应调整大小及位置 每根柱子高度为相邻柱子之间间隙 设控件总宽度为W 柱子个数为N 那么间隙宽度 X W 3 N + 1 柱子高度为 Y 2 X 2 W 3 N + 1 使用步骤: 1 申明对象 CMyBarCh
Pyramid
- Pyramid.zip包含 1、pyramid.fig界面 2、高斯金字塔通过GPReduce.m函数实现 拉普拉斯金字塔由GPExpand.m函数实现 3、用imshow()显示拉普拉斯金字塔时,如果图像矩阵数据类型为double,会显示为彩色;而通过uint8()将类型强制转换为8位无符号整数,图像显示就为黑白了。 4、采用256*256的lena彩色图像-Pyramid.zip coantain 1、pyramid.fig interface 2、implem
bbb
- 二.二维小波分解与重构程序说明 1.主函数 mymain.m:通过调用所写的函数对信号进行二维小波分解与重构 main.m:利用MATLAB中小波变换函数实现 2.调用的子函数 function [x2,cA,cV,cH,cD] mydwt2(x,Lo_D,Hi_D) 函数mydwt() 对 x 进行二维小波分解 输入参数为x,Lo_D,Hi_D x为输入信号,Lo_D为低通滤波器,Hi_D为高通滤波器 输出参数:cA,cV,cH,cD —— 是