CN105721875B - A kind of video motion vector Stego-detection method based on entropy - Google Patents

A kind of video motion vector Stego-detection method based on entropy Download PDF

Info

Publication number
CN105721875B
CN105721875B CN201610066493.8A CN201610066493A CN105721875B CN 105721875 B CN105721875 B CN 105721875B CN 201610066493 A CN201610066493 A CN 201610066493A CN 105721875 B CN105721875 B CN 105721875B
Authority
CN
China
Prior art keywords
motion vector
entropy
sliding window
video
stego
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.)
Active
Application number
CN201610066493.8A
Other languages
Chinese (zh)
Other versions
CN105721875A (en
Inventor
王丽娜
徐波
徐一波
翟黎明
任延珍
谭选择
任魏翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201610066493.8A priority Critical patent/CN105721875B/en
Publication of CN105721875A publication Critical patent/CN105721875A/en
Application granted granted Critical
Publication of CN105721875B publication Critical patent/CN105721875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种基于熵的视频运动矢量隐写检测方法;本方法采用滑动窗口选取局部区域内若干运动矢量,计算选取的运动矢量在水平分量H,垂直分量V,方向D,和长度L四个变量各自最低4bit的熵,得到一个滑动窗口内的16维熵值;通过在视频帧内移动滑动窗口,得到多组熵值,计算出16维熵均值,作为隐写分析特征。通过该方法,可以捕捉视频运动矢量隐写带来的“熵增加”异常,实现运动矢量的隐写检测。

The invention discloses an entropy-based video motion vector steganographic detection method; the method uses a sliding window to select several motion vectors in a local area, and calculates the selected motion vectors in the horizontal component H, vertical component V, direction D, and length L The entropy of each of the four variables is the lowest 4 bits, and the 16-dimensional entropy value in a sliding window is obtained; by moving the sliding window in the video frame, multiple sets of entropy values are obtained, and the average value of the 16-dimensional entropy is calculated as a steganalysis feature. Through this method, the "entropy increase" anomaly caused by video motion vector steganography can be captured, and steganographic detection of motion vectors can be realized.

Description

一种基于熵的视频运动矢量隐写检测方法A Steganographic Detection Method Based on Entropy in Video Motion Vector

技术领域technical field

本发明涉及计算机信息安全技术领域,尤其涉及一种基于熵的视频运动矢量隐写检测方法。The invention relates to the technical field of computer information security, in particular to an entropy-based video motion vector steganographic detection method.

背景技术Background technique

随着数字图像信息隐藏及检测技术的发展,以数字视频为载体的信息隐藏技术近年来同样发展迅速。在视频隐写术中,基于帧内预测、频域和运动矢量隐写算法纷纷出现。众多隐写域中,基于运动矢量的隐写算法具有隐藏容量大,画面失真小等特点。因此,运动矢量隐写以及隐写的检测成为视频信息隐藏领域中研究热点。With the development of digital image information hiding and detection technology, information hiding technology based on digital video has also developed rapidly in recent years. In video steganography, steganography algorithms based on intra prediction, frequency domain and motion vector have appeared one after another. Among many steganography fields, the steganography algorithm based on motion vector has the characteristics of large hiding capacity and small image distortion. Therefore, motion vector steganography and the detection of steganography have become a research hotspot in the field of video information hiding.

在隐藏方法方面,隐藏算法使用多种策略降低隐写造成的画面失真:选择运动矢量中绝对值较大的分量进行隐写;通过选择重建块和参考块差异较大的宏块进行运动矢量隐写;使用湿纸编码选择低代价通道进行信息嵌入;使用STC和湿纸编码相互结合,实现嵌入代价最小化。算法隐蔽性越来越好,但是算法编码一般以单帧内所用运动矢量为一个编码单元,尚未达到全视频宏块最小代价,且未考虑运动矢量相关性的保持问题。而由于使用一种或多种编码,嵌入算法较复杂,不便于实现。In terms of concealment methods, the concealment algorithm uses a variety of strategies to reduce the image distortion caused by steganography: select the component with a larger absolute value in the motion vector for steganography; select the macroblock with a large difference between the reconstruction block and the reference block for motion vector concealment; Write; use wet paper coding to select low-cost channels for information embedding; use STC and wet paper coding to combine with each other to minimize the cost of embedding. The concealment of the algorithm is getting better and better, but the algorithm encoding generally uses the motion vector used in a single frame as a coding unit, which has not yet reached the minimum cost of the whole video macroblock, and does not consider the problem of maintaining the correlation of motion vectors. However, due to the use of one or more codes, the embedding algorithm is more complicated and not easy to implement.

面对各类隐写算法,运动矢量的隐写分析检测也开始发展起来:使用相邻差值相关性构造隐写分析特征进行隐写检测;使用多个帧在时空上的相关性检测运动矢量隐写;使用运动矢量指向最优参考块特性进行隐写分析,当运动矢量被调整后,宏块最优概率下降。In the face of various steganographic algorithms, the steganalysis detection of motion vectors has also begun to develop: use the correlation of adjacent differences to construct steganalysis features for steganalysis detection; use the correlation of multiple frames in space and time to detect motion vectors Steganography: use the motion vector to point to the optimal reference block characteristics for steganalysis, when the motion vector is adjusted, the optimal probability of the macro block decreases.

目前运动矢量隐写检测算法主要依据运动矢量相关性和局部最优性,存在两方面不足:(1)使用相邻相关性的隐写检测方法大多基于各类相邻概率构造检测特征,尚未见到基于信息熵的特征构造方法;(2)基于运动矢量局部最优的隐写检测方法需要借助有残差的宏块重建后进行最优概率统计,当宏块残差不存在或者隐写算法选择残差较小的宏块进行隐写时该类方法检测能力较弱。Current motion vector steganography detection algorithms are mainly based on motion vector correlation and local optimality, and there are two deficiencies: (1) Most steganographic detection methods using neighbor correlation construct detection features based on various neighbor probabilities, which have not been seen yet. to the feature construction method based on information entropy; (2) The steganographic detection method based on the local optimum of the motion vector needs to use the residual macroblock to reconstruct the optimal probability statistics. When the macroblock residual does not exist or the steganographic algorithm The detection ability of this kind of method is weak when the macroblock with small residual error is selected for steganography.

发明内容Contents of the invention

本发明的目的是提供一种基于熵的视频运动矢量隐写检测方法。该方法采用滑动窗口选取局部区域内若干运动矢量,计算选取的运动矢量在水平分量H,垂直分量V,方向D,和长度L四个变量各自最低4bit的熵,得到一个滑动窗口内的16维熵值。通过在视频帧内移动滑动窗口,得到多组熵值,计算出16维熵均值,作为隐写分析特征。通过该方法,可以捕捉视频运动矢量隐写带来的“熵增加”异常,实现运动矢量的隐写检测。The object of the present invention is to provide an entropy-based steganographic detection method for video motion vectors. This method uses a sliding window to select a number of motion vectors in the local area, and calculates the entropy of the selected motion vectors in the horizontal component H, vertical component V, direction D, and length L. entropy value. By moving the sliding window in the video frame, multiple sets of entropy values are obtained, and the 16-dimensional entropy average value is calculated as the feature of steganalysis. Through this method, the "entropy increase" anomaly caused by video motion vector steganography can be captured, and steganographic detection of motion vectors can be realized.

一种基于熵的视频运动矢量隐写检测方法,包括如下步骤:A method for steganographic detection of video motion vectors based on entropy, comprising the steps of:

步骤1,检测者准备好cover非隐写样本,并在cover样本上进行隐写嵌入,得到对应的stego隐写样本;Step 1, the detector prepares cover non-steganographic samples, and performs steganographic embedding on the cover samples to obtain corresponding stego steganographic samples;

步骤2,提取视频每帧HVDL特征,并对cover样本和stego样本加入标签,获得对等的cover和stego训练样本特征;所述的HVDL特征是依据运动矢量(H,V)计算得到的16维特征;其中H表示水平分量,V表示垂直分量,D是运动矢量的方向,L是运动矢量的长度;Step 2, extract the HVDL feature of each frame of the video, and add labels to the cover sample and stego sample to obtain the equivalent cover and stego training sample features; the HVDL feature is a 16-dimensional calculation based on motion vectors (H, V) Features; where H represents the horizontal component, V represents the vertical component, D is the direction of the motion vector, and L is the length of the motion vector;

所述的提取方法包括以下步骤:Described extraction method comprises the following steps:

步骤2.1,解码一个包含运动矢量的视频帧,获取该帧内每个宏块的运动矢量数值;此时视频帧转化为各大小尺寸的宏块及其宏块运动矢量(H,V)的组合;Step 2.1, decode a video frame containing the motion vector, and obtain the motion vector value of each macroblock in the frame; at this time, the video frame is converted into a combination of macroblocks of various sizes and their macroblock motion vectors (H, V) ;

步骤2.2,对步骤2.1得到的包含运动矢量视频帧,选取滑动窗口;滑动窗口内的运动矢量不止一个,看作是一个二维变量(H,V);将运动矢量(H,V)这个2维变量扩展成16维变量,并计算窗口内该16维变量熵值,最后移动滑动窗口计算出多组熵值;Step 2.2, the motion vector video frame that step 2.1 obtains, selects sliding window; The motion vector in the sliding window is more than one, is regarded as a two-dimensional variable (H, V); The motion vector (H, V) this 2 Dimensional variables are expanded into 16-dimensional variables, and the entropy values of the 16-dimensional variables in the window are calculated, and finally multiple groups of entropy values are calculated by moving the sliding window;

所述的步骤2.2包括以下步骤:The step 2.2 includes the following steps:

步骤2.2.1,设定一个大小为m×n的滑动窗口,其中m和n均为正整数;其中,m为滑动窗口高度,其代表最大宏块高度的m倍;n为滑动窗口的宽度,其代表该宽度为最大宏块宽度的n倍;Step 2.2.1, set a sliding window with a size of m×n, where m and n are both positive integers; among them, m is the height of the sliding window, which represents m times the height of the maximum macroblock; n is the width of the sliding window , which represents that the width is n times the maximum macroblock width;

步骤2.2.2,对于滑动窗口内宏块的运动矢量(H,V),通过计算运动矢量的H分量、V分量、方向D和长度L各自最低4bit,将2个变量转换为16个变量:Step 2.2.2, for the motion vector (H, V) of the macroblock in the sliding window, convert the 2 variables into 16 variables by calculating the lowest 4 bits of the H component, V component, direction D and length L of the motion vector:

其中,Q为量化函数,以H分量为例,t代表了取H的倒数第t个bit,V、D、L的量化方法相同;α为运动矢量与水平右侧方向形成的角度,α∈[0,2π),因此D是α被划分为16等分后对应的0到15数值;代表运动矢量的取整长度;Among them, Q is a quantization function, taking the H component as an example, t represents the tth bit from the reciprocal of H, and the quantization methods of V, D, and L are the same; α is the angle formed by the motion vector and the horizontal right direction, α∈[0,2π), so D is the corresponding value from 0 to 15 after α is divided into 16 equal parts; Represents the rounded length of the motion vector;

步骤2.2.3,对于滑动窗口内的每个运动矢量,都看作是这个滑动窗口内运动矢量(H,V)变量的观测值;基于步骤2.2.2,得到了16维变量的观测值,每个变量取值0或1;此16个变量的熵E为:Step 2.2.3, for each motion vector in the sliding window, it is regarded as the observation value of the motion vector (H, V) variable in the sliding window; based on step 2.2.2, the observation value of the 16-dimensional variable is obtained, Each variable takes the value 0 or 1; the entropy E of these 16 variables is:

E=-(P0log2P0+P1log2P1)E=-(P 0 log 2 P 0 +P 1 log 2 P 1 )

其中,P0即变量为0的概率,P1即变量为1概率;Among them, P 0 is the probability that the variable is 0, and P 1 is the probability that the variable is 1;

步骤2.2.4,每个滑动窗口都可计算得到一组16维熵值;累计计算滑动窗口数量,并累计每一维熵值;In step 2.2.4, each sliding window can be calculated to obtain a set of 16-dimensional entropy values; the number of sliding windows is accumulated, and the entropy values of each dimension are accumulated;

步骤2.2.5,若已扫描完这个视频帧,则跳转步骤2.3;否则,将滑动窗口一次水平或垂直移动一个最大宏块单位,会得到一个与此前被扫描过窗口不完全重复的新的滑动窗口,执行步骤2.2.3;Step 2.2.5, if the video frame has been scanned, then skip to step 2.3; otherwise, move the sliding window horizontally or vertically by one maximum macroblock unit, and a new window that is not exactly the same as the previously scanned window will be obtained. Sliding window, perform step 2.2.3;

步骤2.3,依据步骤2.2.5中的累计滑动窗口数量,及其各维熵的累积之和,对多组熵值数据求均值,得到16维的各自熵均值,并将之作为特征输出;若还有后续视频帧,则回到步骤2.1,若没有后续视频帧,则完成特征提取;In step 2.3, according to the cumulative number of sliding windows in step 2.2.5 and the cumulative sum of the entropy of each dimension, calculate the mean value of multiple sets of entropy value data to obtain the respective entropy mean values of 16 dimensions, and use it as a feature output; if Also have follow-up video frame, then return to step 2.1, if there is no follow-up video frame, then complete feature extraction;

步骤3,使用SVM或其他分类器,对提取的特征进行特征的训练,得到训练模型;Step 3, use SVM or other classifiers to perform feature training on the extracted features to obtain a training model;

步骤4,对于任何一个给定的待测视频,同样使用步骤2的方法提取HVDL特征构造检测特征,将步骤3中训练得到的训练模型,对得到的每帧特征进行是否隐写的预测,给出检测结果。Step 4, for any given video to be tested, also use the method of step 2 to extract HVDL features to construct detection features, use the training model trained in step 3 to predict whether the features of each frame are steganographic, and give Get the test result.

进一步的,所述的步骤2.2.1中,所述的m=n=3。Further, in the step 2.2.1, the m=n=3.

进一步的,所述的最大宏块高度和最大宏块宽度为16个像素。Further, the maximum macroblock height and maximum macroblock width are 16 pixels.

本发明的有益效果是:一种基于熵的视频运动矢量隐写检测方法;采用滑动窗口选取局部区域内若干运动矢量,计算选取的运动矢量在水平分量H,垂直分量V,方向D,和长度L四个变量各自最低4bit的熵,得到一个滑动窗口内的16维熵值。通过在视频帧内移动滑动窗口,得到多组熵值,计算出16维熵均值,作为隐写分析特征。通过该方法,可以捕捉视频运动矢量隐写带来的“熵增加”异常,实现运动矢量的隐写检测。The beneficial effect of the present invention is: a kind of entropy-based video motion vector steganography detection method; Adopt sliding window to select several motion vectors in the local area, calculate the selected motion vector in horizontal component H, vertical component V, direction D, and length The entropy of the lowest 4 bits of each of the four variables of L is obtained to obtain the 16-dimensional entropy value in a sliding window. By moving the sliding window in the video frame, multiple sets of entropy values are obtained, and the 16-dimensional entropy average value is calculated as the feature of steganalysis. Through this method, the "entropy increase" anomaly caused by video motion vector steganography can be captured, and steganographic detection of motion vectors can be realized.

附图说明Description of drawings

图1是本发明的运动矢量隐写检测流程;Fig. 1 is the motion vector steganography detection process of the present invention;

图2是本发明的HVDL特征提取流程。Fig. 2 is the HVDL feature extraction process of the present invention.

具体实施方式Detailed ways

如图1,一种基于熵的视频运动矢量隐写检测方法,包括如下步骤:As shown in Fig. 1, a kind of entropy-based video motion vector steganographic detection method comprises the following steps:

步骤1,检测者准备好cover非隐写样本,并在cover样本上进行隐写嵌入,得到对应的stego隐写样本;Step 1, the detector prepares cover non-steganographic samples, and performs steganographic embedding on the cover samples to obtain corresponding stego steganographic samples;

步骤2,提取视频每帧HVDL特征,并对cover样本和stego样本加入标签,获得对等的cover和stego训练样本特征;Step 2, extract the HVDL features of each frame of the video, and add labels to the cover samples and stego samples to obtain equivalent cover and stego training sample features;

如图2,所述的提取方法包括以下步骤:As shown in Figure 2, the extraction method described comprises the following steps:

步骤2.1,解码一个包含运动矢量的视频帧,获取该帧内每个宏块的运动矢量数值;此时视频帧转化为各大小尺寸的宏块及其宏块运动矢量(H,V)的组合;Step 2.1, decode a video frame containing the motion vector, and obtain the motion vector value of each macroblock in the frame; at this time, the video frame is converted into a combination of macroblocks of various sizes and their macroblock motion vectors (H, V) ;

步骤2.2,对步骤2.1得到的包含运动矢量视频帧,选取滑动窗口;滑动窗口内的运动矢量不止一个,看作是一个二维变量(H,V);将运动矢量(H,V)这个2维变量扩展成16维变量,并计算窗口内该16维变量熵值,最后移动滑动窗口计算出多组熵值;Step 2.2, the motion vector video frame that step 2.1 obtains, selects sliding window; The motion vector in the sliding window is more than one, is regarded as a two-dimensional variable (H, V); The motion vector (H, V) this 2 Dimensional variables are expanded into 16-dimensional variables, and the entropy values of the 16-dimensional variables in the window are calculated, and finally multiple groups of entropy values are calculated by moving the sliding window;

所述的步骤2.2包括以下步骤:The step 2.2 includes the following steps:

步骤2.2.1,设定一个大小为m×n的滑动窗口,其中m和n均为正整数;其中,m为滑动窗口高度,其代表最大宏块高度的m倍;n为滑动窗口的宽度,其代表该宽度为最大宏块宽度的n倍;Step 2.2.1, set a sliding window with a size of m×n, where m and n are both positive integers; among them, m is the height of the sliding window, which represents m times the height of the maximum macroblock; n is the width of the sliding window , which represents that the width is n times the maximum macroblock width;

所述的步骤2.2.1中,所述的m=n=3,In said step 2.2.1, said m=n=3,

所述的最大宏块高度和最大宏块宽度为16个像素。The maximum macroblock height and maximum macroblock width are 16 pixels.

步骤2.2.2,对于滑动窗口内宏块的运动矢量(H,V),通过计算运动矢量的H分量、V分量、方向D和长度L最低4bit,将2个变量转换为16个变量:Step 2.2.2, for the motion vector (H, V) of the macroblock in the sliding window, convert the 2 variables into 16 variables by calculating the H component, V component, direction D and length L of the lowest 4 bits of the motion vector:

其中,Q为量化函数,以H分量为例,t代表了取H的倒数第t个bit,V、D、L的量化方法相同;α为运动矢量与水平右侧方向形成的角度,α∈[0,2π),因此D是α被划分为16等分后对应的0到15数值;代表运动矢量的取整长度;Among them, Q is a quantization function, taking the H component as an example, t represents the tth bit from the reciprocal of H, and the quantization methods of V, D, and L are the same; α is the angle formed by the motion vector and the horizontal right direction, α∈[0,2π), so D is the corresponding value from 0 to 15 after α is divided into 16 equal parts; Represents the rounded length of the motion vector;

步骤2.2.3,对于滑动窗口内的每个运动矢量,都看作是这个滑动窗口内运动矢量(H,V)变量的观测值;基于步骤2.2.2,得到了16维变量的观测值,每个变量取值0或1;此16个变量的熵E为:Step 2.2.3, for each motion vector in the sliding window, it is regarded as the observation value of the motion vector (H, V) variable in the sliding window; based on step 2.2.2, the observation value of the 16-dimensional variable is obtained, Each variable takes the value 0 or 1; the entropy E of these 16 variables is:

E=-(P0log2P0+P1log2P1)E=-(P 0 log 2 P 0 +P 1 log 2 P 1 )

其中,P0即变量为0的概率,P1即变量为1概率;Among them, P 0 is the probability that the variable is 0, and P 1 is the probability that the variable is 1;

步骤2.2.4,每个滑动窗口都可计算得到一组16维熵值;累计计算滑动窗口数量,并累计每一维熵值;In step 2.2.4, each sliding window can be calculated to obtain a set of 16-dimensional entropy values; the number of sliding windows is accumulated, and the entropy values of each dimension are accumulated;

步骤2.2.5,若已扫描完这个视频帧,则跳转步骤3;否则,将滑动窗口一次水平或垂直移动一个最大宏块单位,会得到一个与此前被扫描过窗口不完全重复的新的滑动窗口,执行步骤2.2.3。Step 2.2.5, if the video frame has been scanned, skip to step 3; otherwise, move the sliding window horizontally or vertically by one maximum macroblock unit, and a new window that is not exactly the same as the previously scanned window will be obtained Sliding window, perform step 2.2.3.

步骤2.3,依据步骤2.2.5中的累计滑动窗口数量,及其各维熵的累积之和,对多组熵值数据求均值,得到16维熵均值,并将之作为特征输出;若还有后续视频帧,则回到步骤2.1,若没有后续视频帧,则完成特征提取。Step 2.3, according to the cumulative sliding window number in step 2.2.5, and the cumulative sum of the entropy of each dimension, calculate the mean value for multiple sets of entropy value data, obtain the 16-dimensional entropy mean value, and use it as a feature output; if there are Subsequent video frames, then return to step 2.1, if there is no subsequent video frame, feature extraction is completed.

步骤3,使用SVM或其他分类器,对提取的特征进行特征的训练,得到训练模型;Step 3, use SVM or other classifiers to perform feature training on the extracted features to obtain a training model;

步骤4,对于任何一个给定的待测视频,同样使用步骤2的方法提取HVDL特征构造检测特征,将步骤3中训练得到的训练模型,对得到的每帧特征进行是否隐写的预测,给出检测结果。Step 4, for any given video to be tested, also use the method of step 2 to extract HVDL features to construct detection features, use the training model trained in step 3 to predict whether the features of each frame are steganographic, and give Get the test result.

HVDL特征:依据运动矢量(H,V)计算得到的16维特征,其中H表示水平分量,V表示垂直分量,D是运动矢量的方向,L是运动矢量的长度。HVDL features: 16-dimensional features calculated based on motion vectors (H, V), where H represents the horizontal component, V represents the vertical component, D is the direction of the motion vector, and L is the length of the motion vector.

Claims (3)

1. a kind of video motion vector Stego-detection method based on entropy, it is characterised in that:Include the following steps:
Step 1, tester gets out the non-steganography samples of cover, and steganography insertion is carried out on cover samples, obtains corresponding Stego steganography samples;
Step 2, label is added per frame HVDL features, and to cover samples and stego samples in extraction video, obtains equity Cover and stego training sample features;The HVDL features are 16 dimensional features being calculated according to motion vector (H, V); Wherein H indicates that horizontal component, V indicate vertical component, and D is the direction of motion vector, and L is the length of motion vector;
The extracting method includes the following steps:
Step 2.1, a video frame for including motion vector is decoded, the motion vector numerical value of each macro block in the frame is obtained;This When video frame be converted into each size dimension macro block and its macroblock motion vector (H, V) combination;
Step 2.2, to step 2.1 obtain include motion vector video frame, choose sliding window;Movement arrow in sliding window More than one is measured, regards a two-dimentional variable (H, V) as;By motion vector (H, V), this 2 dimension variable is extended to 16 dimension variables, And the 16 dimension variable entropy in calculation window, it finally moves sliding window and calculates multigroup entropy;
The step 2.2 includes the following steps:
Step 2.2.1 sets a size as the sliding window of m × n, and wherein m and n are positive integer;Wherein, m is sliding window Open height represents m times of maximum macro block height;N is the width of sliding window, represents the width as maximum macro block width N times;
Step 2.2.2, for the motion vector (H, V) of macro block in sliding window, by calculating the H components of motion vector, V divides 2 variables are converted to 16 variables by the respective minimum 4bit of amount, direction D and length L:
Wherein, Q is quantization function, by taking H components as an example,T represent take H inverse t-th of bit, V, D, the quantization method of L is identical;The angle that α is formed for motion vector with horizontal right direction, α ∈ [0,2 π), therefore D It is that α is divided into corresponding 0 to 15 numerical value after 16 deciles;Represent the rounding length of motion vector;
Step 2.2.3, for each motion vector in sliding window, all regard as motion vector in this sliding window (H, V) the observation of variable;Based on step 2.2.2, the observation of 16 dimension variables, each variable-value 0 or 1 have been obtained;This 16 changes The entropy E of amount is:
E=- (P0log2P0+P1log2P1)
Wherein, P0The probability that i.e. variable is 0, P1I.e. variable is 1 probability;
One group of 16 dimension entropy can be calculated in step 2.2.4, each sliding window;Cumulative calculation sliding window quantity, and tire out Meter is per one-dimensional entropy;
Step 2.2.5, if having scanned through this video frame, jump procedure 2.3;Otherwise, by one sub-level of sliding window or hang down The maximum macro block unit of dynamic one of translation, can obtain one be scanned the new sliding window of window not exclusively repeatedly before this, Execute step 2.2.3;
Step 2.3, according to the accumulative sliding window quantity in step 2.2.5, and its sum of the accumulation of each dimension entropy, to multigroup entropy Data are averaged, and obtain the respective entropy mean value of 16 dimensions, and export it as feature;If also subsequent video frame, step is returned to Rapid 2.1, if without subsequent video frame, complete feature extraction;
Step 3, using SVM or other graders, the training of feature is carried out to the feature of extraction, obtains training pattern;
Step 4, same to be detected using the method extraction HVDL latent structures of step 2 for any one given video to be measured The training pattern that training obtains in step 3 is made whether obtained every frame feature the prediction of steganography, provides detection by feature As a result.
2. a kind of video motion vector Stego-detection method based on entropy according to claim 1, it is characterised in that:It is described Step 2.2.1 in, the m=n=3.
3. a kind of video motion vector Stego-detection method based on entropy according to claim 1, it is characterised in that:It is described Maximum macro block height and maximum macro block width be 16 pixels.
CN201610066493.8A 2016-01-30 2016-01-30 A kind of video motion vector Stego-detection method based on entropy Active CN105721875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610066493.8A CN105721875B (en) 2016-01-30 2016-01-30 A kind of video motion vector Stego-detection method based on entropy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610066493.8A CN105721875B (en) 2016-01-30 2016-01-30 A kind of video motion vector Stego-detection method based on entropy

Publications (2)

Publication Number Publication Date
CN105721875A CN105721875A (en) 2016-06-29
CN105721875B true CN105721875B (en) 2018-11-13

Family

ID=56155275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610066493.8A Active CN105721875B (en) 2016-01-30 2016-01-30 A kind of video motion vector Stego-detection method based on entropy

Country Status (1)

Country Link
CN (1) CN105721875B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101713B (en) * 2016-07-06 2018-10-09 武汉大学 A kind of video steganalysis method based on the optimal calibration of window
CN108271027B (en) * 2018-01-10 2020-06-12 中国人民解放军战略支援部队信息工程大学 A method for extracting self-adaptive hidden information from images

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025997A (en) * 2010-12-22 2011-04-20 中兴通讯股份有限公司 Method and device for concealing information as well as method and device for extracting concealed information
CN103856786A (en) * 2012-12-04 2014-06-11 中山大学深圳研究院 Streaming media video encryption method and device based on H.264

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025997A (en) * 2010-12-22 2011-04-20 中兴通讯股份有限公司 Method and device for concealing information as well as method and device for extracting concealed information
CN103856786A (en) * 2012-12-04 2014-06-11 中山大学深圳研究院 Streaming media video encryption method and device based on H.264

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于相关性异常的H.264/AVC视频运动矢量隐写分析算法;王丽娜等;《电子学报》;20140831;第42卷(第8期);全文 *

Also Published As

Publication number Publication date
CN105721875A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN110024393A (en) Low complex degree sign prediction for video coding
CN106529419B (en) An automatic object detection method for video saliency stack aggregation
Huang et al. Visual analysis motivated rate-distortion model for image coding
Egilmez et al. Graph-based transforms for inter predicted video coding
CN108028941A (en) Method and apparatus for coding and decoding digital picture by super-pixel
CN110383841A (en) Method and apparatus for being encoded in video compression to motion vector
CN108881922A (en) Decode the device of Saliency maps
CN103826125A (en) Concentrated analysis method of compressed surveillance video and device
CN110324617A (en) Image processing method and device
JP7431752B2 (en) Video encoding, video decoding method, device, computer device and computer program
CN104853186B (en) An Improved Video Steganalysis Method Based on Motion Vector Recovery
CN102075757B (en) Video foreground object coding method by taking boundary detection as motion estimation reference
CN110383837B (en) Method and apparatus for video processing
CN108182694A (en) A kind of estimation based on interpolation and adaptive video method for reconstructing
CN105721875B (en) A kind of video motion vector Stego-detection method based on entropy
CN107040786B (en) A steganalysis method for H.265/HEVC video based on adaptive selection of spatiotemporal features
CN104853215A (en) Video steganography method based on motion vector local optimality preservation
Lin et al. Saliency-aware spatio-temporal artifact detection for compressed video quality assessment
Dai et al. HEVC video steganalysis based on PU maps and multi-scale convolutional residual network
CN105263026B (en) Global vector acquisition methods based on probability statistics and image gradient information
Wang et al. Steganalysis of JPEG images by block texture based segmentation
CN104581179A (en) Method and apparatus for video encoding conducting motion compensation, method and apparatus for video decoding conducting motion compensation
CN105915916A (en) Video steganalysis method based on motion vector rate-distortion performance estimation
CN101389032A (en) A Method of Intra-frame Predictive Coding Based on Image Interpolation
JP7401822B2 (en) Image encoding method, image encoding device and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant