400);
pt[0][3]=cvPoint(300, 500);
pt[0][4]=cvPoint(200, 300);
pt[0][5]=cvPoint(50, 400);
int *npt...=new int[1];
npt[0]=6;
int contours=1;
cvFillPoly(src, pt, npt, contours, CV_RGB(255, 255, 255),...8);
//cvPolyLine(src, pt, npt, contours, 1, CV_RGB(255, 255, 255));//is_closed为true则将起点和终点连线
//cvPolyLine...(src, pt, npt, contours, 0, CV_RGB(255, 255, 255));//is_closed为false则不将起点和终点连线
cvNamedWindow("src")