How to divide a image into cells and naming the cells with numbers. then transformed the cells in the image to transform the image....can anyone pls give me a code for this
2 ビュー (過去 30 日間)
古いコメントを表示
How to divide a image into cells and naming the cells with numbers. then transformed the cells in the image to transform the image....can anyone pls give me a code for this
採用された回答
Matt J
2013 年 4 月 29 日
If you mean "cells" as in the MATLAB cell array data type, then this might be what you need
E.g.,
>> Image=rand(64); ImageCells=mat2tiles(Image,[16,16])
ImageCells =
[16x16 double] [16x16 double] [16x16 double] [16x16 double]
[16x16 double] [16x16 double] [16x16 double] [16x16 double]
[16x16 double] [16x16 double] [16x16 double] [16x16 double]
[16x16 double] [16x16 double] [16x16 double] [16x16 double]
0 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!