CN1725868A - Method for detecting GIF infomration hidden - Google Patents

Method for detecting GIF infomration hidden Download PDF

Info

Publication number
CN1725868A
CN1725868A CN 200510027725 CN200510027725A CN1725868A CN 1725868 A CN1725868 A CN 1725868A CN 200510027725 CN200510027725 CN 200510027725 CN 200510027725 A CN200510027725 A CN 200510027725A CN 1725868 A CN1725868 A CN 1725868A
Authority
CN
China
Prior art keywords
image
group
palette
brightness
function
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
CN 200510027725
Other languages
Chinese (zh)
Other versions
CN100452884C (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 Jiaotong University
Original Assignee
Shanghai Jiaotong 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 Jiaotong University filed Critical Shanghai Jiaotong 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
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

A method for detecting hiding information of GIF includes judging and positioning image data according to GIF image file format, reading in index value for packet; forming relevant difference function and replacement function to divide image data to three sets ; replacing operation to image data ; calculating variation state of normal set and singular set after randomization and judging whether information hiding of image is done or not according to variation state .

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 based on harmless embedding capacity and hidden detection method---RS method. 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 ∈ S  f (F (G))<f (G)
Abandon group: G ∈ U  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 ) = Σ i = 1 3 | x i + 1 - x i | ,
Permutation function is: F -1(x)=F 1(x+1)-1, mask operator M=[010],
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 - R - 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 ) = Σ i = 1 3 | x i + 1 - x i | ,
Permutation function is: F -1(x)=F 1(x+1)-1, mask operator M=[010],
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 - R - M 1 = 14.6641 , R M 1 - S M 1 = 6.0928 , R -M2-S -M2=4.9011,
R M 2 - S M 2 = 19.4691
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 (7)

1, a kind of method that detects at the palette image hiding file information, it is characterized in that, an index value in the corresponding palette of the brightness value of each pixel of palette image, at first, form according to the GIF image file, judge and orient view data, read in the image index value, carry out image packets; Secondly, construct corresponding discernment function and permutation function, 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.
2, the method that detects at the palette image hiding file information according to claim 1, it is characterized in that, the described image packets of carrying out, specifically: suppose that the blindage image is the pixel of M * N, pixel value is included among the set P, promptly be the brightness value of GIF format-pattern here, these brightness values are all corresponding to corresponding index value in the palette, palette after the ordering is listed the index value of ordering, therefore the brightness value of each pixel is just corresponding to an index value in the palette, and image is divided into n adjacent brightness (x 1... x n) group formed, the grouping size is delegation or one 's 4 * 4 a piece, specifically according to the visual characteristic of image, chooses and will make its image index value with respect to neighbor is level and smooth relatively on every side.
3, the method that detects at the palette image hiding file information according to claim 1, it is characterized in that, described structure discernment function, specifically: in order to obtain flatness and the regularity of brightness group G, definition discernment function f, its complexity is selected brightness group (x detecting searching compromise between accuracy rate and the computation complexity 1... x n) variance as discernment function:
f ( x 1 , x 2 , · · · x n ) = Σ i = 1 n - 1 | x i + 1 - x i | 2 .
4, the method that detects at the palette image hiding file information according to claim 1 is characterized in that, described transposition of structures function, and specifically: definition substitution operation F, F (G) are meant brightness group G are adopted the operation of F function that F is defined as follows:
To F 1: 0 , 1,2 3 ..., 254 255
To F -1:-1 0,1 2 ..., 255 256.
5, according to claim 3 or the 4 described methods that detect at the palette image hiding file information, it is characterized in that, described brightness group G, each brightness value adopts corresponding replacement operator among the G, definition mask M, the M value is-1,0, or 1.
6, the method that detects at the palette image hiding file information according to claim 4 is characterized in that, described transposition of structures function, and 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)),
7, the method that detects at the palette image hiding file information according to claim 1 is characterized in that, described view data is divided three classes, and specifically: according to defined f and F brightness value being divided three classes is R, S, and U:
Conventional group: G ∈ R  f (F (G))>f (G)
Unusual group: G ∈ S  f (F (G))<f (G)
Abandon group: G ∈ U  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 true CN1725868A (en) 2006-01-25
CN100452884C 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455597A (en) * 2013-09-03 2013-12-18 山东省计算中心 Distributed information hiding detection method facing mass web images
CN104899909A (en) * 2015-05-12 2015-09-09 福建天晴数码有限公司 Color mapping method and device thereof
CN109410116A (en) * 2018-11-02 2019-03-01 江苏亿鸿信息工程有限公司 Information hiding and extracting method towards animated image
WO2022199180A1 (en) * 2021-03-23 2022-09-29 天翼云科技有限公司 Method for dynamic image steganography, apparatus, device, and storage medium

Family Cites Families (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
TW312770B (en) * 1996-10-15 1997-08-11 Japen Ibm Kk The hiding and taking out method of data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455597A (en) * 2013-09-03 2013-12-18 山东省计算中心 Distributed information hiding detection method facing mass web images
CN103455597B (en) * 2013-09-03 2016-08-24 山东省计算中心 Distributed information towards magnanimity web graph picture hides detection method
CN104899909A (en) * 2015-05-12 2015-09-09 福建天晴数码有限公司 Color mapping method and device thereof
CN104899909B (en) * 2015-05-12 2018-06-15 福建天晴数码有限公司 Color Mapping Approach and device
CN109410116A (en) * 2018-11-02 2019-03-01 江苏亿鸿信息工程有限公司 Information hiding and extracting method towards animated image
CN109410116B (en) * 2018-11-02 2023-11-14 江苏亿鸿信息工程有限公司 Information hiding and extracting method for animation image
WO2022199180A1 (en) * 2021-03-23 2022-09-29 天翼云科技有限公司 Method for dynamic image steganography, apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN100452884C (en) 2009-01-14

Similar Documents

Publication Publication Date Title
Wang et al. Detection of image region duplication forgery using model with circle block
CN102750660B (en) A kind of method and apparatus embedding and extract digital watermarking
Hetzl et al. A graph–theoretic approach to steganography
CN101038661A (en) Blind watermark embedding and abstracting method based on regression support vector machine
CN101950407A (en) Method for realizing color image digital watermark for certificate anti-counterfeiting
CN1916958A (en) Method of detecting distorts of JPEG image
CN107255524A (en) A kind of method for the frequency that LED/light source is detected based on mobile device camera
CN1513256A (en) Embedding color profiles in raster image data using data hiding techniques
CN1725868A (en) Method for detecting GIF infomration hidden
Sakshi et al. Least Significant Bit Steganography for Text and Image hiding
Rai et al. Analysis of image steganography techniques: a survey
CN103024375B (en) A kind of stereo-picture semi-fragile watermarking method that just can perceive distortion based on binocular
CN109784357B (en) Image rephotography detection method based on statistical model
Karim et al. A coverless image steganography based on robust image wavelet hashing
CN105741222B (en) A kind of steganography information locating method based on the estimation of pixel subset insertion rate
CN1246779C (en) Embedding and extracting method for wavelet domain chaotic semi-frageile digit water print
Zhang et al. High-capacity image steganography based on discrete Hadamard transform
CN104077738A (en) Color image watermarking method based on local histogram characteristics
CN110766597A (en) Picture camouflaging method, picture camouflaging device, electronic equipment and storage medium
Rashid et al. Analysis of steganography techniques using least significant bit in grayscale images and its extension to colour images
Ma et al. Trusted forensics scheme based on digital watermark algorithm in intelligent VANET
CN115632843A (en) Target detection-based generation method of backdoor attack defense model
Cheng et al. Steganalysis of data hiding in binary text images
Vahedi et al. On optimal color coordinate selection for wavelet-based color image watermarking
CN1664849A (en) Image identification method based on parameter integer wavelet transformation

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