필터 지우기
필터 지우기

how to scramble it?

조회 수: 1 (최근 30일)
Tia
Tia 2013년 7월 25일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by