1. A method of updating a scene model for a foreground segmentation of an input image captured from a camera, the method comprising: determining one or more dynamic visual elements of the input image, wherein the one or more dynamic visual elements change in form as time passes; determining one or more dynamic visual elements each included in the scene model corresponding to the one or more dynamic visual elements in the input image, the one or more dynamic visual elements in the input image being different from each other; determining whether each of the one or more dynamic visual elements of the input image is foreground or background on a basis of the determined one or more dynamic visual elements included in the scene model; and updating the scene model on a basis of each of the one or more dynamic visual elements of the input image and the determined one or more dynamic visual elements included in the scene model, wherein the one or more dynamic visual elements included in the scene model is determined by selecting a nearest seed point to a centroid of the dynamic visual element for matching the input image to the scene model.