clear all;
im=imread(uigetfile('*.*'));
im=imresize(im,[200 200]);
[x y z]=size(im);
im=mat2cell(im,[50 50 50 50],[50 50 50 50],3);
in the above code the uint8 image is divided into 16 blocks and i want to interchange the blocks and display the image after interchanging.sir can u help how to implement it

 채택된 답변

Walter Roberson
Walter Roberson 2014년 3월 11일

0 개 추천

See cell2mat() and randperm() and reshape()

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

질문:

2014년 3월 11일

답변:

2014년 3월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by