Matlab method to remove mooving objects from a series of picture