How to split an image and rotate quadrants?

3 Ansichten (letzte 30 Tage)
Lucas  Buckels
Lucas Buckels am 28 Mär. 2017
Bearbeitet: Matt J am 28 Mär. 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

Akzeptierte Antwort

Matt J
Matt J am 28 Mär. 2017
Bearbeitet: Matt J am 28 Mär. 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) );

Weitere Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by