Extraction method of point coordinates of image contour and VC++ programming