- 积分
- 0
- 注册时间
- 2014-9-19
- 仿真币
-
- 最后登录
- 1970-1-1
|
跪求啊!怎么修正?谢谢大家啦!
bim=imread('123.jpg');
bim=im2bw(bim,graythresh(bim));
bim=~bim;
imshow(bim);
[r c]=find(bim==1);
[rectx,recty,area,perimeter] = minboundrect(c,r,'p');
imshow(bim);hold on
line(rectx,recty);
rectx
recty
Error using convhull
CONVHULL no longer supports or requires Qhull-specific options.
Please remove these options when calling CONVHULL.
Error in minboundrect (line 102)
edges = convhull(x,y,{'Qt'}); % 'Pp' will silence the warnings
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|