使用光流法进行的视频图像分割The Lucas-Kanade algorithm for motion estimation was used, and was implemented in matlab due to the fact that most of the matrix operation functions that are needed are already available and hence saves time by not having to implement these