Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

color image encryption; I have tried this code for color image encryption. the same code is tried for decryption but error occurs,because dimension exceeds!!

조회 수: 1 (최근 30일)
I=double(imread('baboon .tiff'));
randomSequence = round(rand(512,512)*255);
% Encryption by bitxor with psuedo random sequence
for k=1:3
eI = bitxor(I(:,:,k),randomSequence);
end
figure(1);
imshow(uint8(eI));

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by