Motion Analysis for Capsule Endoscopy Video Segmentation