www.gusucode.com > 关于海航matlab和lingo的训练题 > Untitled8.m
A=imread('z1.jpg','jpg') level=graythresh(A); C=im2bw(A,level); D=bwperim(C,4)