How to split an image and rotate quadrants?

조회 수: 5 (최근 30일)
Lucas  Buckels
Lucas Buckels 2017년 3월 28일
편집: Matt J 2017년 3월 28일
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