Min/Max algorithm for noise removal from images
Output = minmax(Input, [NSteps, StepSize, Adapt, NonAdaptThreshold, IntMaskSize, ExtMaskSize])
Function minmax filters a gray-scale image using curvature-guided surface evolution. Object borders remain sharp while low-scale noise is removed.
http://siptoolbox.sourceforge.net