image thumbnail

Fast non-maxima suppression in 1D

version (866 Bytes) by A Z
A linear complexity non-maxima suppression algorithm in 1D


Updated 19 Mar 2007

No License

This is a .m file version of an efficient non-maxima suppression algorithm for 1D arrays. It doesn't run very fast in matlab because it uses loops. But the algorithm itself is of linear complexity so a C implementation should run very fast. Documentation in the .m file. I developed this algorithm myself, and I don't know if there's already an existing algorithm that does it better (just didn't bother doing the research). So if you can alert me to a better algorithm please let me know. All improvements welcome.

Please send Emails to:

Cite As

A Z (2021). Fast non-maxima suppression in 1D (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!