I=imread('E:\MyPhoto\1.jpg');
imshow(I);
hold on;
L=size(I);
height=120;
width=120;
max_row=floor(L(1)/height);
max_col=floor(L(2)/width);
seg=cell(max_row,max_col);
for row=1:max_row
for col=1:max_col
seg(row,col)={I((row-1)*height+1:row*height,(col-1)*width+1:width,:)};
end
end
for row=1:max_row
for col=1:max_col
rectangle('Position',[120*(col-1),120*(row-1),120,120],...
'LineWidth',2,'LineStyle','-','EdgeColor','r');
end
end
hold off
likai.zip_matlab 红色分割_图像 块 matlab_图像分割 边界_边界分割
版权申诉
146 浏览量
2022-09-14
22:32:26
上传
评论
收藏 589B ZIP 举报
局外狗
- 粉丝: 67
- 资源: 1万+
最新资源
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
- 基于Dart的Flutter小提琴调音器APP设计源码 - violinhelper
- 基于JavaScript和CSS的随寻订购网页设计源码 - web-order
- 基于MATLAB的声纹识别系统设计源码 - VoiceprintRecognition
- 基于Java的微服务插件集合设计源码 - wsy-plugins
- 基于Vue和微信小程序的监理日志系统设计源码 - supervisionLog
- 基于Java和LCN分布式事务框架的设计源码 - tx-lcn
- 基于Java和JavaScript的茶叶评级管理系统设计源码 - tea
- IMG_5680.JPG
- IMG_0437.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0