Add key with the pixels

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개)

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

질문:

2019년 9월 11일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by