Leap segmentation in mobile image and video analysis