摘要: 1、数字水印置乱 clc; clear all; o = imread('lena.jpg'); subplot(2,3,1),imshow(o),title('原始图像'); w = imread('shuiyin.png'); subplot(2,3,2),imshow(w),title('原始 阅读全文
posted @ 2020-05-17 17:06 红叶楠木 阅读(898) 评论(0) 推荐(0) 编辑
摘要: 1、图像加密 (1)异或的基本概念 函数: c = xor(a, b) (2)按位异或 函数: c = bitxor(a, b) %% 按位异或 a = 5; b = 4; c = bitxor(a,b); (3)二值图像异或图像加密/解密 %% 二值图像按位异或 I = imread('lena. 阅读全文
posted @ 2020-05-17 10:57 红叶楠木 阅读(1566) 评论(2) 推荐(1) 编辑