Info

此问题已关闭。 请重新打开它进行编辑或回答。

Add key with the pixels

1 次查看(过去 30 天)
sadiqa ilyas
sadiqa ilyas 2019-9-11
关闭: MATLAB Answer Bot 2021-8-20
How to add 1 4 key with an image size 256*256 in matlab. e.g
ii=i(:,:,3);
rng(78932); %agree upon a seed
rand_key = uint8(randi([0 255], 1, 4));
enc=bitxor(ii,rand_key);
apparantly addition is not possible Is there a way to do addition

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by