This project contains two parts: Image segmentation and motion tracker. Both can be run seperately. They can run together with first image segmentation and then motion tracker.
- put the image file to be processed in to the same folder
- in eval_segmentation.m line 5, change the file name to the one to be processed
- set up parameters in line 7-11 if desired.
- run
- image and each cluster on feature space will show and be saved after each step
- put the stream of images into a folder with 'foldername'
- in eval_Mstracking.m line 9, change to the foldername and file extension
- run
- The first frame of the image stream will show
- Select the region to track, double click after you are done
- the red box will show the tracking result in each image
- put the stream of images into a folder with 'foldername'
- in eval_Seg_Track.m line 9, change to the foldername and file extension
- run
- progress of image segmentation will show up. Result images will be saved to a folder called 'CCseg'
- perform 'To run motion tracker' and change folder to be 'CCSeg'