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: 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: 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: 2006编写的最近邻域内插源代码,可以实现图像的最近邻域内插-2006 prepared by the nearest neighbor interpolation within the source code can be achieved within the image of the nearest neighbor interpolation Platform: |
Size: 149504 |
Author:hao |
Hits:
Description: 本文是样条插值和线性分段插值的matlab代码,通过具体例子编程事例。-This paper is a spline interpolation and piecewise linear interpolation matlab code, through specific examples of programming examples. Platform: |
Size: 58368 |
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:
Description: matlab code for paper Image interpolation via collaging its non-local patches [J], Digital Signal Processing. 2016, 49(2): 33-43. Platform: |
Size: 2759 |
Author:1311349865@qq.com |
Hits: