how to interchange the blocks randomly
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
2 Kommentare
Image Analyst
am 9 Mär. 2014
What does permutation of image mean to you? There is a permute() function - would you like to use that? Why do you need/want to use some special "pseudo random index linear feedback shift register" algorithm (whatever that is)?
Jan
am 9 Mär. 2014
@sonam s: The question does not contain enough information to be answered yet. Please add more details by editing it.
Antworten (0)
Siehe auch
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!