NVIDIA CUDA-based bilinear (2D) interpolation
This code was inspired by Alexander Huth's bilinear interpolation approach
( http://www.mathworks.com/matlabcentral/fileexchange/20248 )
also using the GPU's built-in bilinear texture interpolation capability, which is indeed very fast.
The speedup is depending on your CUDA enabled graphics hardware. The more multiprocessors, texture units, ... the better the results will be.
In comparison to Alexander's cudainterp2, I added some performance improvements and the capability to interpolate complex numbers too.
Feel free to write some feedback or a comment.
Cite As
Gerald Buchgraber (2024). NVIDIA CUDA-based bilinear (2D) interpolation (https://www.mathworks.com/matlabcentral/fileexchange/23795-nvidia-cuda-based-bilinear-2d-interpolation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
Tags
Acknowledgements
Inspired by: 2D CUDA-based bilinear interpolation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
bilininterp/
bilininterp/cudainterp2/
Version | Published | Release Notes | |
---|---|---|---|
1.5.0.0 | I fixed a typo and added tags. |
||
1.4.0.0 | License changed to BSD |
||
1.3.0.0 | added another picture showing the test results on a GeForce 8800 GTX. Much better results in comparision to my mobile GeForce ;) |
||
1.1.0.0 | description changed |
||
1.0.0.0 |