You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The filter computes the minima and/or maxima of an array over sliding window with a given size.
Multidimensional array is fully supported: running filter in 1D, 2D filter for image processing applications (erosion/dilatation), 3D and more.
This package has been implemented with a special care on the running speed: the MEX engine uses an algorithms that requires no more than three (3) comparisons per element and per dimension in all configurations.
All numerical and logical class arrays are supported.
Contributor (beside author) is Vaclav Potesil
Cite As
Bruno Luong (2026). Min/Max filter (https://www.mathworks.com/matlabcentral/fileexchange/24705-min-max-filter), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.7.0.1 (27.8 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.7.0.1 | Change MEX files to be compatible with R2018a MEX-API |
||
| 1.7.0.0 | Correct a small bug when "WIN" is a scalar and input array is vector (error wrongly issued) |
||
| 1.6.0.0 | description |
||
| 1.5.0.0 | Cleaner algorithm for same shape filtering |
||
| 1.4.0.0 | Acknowledgment |
||
| 1.3.0.0 | Correct BUG of cropping the index array when shape is SAME |
||
| 1.2.0.0 | New feature: Possibly to output corresponding indexes arrays (suggested by a user) + slight improvement of the Lemire's engine. |
||
| 1.1.0.0 | Correct a bug that causes crash on 64-bit plateform
|
||
| 1.0.0.0 |
