文件名称:图像分块矩阵分块程序-imseg.m
文件大小:2KB
文件格式:M
更新时间:2022-09-02 01:01:34
matlab
图像分块矩阵分块程序-imseg.m 一个图像分块的程序: imseg.m 用法: SEG = IMSEG 输入 IM:输入的原图像 L:块的大小,如64块大小就是64*64 F:显示图片的设置,如是1显示,0不显示 输出 SEG为一个元胞数组包含每个块的数据 举例: im = imread; seg = imseg 结果: 1.jpg 2.jpg seg = Columns 1 through 4 [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] Column 5 [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8] [64x64x3 uint8]