can anyone say the simple definiton of pixel intensity? i am cse student so doesnt know exactly what it is?i want the simple definition with example? and also in the following code is used for encryption i also want the brief description of each line
Mostra commenti meno recenti
cover_bi=de2bi(a_co1);
cover_bi1=cover_bi;
so_bi1=xor(cover_bi(:,1),mask1);
cover_bi(:,1)=so_bi1;
so_bi2=bi2de(cover_bi);
em_en=reshape([so_bi2; a_co(length(mask1)+1:end)],[size(CA)]);
figure,imshow(em_en,[]),title('Encrypted');
8 Commenti
Aarti Dwivedi
il 23 Lug 2018
Can you format your code properly? Did you try searching for some of the functions that are included in your code?
Ambika Umahetty
il 23 Lug 2018
Walter Roberson
il 23 Lug 2018
We have no idea what your level of computer experience is. Explaining the lines might require writing two or three textbooks.
Aarti Dwivedi
il 23 Lug 2018
The answer already deals with that Ambika.
Ambika Umahetty
il 23 Lug 2018
Modificato: Ambika Umahetty
il 23 Lug 2018
Ambika Umahetty
il 23 Lug 2018
Modificato: Ambika Umahetty
il 23 Lug 2018
Guillaume
il 23 Lug 2018
i got that code while browsing
Using random code of unknown quality off the internet is not a good idea. The first 5 lines are just a complicated and sloooow way of doing:
so_bi2 = bitxor(a_co1, mask1); %assuming that mask1 is a decimal number.
encrypting an image
xor encryption is trivial to defeat and can be cracked in no time at all. There's only 255 keys to try.
Ambika Umahetty
il 23 Lug 2018
Modificato: Ambika Umahetty
il 23 Lug 2018
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Processing Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!