A sequence of medical images is filtered. The filtering adapts as a
function of spatial closeness, similarity of display values, and temporal
vicinity. The kernel weights are based on combined spatial and temporal
considerations as well as similarity for trilateral filtering. The
similarity is a function of time. The similarity may be between display
values separated by time or space and time.