为了对视频的隐私区域进行加密,提出一种基于FMO和骑士巡游思想的H.264视频感兴趣区域加密的算法。首先确定视频中包含的感兴趣区域的范围,之后对感兴趣区域内部宏块的宏块类型参数使用SHA-1生成的流密码异或加密,并对条带组序号使用骑士巡游思想置乱加密。实验分析表明,该算法可以有效地保护视频中的隐私区域,并且可以在安全性、加密效率和编码效率取得较好的折中。
To protect the privacy in the video, this paper proposed an encryption scheme for region of interest ( ROI ) of H. 264 video based on flexible macroblock ordering (FMO) and knight' s tour. First, it detected and extracted the region in the video. Then, it XOR encrypted the macrohlock type parameters of ROI by using the SHA-1 generated stream cipher, and scrambled slice group numbers of ROI by using the knight' s tour thinking. Experimental results and analysis show that the proposed scheme can effectively protect the private information of H. 264, and can gain a good compromise among the security, encryption efficiency, and coding performance.