This paper presents an approach to image filtering based on an optimal stop
ping time problem for the evolution equation describing the filtering kerne
l. This approach allows us to obtain easily an adaptivity of the filter wit
h respect to the noise level, Well-posedness of the problem and convergence
of fully discrete approximations are proved and numerical examples are pre
sented and discussed.