A simple motion extractor