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
0 件のコメント
採用された回答
Matt J
2013 年 7 月 16 日
編集済み: Matt J
2013 年 7 月 16 日
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
2013 年 7 月 16 日
Please see the FAQ for sample code: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!