[go: up one dir, main page]

CN100452884C - Method for detecting GIF infomration hidden - Google Patents

Method for detecting GIF infomration hidden Download PDF

Info

Publication number
CN100452884C
CN100452884C CNB2005100277250A CN200510027725A CN100452884C CN 100452884 C CN100452884 C CN 100452884C CN B2005100277250 A CNB2005100277250 A CN B2005100277250A CN 200510027725 A CN200510027725 A CN 200510027725A CN 100452884 C CN100452884 C CN 100452884C
Authority
CN
China
Prior art keywords
image
group
brightness
palette
leftrightarrow
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.)
Expired - Fee Related
Application number
CNB2005100277250A
Other languages
Chinese (zh)
Other versions
CN1725868A (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.)
Shanghai Jiao Tong University
Original Assignee
Shanghai Jiao Tong 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 Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CNB2005100277250A priority Critical patent/CN100452884C/en
Publication of CN1725868A publication Critical patent/CN1725868A/en
Application granted granted Critical
Publication of CN100452884C publication Critical patent/CN100452884C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention relates to a method for detecting information hiding of palette image files in the information technical field. The brightness value of each pixel of palette images corresponds to an index value in palettes. Firstly, image data are judged and positioned according to the format of GIF image files, index values of images are read in and grouped; secondly, a corresponding difference function and a corresponding replacement function are formed, and the image data are divided into three types; thirdly, the image data are carried out replacing operation, the change situation of normal sets and singular sets before and after randomization is calculated, and the present invention judges whether the images carry out information hiding or not. The present invention has the advantage that the present invention has high detection rate and higher accuracy rate to the effects of randomly embedded detection of information hiding of the GIF image files than those of similar detection methods.

Description

Method at the detection of palette image hiding file information
Technical field
What the present invention relates to is a kind of method of areas of information technology, particularly a kind of method that detects at the palette image hiding file information.
Background technology
Information disguising is a kind of confidential corespondence means, and purpose is in order to transmit information in confidence, obtains the safety of confidential corespondence by the existence of hiding secret information, and it is a kind of new means that ensure information safety except cryptographic technique for an information security.The visual observation that whether is concealed with secret information in a large amount of pictures of propagating only is on network by human eye is difficult to perceive, and must come the existence of detection of concealed information by certain detection technique.At present, BMP (bitmap file form), JPG (JPEG (joint photographic experts group)), three kinds of picture formats of GIF (BIIF) are the image file format usually seen of right and wrong, along with popularizing of computer, network, these image files are by more and more widely use.So with the image is the Information hiding of blindage, the picture format that is adopted mainly is above three kinds.Mainly be based on the time-space domain at the Information hiding that with BMP, GIF format-pattern is blindage, and be that the Information hiding of blindage mainly is based on frequency domain with the JPG format-pattern.The Information hiding detection technique develops along with information hiding technology, so the Information hiding detection technique also proposes at corresponding Information Hiding Techniques and realizes.Because the Information hiding based on the time-space domain mainly is that LSB (Least significant bit position) replaces, so the Information hiding detection also is primarily aimed at LSB and proposes.In the prior art, someone proposes the method for detection of concealed information in coloured image, be called method RQP (the original image color contrast), its basic principle is after embedding LSB information, it is right that new palette can produce a lot of close colors, and the appearance that number of colors is right shows to exist and hides Info.Be applicable to palette image, but be not suitable for more image of independent color number and gray level image;
Find that through the literature search to prior art the article " Detecting LSBsteganography in color and gray-scale images " that the people such as Jessica Fridrich deliver at " Magazine of IEEEMultimedia Special Issue on Security " (the safe monograph of international IEEE multimedia magazine) calendar year 2001 the 8th volume the 4th phase 22-28 page or leaf (detecting the Least significant bit position in colour and gray scale scalogram picture hides Info) has proposed a kind of LSB Information hiding detection method---RS method based on harmless embedding capacity. This method is thought to the harmless capacity of the randomization meeting reduction LSB bit plane of LSB; Is different but embed a plurality of bit planes to the influence that can't harm capacity.Basic principle is to utilize the responsive antithesis statistic that derives from be correlated with in the spatial domain of image to detect the existence of classified information.But this method also only is aimed at the image of BMP form, is not suitable for the application (mainly being meant the GIF image file format) in palette image.
Summary of the invention
The objective of the invention is to overcome deficiency of the prior art, a kind of method that detects at the palette image hiding file information is provided, make its image file at the GIF form, judging whether it contains hides Info, for information embedding rate reach 0.202% and the Information hiding of above GIF image can realize correct detection, the effect that detects for embedding at random of hiding of GIF image file information is than embedding the accuracy rate height that detects continuously.
The present invention is achieved by the following technical solutions, an index value in the corresponding palette of the brightness value of each pixel of palette image of the present invention, at first, form according to the GIF image file, judge and orient view data, read in the image index value, carry out image packets; Next constructs corresponding discernment function and permutation function, and view data is divided three classes; The 3rd, view data is carried out replacement operator, calculate the situation of change of conventional group before and after the randomization and unusual group, judge whether whether image has carried out Information hiding.
Described image packets, specifically: suppose that blindage image (not by the latent original image of writing) is the pixel of M * N, pixel value is included among the set P, promptly be the brightness value of GIF format-pattern here, all (palette of 256 looks sorts these brightness values corresponding to corresponding index value in the palette, sort according to brightness), the palette after the ordering is listed the index value of ordering, so the brightness value of each pixel is just corresponding to an index value in the palette.For example, an index value of representing with 8bit, then brightness set P={0...255}.Image is divided into n adjacent brightness (x arranged 1... x n) form discontinuous group, the grouping size is delegation or one 's 4 * 4 a piece, specifically according to the visual characteristic of image, chooses and will make it with respect to neighbor is level and smooth relatively on every side.For example, can get the continuous colourity of two row two row of n=4 as a group.
Described structure discernment function, specifically: in order to obtain flatness and the regularity of brightness group G, define discernment function f, its complexity is detecting searching compromise between accuracy rate and the computation complexity.Select brightness group (x 1... x n) variance be that formula (1) is as discernment function.
f ( x 1 , x 2 , . . . x n ) = Σ i = 1 n - 1 | x i + 1 - x i | 2 - - - ( 1 )
Described transposition of structures function, specifically: definition substitution operation F.F (G) is meant brightness group G is adopted the operation of F function.F is defined as follows:
To F 1: 0 ↔ 1,2 ↔ 3 , · · · , 254 ↔ 255 .
To F -1: - 1 ↔ 0,1 ↔ 2 , · · · , 255 ↔ 256 .
For integrality, definition F 0: F (x)=x
F 1And F -1Between have relation: F -1(x)=F 1(x+1)-1, definition F (G) is (F M (1)(x 1), F M (2)(x 2) ..., F M (n)(x n)). adopt different replacement operators for brightness values different among the G, definition mask M, the M value can be-1,0, or 1.
Described view data is divided three classes, specifically: brightness value is divided three classes-R according to defined f in front and F, S, U:
Conventional group: G ∈ R ⇔ f ( F ( G ) ) > f ( G )
Unusual group: G &Element; S &DoubleLeftRightArrow; f ( F ( G ) ) < f ( G )
Abandon group: G &Element; U &DoubleLeftRightArrow; f ( F ( G ) ) = f ( G )
When in image, introducing an amount of noise, can cause the increase of discernment function, will make the R group more than the number of S group.
To typical initial carrier image, brightness group G is used the increase that permutation function can cause the discernment function value.Thereby after picture breakdown being become several brightness groups, the number of conventional brightness group will be much larger than the number of unusual brightness group.
Definition R MBe the relative number (percentage in all group of pixels) of conventional group under non-negative mask operator M, S MBe unusual group relative number, thereby R is arranged M+ S M≤ 1 and R -M+ S -M≤ 1.Studies show that randomization LSB is to R -MAnd S -MInfluence be opposite, promptly their difference becomes big along with the increase that embeds information m.
The embedding at random that the present invention adopts GIF image data packets method based on the palette technology, hide at the discernment function of GIF image and permutation function building method and GIF image file information with embed detection method continuously, Information hiding at the GIF format-pattern, has the higher detection rate, embed for random information simultaneously, accuracy rate is higher.The present invention can be applicable to corresponding products such as internet content safety filtering gateway, Email intelligently filters system, effectively detect hiding Info in the palette image, whether decision needs to be filtered and block, can unit such as radio and television, information office and in/be applied in primary school's campus network construction.
Description of drawings
Fig. 1 the inventive method flow chart
The pending image that Fig. 2 embodiment of the invention is used
Fig. 3 embodiment of the invention embeds the image of information
Embodiment
Further provide following specific embodiment in conjunction with content of the present invention:
As Fig. 1, testing process: at first, judge pending image file, be defined as entering this flow process behind the GIF form; Secondly,, orient view data position hereof, read in image index data, the line data of going forward side by side grouping according to the form of GIF image file; Based on the present invention, construct corresponding discernment function and permutation function then, view data is divided three classes: conventional group, and abandons group by unusual group; Then, view data is carried out replacement operator, the situation of change of routine group and unusual group of number before and after the calculating randomization, if the routine group is big with unusual group relative number change, the decidable image has carried out Information hiding; Otherwise if the relative number of conventional group and unusual group does not have very variation, the decidable image does not carry out Information hiding, no embedding information.
Lena with 512 * 512 is an example, constructs the lena-hide that a width of cloth has embedding information, and a former figure lena describes respectively.Below be lena-hide (Fig. 3) and lena (Fig. 2)
Embodiment 1: for lena-hide
At first, judge the image file format of pending lena, be defined as entering this flow process behind the GIF form;
Secondly,, orient view data position hereof, read in image index data according to the form of GIF image file, the line data of going forward side by side grouping, four pixels with per 2 * 2 are one group, the image for 512 * 512 can be divided into 6656 groups;
Then, based on the present invention, construct corresponding discernment function and permutation function, wherein discernment function is
f ( x 1 , x 2 , x 3 , x 4 ) = &Sigma; i = 1 3 | x i + 1 - x i | ,
Permutation function is: F -1(x)=F 1(x+1)-1, mask operator M=[0 1 0],
View data is divided three classes: conventional group, unusual group, abandon group, classification foundation be formula as indicated above;
Then, view data is carried out replacement operator, calculates the situation of change of conventional group in randomization front and back and unusual group of number, obtain:
R - M 1 - S - M 1 = 14.6641 , R M 1 - S M 1 = 6.0928 , R -M2-S -M2=0.1240, R M 2 - S M 2 = 19.4691
Four parameters by above can fit out a curve, can obtain embedding rate p=0.4056, are 0.025 according to defined judgement fault value, and the decidable image has carried out Information hiding.
Embodiment 2: for lena
At first, judge the image file format of pending lena, be defined as entering this flow process behind the GIF form;
Secondly,, orient view data position hereof, read in image index data according to the form of GIF image file, the line data of going forward side by side grouping, four pixels with per 2 * 2 are one group, the image for 512 * 512 can be divided into 6656 groups;
Then, based on the present invention, construct corresponding discernment function and permutation function, wherein discernment function is
f ( x 1 , x 2 , x 3 , x 4 ) = &Sigma; i = 1 3 | x i + 1 - x i | ,
Permutation function is: F -1(x)=F 1(x+1)-1, mask operator M=[0 1 0],
View data is divided three classes: conventional group, unusual group, abandon group, classification foundation be formula as indicated above;
Then, view data is carried out replacement operator, calculates the situation of change of conventional group in randomization front and back and unusual group of number, obtain:
R - M 1 - S - M 1 = 11.6367 , R M 1 - S M 1 = 11.7432 , R -M2-S -M2=4.9011, R M 2 - S M 2 = 16.8808
Four parameters by above can fit out a curve, can obtain embedding rate p=0.0171, are 0.025 according to defined judgement fault value, and the decidable image does not carry out Information hiding, no embedding information.
By embodiment 1 and 2 resultant R -M-S -MThe discovery of comparing, for image after the embedding information, its value obviously can be bigger than the relative value of the information that does not embed.The present invention is directed to the Information hiding of GIF format-pattern, have the higher detection rate, embed for random information simultaneously, accuracy rate is higher.

Claims (2)

1、一种针对调色板图像文件信息隐藏检测的方法,其特征在于,调色板图像的每个像素的亮度值对应调色板中的一个索引值,首先,根据GIF图像文件的格式,判断定位出图像数据,读入图像索引值,进行图像分组;其次,构造相应的差别函数和置换函数,将图像数据分为三类;第三,对图像数据进行置换操作,计算随机化前后常规组和奇异组的变化情况,判定是否图像是否进行了信息隐藏;1, a kind of method for information hiding detection of palette image file, it is characterized in that, the brightness value of each pixel of palette image corresponds to an index value in palette, at first, according to the format of GIF image file, Determine and locate the image data, read in the image index value, and group the images; secondly, construct the corresponding difference function and permutation function, and divide the image data into three categories; thirdly, perform the permutation operation on the image data, and calculate the routine The change of the group and the singular group, to determine whether the image has information hiding; 所述的进行图像分组,具体是:假设掩体图像为M×N的像素,像素值包含在集合P中,即这里是GIF格式图像的亮度值,这些亮度值都对应于调色板中相应的索引值,对排序后的调色板列出排序的索引值,因此每个象素的亮度值就对应于调色板中的一个索引值,将图像分成有n个相邻亮度(x1...xn)组成的组,分组大小是一行或者是一个4×4的块,具体根据图像的视觉特性,选取要使其图像索引值相对于周围相邻像素相对平滑;The above image grouping is specifically: assuming that the mask image is M×N pixels, and the pixel values are included in the set P, that is, here are the brightness values of the GIF format image, and these brightness values correspond to the corresponding values in the palette. Index value, the sorted index value is listed for the sorted palette, so the brightness value of each pixel corresponds to an index value in the palette, and the image is divided into n adjacent brightness values (x 1 . ..x n ), the size of the group is one row or a 4×4 block, and according to the visual characteristics of the image, the image index value is relatively smooth relative to the surrounding adjacent pixels; 所述的构造差别函数,具体是:为了获得亮度组G的平滑性和规律性,定义差别函数f,其复杂性在检测准确率和计算复杂度之间寻找折中,选择亮度组(x1...xn)的方差作为差别函数:Described construction difference function is specifically: in order to obtain the smoothness and regularity of brightness group G, define difference function f, its complexity is to find a compromise between detection accuracy and computational complexity, select brightness group (x 1 ...x n ) as a difference function: ff (( xx 11 ,, xx 22 ,, .. .. .. xx nno )) == &Sigma;&Sigma; ii == 11 nno -- 11 || xx ii ++ 11 -- xx ii || 22 ;; 所述的构造置换函数,具体是:定义置换操作F,F(G)是指对亮度组G采用F函数操作,F的具体定义如下:Described structure permutation function, specifically: define permutation operation F, F (G) refers to adopting F function operation to brightness group G, and the concrete definition of F is as follows: 对F1 0 &LeftRightArrow; 1,2 &LeftRightArrow; 3 , &CenterDot; &CenterDot; &CenterDot; , 254 &LeftRightArrow; 255 For F1 : 0 &LeftRightArrow; 1,2 &LeftRightArrow; 3 , &CenterDot; &CenterDot; &CenterDot; , 254 &LeftRightArrow; 255 对F-1 - 1 &LeftRightArrow; 0 , 1 &LeftRightArrow; 2 , &CenterDot; &CenterDot; &CenterDot; , 255 &LeftRightArrow; 256 ; For F -1 : - 1 &LeftRightArrow; 0 , 1 &LeftRightArrow; 2 , &CenterDot; &Center Dot; &Center Dot; , 255 &LeftRightArrow; 256 ; 所述的亮度组G,G中各亮度值采用相应的置换操作,定义掩码M,M值是-1,0,或1;In the brightness group G, each brightness value in G adopts a corresponding replacement operation to define a mask M, and the value of M is -1, 0, or 1; 所述的构造置换函数,为了完整性,定义F0:F(x)=x,F1和F-1之间存在关系:F-1(x)=F1(x+1)-1,定义F(G)为(FM(1)(x1),FM(2)(x2),...,FM(n)(xn))。In the construction of the permutation function, for the sake of completeness, F 0 is defined: F(x)=x, and there is a relationship between F 1 and F -1 : F -1 (x)=F 1 (x+1)-1, Define F(G) as (FM (1) (x 1 ), FM (2) (x 2 ), . . . , FM (n) (x n )). 2、根据权利要求1所述的针对调色板图像文件信息隐藏检测的方法,其特征是,所述的将图像数据分为三类,具体是:根据所定义的f和F将亮度值分为三类即R,S,U:2. The method for information hiding detection of palette image files according to claim 1, wherein said image data is divided into three categories, specifically: according to the defined f and F, the brightness values are divided into three categories. For three categories namely R, S, U: 常规组: G &Element; R &DoubleLeftRightArrow; f ( F ( G ) ) > f ( G ) Regular group: G &Element; R &DoubleLeftRightArrow; f ( f ( G ) ) > f ( G ) 奇异组: G &Element; S &DoubleLeftRightArrow; f ( F ( G ) ) < f ( G ) Singular group: G &Element; S &DoubleLeftRightArrow; f ( f ( G ) ) < f ( G ) 丢弃组: G &Element; U &DoubleLeftRightArrow; f ( F ( G ) ) = f ( G ) . Drop group: G &Element; u &DoubleLeftRightArrow; f ( f ( G ) ) = f ( G ) .
CNB2005100277250A 2005-07-14 2005-07-14 Method for detecting GIF infomration hidden Expired - Fee Related CN100452884C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100277250A CN100452884C (en) 2005-07-14 2005-07-14 Method for detecting GIF infomration hidden

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100277250A CN100452884C (en) 2005-07-14 2005-07-14 Method for detecting GIF infomration hidden

Publications (2)

Publication Number Publication Date
CN1725868A CN1725868A (en) 2006-01-25
CN100452884C true CN100452884C (en) 2009-01-14

Family

ID=35925068

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100277250A Expired - Fee Related CN100452884C (en) 2005-07-14 2005-07-14 Method for detecting GIF infomration hidden

Country Status (1)

Country Link
CN (1) CN100452884C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455597B (en) * 2013-09-03 2016-08-24 山东省计算中心 Distributed information towards magnanimity web graph picture hides detection method
CN104899909B (en) * 2015-05-12 2018-06-15 福建天晴数码有限公司 Color Mapping Approach and device
CN109410116B (en) * 2018-11-02 2023-11-14 江苏亿鸿信息工程有限公司 Information hiding and extracting method for animation image
CN115115497B (en) * 2021-03-23 2024-10-22 天翼云科技有限公司 Dynamic image steganography method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689587A (en) * 1996-02-09 1997-11-18 Massachusetts Institute Of Technology Method and apparatus for data hiding in images
US5768426A (en) * 1993-11-18 1998-06-16 Digimarc Corporation Graphics processing system employing embedded code signals
US6005643A (en) * 1996-10-15 1999-12-21 International Business Machines Corporation Data hiding and extraction methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5768426A (en) * 1993-11-18 1998-06-16 Digimarc Corporation Graphics processing system employing embedded code signals
US5689587A (en) * 1996-02-09 1997-11-18 Massachusetts Institute Of Technology Method and apparatus for data hiding in images
US6005643A (en) * 1996-10-15 1999-12-21 International Business Machines Corporation Data hiding and extraction methods

Also Published As

Publication number Publication date
CN1725868A (en) 2006-01-25

Similar Documents

Publication Publication Date Title
Singh et al. An improved LSB based image steganography technique for RGB images
Wang et al. Detection of image region duplication forgery using model with circle block
Zhang et al. Steganalysis for LSB matching in images with high-frequency noise
CN101493938B (en) Method for detecting cooked image based on noise distribution discipline
WO2005057468A3 (en) System and method for robust reversible data hiding and data recovery in the spatial domain
CN108509870B (en) A kind of Eriocheir sinensis uniqueness recognition methods based on images match
CN101493937A (en) Method for detecting content reliability of digital picture by utilizing gradient local entropy
CN101615286A (en) A Blind Information Hiding Detection Method Based on Image Gray Level Run Histogram Analysis
CN102903071A (en) Watermark adding method and system as well as watermark identifying method and system
Ulutas et al. A new copy move forgery detection method resistant to object removal with uniform background forgery
CN108829711A (en) A kind of image search method based on multi-feature fusion
CN104008521A (en) LSB replacement steganalysis method based on grey co-occurrence matrix statistic features
CN100452884C (en) Method for detecting GIF infomration hidden
CN104182882B (en) A kind of product digital watermark anti-fake anti-channel conflict information and its application process
US20030128860A1 (en) Protecting images with multiple image watermarks
Bachrach et al. Image steganography and steganalysis
CN105741222B (en) A kind of steganography information locating method based on the estimation of pixel subset insertion rate
CN102024245B (en) Fragile watermarking technology-based electronic seal protection method
CN101093575A (en) Digital watermark method of paralleled multiple robustnesses based on multiple copyright authentications
Ma et al. Trusted forensics scheme based on digital watermark algorithm in intelligent VANET
CN104680515A (en) Method for identifying image authenticity
Wang et al. Blind photograph watermarking with robust defocus‐based JND model
CN101464627A (en) Anti-counterfeit method for recognizing computer data embedded in printing product by mobile phone
Halboos et al. Improve steganography system using agents software based on statistical and classification technique
CN109086613A (en) A kind of figure mark method for anti-counterfeit and system

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090114

Termination date: 20130714