[go: up one dir, main page]

CN102147913A - Steganalysis method based on image smoothness variation characteristics - Google Patents

Steganalysis method based on image smoothness variation characteristics Download PDF

Info

Publication number
CN102147913A
CN102147913A CN2011100892306A CN201110089230A CN102147913A CN 102147913 A CN102147913 A CN 102147913A CN 2011100892306 A CN2011100892306 A CN 2011100892306A CN 201110089230 A CN201110089230 A CN 201110089230A CN 102147913 A CN102147913 A CN 102147913A
Authority
CN
China
Prior art keywords
line segment
image
smoothness
dir
degree direction
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.)
Granted
Application number
CN2011100892306A
Other languages
Chinese (zh)
Other versions
CN102147913B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN 201110089230 priority Critical patent/CN102147913B/en
Publication of CN102147913A publication Critical patent/CN102147913A/en
Application granted granted Critical
Publication of CN102147913B publication Critical patent/CN102147913B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

一种基于图像平滑度变化量特征的隐写分析方法包括图像平滑度提取方法和图像平滑度变化量特征提取方法两大部分;图像平滑度提取方法包括线段覆盖方法和平滑度计算两部分;线段覆盖方法包括0度方向线段覆盖、45度方向线段覆盖、90度方向线段覆盖和135度方向线段覆盖,在线段覆盖后选取参数并计算图像平滑度;图像平滑度变化量特征提取包括隐写前图像平滑度特征计算,用待分析的隐写方法进行隐写,隐写后图像平滑度特征计算和计算平滑度变化量特征四个步骤。本发明能够分析灰度图像基于LSB的隐写和基于直方图修改的隐写,对于这两类隐写方法,本发明具有较高准确率。

Figure 201110089230

A steganalysis method based on image smoothness variation feature includes two parts: image smoothness extraction method and image smoothness variation feature extraction method; image smoothness extraction method includes two parts: line segment coverage method and smoothness calculation; line segment Covering methods include 0-degree direction line segment coverage, 45-degree direction line segment coverage, 90-degree direction line segment coverage and 135-degree direction line segment coverage. After line segment coverage, select parameters and calculate image smoothness; image smoothness variation feature extraction includes Image smoothness feature calculation, steganography with the steganographic method to be analyzed, image smoothness feature calculation after steganography and calculation of smoothness variation feature four steps. The invention can analyze the LSB-based steganography and the histogram modification-based steganography of the grayscale image, and the invention has higher accuracy for these two types of steganography methods.

Figure 201110089230

Description

A kind of steganalysis method based on Image Smoothness variable quantity feature
Technical field
The invention belongs to the Information hiding detection range, particularly relate to a kind of steganalysis method based on Image Smoothness variable quantity feature.
Background technology
Since early 1990s, Information hiding has caused the attention of international academic community as the important topic in the information security.At first be the sharply intensification of digital watermarking research to protection media product copyright, the paper of publishing rises year by year, and the company that much develops the digital watermarking product arises at the historic moment.In more than ten years, the struggle of forward concealing technology and inverse detection technology grows in intensity, and becomes the research focus that information security field attracts people's attention in the past.
Because the present information concealing technology is a kind of new covert communications technology, thereby is with a wide range of applications in military affairs, safety, communication and business circles, information steganography technology (Steganography) correspondingly obtains paying attention to day by day.The information steganography technology is the important branch of Information Hiding Techniques, has occurred some simple steganography methods very early.Begun extensive exploration to this field to the turn of the century.Latent writing is with normal digital carrier on the surface, as shielding, embed secret information as image, Voice ﹠ Video etc. therein, hiding data neither change the audio visual effect of carrier signal, do not change the size and the form of computer documents yet, thereby can realize lost covert communications.Carry close medium and mix with a large amount of normal media articles usually, particularly the internet is propagated through various channels.What be different from conventional cipher communication is that " ongoing communication " this fact also has been hidden itself, thereby can be used for the safe transfer of important messages.In recent years, along with being extensive use of of Internet technology, latent writing technology has obtained flourish.This technology is adopted by the important department that military establishment, government department, financial institution etc. relate to national economy.Yet information steganography also is a double-edged sword, and hostile force, terrorist etc. also can utilize it to be engaged in the unlawful activities that destroy social stability, harm national security.Occurred thousands of kinds of Information hiding softwares on the internet at present, using these softwares does not need advanced professional knowledge, and related data shows: some terroristic organizations, illegal group and hostile force once utilized Information Hiding Techniques to carry out hidden transmission.This shows, carry out the research of Information hiding detection technique,,, have very important practical sense safeguarding country and army's information security to finding, follow the tracks of in the overt channel based on the lawbreaking activities of covert communications.
Till now, at the existing many steganography methods of the different bearer type of image, wherein LSB (least significant bit) is latent writes appearance the earliest, because its method is simple, data volume is widely used greatly.A large amount of research has been carried out in the latent analysis of writing at LSB simultaneously, many effective analytical approachs occurred.In order to improve security, the researcher improves at latent the writing constantly of LSB, has proposed the LSB secret writing method of multiple correction, can resist some steganalysis method.
In existing research, reversible graph mainly can be divided into spatial domain method and transform domain method as information steganography method according to the difference that embeds the territory.Wherein method application in spatial domain is comparatively extensive, and reversible information steganography method the earliest is to be proposed in 1997 by Barton.Along with going deep into of research, scholars propose a large amount of spatial domain reversible information steganography methods in recent years, these methods are divided into roughly that the reversible information that uses data compression is latent to be write, write based on the reversible information of histogram modification is latent, and (Histogram Modification HM) and based on the reversible letter of difference expansion method such as writes.By changing the histogram of image, with the secret information embedded images, these class methods have higher picture quality based on the reversible steganography method of histogram modification.
Write correspondingly with latent, the purpose of steganalysis is to disclose the hidden latent existence of writing in the medium, even just points out to exist in the medium dubiety of latent write information.Reversible graph is the new problem of information security field proposition over the past two years as the information steganography analysis.At present still be in the starting stage as the steganalysis of steganography method about reversible graph, the correlative study achievement is less, mainly comprise steganalysis based on characteristic statistics, as RCM (reversible contrast mapping) reversible graph as steganalysis, based on carrying the unusual steganalysis of close characteristics of image, as based on the reversible graph of histogram displacement as steganalysis etc., but from detecting on the meaning, the latent writing detection method of parts of traditional is suitable equally for reversible steganalysis.
At present, according to steganalysis at steganography method divide, can be divided into specific steganalysis method and universal blind checking method at ad hoc approach.A kind of specific steganalysis method is only analyzed a kind of specific steganography method, has higher accuracy rate, but after this kind steganography method improves, steganalysis method at this steganography method is just no longer suitable, after for example classical LSB steganography method proposes, chi-square analysis method at classical LSB steganography method has appearred, RS steganalysis method etc., after this, improved LSB steganography method is suggested to resist these at the latent steganalysis method of writing of classical LSB, histogram compensation secret writing for example, minimum histogram distortion (least histogram abnormality, LHA) secret writing etc.And the general steganalysis method is because its versatility, and the steganography method of analysis is more, but accuracy rate is also lower simultaneously, at different steganography methods, has different effects usually.
Summary of the invention
The technical problem to be solved in the present invention is: overcome the deficiencies in the prior art, a kind of steganalysis method based on Image Smoothness variable quantity feature is provided, combine the advantage of specific steganography method and blind checking method, have certain universality, have higher accuracy rate simultaneously.
The technical solution adopted for the present invention to solve the technical problems: a kind of steganalysis method based on Image Smoothness variable quantity feature comprises Image Smoothness extracting method and Image Smoothness variable quantity feature extraction two large divisions.The Image Smoothness extracting method comprises line segment covering method and smoothness calculating two parts.The line segment covering method comprises that 0 degree direction line segment covers, 45 degree direction line segments cover, 90 degree direction line segments cover and 135 degree direction line segments cover, and choose parameter and computed image smoothness after line segment covers.The feature extraction of smoothness variable quantity comprises the computed image smoothness, with steganography method to be analyzed image is concealed and writes, and calculates latent back Image Smoothness and four steps of calculating smoothness variable quantity feature write.After extracting smoothness variable quantity feature, utilize support vector machine that the feature of training sample is carried out model training and treat the test sample eigen classifying, the support vector machine technology belongs to known technology, the present invention mainly introduces smoothness variable quantity characteristic extraction procedure, and the smoothness extracting method is the used a kind of basic operation of smoothness variable quantity feature extraction.
0 degree direction line segment overwrite procedure is:
(1), obtains one-dimension array P0 by the line direction whole gray level image of lining by line scan;
(2) the line segment capacity C is set, each pixel among the array P0 is also rounded downwards divided by C;
(3) cover adjacent pixel among the one-dimension array P0 with line segment successively with same pixel value;
(4) frequency of statistics different length line segment obtains frequency array f0.
45 degree direction line segment overwrite procedures are:
(1) by the whole gray level image of 45 degree direction zigzag scans, obtains one-dimension array P45;
(2) the line segment capacity C is set, each pixel among the array P45 is also rounded downwards divided by C;
(3) cover adjacent pixel among the one-dimension array P45 with line segment successively with same pixel value;
(4) frequency of statistics different length line segment obtains frequency array f45.
90 degree direction line segment overwrite procedures are:
(1) presses column direction by the whole gray level image of column scan, obtain one-dimension array P90;
(2) the line segment capacity C is set, each pixel among the array P90 is also rounded downwards divided by C;
(3) cover adjacent pixel among the one-dimension array P90 with line segment successively with same pixel value;
(4) frequency of statistics different length line segment obtains frequency array f90.
135 degree direction line segment overwrite procedures are:
(1) by the whole gray level image of the 135 degree reverse zigzag scans of direction, obtains one-dimension array P135;
(2) the line segment capacity C is set, each pixel among the array P135 is also rounded downwards divided by C;
(3) cover adjacent pixel among the one-dimension array P135 with line segment successively with same pixel value;
(4) frequency of statistics different length line segment obtains frequency array f135.
Image Smoothness computation process is:
Line segment for 4 directions covers, difference computed image smoothness, and computation process is:
(1) selected threshold K, the line segment that expression length is not less than K is long line segment;
(2) calculate the shared ratio of long line segment, this ratio is Image Smoothness, and computing formula is:
S dir ( K ) = Σ i = K t dir f dir ( i ) × i Σ i = 1 t dir f dir ( i ) × i , dir=0,45,90,135,K=3,4,5
Sdir (K) is the Image Smoothness of image under dir direction threshold k, and tdir is the length of nose section during line segment covers on the dir direction, and the dir direction is 0 degree direction, 45 degree directions, 90 degree directions and 135 degree directions.
Smoothness variable quantity characteristic extraction procedure is:
(1) calculates piece image on 0 degree direction, 45 degree directions, 90 degree directions, 135 degree directions, the smoothness S1 under the different threshold k;
(2) with steganography method to be analyzed image is concealed and write;
(3) calculate the latent back image of writing on 0 degree direction, 45 degree directions, 90 degree directions, 135 degree directions, the smoothness S ' under the different threshold k;
(4) calculate the latent variable quantity of writing each smoothness of back image, this variable quantity is as feature, and computing formula is:
R dir ( K ) = S dir ( K ) - S dir , ( K ) S dir ( K ) , dir=0,45,90,135,
Rdir (K) be image on the dir direction, the Image Smoothness variable quantity under the threshold k, Sdir (K) for latent writing before the smoothness of image on the dir direction, Sdir ' (K) is the latent smoothness of back image on the dir direction of writing.
The advantage that the present invention is compared with prior art had is:
(1) the steganalysis method that proposes of the present invention is applicable to analysis based on the steganography method of LSB with based on the steganography method of histogram modification, rather than only at the steganalysis of certain single steganography method, adaptability is strong;
(2) the steganalysis method of the present invention's proposition is compared with universal blind checking method, has higher accuracy rate;
(3) the present invention covers by the line segment of four direction, can calculate and obtain the Image Smoothness of image on four direction, for some latent steganography method that has direction to select problem in the process of writing, has good analytical effect;
(4) the Image Smoothness computing method of the present invention's extraction are flexible and changeable, by adjusting line segment capacity C and threshold k, can obtain a plurality of Image Smoothness, to satisfy different application requirements.
Description of drawings
Fig. 1 is the input of the eigenwert among the present invention synoptic diagram;
Fig. 2 is the testing image file analysis synoptic diagram among the present invention;
Fig. 3 is the smoothness variable quantity feature extraction synoptic diagram among the present invention;
Fig. 4 among the present invention along the 0 degree synoptic diagram of lining by line scan;
Fig. 5 covers synoptic diagram for the one dimension image array line segment among the present invention;
Fig. 6 among the present invention along 45 degree zigzag scan synoptic diagram;
Fig. 7 is spending by the column scan synoptic diagram along 90 among the present invention;
Fig. 8 among the present invention along the reverse zigzag scan synoptic diagram of 135 degree.
Embodiment
Framework such as Fig. 1 and Fig. 2 of the steganalysis method that covers based on line segment of the present invention: extract the latent eigenwert of the smoothness variable quantity feature of sample image file and clean sample audio file of writing, extract the smoothness variable quantity eigenwert input support vector machine of band altimetric image file as support vector machine; Support vector machine generates training pattern according to eigenwert, and the smoothness variable quantity feature of training testing image file contains latent write information when judging the testing image file.Support vector machine is called for short SVM, is a kind of of existing sorter, and the present invention chooses support vector machine to carry out sort operation, and the proper vector that criteria for classification adopts the smoothness variable quantity feature of image file to constitute.The present invention notices, writes and based on the latent latent write information of writing of histogram modification if contain in the image file based on LSB is latent, and through after latent the writing once more, the smoothness quantitative changeization of image is little; LSB is latent to be write and the latent latent write information of writing of histogram if do not contain in the image file, and through after latent the writing once more, the smoothness variable quantity of image is bigger.Therefore, the present invention proposes, extract the latent eigenwert of the smoothness variable quantity feature of sample image file and clean sample image of writing as support vector machine, support vector machine is the training vector feature with the smoothness variable quantity, can obtain the conclusion whether the testing image file contains latent write information according to the smoothness variable quantity feature of testing image file.In order to guarantee accuracy rate, the latent quantity of writing sample image file and clean sample image file should have thousands of, with a plurality of latent smoothness variable quantity feature input support vector machine of writing sample image file and clean sample image file, can generate training pattern.
No matter be to write sample image file and clean sample image file to latent, or the testing image file, unified smoothness variable quantity feature extraction mode adopted, the judgement of can conveniently classifying.Wherein, utilize support vector machine that the feature and the latent feature of writing the sample image file of clean sample image file are generated training pattern and utilize the feature of training pattern and testing image file that the testing image file is classified, belong to existing known technology.Referring to Fig. 3, key of the present invention is smoothness variable quantity Feature Extraction mode, comprise Image Smoothness computing method and Image Smoothness variable quantity feature extraction two large divisions, the smoothness computing method are the used a kind of basic operations of smoothness variable quantity feature extracting method.
One, Image Smoothness computing method
The Image Smoothness computing method adopt the line segment covering method, at first with line segment overlay image on 0 degree direction, 45 degree directions, 90 degree directions, 135 degree direction four directions, add up the frequency of different length line segment then, with the shared Image Smoothness of ratio presentation video on 0 degree direction, 45 degree directions, 90 degree directions, 135 degree direction four directions of long line segment, by adjusting the parameter in the Image Smoothness computing formula, can obtain a plurality of Image Smoothness.
0 degree direction line segment overwrite procedure is:
Step 1. by the 0 degree direction entire image of lining by line scan, obtains one dimension array of pixels P0 as shown in Figure 4, array length is the image pixel number, and for example: the gray level image two-dimensional array is IMG[m] [n], m is a picture altitude, n is a picture traverse, image pixel number len=m * n, and P0 is:
P0[1……len]=[IMG[1][1……n],IMG[2][1……n],……,IMG[m][1……n]];
It is C that step 2. is set the line segment capacity, and all pixel values among the one dimension array of pixels P0 are also rounded downwards divided by C, as follows:
Figure BDA0000054646960000051
Step 3. covers the adjacent pixel with same pixel value among the P0 with line segment successively, and as shown in Figure 5, the P0 line segment of a certain image covers (part);
Step 4. is added up each bar line segment length (the length of line segment is the number of the pixel of this line segment covering) successively, obtain line segment length array L0, L0[i] length of expression i bar line segment, the length of array L0 is lenl0, the length t0=max (L0[1 of nose section ... lenl0]; The frequency of statistics different length line segment obtains frequency array f0, and the length of f0 is t0, and computing formula is:
f 0 ( i ) = Σ j = 1 lenl 0 sign ( L 0 [ j ] - i ) , Wherein:
sign ( x ) = 1 , x = 0 0 , x ≠ 0 , Lenl0 is the length of array L0, f0 (i) be illustrated in 0 the degree direction on length be the number of the line segment of i;
For example, parts of images shown in Figure 5 can calculate L0=[2, and 1,3,1,1,5,1,1,1 ... ], f0=[6,1,1,0,1 ... ].
45 degree direction line segment overwrite procedures are:
Step 1. as shown in Figure 6, from the upper left corner to the lower right corner, image is carried out zigzag scan by 45 degree directions, obtain one dimension array of pixels P45, array length is the image pixel number, for example: the gray level image two-dimensional array is IMG[m] [n], m is a picture altitude, n is a picture traverse, image pixel number len=m * n, P45 is:
P 45=zigzag (IMG), wherein:
Zigzag (x) is the zigzag scan function, zigzag scan two-dimensional array x;
It is C that step 2. is set the line segment capacity, and all pixel values among the one dimension array of pixels P45 are also rounded downwards divided by C, as follows:
Figure BDA0000054646960000063
Step 3. covers the adjacent pixel with same pixel value among the P45 with line segment successively, and the P45 overwrite procedure is identical with the P0 overwrite procedure;
Step 4. is added up each bar line segment length (the length of line segment is the number of the pixel of this line segment covering) successively, obtain line segment length array L45, L45[i] length of expression i bar line segment, the length of array L45 is lenl45, length t45=max (the L45[1 of nose section ... lenl45], the frequency of statistics different length line segment obtains frequency array f45, the length of f45 is t45, and computing formula is:
f 45 [ i ] = Σ j = 1 lenl 45 sign ( L 45 [ j ] - i ) , Wherein:
sign ( x ) = 1 , x = 0 0 , x ≠ 0 , Lenl45 is the length of array L45, f45 (i) be illustrated in 45 the degree directions on length be the number of the line segment of i.
90 degree direction line segment overwrite procedures are:
Step 1. by the column scan entire image, obtains one dimension array of pixels P90 by 90 degree directions as shown in Figure 7, array length is the image pixel number, and for example: the gray level image two-dimensional array is IMG[m] [n], m is a picture altitude, n is a picture traverse, image pixel number len=m * n, and P90 is:
P90[1……len]=[IMG[1……m][1],IMG[1……m][2],……,IMG[1……m][n]];
It is C that step 2. is set the line segment capacity, and all pixel values among the one dimension array of pixels P90 are also rounded downwards divided by C, as follows:
Figure BDA0000054646960000071
Step 3. covers the adjacent pixel with same pixel value among the P90 with line segment successively, and the P90 overwrite procedure is identical with the P0 overwrite procedure;
Step 4. is added up each bar line segment length (the length of line segment is the number of the pixel of this line segment covering) successively, obtain line segment length array L90, L90[i] length of expression i bar line segment, the length of array L90 is lenl90, the length t90=max (L90[1 of nose section ... lenl90]; The frequency of statistics different length line segment obtains frequency array f90, and line segment length is the number of the pixel of this line segment covering, and the length of f45 is t45, and computing formula is:
f 90 [ i ] = Σ j = 1 lenl 90 sign ( L 90 [ j ] - i ) , Wherein:
sign ( x ) = 1 , x = 0 0 , x ≠ 0 , Lenl90 is the length of array L90, and length is the number of the line segment of i on f90 (i) the expression 90 degree directions.
135 degree direction line segment overwrite procedures are:
Step 1. as shown in Figure 8, from the upper right corner to the lower left corner, image is carried out reverse zigzag scan by 135 degree directions, obtain one dimension array of pixels P135, array length is the image pixel number, for example: the gray level image two-dimensional array is IMG[m] [n], m is a picture altitude, n is a picture traverse, image pixel number len=m * n, P135 is:
P 135=zigzag2(IMG),
Wherein zigzag2 (x) is reverse zigzag scan function, oppositely zigzag scan two-dimensional array x;
It is C that step 2. is set the line segment capacity, and all pixel values among the one dimension array of pixels P135 are also rounded downwards divided by C, as follows:
Step 3. covers the adjacent pixel with same pixel value among the P135 with line segment successively, and the P135 overwrite procedure is identical with the P0 overwrite procedure;
Step 4. is added up each bar line segment length (the length of line segment is the number of the pixel of this line segment covering) successively, obtain line segment length array L135, L135[i] length of expression i bar line segment, the length of array L135 is lenl135, the length t135=max (L135[1 of nose section ... lenl135]; The frequency of statistics different length line segment obtains frequency array f135, and line segment length is the number of the pixel of this line segment covering, and the length of f135 is t135, and computing formula is:
f 135 [ i ] = Σ j = 1 lenl 135 sign ( L 135 [ j ] - i ) , Wherein:
sign ( x ) = 1 , x = 0 0 , x ≠ 0 , Lenl135 is the length of array L135, and length is the number of the line segment of i on f135 (i) the expression 135 degree directions.
The smoothness computing method are on 0 degree direction, 45 degree directions, 90 degree directions, the 135 degree directions:
Step 1. setting threshold K, expression length is long line segment more than or equal to the line segment of K, and the K value is different, and long line segment number difference, the smoothness that calculates are also different;
Step 2. is calculated the shared ratio of long line segment, and the length that adds line segment during calculating is as weight, and computing formula is:
S dir ( K ) = Σ i = K t dir f dir ( i ) × i Σ i = 1 t dir f dir ( i ) × i , dir=0,45,90,135,K=3,4,5,
Sdir (K) be image on the dir direction, the smoothness under the threshold k, dir is the direction at the smoothness place of being calculated, tdir is the length of nose section during line segment covers on the dir direction;
The smoothness computing formula is respectively on the 0 degree direction:
Figure BDA0000054646960000084
K=3,4,5,
The smoothness computing formula is respectively on the 45 degree directions:
Figure BDA0000054646960000085
K=3,4,5,
The smoothness computing formula is respectively on the 90 degree directions: K=3,4,5,
The smoothness computing formula is respectively on the 135 degree directions: K=3,4,5;
During line segment in this example on 0 degree direction, 45 degree directions, 90 degree directions, the 135 degree directions covers, the line segment capacity C at first is set, the line segment capacity C is being controlled the quantity that line segment covers the long line segment in back, the duration line segment is more greatly as C, when long line segment more after a little while, the smoothness numerical value that calculates is less, is unfavorable for being used for analyzing; C is unified in this example is set at 1, and when being used for other steganalysis method, if C is that 1 duration line segment is less, smoothness numerical value hour can change the C value; Threshold k also influences the quantity of long line segment, the K value hour, long line segment is more, smoothness numerical value is bigger, the K value is 3,4,5 in this example.
Two, Image Smoothness variable quantity feature extraction
The feature extraction of Image Smoothness variable quantity utilizes the Image Smoothness computing method, and the variable quantity of computed image before and after latent writing is as feature, and leaching process is:
Step 1. is calculated piece image on 0 degree direction, 45 degree directions, 90 degree directions and 135 degree directions, the smoothness S under the different threshold k:
0 degree directional smoothing degree: K=3,4,5,
45 degree directional smoothing degree:
Figure BDA0000054646960000092
K=3,4,5,
90 degree directional smoothing degree:
Figure BDA0000054646960000093
K=3,4,5,
135 degree directional smoothing degree: K=3,4,5;
Step 2. is concealed image with steganography method to be analyzed and is write, and latent write information be the information that produces at random, and the latent capacity of writing adopts latent the writing of steganography method single to be analyzed can conceal the max cap. of writing, and for example, LSB conceals that to write capacity be 1bpp;
Step 3. is calculated the latent back image of writing on 0 degree direction, 45 degree directions, 90 degree directions and 135 degree directions, the smoothness S ' under the different threshold k:
0 degree directional smoothing degree:
Figure BDA0000054646960000095
K=3,4,5,
45 degree directional smoothing degree:
Figure BDA0000054646960000096
K=3,4,5,
90 degree directional smoothing degree:
Figure BDA0000054646960000097
K=3,4,5,
135 degree directional smoothing degree:
Figure BDA0000054646960000098
K=3,4,5;
F0 ' wherein, f45 ', f90 ', f135 ' spends 45 degree, 90 degree for the latent back image of writing 0, line segment covers the frequency of back different length line segment on the 135 degree directions, t0 ', t45 ', t90 ', t135 ' spends 0 for the latent back image of writing, 45 degree, 90 degree, the length of nose section during line segment covers on the 135 degree directions;
Step 4. is calculated the latent variable quantity of writing each smoothness of back image, and this variable quantity is as feature, and computing formula is:
R dir ( K ) = S dir ( K ) - S dir , ( K ) S dir ( K ) , dir=0,45,90,135,
Rdir (K) be image on the dir direction, the Image Smoothness variable quantity under the threshold k, Sdir (K) for latent writing before the smoothness of image on the dir direction, Sdir ' (K) is the latent smoothness of back image on the dir direction of writing;
0 degree directional smoothing degree variable quantity: R 0 ( K ) = S 0 ( K ) - S 0 , ( K ) S 0 ( K ) ,
45 degree directional smoothing degree variable quantities: R 45 ( K ) = S 45 ( K ) - S 45 , ( K ) S 45 ( K ) ,
90 degree directional smoothing degree variable quantities: R 90 ( K ) = S 90 ( K ) - S 90 , ( K ) S 90 ( K ) ,
135 degree directional smoothing degree variable quantities: R 135 ( K ) = S 135 ( K ) - S 135 , ( K ) S 135 ( K ) ;
The dir value is 0,45,90,135 in this example, and the K value is 3,4,5, so for a sub-picture, get 12 Image Smoothness variable quantities in this example as eigenwert.
The part that the present invention does not elaborate belongs to techniques well known.

Claims (3)

1.一种基于图像平滑度变化量特征的隐写分析方法,其特征在于:包括图像平滑度提取方法和图像平滑度变化量特征提取两大部分;所述图像平滑度提取方法包括线段覆盖方法和图像平滑度计算两部分,线段覆盖方法包括0度方向线段覆盖、45度方向线段覆盖、90度方向线段覆盖和135度方向线段覆盖,对于得到的所述4个方向的线段覆盖,分别计算图像平滑度;图像平滑度变化量特征提取包含计算图像平滑度,用待分析的隐写方法对图像进行隐写,计算隐写后图像平滑度和计算平滑度变化量特征四个步骤;1. A steganalysis method based on image smoothness variation feature, characterized in that: comprise image smoothness extraction method and image smoothness variation feature extraction two parts; described image smoothness extraction method comprises line segment coverage method and image smoothness calculation. The line segment coverage method includes line segment coverage in the 0-degree direction, line segment coverage in the 45-degree direction, line segment coverage in the 90-degree direction, and line segment coverage in the 135-degree direction. For the obtained line segment coverage in the four directions, calculate Image smoothness; image smoothness variation feature extraction includes calculating image smoothness, using the steganographic method to be analyzed to steganographically image, calculating image smoothness after steganography and calculating smoothness variation feature four steps; 所述0度方向线段覆盖过程为:The covering process of the line segment in the 0-degree direction is: (1)按行方向逐行扫描整个灰度图像,获得一维数组P0;(1) Scan the entire grayscale image row by row to obtain a one-dimensional array P0; (2)设置线段容量C,将数组P0中每个像素除以C并向下取整;(2) Set the line segment capacity C, divide each pixel in the array P0 by C and round down; (3)依次用线段覆盖一维数组P0中相邻的具有相同像素值的像素;(3) Cover adjacent pixels with the same pixel value in the one-dimensional array P0 with line segments in turn; (4)统计不同长度线段的频数,获得频数数组f0;(4) Count the frequency of line segments of different lengths to obtain the frequency array f0; 所述45度方向线段覆盖过程为:The 45-degree direction line segment coverage process is: (1)按45度方向Z形扫描整个灰度图像,获得一维数组P45;(1) Z-scan the entire grayscale image in a 45-degree direction to obtain a one-dimensional array P45; (2)设置线段容量C,将数组P45中每个像素除以C并向下取整;(2) Set line segment capacity C, divide each pixel in the array P45 by C and round down; (3)依次用线段覆盖一维数组P45中相邻的具有相同像素值的像素;(3) cover adjacent pixels with the same pixel value in the one-dimensional array P45 with line segments in turn; (4)统计不同长度线段的频数,获得频数数组f45;(4) Count the frequency of line segments of different lengths to obtain the frequency array f45; 所述90度方向线段覆盖过程为:The covering process of the 90-degree direction line segment is: (1)按列方向逐列扫描整个灰度图像,获得一维数组P90;(1) Scan the entire grayscale image column by column to obtain a one-dimensional array P90; (2)设置线段容量C,将数组P90中每个像素除以C并向下取整;(2) Set line segment capacity C, divide each pixel in the array P90 by C and round down; (3)依次用线段覆盖一维数组P90中相邻的具有相同像素值的像素;(3) cover adjacent pixels with the same pixel value in the one-dimensional array P90 with line segments in turn; (4)统计不同长度线段的频数,获得频数数组f90;(4) Count the frequency of line segments of different lengths to obtain the frequency array f90; 所述135度方向线段覆盖过程为:The covering process of the 135-degree direction line segment is: (1)按135度方向反向Z形扫描整个灰度图像,获得一维数组P135;(1) scan the entire grayscale image in reverse Z-shape in the direction of 135 degrees to obtain a one-dimensional array P135; (2)设置线段容量C,将数组P135中每个像素除以C并向下取整;(2) Set line segment capacity C, divide each pixel in the array P135 by C and round down; (3)依次用线段覆盖一维数组P135中相邻的具有相同像素值的像素;(3) cover adjacent pixels with the same pixel value in the one-dimensional array P135 with line segments in turn; (4)统计不同长度线段的频数,获得频数数组f135;(4) Count the frequency of line segments of different lengths to obtain the frequency array f135; 所述图像平滑度计算过程为:The image smoothness calculation process is: 对于上述4个方向的线段覆盖,即0度方向线段覆盖、45度方向线段覆盖、90度方向线段覆盖和135度方向线段覆盖,分别计算图像平滑度,计算过程为:For the line segment coverage in the above four directions, that is, the line segment coverage in the 0-degree direction, the line segment coverage in the 45-degree direction, the line segment coverage in the 90-degree direction, and the line segment coverage in the 135-degree direction, the image smoothness is calculated respectively. The calculation process is as follows: (1)选取阈值K,表示长度不小于K的线段为长线段;(1) Select the threshold K, indicating that the line segment with a length not less than K is a long line segment; (2)计算长线段所占的比例,此比例即为图像平滑度,图像平滑度计算公式为:(2) Calculate the proportion of long line segments, this proportion is the smoothness of the image, and the formula for calculating the smoothness of the image is: S dir ( K ) = Σ i = K t dir f dir ( i ) × i Σ i = 1 t dir f dir ( i ) × i , dir=0,45,90,135,K=3,4,5 S dir ( K ) = Σ i = K t dir f dir ( i ) × i Σ i = 1 t dir f dir ( i ) × i , dir=0, 45, 90, 135, K=3, 4, 5 Sdir(K)为图像在dir方向上,阈值K下的图像平滑度,tdir为在dir方向上线段覆盖中最长线段的长度,dir方向为0度方向、45度方向、90度方向线和135度方向,fdir为dir方向上不同长度线段的频数;Sdir(K) is the smoothness of the image under the threshold K in the dir direction, tdir is the length of the longest line segment in the line segment coverage in the dir direction, and the dir direction is the 0-degree direction, 45-degree direction, 90-degree direction line and In the direction of 135 degrees, fdir is the frequency of line segments with different lengths in the direction of dir; 所述图像平滑度变化量特征提取过程为:The image smoothness variation feature extraction process is: (1)计算一幅图像在0度方向、45度方向、90度方向、135度方向上,不同阈值K下的平滑度S;(1) Calculate the smoothness S of an image under different thresholds K in the directions of 0 degrees, 45 degrees, 90 degrees, and 135 degrees; (2)用待分析的隐写方法对图像进行隐写;(2) steganography is carried out to the image with the steganography method to be analyzed; (3)计算隐写后图像在0度方向、45度方向、90度方向、135度方向上,不同阈值K下的平滑度S’;(3) Calculate the smoothness S' of the steganographic image in the direction of 0 degrees, 45 degrees, 90 degrees, and 135 degrees under different thresholds K; (4)计算隐写后各图像平滑度的变化量,此变化量作为特征,计算公式为:(4) Calculate the amount of change in the smoothness of each image after steganography. This amount of change is used as a feature, and the calculation formula is: R dir ( K ) = S dir ( K ) - S dir , ( K ) S dir ( K ) , dir=0,45,90,135, R dir ( K ) = S dir ( K ) - S dir , ( K ) S dir ( K ) , dir=0, 45, 90, 135, Rdir(K)为图像在dir方向上,阈值K下的图像平滑度变化量,Sdir(K)为隐写前图像在dir方向上的平滑度,Sdir’(K)为隐写后图像在dir方向上的平滑度。Rdir(K) is the smoothness change of the image in the dir direction under the threshold K, Sdir(K) is the smoothness of the image in the dir direction before steganography, and Sdir'(K) is the image in the dir direction after steganography Smoothness in direction. 2.根据权利要求1所述的基于图像平滑度变化量特征的隐写分析方法,其特征在于:所述0度方向线段覆盖、45度方向线段覆盖、90度方向线段覆盖和135度方向线段覆盖中的线段容量C取值为1、2、3、4。2. The steganalysis method based on the image smoothness variation feature according to claim 1, characterized in that: the 0-degree direction line segment coverage, the 45-degree direction line segment coverage, the 90-degree direction line segment coverage and the 135-degree direction line segment coverage The segment capacity C in coverage takes values 1, 2, 3, 4. 3.根据权利要求1所述的基于图像平滑度变化量特征的隐写分析方法,其特征在于:所述图像平滑度计算公式中的阈值K取值为2、3、4、5、6、7。3. the steganalysis method based on image smoothness variation characteristic according to claim 1, is characterized in that: the threshold value K in the described image smoothness calculation formula takes a value of 2, 3, 4, 5, 6, 7.
CN 201110089230 2011-04-11 2011-04-11 Steganalysis method based on image smoothness variation characteristics Expired - Fee Related CN102147913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110089230 CN102147913B (en) 2011-04-11 2011-04-11 Steganalysis method based on image smoothness variation characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110089230 CN102147913B (en) 2011-04-11 2011-04-11 Steganalysis method based on image smoothness variation characteristics

Publications (2)

Publication Number Publication Date
CN102147913A true CN102147913A (en) 2011-08-10
CN102147913B CN102147913B (en) 2013-02-13

Family

ID=44422163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110089230 Expired - Fee Related CN102147913B (en) 2011-04-11 2011-04-11 Steganalysis method based on image smoothness variation characteristics

Country Status (1)

Country Link
CN (1) CN102147913B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314668A (en) * 2011-09-09 2012-01-11 北京航空航天大学 Difference-expansion digital-watermark-embedding improvement method for enhancing quality of watermark-embedded image
CN102905134A (en) * 2012-10-22 2013-01-30 山东省计算中心 Adaptive video digital steganography method
CN103108188A (en) * 2013-03-01 2013-05-15 武汉大学 Video steganalysis method based on partial cost non-optimal statistics
CN103281473A (en) * 2013-06-09 2013-09-04 中国科学院自动化研究所 General video steganalysis method based on video pixel space-time relevance
WO2013177969A1 (en) * 2012-05-29 2013-12-05 中国科学院自动化研究所 Symmetric domain information-based blind steganalysis method
CN103700057A (en) * 2012-09-28 2014-04-02 中国银联股份有限公司 Method and equipment for hiding information in image
CN104050624A (en) * 2014-06-20 2014-09-17 宁波大学 Digital image steganographic method
CN104636764A (en) * 2015-02-12 2015-05-20 中国人民武装警察部队工程大学 Image steganography analysis method and device
CN108307086A (en) * 2018-01-26 2018-07-20 广东技术师范学院 A kind of method and device of image latent writing

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248322B (en) * 2019-06-28 2021-10-22 国家计算机网络与信息安全管理中心 Fraud group partner identification system and identification method based on fraud short messages

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6473560B1 (en) * 1998-03-18 2002-10-29 U.S. Philips Corporation Copy protection schemes for copy protected digital material
CN101119429A (en) * 2006-08-01 2008-02-06 北京北大方正电子有限公司 A method and device for digital watermark embedding and extraction
CN101246588A (en) * 2008-03-20 2008-08-20 复旦大学 Adaptive Watermarking Algorithm for Color Image Hypercomplex Number Space

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6473560B1 (en) * 1998-03-18 2002-10-29 U.S. Philips Corporation Copy protection schemes for copy protected digital material
CN101119429A (en) * 2006-08-01 2008-02-06 北京北大方正电子有限公司 A method and device for digital watermark embedding and extraction
CN101246588A (en) * 2008-03-20 2008-08-20 复旦大学 Adaptive Watermarking Algorithm for Color Image Hypercomplex Number Space

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHENYONG CHEN,MING CHEN,XIAO ZENG,ZHANG XIONG: "Reversible Image Watermarking Using Interpolation Technique", 《INFORMANTION FORENSKS AND SECURLTY》, 31 March 2010 (2010-03-31), pages 187 - 193, XP011328937, DOI: doi:10.1109/TIFS.2009.2035975 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314668A (en) * 2011-09-09 2012-01-11 北京航空航天大学 Difference-expansion digital-watermark-embedding improvement method for enhancing quality of watermark-embedded image
WO2013177969A1 (en) * 2012-05-29 2013-12-05 中国科学院自动化研究所 Symmetric domain information-based blind steganalysis method
CN103700057A (en) * 2012-09-28 2014-04-02 中国银联股份有限公司 Method and equipment for hiding information in image
CN102905134B (en) * 2012-10-22 2015-06-03 山东省计算中心 Adaptive video digital steganography method
CN102905134A (en) * 2012-10-22 2013-01-30 山东省计算中心 Adaptive video digital steganography method
CN103108188A (en) * 2013-03-01 2013-05-15 武汉大学 Video steganalysis method based on partial cost non-optimal statistics
CN103108188B (en) * 2013-03-01 2015-09-02 武汉大学 Based on the video steganalysis method of local cost non-optimal statistics
CN103281473A (en) * 2013-06-09 2013-09-04 中国科学院自动化研究所 General video steganalysis method based on video pixel space-time relevance
CN103281473B (en) * 2013-06-09 2015-04-15 中国科学院自动化研究所 General video steganalysis method based on video pixel space-time relevance
CN104050624A (en) * 2014-06-20 2014-09-17 宁波大学 Digital image steganographic method
CN104050624B (en) * 2014-06-20 2017-10-24 宁波大学 A kind of digital picture steganography method
CN104636764A (en) * 2015-02-12 2015-05-20 中国人民武装警察部队工程大学 Image steganography analysis method and device
CN104636764B (en) * 2015-02-12 2018-05-11 中国人民武装警察部队工程大学 A kind of image latent writing analysis method and its device
CN108307086A (en) * 2018-01-26 2018-07-20 广东技术师范学院 A kind of method and device of image latent writing

Also Published As

Publication number Publication date
CN102147913B (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102147913A (en) Steganalysis method based on image smoothness variation characteristics
Li et al. How to prove your model belongs to you: A blind-watermark based framework to protect intellectual property of DNN
Kang et al. Robust median filtering forensics using an autoregressive model
CN101493938B (en) Method for detecting cooked image based on noise distribution discipline
Nanjo et al. Carbonate lithology identification with machine learning
Chen et al. An efficient dual-image reversible data hiding scheme based on exploiting modification direction
Yang et al. A novel image steganography algorithm based on hybrid machine leaning and its application in cyberspace security
Zou et al. Anti‐Forensics of Image Contrast Enhancement Based on Generative Adversarial Network
CN103559676A (en) Method for preventing color image blind watermarking from being printed and scanned based on DCT coefficient statistical property
Wang et al. A novel attention-guided JND Model for improving robust image watermarking
Qiu Generative image steganography scheme based on deep learning
CN103854249A (en) Digital image watermarking method based on local index torque characteristic
Su Color image watermarking: algorithms and technologies
Ren et al. EMF-Net: An edge-guided multi-feature fusion network for text manipulation detection
Lin et al. Multi-frequency residual convolutional neural network for steganalysis of color images
Khan et al. Implementation of variable least significant bits stegnography using dddb algorithm
Wylie Jr et al. Well-log tomography and 3-D imaging of core and log-curve amplitudes in a Niagaran reef, Belle River Mills field, St. Clair County, Michigan, United States
Bai et al. Learn from noise: Detecting deepfakes via regional noise consistency
Pang et al. Pairwise open-sourced dataSet protection based on adaptive blind watermarking
CN104077738A (en) Color image watermarking method based on local histogram characteristics
CN102411771A (en) Reversible image steganalysis method based on histogram peak value fluctuation quantity
de Pablo et al. A doubling of stony coral cover on shallow forereefs at Carrie Bow Cay, Belize from 2014 to 2019
Chen et al. A features decoupling method for multiple manipulations identification in image operation chains
Almngoshi et al. Original Research Article Machine learning based weight optimized genetic algorithm for digital video watermarking technique
Casar-González et al. Stochastic imaging of vuggy formations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130213

Termination date: 20160411

CF01 Termination of patent right due to non-payment of annual fee