Description: This MEX performs 2d bilinear interpolation using an NVIDIA graphics chipset. To compile and run this software, one needs the NVIDIA CUDA Toolkit (http://www.nvidia.com/object/cuda_get.html) and, of course, an NVIDIA graphics card of reasonably modern vintage.
BUILDING INSTRUCTIONS: Change the 'MATLAB' (and if necessary, 'MEX') variables in the Makefile to appropriate values, then simply run 'make' at a prompt and an executable (mex/mexmac/mexmaci/dll?) file will be created.
This code uses your GPU's built-in bilinear texture interpolation capability, and is very fast. For reasonably sized operations (taking, say, a 50x50 matrix up to 1000x1000) CUDA-based code is 5-10x faster than linear interp2 (as tested on a MBP 2.4GHz C2D, GeForce 8600M GT).
With very (VERY) large matrices, however, it has the capability of completely crashing your computer or giving bizarre results. Be careful!
Platform: |
Size: 37881 |
Author:whitewalter |
Hits:
Description: 用matlab编写的线性插值,最近邻域插值,和双三次样条插值。-using Matlab prepared by the linear interpolation, the recent neighborhood interpolation and bicubic spline interpolation. Platform: |
Size: 18432 |
Author:周萍 |
Hits:
Description: 自己编写的程序,实现dicom文件显示,窗宽窗位调整;利用双线性插值完成图像的缩放。-I have written procedures, to achieve DICOM documents show that window-width window level adjustment the use of bilinear interpolation image scaling. Platform: |
Size: 44032 |
Author:lu |
Hits:
Description: Matlab中没有现成的Hermite插值函数,必须编写一个M文件实现插值。
设n个节点的数据以数组x0 (已知点的横坐标), y0(函数值), y1(导数值)输入(注意Matlat的数组下标从1开始), m个插值点以数组x 输入,输出数组y 为m 个插值。编写一个名为hermite.m的M文件。
-Matlab is not off-the-shelf Hermite interpolation function, we must realize the preparation of a document M interpolation. N nodes for the data to an array x0 (known point of abscissa), y0 (function value), y1 (numerical derivative) input (note the subscript Matlat array starting at 1), m to the array of interpolation points x input and output array y for m months interpolation. Hermite.m the preparation of a M-file. Platform: |
Size: 1024 |
Author:贺鼎宏 |
Hits:
Description: 拉格朗日(Lagrange)多项式插值算法源代码这是一个Matlab实现的拉格朗日多项式插值算法,它使用拉格朗日多项式插值的方法近似点定义函数。-Lagrange (Lagrange) polynomial interpolation algorithm source code This is a Matlab realization of Lagrange polynomial interpolation algorithm, which uses the Lagrange polynomial interpolation method similar to the definition of function points. Platform: |
Size: 35840 |
Author:杨霄 |
Hits:
Description: 此原碼是兩種比較常見的內插法,分別是鄰近內插法及雙線性內插法,希望可以幫助到大家-The original code is the more common two types of interpolation, which are adjacent interpolation and bilinear interpolation, I hope you can help to Platform: |
Size: 1024 |
Author:林大鈞 |
Hits:
Description: MATLAB最近临插值算法和线性插值算法,完全代码,关于matlab的插值算法图像放大-MATLAB interpolation algorithm and a recent clinical linear interpolation algorithm, complete code, matlab interpolation algorithm on the image to enlarge Platform: |
Size: 3072 |
Author:matlab |
Hits:
Description: Matlab code to view the image of a triangle under different views given the coordinates and color of its vertices. Colors inside triangle are found by interpolation Platform: |
Size: 3072 |
Author:ruchir |
Hits:
Description: 第一,二种边界条件的三次样条插值法matlab代码-First, the two kinds of boundary conditions of the cubic spline interpolation matlab code Platform: |
Size: 1024 |
Author:张米 |
Hits:
Description: 功能强大的牛顿插值matlab程序代码,后续会更新基于C++的MEX和MAT的文件(Powerful Newton interpolation matlab program code, the subsequent updates will be based on the C++ MEX and MAT files) Platform: |
Size: 1024 |
Author:汉斯小木屋
|
Hits: