Filter löschen
Filter löschen

HOw to divide an Image into sub images?

7 Ansichten (letzte 30 Tage)
Madhavareddy kota
Madhavareddy kota am 16 Jul. 2013
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

Akzeptierte Antwort

Matt J
Matt J am 16 Jul. 2013
Bearbeitet: Matt J am 16 Jul. 2013
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]

Weitere Antworten (1)

Image Analyst
Image Analyst am 16 Jul. 2013

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by