Code covered by the BSD License  

Highlights from
Image Edge Enhancing Coherence Filter Toolbox

image thumbnail
from Image Edge Enhancing Coherence Filter Toolbox by Dirk-Jan Kroon
Advanced 2D/3D noise removal and edge enhancing with anisotropic diffusion filtering ( Weickert )

a=clmp(a,mina,maxa)
function  a=clmp(a,mina,maxa)
% Function clmp to boundaries
% a=clmp(a,mina,maxa)
a=min(max(a,mina),maxa);

Contact us at files@mathworks.com