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

1 次查看(过去 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
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]

更多回答(1 个)

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by