Gradient Vector Flow (GVF)
Version 1.0.1 (2.63 KB) by
Gebhard Stopper
MATLAB version of Quan Wang's Fast Gradient Vector Flow (GVF).
Original code can be found here: https://www.mathworks.com/matlabcentral/fileexchange/45896-fast-gradient-vector-flow-gvf
Performance tests show about 2x performance on Win 11 / Ryzen9 7950X3D, same performance on MacBook Pro (M1), compared to C++ implementation.
The MATLAB version has the advantage of not needing a machine specific compiled version.
To achieve the speedup, this function uses approximate Laplacian computation by convoluting the image with a 3x3 kernel in addition to using single precision instead of double. Moreover, the function tries to be conservative on memory usage by reducing the number of copies of the used images.
Cite As
Gebhard Stopper (2024). Gradient Vector Flow (GVF) (https://www.mathworks.com/matlabcentral/fileexchange/173055-gradient-vector-flow-gvf), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Fast Gradient Vector Flow (GVF)
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.