Context modeling combined with motion analysis for moving ship detection in port surveillance