Introduction - If you have any usage issues, please Google them yourself
For more images of an independent region (thousands or tens of thousands), find all connected areas in the image and store them as point sets.The main function is SFindContour, which has the sample program given.