Filter löschen
Filter löschen

how to scramble it?

1 Ansicht (letzte 30 Tage)
Tia
Tia am 25 Jul. 2013
here's codes
I=imread('filename'); %256x256 pixels
%split it into block 64x64
ul=I(1:256,1:256);
ur=I(1:256,257:512);
ll=I(257:512,1:256);
lr=I(257:512,257:512);
s=[ul,lr;ur,lr];
figure,imshow(s)
but i want to split it 8x8 pixels,
a=I(1:8,1:8);
b=I(1:8,9:16);
and so on.. until
x=I(249:256,249:356);
then scramble it s=[a,b,..;..,..];
if i use those codes, it'll very long codes. what should i do?

Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by