Measures the shape properties of the object boundaries and displays the curvature.
Original author: Dr. Meghan Driscoll
Modified and compacted/concised a complicated codebase by: Preetham Manjunatha
Thanks to Dr. Meghan Driscoll who kindly shared her code for academic purpose. If you use this code for visualization and other academic/research/any purposes.
Reference: Driscoll MK, McCann C, Kopace R, Homan T, Fourkas JT, Parent C, et al. (2012) Cell Shape Dynamics: From Waves to Migration. PLoS Comput Biol 8(3): e1002392. https://doi.org/10.1371/journal.pcbi.1002392
Important note: This code uses parfor to speed up the things. If you do not have the Matlab parallel computing toolbox. Please make 'parfor' as 'for' in this function.
%%%%%%%% This code is way too slow! (curvature should not be in a for loop) %%%%%%%%% If I have time I will try to improve this. If anyone improves it, please share the modified version code with me.
MATLAB - Parallel Computing Toolbox
Preetham Manjunatha (2021). Curvature measure and visualization (https://github.com/preethamam/CurvatureVisualize/releases/tag/1.0.5), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!