计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (9): 187-189.

• 图形、图像处理 • 上一篇    下一篇

基于相邻像素间位异或的图像置乱算法

马 苗1,2,谭永杰1   

  1. 1.陕西师范大学 计算机科学学院,西安 710062
    2.西北工业大学 计算机学院,西安 710072
  • 收稿日期:2007-07-18 修回日期:2007-10-09 出版日期:2008-03-21 发布日期:2008-03-21
  • 通讯作者: 马 苗

Image scrambling algorithm based on bit-exclusive-or between consecutive pixel values

MA Miao1,2,TAN Yong-jie1   

  1. 1.College of Computer Science,Shaanxi Normal University,Xi’an 710062,China
    2.School of Computer,Northwestern Polytechnical University,Xi’an 710072,China
  • Received:2007-07-18 Revised:2007-10-09 Online:2008-03-21 Published:2008-03-21
  • Contact: MA Miao

摘要: 针对数字图像的传输安全问题,提出了一种基于相邻像素间位异或的图像置乱算法。该算法首先根据每个像素和它前面相邻的像素进行按位异或运算,然后对其按照某种规则进行像素值的交叉换位,再次改变像素点的灰度值,从而提高图像置乱效果。实验结果初步显示,该算法与Arnold等现有的置乱方法相比,置乱后的图像不仅直方图发生了显著改变,而且置乱图像的统计特征更像白噪声,更加适用于图像文件的加密传输和秘密图像信息在数字水印技术中的置乱预处理。

关键词: 图像置乱, 位异或, 交叉换位

Abstract: Aiming at the safe problem of image transmission,this paper presents a bit-exclusive-or based image scrambling algorithm.The algorithm does a bit-exclusive-or operation on each pixel with its prior one first.And then the bits of each pixel value are exchanged across;thereby the effect of image scrambling is improved again.Experimental results show that compared with some existing algorithms such as the Arnold scrambling,the method not only provides with a scrambled image whose histogram has been changed obviously,but also the scrambled image looks more like Gaussian white noise,which is expected when being applied into the image encryption transmission or the preprocessing of secret images in digital watermarking.

Key words: image scrambling, bit-exclusive-or, bit exchanged across