CN104822067A - Image and video information hiding method based on block scrambling and non-linear conversion - Google Patents
Image and video information hiding method based on block scrambling and non-linear conversion Download PDFInfo
- Publication number
- CN104822067A CN104822067A CN201510219682.XA CN201510219682A CN104822067A CN 104822067 A CN104822067 A CN 104822067A CN 201510219682 A CN201510219682 A CN 201510219682A CN 104822067 A CN104822067 A CN 104822067A
- Authority
- CN
- China
- Prior art keywords
- block
- columns
- video
- image
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000006243 chemical reaction Methods 0.000 title 1
- 230000009466 transformation Effects 0.000 claims abstract description 17
- 230000008707 rearrangement Effects 0.000 claims abstract description 10
- 230000000694 effects Effects 0.000 claims abstract description 4
- 239000011159 matrix material Substances 0.000 claims description 6
- 238000011084 recovery Methods 0.000 claims description 4
- 230000011218 segmentation Effects 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000000969 carrier Substances 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 210000000697 sensory organ Anatomy 0.000 description 1
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种基于分块置乱和非线性变换的图像及视频信息隐藏方法,包括以下步骤:1)对视频每一帧进行分块重排;2)对分割出的每一子块进行非线性变换。3)使用步骤1)和步骤2)的方法对加密视频进行恢复。本发明的图像及视频内容隐藏以及恢复的方法整体过程简单,对图像及视频的隐藏效果良好。
The invention discloses an image and video information hiding method based on block scrambling and non-linear transformation, comprising the following steps: 1) performing block rearrangement on each frame of the video; 2) performing segmentation on each sub-block Perform a nonlinear transformation. 3) Use the methods of step 1) and step 2) to restore the encrypted video. The method for hiding and restoring image and video content of the present invention is simple in overall process, and has a good hiding effect on images and videos.
Description
技术领域technical field
本发明涉及图像及视频处理技术,特别是涉及一种基于分块置乱和非线性变换的图像及视频信息隐藏方法。The invention relates to image and video processing technology, in particular to an image and video information hiding method based on block scrambling and nonlinear transformation.
背景技术Background technique
信息网络技术在全球范围内迅猛发展,方便了人与人之间的通讯和交流。借助计算机网络,人们可以方便快捷地将数字信息传到世界各处,并且这种赋值和传送几乎可以无损地进行。The rapid development of information network technology on a global scale has facilitated the communication and exchange between people. With the help of computer networks, people can easily and quickly transmit digital information to all parts of the world, and this assignment and transmission can be almost lossless.
这种便捷所带来的副作用也应运而生,在传输信息的过程中,部分个人和团体在没有得到信息原作者许可的情况下对信息进行截获,一些较为机密的图像或视频信息一览无遗,破坏了信息的安全性,信息的隐秘传输技术也就在这种情形下开始发展起来。The side effects brought about by this convenience also arise as the times require. In the process of transmitting information, some individuals and groups intercept the information without the permission of the original author of the information, and some relatively confidential images or video information can be seen at a glance. The security of information is destroyed, and the secret transmission technology of information begins to develop in this situation.
信息(包括图像和视频)隐藏利用人的感觉器官对数字信号的感觉冗余,以数字媒体和数字文件为载体,通过一定的算法将秘密信息隐藏在载体信息中,却不易被人的感知系统多察觉,从而达到隐蔽通信的目的。Information (including images and videos) hiding utilizes the sensory redundancy of human sensory organs for digital signals, uses digital media and digital files as carriers, and hides secret information in the carrier information through certain algorithms, but it is not easy to be detected by the human perception system. More awareness, so as to achieve the purpose of covert communication.
发明内容Contents of the invention
本发明所要解决的技术问题是:提出一种基于分块置乱和非线性变换的图像信息隐藏方法,在隐藏内容过程中无人为干预,较为快速和有效地隐藏目标信息。The technical problem to be solved by the present invention is to propose an image information hiding method based on block scrambling and nonlinear transformation, which can hide target information quickly and effectively without human intervention in the process of hiding content.
本发明技术方案如下:Technical scheme of the present invention is as follows:
1)对视频每一帧进行分块重排;2)对分割出的每一子块进行非线性变化。3)使用步骤1)和步骤2)的方法对加密图像及视频进行恢复。1) Block rearrangement is performed on each frame of the video; 2) Non-linear changes are performed on each divided sub-block. 3) Use the method of step 1) and step 2) to restore the encrypted image and video.
附图说明Description of drawings
图1是基于分块置乱和非线性变换的图像及视频信息隐藏方法的流程图;Fig. 1 is the flow chart of the image and video information hiding method based on block scrambling and nonlinear transformation;
图2是对视频中的某一帧图像分块重排的结果;Figure 2 is the result of block rearrangement of a certain frame of image in the video;
图3是对视频中的某一帧图像进行信息隐藏的结果。Figure 3 is the result of information hiding for a certain frame image in the video.
具体实施方式Detailed ways
1)对视频每一帧进行分块重排。对子块大小的划定都是由系统自动完成的,不存在执行时人为的设定,具体的划分规则固定不变,适应任何尺寸的视频。具体的划分规则总体分为两类,因为不能排除视频的行和列存在质数的情况,所以分成质数行(列)和非质数行(列)两种情况进行。对于非质数行(列),我们对行(列)进行因式分解,统计除了1以外的因子个数,如果个数大于等于3,划分的行(列)的个数定如公式(1)所示:1) Perform block rearrangement for each frame of the video. The delineation of the sub-block size is automatically completed by the system, there is no artificial setting during execution, and the specific division rules are fixed, which is suitable for videos of any size. The specific division rules are generally divided into two categories. Because the case that there are prime numbers in the rows and columns of the video cannot be ruled out, it is divided into two cases: prime number rows (columns) and non-prime number rows (columns). For non-prime number rows (columns), we factorize the rows (columns) and count the number of factors other than 1. If the number is greater than or equal to 3, the number of divided rows (columns) is determined as in formula (1) Shown:
num=max(v)*min(v) (1)num=max(v)*min(v) (1)
否则个数定如公式(2)所示:Otherwise, the number is fixed as shown in formula (2):
num=min(v) (2)num=min(v) (2)
其中num表示行(列)被划分的个数,v表示对行(列)数进行因式分解后产生的除1以外所有因子组成的集合,max(v)表示v中的最大值,min(v)表示v中最小值。对于质数行(列),只要减去1,原先的质数行(列)就变成了非质数行(列),处理就使用之前的方法,多余的一行(列)再进行额外的处理。视频每一帧图像的分块重排次序都是不一样的,而且都是由系统随机产生的,排序信息以文本的形式保存,不存在人为设置的情况,大大提高了信息的安全性。具体的重排方法为,把分好的子块按行列序号递增的次序排成1*n的矩阵,其中n表示子块的个数,对该矩阵的列进行随机重排,之后再按照行(列)的分块数把矩阵恢复成原图像的尺寸,起到打乱的效果。Among them, num represents the number of rows (columns) to be divided, v represents the set of all factors except 1 generated after factoring the number of rows (columns), max(v) represents the maximum value in v, min( v) represents the minimum value in v. For a prime number row (column), as long as 1 is subtracted, the original prime number row (column) becomes a non-prime number row (column), and the processing uses the previous method, and additional processing is performed on the extra row (column). The block rearrangement order of each frame of the video is different, and is randomly generated by the system. The ordering information is saved in the form of text, and there is no artificial setting, which greatly improves the security of information. The specific rearrangement method is to arrange the divided sub-blocks into a 1*n matrix in the order of increasing row and column numbers, where n represents the number of sub-blocks, randomly rearrange the columns of the matrix, and then sort them by row The number of blocks (columns) restores the matrix to the size of the original image, which has the effect of scrambling.
2)对步骤1)中分割出的每一子块进行非线性变化。对子块(包括处理质数行(列)产生的额外的一行(列))每层每个像素点像素值的变化使用的都是非线性的变化。可以简单地用公式(3)表示2) Perform nonlinear changes to each sub-block divided in step 1). Non-linear changes are used for the change of the pixel value of each pixel in each layer of the sub-block (including the extra row (column) generated by processing the prime number row (column)). It can be expressed simply by formula (3)
Ei(x,y)=f(Pi(x,y)) (3)E i (x, y) = f(P i (x, y)) (3)
其中Ei(x,y)表示非线性变换后的像素值,Pi(x,y)表示非线性变换前的像素值,f表示一种非线性变换,i表示彩色图像r、g、b三层中的某一层,(x,y)表示像素点在子块中的坐标。Where E i (x, y) represents the pixel value after nonlinear transformation, P i (x, y) represents the pixel value before nonlinear transformation, f represents a nonlinear transformation, and i represents the color image r, g, b One of the three layers, (x, y) represents the coordinates of the pixel in the sub-block.
3)对加密图像及视频进行恢复的方法是再次使用步骤2)和步骤3)的子过程,只是在恢复过程中对步骤3)进行了适当的修改,恢复过程与加密的过程相近。3) The method for recovering the encrypted image and video is to use the sub-processes of step 2) and step 3) again, but step 3) is properly modified in the recovery process, and the recovery process is similar to the encrypted process.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510219682.XA CN104822067A (en) | 2015-05-03 | 2015-05-03 | Image and video information hiding method based on block scrambling and non-linear conversion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510219682.XA CN104822067A (en) | 2015-05-03 | 2015-05-03 | Image and video information hiding method based on block scrambling and non-linear conversion |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104822067A true CN104822067A (en) | 2015-08-05 |
Family
ID=53732214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510219682.XA Pending CN104822067A (en) | 2015-05-03 | 2015-05-03 | Image and video information hiding method based on block scrambling and non-linear conversion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104822067A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371041A (en) * | 2017-08-28 | 2017-11-21 | 银河威尔科技(北京)有限公司 | A kind of VR video encryption methods and device |
CN107371034A (en) * | 2017-08-28 | 2017-11-21 | 银河威尔科技(北京)有限公司 | A kind of VR decryption of video method and apparatus |
CN110300241A (en) * | 2019-08-05 | 2019-10-01 | 上海天诚比集科技有限公司 | A kind of video detection area noise frame minimizing technology |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101675663A (en) * | 2007-02-14 | 2010-03-17 | 弗廷特风险投资集团 | Fuzzy protection of visual content |
US20110013849A1 (en) * | 2009-07-03 | 2011-01-20 | Panasonic Corporation | Image encoding device and image decoding device |
CN102257819A (en) * | 2008-10-30 | 2011-11-23 | Gvbb控股股份有限公司 | Image encoding apparatus, image encoding method, and image encoding program |
-
2015
- 2015-05-03 CN CN201510219682.XA patent/CN104822067A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101675663A (en) * | 2007-02-14 | 2010-03-17 | 弗廷特风险投资集团 | Fuzzy protection of visual content |
CN102257819A (en) * | 2008-10-30 | 2011-11-23 | Gvbb控股股份有限公司 | Image encoding apparatus, image encoding method, and image encoding program |
US20110013849A1 (en) * | 2009-07-03 | 2011-01-20 | Panasonic Corporation | Image encoding device and image decoding device |
Non-Patent Citations (2)
Title |
---|
刘伟: "基于混沌算法的视频会议图像加密方法研究", 《中国优秀硕士学位论文全文数据库信息科技辑,2012年第3期》 * |
郝磊等: "基于NCA的数字图像分块加密算法", 《计算机系统应用》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371041A (en) * | 2017-08-28 | 2017-11-21 | 银河威尔科技(北京)有限公司 | A kind of VR video encryption methods and device |
CN107371034A (en) * | 2017-08-28 | 2017-11-21 | 银河威尔科技(北京)有限公司 | A kind of VR decryption of video method and apparatus |
CN110300241A (en) * | 2019-08-05 | 2019-10-01 | 上海天诚比集科技有限公司 | A kind of video detection area noise frame minimizing technology |
CN110300241B (en) * | 2019-08-05 | 2021-09-17 | 上海天诚比集科技有限公司 | Method for removing noise frame in video detection area |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107862646B (en) | A High Dynamic Range Image Information Hiding Method | |
Shankar et al. | Optimal key based homomorphic encryption for color image security aid of ant lion optimization algorithm | |
CN105975866B (en) | Jpeg image encryption method based on similar coefficient scramble | |
CN109803142B (en) | Encrypted domain image reversible data hiding method based on neighborhood prediction | |
CN109657483A (en) | A kind of image encryption method and system | |
CN106558015B (en) | A new cross-composite chaotic color image encryption algorithm | |
CN110874571A (en) | Training method and device of face recognition model | |
CN109800585A (en) | A kind of image interpolation space completely reversibility separates ciphertext domain Information Hiding Algorithms | |
CN105404817A (en) | (k,n) threshold based user-friendly visual secret sharing method | |
CN107911572A (en) | Image Encryption Method Based on Fractional Fourier Transform Improved Logistic Chaotic System | |
Debnath et al. | Security analysis with novel image masking based quantum-dot cellular automata information security model | |
Jebur et al. | Hiding Information in Digital Images Using LSB Steganography Technique. | |
CN104822067A (en) | Image and video information hiding method based on block scrambling and non-linear conversion | |
CN107833174A (en) | A kind of image encryption method based on Logistic chaos system algorithms | |
Fadhil et al. | Improved Security of a Deep Learning-Based Steganography System with Imperceptibility Preservation | |
CN109840895B (en) | A reversible skin color smoothing method with reversible information hiding function and its original image restoration method | |
CN102184518A (en) | DICOM (Digital Imaging and Communications in Medicine) medical image encrypting and decrypting method based on edge detection | |
CN115695675A (en) | Video Encryption Method for Network Data Security Exchange | |
Ishikawa et al. | Learnable Cube-based Video Encryption for Privacy-Preserving Action Recognition | |
CN103971321B (en) | Method and system for steganalysis of JPEG compatibility | |
Kumar et al. | An efficient and effective lossless symmetric key cryptography algorithm for an image | |
Zaidan et al. | StegoMos: A secure novel approach of high rate data hidden using mosaic image and ANN-BMP cryptosystem | |
CN107133994B (en) | Image encryption method | |
CN103617589B (en) | A kind of information concealing method based on local histogram | |
Kester | A cryptographic image encryption technique for facial-blurring of images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150805 |
|
WD01 | Invention patent application deemed withdrawn after publication |