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