This dissertation presents a novel method to motion segmentation in video sequences that uses contours of the objects obtained by external morphological gradient instead of the intensity of the pixels that is usually used by the classical techniques. Motion segmentation is the initial step of motion-related applications and it is in this step that are delimited the regions of interest to the next steps. Motion-related applications, in special smart surveillance applications, have become very common nowadays. Because of its low cost, security cameras have been installed in many places, however, the number of installed cameras exceeds the human capacity to track them adequately and, then, it is lost the crime prevention potential of the images from these cameras. Smart surveillance applications analyze in real-time the images from the security cameras to throw alarms for human operators when some dangerous actions is happening or is going to happen. This work studies the motion segmentation problem, showing some general aspects, approaches used to deal the problem, main classical algorithms, performance evaluation techniques and the challengings. The proposed technique and some other algorithms were implemented in the same development platform and they were tested in the public video database of CAVIAR project. It were tested 45 videos, divided in 3 groups and about 50000 frames. The results were evaluated by two different approaches: a pixel-based approach and an object-based approach. The proposed algorithms presented great quantitative results using both approaches. Some specific situations were analyzed and the proposed technique showed to be more robust to false positives and to false negatives than other compared techniques.