Filtering image sequences from a moving object and the edge detection problem