CN104284190B - Compressed image steganography encoding method based on AMBTC high and low average optimization - Google Patents
Compressed image steganography encoding method based on AMBTC high and low average optimization Download PDFInfo
- Publication number
- CN104284190B CN104284190B CN201410619895.7A CN201410619895A CN104284190B CN 104284190 B CN104284190 B CN 104284190B CN 201410619895 A CN201410619895 A CN 201410619895A CN 104284190 B CN104284190 B CN 104284190B
- Authority
- CN
- China
- Prior art keywords
- image
- block
- ambtc
- data
- embedded
- 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
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention discloses a compressed image steganography encoding method based on AMBTC high and low average optimization. According to the compressed image steganography encoding method disclosed by the invention, after the smoothness of an image block is evaluated, data are embedded in smooth blocks one by one to obtain a stego image, wherein the data embedding comprises two steps: replacing a binary bitmap by the data, and optimizing high and low averages according to the embedded data and an original bitmap. With the adoption of the compressed image steganography encoding method, the computing is simple, the method is easy to realize, and a receiving side only needs to directly take out a bitmap of a receiving side, namely the embedded data, by discriminating the smooth blocks according to a secrete key; in addition, requirements on computing resources are low, and the use is convenient, so that the compressed image steganography encoding method has a good application prospect in the real-time field, mobile terminals with limited computing resources, and the like.
Description
Technical field
The present invention relates to information security, secret communication and multimedia application field, and in particular to one kind is based on AMBTC height
The optimized compression image latent writing coded method of average.
Background technology
Present information steganography is the important directions of digital information epoch information security field, and steganography technology is sharp
With the coding redundancy and structural redundancy of Digital Media itself, and the insensitivity of human perception organ, by steganography in load
In the middle of volume data, carrier signal can be text, image, video, audio frequency etc..And steganography can further with cryptography, letter
The multidisciplinary multi-field combination such as breath treatment technology, network technology and physiology and psychology, in industrial quarters, business circles and army's event horizon tool
Have broad application prospects, such as covert communications, information labeling and distorts certification etc. at digital finger-print.
For carrier, natural image is high due to redundancies such as itself structure, codings, it is common be easy to get grade easy to use into
It is using most steganography carriers.Steganography with digital picture as carrier also most worthy.Wherein image latent writing again can be
The different aspects such as image space domain, ciphertext domain and compression domain are carried out, and the steganography with the compressed encoding of image as carrier is as compressed
Image latent writing.Due to image after compressed encoding carrier data redundancy reduce, therefore compress image in steganographic capacity and
Steganography quality is often relatively weak.
AMBTC (Absolute Moment Block Truncation Coding) codings are a kind of simple and effective fast
Fast Image Lossy Compression technology, compares other compressed encodings such as JPEG, and fast with coding rate, algorithm complex is low, takes money
The features such as source is few, is quite paid attention in real time imaging transmission field.Such as CellB video formats, the Xmovie and DEC of SUN companies
SMP of company etc..AMBTC encoders need to compress first image division into nonoverlapping piece of size, for each sub-block is calculated
Pixel value is 1 more than or equal to the pixel logo of average by pixel average, binary bitmap B, otherwise for 0.In this sub-block, calculate
1 pixel average is designated, high average h is designated as;Another kind of pixel average is calculated, low average l is designated as, (l, h, B) ternary
Group is the coding of each sub-block.During decoding AMBTC compression images, each sub-block compressed code (l, h, B) is read from code stream first,
Then sweep bitmap B, on the contrary it is worth and is redeveloped into high average h for 1 and is then redeveloped into low average l.
Steganography at present with AMBTC image compression encodings as carrier is few, and in terms of steganography is damaged, main thought is such as
Under.Chuang in 2006 et al. is directly embedded data into flat using the high average of the smooth block property little with low average difference
In the binary bitmap of slide block, but hidden image Quality Down is serious;2008, Hong et al. was by big between height average
Little relation pair answers bitmap upset to realize reversible steganography, does not affect picture quality but each sub-block can only be embedded in a binary data
And it is unavailable to change block when height average is equal;Chen in 2010 et al. is further improved on the basis of Hong, when height
The bitmap block is enabled when being worth equal for embedding data to improve algorithm capacity, but whole volume is still less;Hong in 2011
Et al. further improve bitmap on the basis of Chuang2006 again, all this kind innovative point is main to improve picture quality ...
Concentrate on the bitmap of upset height average and bit plane or replacement or modification smooth block.Replace smooth using data to be embedded
Bitmap block is to ensure the good thinking of BTC domains steganographic capacity, but while picture quality also declines seriously, it is ensured that the premise of capacity
Under, how to be a new thinking by trying to achieve the height average optimal solution with embedded Data Matching to improve picture quality.
The content of the invention
Goal of the invention:It is an object of the invention to solve the deficiencies in the prior art, the present invention is in smooth bitmap block
Under replacing thinking, start with from impact of the analysis height average to picture quality, height is tried to achieve by proving minimum mean square error
Average optimal correction value, it is final to provide a kind of based on the optimized compression image latent writing coded method of AMBTC height averages.
Technical scheme:One kind of the present invention compresses image latent writing coded method based on AMBTC height averages are optimized, according to
It is secondary to extract two steps with data including data are embedded, wherein, data are embedded to be included:
(1) image block smoothness is assessed;
(2) embedding data;
(3) all image blocks are processed and obtains carrying close image.
Further, the concrete grammar of the step (1) is:
Image is compressed to AMBTCWherein, (li,hi,Bi) it is AMBTC ternarys
Group, parameter li、hiAnd BiLow average, high average and the bitmap of each image block are represented respectively, and n and m represents respectively the block of image block
Number and block size, when parameter meets formula (1), decision block (li,hi,Bi) it is smooth block, T is threshold value, and using T as shared
Key;
hi-li≤T (1)。
Further, in step (2), m positions data to be embedded are takenAnd embedded smooth block (li,
hi,Bi) in, specific Embedded step is as follows:
(2.1) bitmap is countedWith embedded dataThe change feelings of correspondence position
Condition kpqExpression meets conditionK number, it is clear that
(2.2) according to formula (2), the height average optimal value (l ' after adjustment is calculatedi,h′i),
In formula (2), work as k00+k10When=0, l 'i=h 'i;Work as k01+k11When=0, h 'i=l 'i;
(2.3) with the tlv triple (l ' after adjustmenti,h′i,Dj) replace former tlv triple (li,hi,Bi), that is, complete m bit datasIt is embedded.
Further, the concrete grammar of the step (3) is, completes when all image blocks are processed according to step (2)
Afterwards, obtain and carry close image
Further, the concrete grammar of the data extraction is:
Carry close image-receptive root and close AMBTC compressions image is carried to step (3) gained according to formula (3)
Detected using shared key T block-by-block, the decision block (l ' when block parameter meets formula (3)i,h′i,B′i) to carry close piece, otherwise lose
Abandon,
h′i-l′i≤T (3);
To carrying close piece of (l 'i,h′i,B′i), extracting directly its m positions data bitmapAs carrying close piece
Embedding data.
Further, parameter k in the step (2.1)ijCalculating process be:
Wherein, operator | | for the base of calculations incorporated.
Further, in the step (2.2), by height average optimal value (l 'i,h′i), obtain image block (li,hi,
Bi) and (l 'i,h′i,Dj) between minimum error MSE, i.e.,:
MSE=(k00(l′i-li)2+k01(h′i-li)2+k10(l′i-hi)2+k11(h′i-hi)2)/m (5)。
Obtained after MSE, by MSE to l ' by formula (5)i, h 'iSingle order second dervative is sought respectively:
Due toTherefore work asTime error MSE takes minima.
Solution Simultaneous Equations (11) can obtain formula (2).
The calculating process of above-mentioned formula (7)~formula (11), be:Height average optimal value when making MSE minimum is asked
Solution preocess.Image block (l can be obtained by height average optimal valuei,hi,Bi) and (l 'i,h′i,Dj) between minimum error.
Further, in the step (2.2), to smooth block (li,hi,Bi) formula (2) is utilized by height average (li,hi)
It is adjusted to (l 'i,h′i) when, meet following condition:
Its proof procedure is as follows:
Beneficial effect:The present invention is estimated first to the smoothness height value difference of AMBTC compressed picture blocks, works as height
Low equal value difference then assert that it is " smooth block " less than the threshold value (key) for setting;Then embedding data is implemented to the bitmap of smooth block
Replace embedded;Finally according to embedded data point reuse height average picture quality is optimal.
The present invention calculates simple, facilitates implementation, and recipient only needs to directly take out its bitmap according to key examination smooth block
As embedded data;It is easy to use and the present invention is little to computational resource requirements, it is limited in real-time domain and computing resource
Mobile terminal etc. has good application prospect.
Description of the drawings
Fig. 1 is the embedded flow chart of data in the present invention;
Fig. 2 is the flow chart that data are extracted in the present invention;
Fig. 3 is the visual quality comparison diagram of the fully loaded rear decompressed images of Lena in the present invention;
Fig. 4 is the effect comparison diagram of the present invention and prior art;
Fig. 5 is the schematic diagram of each step of embodiment:
Wherein, Fig. 3 a are original image, and Fig. 3 b are fully loaded rear decompressed image;Fig. 5 a are the gray-scale maps of the 8 × 8 of embodiment
Picture;Fig. 5 b are the AMBTC compressed encoding schematic diagrams of embodiment;Fig. 5 c are the image schematic diagram of Fig. 5 b decompressions;Fig. 5 d are enforcement
The schematic diagram of the data to be embedded of example;The close compressed code figure of load when Fig. 5 e are T=1 in embodiment;Fig. 5 f are close for the load of embodiment
Decompression figure.
Specific embodiment
Technical solution of the present invention is described in detail in conjunction with the accompanying drawings and embodiments below.
Embodiment 1:
As depicted in figs. 1 and 2, the present embodiment is comprised the following steps that:
Data it is embedded:
AMBTC compressed encodings are carried out to the gray level image of 8 × 8 as shown in Figure 5 a, as a result as shown in Figure 5 b, four is obtained
Image block:(161,162, B1), (157,162, B2), (157,162, B3) and (158,161, B4), given threshold T=1 works as block
Parameter meets hi-liDuring≤T, can determine that image block is smooth block, it can be seen that, in the present embodiment, block (161,162, B1) it is flat
Slide block, and the decompressed image of Fig. 5 b is as shown in Figure 5 c.
16 data to be embedded as fig 5d are embedded into into smooth block (161,162, B1) in, comprise the following steps that:
Bitmap is counted according to formula (4)To embedding data
Change such as table 1, wherein
Specific embodiment k of table 1ijStatistics
The height average optimal value (l ' after adjustment is calculated according to formula (13)i,h′i)=(162,162).
Then, with the tlv triple (162,162, D after adjustment1) replace former tlv triple (161,162, B1), now,
Complete m=16 bit data D1It is embedded, obtain the close compression figure of load as depicted in fig. 5e, the decompression figure of Fig. 5 e
As shown in figure 5f.
The extraction of data:
Recipient compresses imagery exploitation shared key T=1 block-by-block according to formula (3) to the close AMBTC of load as depicted in fig. 5e
Detection, judges image block as close piece, in the present embodiment, block 1 (162,162, D is carried when block parameter meets formula (3)1) it is to carry
Close piece, block 2, block 3 and block 4 carry close piece for non-.
To carrying close piece (162,162, D1), extracting directly its data bitmap D1As embedding data.
In order to detect the effect of the present embodiment, tested and analyzed in terms of steganographic capacity and picture quality two.With 512
As a example by the working standard test image of × 512 pixels, work as T=15, during m=16, the steganographic capacity and correspondence PSNR of different images
Value is as shown in table 2.Wherein Bits is embedded data length, and unit is bit, and PSNR1 is to carry close compression image decompression and original
Y-PSNR between figure, PSNR2 is to carry close compression image decompression to carry the peak value letter that close AMBTC encodes direct decompressed image with non-
Make an uproar ratio.Y-PSNR value is that a kind of of camouflage test visual quality evaluation index quantifies reference, and research shows when two width gray scales
Human eye can not be identified the difference of the two when Y-PSNR between image is more than 30.Fig. 3 a and Fig. 3 b be original image with it is fully loaded
Afterwards the visual quality of decompressed image (T=4, m=16) compares.
The standard testing image steganographic capacity of table 2 and correspondence image quality T=15, m=16
For vivider statement experimental result and the beneficial effect of innovation and creation, we by taking Lena as an example, by institute of the present invention
Extracting method is compared with the method for Hong and Chuang, as shown in figure 4, abscissa is threshold value T, vertical coordinate is PSNR, that is, lead to
Cross Fig. 4 and can be seen that hidden image quality that under equal load (threshold value is identical) present invention produces and significantly improve.
Additionally, the safety in order to strengthen embedded data, can also use AES before steganography to embedded data
It is encrypted, pseudo-random permutation image AMBTC compression code blocks is produced using key (seed) and is ranked up, different keys is produced
Different image AMBTC compresses the arrangement of code block.This is a huge information space, and the assaulter for not knowing about key is difficult brokenly
Translate.
Claims (7)
1. a kind of based on the optimized compression image latent writing coded method of AMBTC height averages, it is characterised in that:Include number successively
Two steps are extracted according to embedded and data, wherein, data are embedded to be included:
(1) image block smoothness is assessed:
Image is compressed to AMBTCWherein, (li,hi,Bi) it is AMBTC image block ternarys
Group, parameter i represents the numbering of image block, parameter li、hiAnd BiLow average, high average and the bitmap of each image block are represented respectively,
N and m represent respectively the block number and block size of image block, when parameter meets formula (1), decision block (li,hi,Bi) it is smooth block,
T is threshold value, and using T as shared key;
hi-li≤T (1);
(2) embedding data;
(3) all image blocks are processed and obtains carrying close image.
2. according to claim 1 based on the optimized compression image latent writing coded method of AMBTC height averages, its feature
It is:In step (2), m positions data to be embedded are takenAnd embedded smooth block (li,hi,Bi) in, specifically
Embedded step it is as follows:
(2.1) bitmap is countedWith embedded dataSituation of change k of correspondence positionpq
Expression meets conditionK number, it is clear that
kpq∈[0,m]&∑kpq=m, p, q ∈ { 0,1 };
(2.2) according to formula (2), the height average optimal value after adjustment is calculated
In formula (2), work as k00+k10When=0, l 'i=h 'i;Work as k01+k11When=0, h 'i=l 'i;
(2.3) with the tlv triple (l ' after adjustmenti,h′i,Dj) replace former tlv triple (li,hi,Bi), that is, complete m bit datasIt is embedded.
3. according to claim 1 based on the optimized compression image latent writing coded method of AMBTC height averages, its feature
It is:The concrete grammar of the step (3) is, according to step (2) after the completion of all image blocks are processed, obtains and carries close figure
PictureWherein l 'i,h′i,B′iHigh and low average and bitmap after steganography are represented respectively.
4. according to claim 1 based on the optimized compression image latent writing coded method of AMBTC height averages, its feature
It is:The concrete grammar that the data are extracted is:
Carry close image-receptive root and close AMBTC compressions image is carried to step (3) gained according to formula (3)Utilize
The detection of shared key T block-by-block, the decision block (l ' when block parameter meets formula (3)i,h′i,B′i) to carry close piece, otherwise abandon,
h′i-l′i≤T (3);
To carrying close piece of (l 'i,h′i,B′i), extracting directly its m positions data bitmapAs close piece be embedded in of load
Data;
Wherein, li、hiAnd BiLow average, high average and the bitmap of each image block, l ' are represented respectivelyi,h′i,B′iRepresent respectively hidden
High and low average and bitmap after writing.
5. according to claim 2 based on the optimized compression image latent writing coded method of AMBTC height averages, its feature
It is:Parameter k in the step (2.1)ijCalculating process be:
Wherein, operator | | for the base of calculations incorporated.
6. according to claim 2 based on the optimized compression image latent writing coded method of AMBTC height averages, its feature
It is:In the step (2.2), by height average optimal value (l 'i,h′i), obtain image block (li,hi,Bi) and (l 'i,h
′i,Dj) between error MSE minimize, i.e.,:
MSE=(k00(l′i-li)2+k01(h′i-li)2+k10(l′i-hi)2+k11(h′i-hi)2)/m (5)。
7. according to claim 2 based on the optimized compression image latent writing coded method of AMBTC height averages, its feature
It is:In the step (2.2), to smooth block (li,hi,Bi) formula (2) is utilized by height average (li,hi) it is adjusted to (l 'i,
h′i) when, meet following condition:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410619895.7A CN104284190B (en) | 2014-11-05 | 2014-11-05 | Compressed image steganography encoding method based on AMBTC high and low average optimization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410619895.7A CN104284190B (en) | 2014-11-05 | 2014-11-05 | Compressed image steganography encoding method based on AMBTC high and low average optimization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104284190A CN104284190A (en) | 2015-01-14 |
CN104284190B true CN104284190B (en) | 2017-05-10 |
Family
ID=52258599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410619895.7A Expired - Fee Related CN104284190B (en) | 2014-11-05 | 2014-11-05 | Compressed image steganography encoding method based on AMBTC high and low average optimization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104284190B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104599226B (en) * | 2015-02-14 | 2017-05-10 | 安徽大学 | Large-capacity steganography method |
CN105488822B (en) * | 2015-12-15 | 2019-06-21 | 西华大学 | Reversible image hidden algorithm based on AMBTC algorithm |
CN105812816B (en) * | 2016-03-17 | 2019-04-09 | 安徽大学 | A kind of compression encryption certification joint coding method |
CN106060556B (en) * | 2016-06-24 | 2018-11-02 | 宁波大学 | A kind of detection method for HEVC prediction mode steganography |
RU2646362C1 (en) * | 2016-12-27 | 2018-03-02 | Акционерное общество "Воронежский научно-исследовательский институт "Вега" (АО "ВНИИ "Вега") | Transmission technique of an image by communication line |
CN107018419B (en) * | 2017-04-26 | 2019-07-05 | 安徽大学 | A kind of image compression encoding method based on AMBTC |
CN107277507B (en) * | 2017-07-17 | 2019-12-20 | 西安空间无线电技术研究所 | Spatial domain transform domain hybrid image compression method |
CN110290390B (en) * | 2019-06-06 | 2021-06-08 | 绍兴聚量数据技术有限公司 | AMBTC (advanced multi-level trellis coded block) based modulo-2 operation and Hamming code information hiding method |
CN111583086B (en) * | 2020-04-27 | 2023-05-26 | 绍兴聚量数据技术有限公司 | AMBTC-based self-adaptive digital image watermark and restoration method |
CN111787335B (en) * | 2020-07-08 | 2022-04-22 | 绍兴聚量数据技术有限公司 | Reversible information hiding method based on AMBTC compression technology and Huffman coding |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005107267A1 (en) * | 2004-04-28 | 2005-11-10 | Hitachi, Ltd. | Image encoding/decoding device, encoding/decoding program, and encoding/decoding method |
CN102411771A (en) * | 2011-08-03 | 2012-04-11 | 北京航空航天大学 | Reversible image steganalysis method based on histogram peak value fluctuation quantity |
CN102903076A (en) * | 2012-10-24 | 2013-01-30 | 兰州理工大学 | Method for embedding and extracting reversible watermark of digital image |
CN103414892A (en) * | 2013-07-25 | 2013-11-27 | 西安空间无线电技术研究所 | Method for hiding high-capacity compression-resisting image information |
-
2014
- 2014-11-05 CN CN201410619895.7A patent/CN104284190B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005107267A1 (en) * | 2004-04-28 | 2005-11-10 | Hitachi, Ltd. | Image encoding/decoding device, encoding/decoding program, and encoding/decoding method |
CN102411771A (en) * | 2011-08-03 | 2012-04-11 | 北京航空航天大学 | Reversible image steganalysis method based on histogram peak value fluctuation quantity |
CN102903076A (en) * | 2012-10-24 | 2013-01-30 | 兰州理工大学 | Method for embedding and extracting reversible watermark of digital image |
CN103414892A (en) * | 2013-07-25 | 2013-11-27 | 西安空间无线电技术研究所 | Method for hiding high-capacity compression-resisting image information |
Non-Patent Citations (1)
Title |
---|
面向隐私保护的数字图像隐写方法研究;殷赵霞;《中国博士学位论文全文数据库》;20140915(第9期);第43-46页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104284190A (en) | 2015-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104284190B (en) | Compressed image steganography encoding method based on AMBTC high and low average optimization | |
CN110310343B (en) | Image processing method and device | |
CN110225341A (en) | A kind of code flow structure image encoding method of task-driven | |
CN102156955B (en) | Robust reversible watermark embedding and extracting method based on histogram neighborhood | |
CN106097241B (en) | Reversible information hidden method based on eight neighborhood pixel | |
CN102938841B (en) | Method for hiding information in bearing image, image quality evaluation method and information transmission method | |
Ashwin et al. | Novel and secure encoding and hiding techniques using image steganography: A survey | |
CN106127667A (en) | A kind of jpeg image self adaptation steganography method | |
Wang et al. | An encoding method for both image compression and data lossless information hiding | |
Yadahalli et al. | Implementation and analysis of image steganography using Least Significant Bit and Discrete Wavelet Transform techniques | |
Yin et al. | High capacity reversible steganography in encrypted images based on feature mining in plaintext domain | |
CN113660386B (en) | Color image encryption compression and super-resolution reconstruction system and method | |
CN105741222B (en) | A kind of steganography information locating method based on the estimation of pixel subset insertion rate | |
Kumar et al. | Coherent steganography using Segmentation and DCT | |
CN105227964A (en) | Video-frequency identifying method and system | |
KR0181048B1 (en) | Apparatus for transmitting bitplane compressed by means of triangle block | |
CN106303696B (en) | H.264 video content authenticating water-mark method based on pivot information distribution proportion stability | |
Patil et al. | Image hashing using AQ-CSLBP with double bit quantization | |
Amita et al. | Reversible data hiding in absolute moment block truncation coding compressed images using adaptive multilevel histogram shifting technique | |
Roy et al. | A novel approach of data hiding in video using region selection and PCA | |
CN107509074A (en) | Adaptive 3 D video coding-decoding method based on compressed sensing | |
CN107135391A (en) | A kind of video-aware hash algorithm for H.264 compression domain | |
CN101267557B (en) | A method for image compression based on compound vector quantification | |
CN115314715B (en) | Reversible information hiding method based on differential coding and block compression | |
CN101888548B (en) | H.264/AVC video information content authentication-based fragile watermarking method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170510 Termination date: 20171105 |
|
CF01 | Termination of patent right due to non-payment of annual fee |