How to divide images into square grid in matlab?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
vina borkar
le 16 Août 2013
Commenté : Image Analyst
le 22 Juin 2018
Color images divide in sub parts individual but looking like single image to users. it will possible in matlab?
Basically the image is divided into parts called grids, and each grid will working individual, is this possible?
1 commentaire
Amith Kamath
le 19 Août 2013
I'm sorry but I would re-phrase this question so that it is clearer for interested folk to try to answer. Could you please make the question clearer? It usually helps if you also show what you've tried until now.
Réponse acceptée
Image Analyst
le 19 Août 2013
Perhaps this is covered by the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
0 commentaires
Plus de réponses (1)
Ahmet TAvli
le 25 Avr 2018
The question is clear.
Assume, you have your image is 192 x 168 pixels.
You want to divide into 6 equal regions.
An example below:
I = imread('exampleImage.png');
R1 = I(1:64, 1:84);
R2 = I(1:64, 85:168);
R3 = I(65:128, 1:84);
R4 = I(65:128, 85:168);
R5 = I(129:192, 1:84);
R6 = I(129:192, 85:168);
2 commentaires
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!