Borrar filtros
Borrar filtros

how to scramble it?

1 visualización (últimos 30 días)
Tia
Tia el 25 de Jul. de 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?

Respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by