No BSD License  

Highlights from
Image restoration via Topological Derivative

from Image restoration via Topological Derivative by Ignacio Larrabide
Restores an image using the topological derivative (Both algorithms continuous and discrete).

example.m
% LNCC - Laboratrio Nacional de Computao Cientfica.
% Petrpolis, RJ, Brazil, March 2007.
% 
% Permission to use for evaluation purposes is granted provided that 
% proper acknowledgments are given. For a commercial licence, contact 
% nacho@lncc.br or feij@lncc.br.
% 
% This software comes with no warranty, expressed or implied. By way of
% example, but not limitation, we make no representations of warranties
% of merchantability or fitness for any particular purpose or that the
% use of the software components or documentation will not infringe any
% patents, copyrights, trademarks, or other rights.
% 
% The remaining files are copyright Ignacio Larrabide. Permission is
% granted to use the material for noncommercial and research purposes.

imIn = imread('lena.bmp');
imIn = imIn(100:150,100:150);
figure(1);
imshow(imIn);
imNo = imnoise(imIn,'gaussian',0,0.001);
figure(2);
imshow(imNo);
imOut = Restoration_Continuum_TD(imNo, 0.7, 'isotropic', 0.5);
figure(3);
imshow(imOut);
imOut = Restoration_Continuum_TD(imNo, 0.7, 'anisotropic', 0.5);
figure(4);
imshow(imOut);
imOut = Restoration_Discrete_TD( imNo, 0.7);
figure(5);
imshow(imOut);

Contact us at files@mathworks.com