中文说明:本算法是基于hash函数的图像置乱算法,可用于信息隐藏中%函数功能:本函数将利用MD5函数产生随机的无碰撞的像素选择策略%输入格式举例:[row,col]=hashreplacement(test,60,1983,421,1121)%参数说明:%matrix为载体矩阵%quantity为要嵌入的信息的数量%row为伪随机输出的像素行标%col为伪随机输出的像素列标
English Description:
The algorithm of image scrambling algorithm based on hash functions, and% function can be used for hiding information function: this function will use the MD5 function to generate a random pixel selection strategy of collision-free% Input format, for example: [row,col]=hashreplacement (test,60,1983,421,1121)% Parameter descriptions:%Matrix as carrier matrix%Quantity is the amount of information you want to embed%Row for pseudorandom output pixel row%Col pseudo-random pixels of the output column