HOw to divide an Image into sub images?

1 次查看(过去 30 天)
Hello all,
I would like to construct an empty image size of 256x256 and divide into 16 sub images.can anyone suggest me how to divide into 16 sub images? Thanks in advance

采纳的回答

Matt J
Matt J 2013-7-16
编辑:Matt J 2013-7-16
Using MAT2TILES (Available Here)
subImages = mat2tiles(Image_256x256,[64,64]);
e.g.,
>> mat2tiles(rand(256),[64,64])
ans =
[64x64 double] [64x64 double] [64x64 double] [64x64 double]
[64x64 double] [64x64 double] [64x64 double] [64x64 double]
[64x64 double] [64x64 double] [64x64 double] [64x64 double]
[64x64 double] [64x64 double] [64x64 double] [64x64 double]

更多回答(1 个)

Image Analyst
Image Analyst 2013-7-16

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by