Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How to slipt an image into equal & non-overlapping 2*2 matrixes in matlab?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi friends, I am in need to slipt the image into 2*2 blocks. i used mat2cell comment but later i am unable to access each element in a cell.. so plz provide me the coding to slip the image using for loop.. its urgent...
2 commentaires
Réponses (3)
Jos (10584)
le 19 Juil 2013
Modifié(e) : Jos (10584)
le 19 Juil 2013
To access the contents of a cell you need to use curly braces
C = { magic(2) ; 3*magic(2)} ;
C1 = C(1)
C2 = C{1}
whos
0 commentaires
Image Analyst
le 19 Juil 2013
Have you checked the FAQ? http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
0 commentaires
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!