How to split an image and rotate quadrants?

3 次查看(过去 30 天)
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

采纳的回答

Matt J
Matt J 2017-3-28
编辑:Matt J 2017-3-28
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) );

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by