Robust moving ship detection using context-based motion analysis and occlusion handling