this code is for the paper in ICSP-"centroid method based on MSER deterction and GMM". email me if you had any problem "moon_well@live.cn"