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
Mostrar comentarios más antiguos
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 comentarios
Aarti Dwivedi
el 23 de Jul. de 2018
Can you format your code properly? Did you try searching for some of the functions that are included in your code?
Ambika Umahetty
el 23 de Jul. de 2018
Walter Roberson
el 23 de Jul. de 2018
We have no idea what your level of computer experience is. Explaining the lines might require writing two or three textbooks.
Aarti Dwivedi
el 23 de Jul. de 2018
The answer already deals with that Ambika.
Ambika Umahetty
el 23 de Jul. de 2018
Editada: Ambika Umahetty
el 23 de Jul. de 2018
Ambika Umahetty
el 23 de Jul. de 2018
Editada: Ambika Umahetty
el 23 de Jul. de 2018
Guillaume
el 23 de Jul. de 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
el 23 de Jul. de 2018
Editada: Ambika Umahetty
el 23 de Jul. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!