How to split an image and rotate quadrants?

3 vues (au cours des 30 derniers jours)
Lucas  Buckels
Lucas Buckels le 28 Mar 2017
Modifié(e) : Matt J le 28 Mar 2017
How to split an image into 4 quadrants and shift each quadrant one spot in the clockwise direction. Top left quadrant to top right, top right to bottom right and so on

Réponse acceptée

Matt J
Matt J le 28 Mar 2017
Modifié(e) : Matt J le 28 Mar 2017
If a,b,c,d are the dimensions of the quadrants (see MAT2CELL )
C=mat2cell(yourImage,[a,b],[c,d]);
newImage=cell2mat( rot90(C,-1) );

Plus de réponses (0)

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by