Filter löschen
Filter löschen

to flip an image block across main diagonal line y=x

11 Ansichten (letzte 30 Tage)
Indu Aggarwal
Indu Aggarwal am 1 Mai 2015
Kommentiert: Indu Aggarwal am 8 Mai 2015
I have an image of size 256x256 and it is divided into 58081 overlapping blocks of size 16x16. I flipped each and every block vertically and horizontally using flipdim(image block, dimension)function. Is there any function to flip every block across the main diagonal line y=x?
  1 Kommentar
Image Analyst
Image Analyst am 1 Mai 2015
If they're overlapping , then it must look like a totally unrecognizable mess as some pixels get flipped over and over and over again and end up who knows where.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Jeff E
Jeff E am 1 Mai 2015
transpose
img_block_diag = transpose(img_block);

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by