搜索资源列表
basic_method
- test1.m 固定增量法求分界面 test2.m 利用误差平方和函数集群 delet.m 删除数组元素 Err.m 计算误差平方和 Distance.m 欧拉距离计算 -test1.m fixed incremental method for use interface test2.m squared error function cluster de let.m delete array elements Err.m calculation error square Di
ImageToBuffer2D
- 这是我在刚刚学习VC图像处理时的一个小例子,功能将DIB数据导入到一个二维的Buffer,主要是练习了一下二维动态数组的定义、内存申请和释放,希望能够给初学的朋友带来一些帮助!-This is just learning the VC image processing of a small example, DIB will function to the data into a two-dimensional Buffer. is practicing a bit two-dimensiona
bwdistsc
- This function computes Euclidean distance transform for 3D binary image with non-trivial aspect ratio (i.e. anisotropic pixels). The algorithm uses fast optimized line-scans and is actually faster than MATLAB s BWDIST implementation of search on opti
SubImage IplImage对象或者BYTE型数组中取出一幅图像的子图像
- 用于从一个IplImage对象或者BYTE型数组中取出一幅图像的子图像,类似于OpenCV中的SetImageROI,但是该函数提供的功能是原图像子图像的一个拷贝,而非在原图像中设置ROI。-For the IplImage from a BYTE array object or remove an image of the sub-image, similar to OpenCV' s SetImageROI, but the function is the function of the o
ConstructWaveBaseFunction.rar
- 紧支撑小波基的构造。 以Daubechies小波滤波器系数为例,推导出小波函数及尺度函数,并画出其图像. void Convolution(double* pShortData, int nShort, double* pLongData, int nLong) int CalcScaleFunction(double* pOutData) int CalcWaveletFunction(double* pOutData) Convolution()不是通用的离散卷积代码,而
ArcPartDemo
- 计算圆弧上n个等分点的坐标的函数,及使用示例代码,VC环境,属于二维图形基础算法,加有详细的注释。 输入:圆心,起点,终点,半径,旋转方向,点数量n。 输出:圆弧上n个等分点坐标的数组, 说明:输出的起点序号为0,终点序号为n-1 -Calculate arc n are equally a function of the coordinates of points, and use the sample code, VC environment, belonging to
identi
- 识别对象如下:trainset: 训练集合,该集合中从0~9的数字,所有图片大小相同。各个集合中的图像可以在Matlab中用imread函数读取为数组形式,用imshow函数显示出其图像,例如:图像0 (10).bmp可以用A=imread( 0 (10).bmp )读取为数组A,用imshow(A)或imshow( 0 (10).bmp )显示其图像。-Identify objects as follows: trainset: training set, the collection of
Example_of_edge_detection_edge_linking_and_line_se
- 这个matlab程序实现了Edge Linking and Line Segment Fitting,解压后直接运行demo.m就可以了 - edgelink.m edge linking function that forms lists of connected edge points from a binary edge image. (Needs findendsjunctions and cleanedgelist below). drawedgelist.m plot
zigzag
- 函数功能:本函数将完成对输入的 8*8 矩阵按照 zigzag 排列抽取数据 matrix 为输入矩阵 select==1 为正变换,select==2为反变换 zigdone 为输出矩阵-Function: This function will complete the input of 8* 8 matrix of data collected in accordance with the zigzag array matrix as input matrix select ==
9_9
- 编写返回数组中最大元素数值的模板函数: template <class T> int Max(T Arr[],int n) -Prepared to return the largest element of the array value template function: template <class T> int Max (T Arr [], int n)
JpegDecoder
- JpegDecoder类主要用于Jpeg文件的解码。 使用方法十分简单,只需要利用GetJPEGBuffer函数返回解码后的像素数组。-Major JpegDecoder decoder for Jpeg files. Is very simple to use, only need to use the function to return to GetJPEGBuffer decoded pixel array.
BUNNY_Data
- 这是一个完整的斯坦福兔子的数据,Bunny.txt是数据,数据的每行分别按照x y z 的格式存储;BunnySrc.txt是将该数据赋值个数组格式;BunnyTriId.txt是在matlab中使用trimesh函数生成三角形的点序号。-This is a complete data on the Stanford rabbits, Bunny.txt is the data, respectively, each row of data in accordance with the form
JpegDecoder
- JpegDecoder类主要用于Jpeg文件的解码。 使用方法十分简单,只需要利用GetJPEGBuffer函数返回解码后的像素数组。-JpegDecoder class is mainly used for the decoding of Jpeg files. Usage is very simple, only need to use GetJPEGBuffer function returns an array of pixels decoded.
writeDIB
- 本程序要构造的位图为24位bmp格式,通过直接为结构体BITMAPFILEHEADER和BITMAPINFOHEADER赋值的方式生成。本程序演示的功能比较片面,但也比较实用。如果面对大量的数据,特别是二维的数组,可以尝试将它们写成图像,这样有助于发现规律。 压缩包中还有几个关于结构体说明的文档,可帮助理解。-This procedure to construct the bit picture shows the 24-bit bmp format, through direct BITM
fftbianhuan
- 实现了一维实序列的fft变换,有随机数产生函数、补零函数,返回值放在一个复数数组中,并有取模运算。-Achieved on the real sequence of fft transform, there are random number generator function, zero fill function, the return value in a complex array, and a modulo operation.
jpeg
- JpegDecoder类主要用于Jpeg文件的解码。 使用方法十分简单,只需要利用GetJPEGBuffer函数返回解码后的像素数组。-JpegDecoder class is mainly used for the decoding of Jpeg files. Very simple to use, just need to use GetJPEGBuffer function returns an array of pixels decoded.
convolve2
- CONVOLVE2可以用于任何CONV2使用,采取同样的参数并返回一个小的公差范围内同样结果。加速计算是通过使用面膜中的奇异值分解,表示为外产品总结一下。这些都可以有效地计算与行和列向量的卷积。 CONV2是用来从事这项运动。 可分面具是一个特殊情况,并受CONVOLVE2处理多达FILTER2一样。许多不属于其他口罩可分低等级(如Gabor函数口罩),并更有效地处理CONVOLVE2。 该功能也将计算出降秩逼近一个给定的面具如果需要的话,将使用此是否会加速计算。一个额外
GaborFilter
- 利用Gabor滤波器提取图像纹理特征,用于图像分类模式识别-Extract the texture feature using Gabor filter/wavelet. You should first generate cell array G, which is a set of kernels in freq domain, then pass G and the image to the function GABORCONV.
BMPOfData
- 在进行图像处理时,操作图像中的像素值就要得到图像阵列;经过处理后的图像的像素值需要存储起来;显示图像时要正确实现调色板、得到位图的尺寸信息等。结合这些问题,下面我们针对性的给出了操作灰度BMP图像时的部分函数实现代码及注释。-During image processing, the operation of the image pixel values will be the image array processed image pixel values R
tuxiangjima
- JpegDecoder类主要用于Jpeg文件的解码。 使用方法十分简单,只需要利用GetJPEGBuffer函数返回解码后的像素数组。在第三篇的实例MagicHouse中就需要使用这个类。-JpegDecoder class is mainly used for the decoding of Jpeg files. Usage is very simple, only need to use GetJPEGBuffer function returns an array of pixels
