1. A method for generating superpixels for a sequence of frames, the method comprising the steps of: separating a feature space of the sequence of frames into a color subspace and a spatial subspace; performing a clustering in the spatial subspace on a frame basis; and performing a clustering in the color subspace on stacked frames.