I have a 384*256 gray scale image which I partitioned into 24 equal size block. Now from these 24 blocks I want to reconstruct an image which is of same size as of input image but in which sequence of the blocks are different from the original block.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a 384*256 gray scale image which I partitioned into 24 equal size block. Now from these 24 blocks I want to reconstruct an image which is of same size as of input image but in which sequence of the blocks are different from the original block sequence i.e. for original block sequence are 1,2,3....24 but that sequence will not be same as this.
2 Kommentare
Antworten (1)
Jan
am 22 Mär. 2017
x = rand(64, 64, 24); % Example data
y = x(:, :, randperm(24));
Now the blocks are shuffled. How did you split the image into blocks? The reverse method creates an image again.
2 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!