CN104065976A - Video-based image compression and confidential transmission method - Google Patents

Video-based image compression and confidential transmission method Download PDF

Info

Publication number
CN104065976A
CN104065976A CN201410300478.6A CN201410300478A CN104065976A CN 104065976 A CN104065976 A CN 104065976A CN 201410300478 A CN201410300478 A CN 201410300478A CN 104065976 A CN104065976 A CN 104065976A
Authority
CN
China
Prior art keywords
image
video
image sequence
size
little
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
CN201410300478.6A
Other languages
Chinese (zh)
Other versions
CN104065976B (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.)
Xian Institute of Space Radio Technology
Original Assignee
Xian Institute of Space Radio Technology
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 Xian Institute of Space Radio Technology filed Critical Xian Institute of Space Radio Technology
Priority to CN201410300478.6A priority Critical patent/CN104065976B/en
Publication of CN104065976A publication Critical patent/CN104065976A/en
Application granted granted Critical
Publication of CN104065976B publication Critical patent/CN104065976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a video-based image compression and confidential transmission method. A still image is decomposed into a small-image sequence and compressed through a video coding standard, so a new approach is provided for the coding of the still image. According to the invention, not only the compression ratio of the still image can be further improved, and but also the image coding can still be completed in occasions in which only video equipment exists. The experiment shows that the compression ratio can be improved by 31% by using the method of the invention compared with the JPEG compression standard, and a high gain of 5.5dB can be obtained by PSNR in the equivalent compression ratio condition. Meanwhile, according to the invention, encryption can be completed without influencing the compression performance and the visual effect, so the advantage of high safety can be realized.

Description

A kind of image compression and security transmission method based on video
Technical field
The present invention relates to a kind of method of Image Communication, particularly a kind of image compression and security transmission method and system, belong to communication (as data communication technology etc.) field.
Background technology
In the current information age, the 80% information people that emerge in large numbers need to be known by the media format of the forms such as image, video.In order to save bandwidth, before transmission, need image and video to encode, such as conventional Image Coding standard, there is JPEG etc., the coding standards such as H.264 video is commonly used, MPEG-2, MPEG-4.JPEG was formulated in 1991, as Static Picture Compression standard, had obtained extensively and successfully application in digital picture field; And be H.264 ITU-T propose a kind of newer for the video image compression standard of low bit-rate video communications applications very, wherein adopt the technology such as estimation, Integer DCT Transform, variable step size quantification, variable entropy coding, obtained efficient video coding performance.The coding standard of video and image has all been obtained good effect and has been widely used, but current research and application have all adopted different coded systems because of the difference of two kinds of media formats, video with video encoding standard compress, image compresses by Image Coding standard.If can carry out coded image by video encoding standard, can not only obtain the coded file of consolidation form, improve the compression ratio of Joint Photographic Experts Group JPEG, and can also rest image be encoded only having under the occasion of video encoder.
Summary of the invention
The technical problem that the present invention solves is: overcome the deficiencies in the prior art, proposed a kind of image compression and security transmission method based on video, the fail safe while having improved the compression ratio of JPEG compression standard and Still Image Transmission.
Technical scheme of the present invention is: a kind of image compression and security transmission method based on video, and step is as follows:
1) the original image X that is M1 * N1 by size is adjusted to according to normal video image size K * L the image A that is of a size of M * N, to the image A after adjusting extract and form image sequence A1, A2 ... .., An; Wherein, each little image A 1, A2 ... .., the size of An is K * L; Described M, N can be divided exactly by K, L respectively;
2) according to transmitting-receiving two-end, make an appointment put in order by image sequence A1, A2 ... .., An is from new sort, obtain new image sequence B1, B2 ... .., Bn, and the numbering that puts in order of this agreement is designated as to h;
3) the size M1 of original image X, N1 and sequencing numbers h are embedded into step 2) middle little image sequence B1, the B2 forming ... .., in Bn, form stego-image sequence C 1, C2 ... .., Cn;
4) by stego-image sequence C 1, C2 ... .., Cn compresses according to normal video coding method;
5) the stego-image sequence C 1 of receiving terminal after being restored after standard video decoding, C2 ... .., Cn;
6) from stego-image sequence C 1, C2 ... .., extract information M1, N1, the h of embedding in Cn, thereby obtain the size of original image X and the value of sequencing numbers h, and then the little image sequence B1, the B2 that are restored ... .., Bn;
7) according to sequencing numbers h by B1, B2 ... .., Bn revert to little image sequence A1, A2 ... .., An;
8) by little image sequence A1, A2 ... .., An is according to step 1) in the inverse process that extracts revert to size for the image of M * N, then by it according to step 1) in the inverse process adjusted to be adjusted into big or small be the image of M1 * N1.
The concrete grammar of the adjustment original image described step 1) is: if when M1, N1 can not be divided exactly by K, L respectively, to the edge of original image X, utilize the pixel value of adjacent lines or adjacent column to fill, it is the image A of M * N that original image X adjustment is formed to size; When if M1, N1 can be divided exactly by K, L respectively, do not need to adjust, i.e. M1=M, N1=N.
Described step 3) in, the size M1 of original image X, N1 and sequencing numbers h are embedded into step 2) middle little image sequence B1, the B2 forming ... .., the concrete grammar in Bn is: information to be embedded is embedded in first little image B 1 in the little image sequence from new arrangement by the method for Information hiding, and all the other little images are constant.
Described step 4) in to stego-image sequence C 1, C2 ... .., to carry out the step of Video coding as follows for Cn: according to the compression ratio of jpeg format, video encoder quantization step parameter Qp is H.264 set, make compression ratio be not less than Joint Photographic Experts Group, then carry out the Video coding of standard.
The present invention's advantage is compared with prior art:
H.264 etc. the current conventional main JPEG of method for compressing image etc., video-frequency compression method mainly contains MEPG-2, MEPG-4,, also mentioned some other compression method in current document.But existing research and application in all for two kinds of media, adopted different compression processing mode: utilize Image Compression to come encoded video because its weak effect does not adopt, utilize video compression technology encode rest image method also appearance.The method has been broken routine, during to Image Coding first by image contract, be arranged in video sequence, adopt the method for Video coding to compress rest image, obtained higher compression ratio.In addition, little image sequence after randomly changing decomposes is very little on the impact of compression performance, therefore, the method adopts the arrangement mode of agreement to come the position of layout subimage again at transmitting terminal, in the situation that does not change compression performance, be issued to the effect of encrypting, this has broken the sightless tradition of existing cryptographic algorithm.
The present invention utilizes video coding technique to compress rest image, compares to jpeg image compression method and has obtained higher compression ratio, has obtained beyond thought effect.
(1) the present invention proposes a kind of peculiar methods that adopts video encoding standard compression rest image, in the situation that improving compression ratio, can also play to rest image the effect of encryption, the fail safe that has improved Still Image Transmission.
(2) the static coding method based on video that the present invention adopts, its performance is better than the current JPEG compression standard that is widely used in image field.
(3) the present invention utilizes the very strong feature of correlation between little image sequence, putting in order of the random little image sequence of change, so not only compression ratio there is no to affect but also can play the effect of encryption, and different with conventional cryptography, and this method has also been covered the fact of encrypting.
(4) the present invention has become a high-quality image into several low-quality images and has transmitted, and original high quality graphic has been played to the effect of protection.Disabled user can only obtain low-quality image, and validated user energy high-fidelity recover original image.
(5) the present invention can adopt a kind of encoding device to compress image, video, can, in the situation that only having video encoder, still can complete the coding work of video and image.
(6) the present invention can use with traditional encryption method simultaneously.
Accompanying drawing explanation
Fig. 1 is flow chart of the present invention;
Fig. 2 is test original image;
Fig. 3 is the image after adjusting;
Fig. 4 is the little image sequence after decomposing.
Embodiment
As shown in Figure 1, a kind of image compression and security transmission method based on video of the present invention, concrete steps are as follows:
1) the original image X that is M1 * N1 by size is adjusted to according to normal video image size K * L the image A that is of a size of M * N, to the image A after adjusting extract and form image sequence A1, A2 ... .., An; Wherein, each little image A 1, A2 ... .., the size of An is K * L; Described M, N can be divided exactly by K, L respectively; If when M1, N1 can not be divided exactly by K, L respectively, utilize the pixel value of adjacent lines or adjacent column to fill to the edge of original image X, it is the image A of M * N that original image X adjustment is formed to size; When if M1, N1 can be divided exactly by K, L respectively, do not need to adjust, i.e. M1=M, N1=N;
2) as shown in Table 1, the sequencing numbers h that arranges in advance sequencing table according to transmitting-receiving two-end by image sequence A1, A2 ... .., the order 1,2 of An ..., n become p1, p2 ... .., pn or q1, q2 ... .., qn or s1, s2 ... .., sn etc., form new image sequence B1, B2 ... .., Bn.Wherein, corresponding original alignment order 1,2 during sequence number h=0 ...., n; During h=1 corresponding agreement put in order p1, p2 ... .., pn; During h=2 corresponding agreement put in order q1, q2 ... .., qn; ..; During h=J corresponding agreement put in order s1, s2 ... .., sn etc., the i.e. multiple random alignment order of the optional use of this about definite sequence;
Table one
Sequence number h Sequentially
0 1,2,….,n
1 p1,p2,…..,pn
2 q1,q2,…..,qn
……… ……….
J s1,s2,…..,sn
3) the size M1 of original image X, N1 and sequencing numbers h are embedded into step 2) middle little image sequence B1, the B2 forming ... .., in Bn, form stego-image sequence C 1, C2 ... .., Cn; During concrete operations, information to be embedded can be embedded in first little image B 1 in the little image sequence from new arrangement by the method for Information hiding, all the other little images are constant.
4) by stego-image sequence C 1, C2 ... .., Cn compresses according to normal video coding method; First according to the compression ratio of jpeg format, video encoder quantization step parameter Qp is H.264 set, makes compression ratio be not less than Joint Photographic Experts Group, then carry out the Video coding of standard.
5) the stego-image sequence C 1 of receiving terminal after being restored after standard video decoding, C2 ... .., Cn;
6) from stego-image sequence C 1, C2 ... .., extract information M1, N1, the h of embedding in Cn, thereby obtain the size of original image X and the value of sequencing numbers h, and then the little image sequence B1, the B2 that are restored ... .., Bn;
7) according to sequencing numbers h by B1, B2 ... .., Bn revert to little image sequence A1, A2 ... .., An;
8) by little image sequence A1, A2 ... .., An is according to step 1) in the inverse process that extracts revert to size for the image of M * N, then by it according to step 1) in the inverse process adjusted to be adjusted into big or small be the image of M1 * N1.
In order to verify the performance of put forward the methods herein, experiment has adopted the 8 bit gradation images that 8 general in the world width sizes are 512 * 512 to carry out emulation, and test pattern as shown in Figure 2.During emulation, first image being divided into little image sequence (also can be described as video) then adopts H.264 video encoding standard to compress, and it is compared with the effect of Joint Photographic Experts Group JPEG, experimental result shows that method that the present invention proposes is in the situation that Y-PSNR (PSNR) is roughly the same, and compression ratio has improved 6.6%~31.2%; In the situation that compression ratio is roughly the same, PSNR has improved 0.4~5.5dB, has verified the validity of algorithm.
By 8 width standard pictures according to a kind of picture size 176 in standard H.264? 144 form is adjusted, and carries out video compression after then resolving into little image sequence; Does is what JPEG still compressed 512? 512 former figure.Image after decomposition as shown in Figure 3.
For example work as M1=512, N1=512, K=176, during L=144, M=528, N=576.
In the time of can not being divided exactly by K, L respectively due to M1, N1, Lena image is adjusted, its edge utilizes the pixel value of adjacent lines or adjacent column to fill, and forms size and be 528 * 576 image A after adjustment.
According to every 3 row every 4 row (L1=3, L2=4) method of sampling extracts and forms little image sequence, 12 little images have been decomposed, wherein, pixel in first little image is got the pixel in (i-1) * L1+1 in original image (j-1) * L2+1 row in capable, wherein the value of i is that 1 to 176, j value is 1 to 144.As shown in Figure 4, each little image is of a size of 176 * 144 to effect.
As can be seen from the figure each the little image decomposing out has very strong similitude, therefore, during the order of the little image after we rearrange decomposition, be difficult to be discovered, in addition, the strong similitude between little image is also just in time applicable to utilizing video encoding standard to carry out compressed encoding to it:
In order to verify the validity of algorithm that the present invention puies forward, table 1 and table 2 have been listed respectively in the compression ratio suitable PSNR correction data in situation and in the PSNR suitable compression ratio correction data in situation roughly roughly.PSNR contrast in the situation that wherein table 1 is identical compression ratio after JPEG and coding H.264, has a look the compression ratio contrast after JPEG and coding H.264 in the situation of table 2 for identical PSNR; Data from table 1 can find out application method of the present invention after in the situation that compression ratio has on average improved 1.6%, PSNR has on average obtained the gain of 2.04dB; Data from table 2 have on average obtained 0.19dB gain in the situation that at PSNR after can finding out application method of the present invention, and compression ratio has on average improved 20.54%.
Table 1
Table 2
The content not being described in detail in specification of the present invention belongs to those skilled in the art's known technology.

Claims (4)

1. the image compression based on video and a security transmission method, is characterized in that step is as follows:
1) the original image X that is M1 * N1 by size is adjusted to according to normal video image size K * L the image A that is of a size of M * N, to the image A after adjusting extract and form image sequence A1, A2 ... .., An; Wherein, each little image A 1, A2 ... .., the size of An is K * L; Described M, N can be divided exactly by K, L respectively;
2) according to transmitting-receiving two-end, make an appointment put in order by image sequence A1, A2 ... .., An is from new sort, obtain new image sequence B1, B2 ... .., Bn, and the numbering that puts in order of this agreement is designated as to h;
3) the size M1 of original image X, N1 and sequencing numbers h are embedded into step 2) middle little image sequence B1, the B2 forming ... .., in Bn, form stego-image sequence C 1, C2 ... .., Cn;
4) by stego-image sequence C 1, C2 ... .., Cn compresses according to normal video coding method;
5) the stego-image sequence C 1 of receiving terminal after being restored after standard video decoding, C2 ... .., Cn;
6) from stego-image sequence C 1, C2 ... .., extract information M1, N1, the h of embedding in Cn, thereby obtain the size of original image X and the value of sequencing numbers h, and then the little image sequence B1, the B2 that are restored ... .., Bn;
7) according to sequencing numbers h by B1, B2 ... .., Bn revert to little image sequence A1, A2 ... .., An;
8) by little image sequence A1, A2 ... .., An is according to step 1) in the inverse process that extracts revert to size for the image of M * N, then by it according to step 1) in the inverse process adjusted to be adjusted into big or small be the image of M1 * N1.
2. a kind of image compression and security transmission method based on video according to claim 1, it is characterized in that: the concrete grammar of the adjustment original image described step 1) is: if when M1, N1 can not be divided exactly by K, L respectively, to the edge of original image X, utilize the pixel value of adjacent lines or adjacent column to fill, it is the image A of M * N that original image X adjustment is formed to size; When if M1, N1 can be divided exactly by K, L respectively, do not need to adjust, i.e. M1=M, N1=N.
3. a kind of image compression and security transmission method based on video according to claim 1, it is characterized in that: described step 3), the size M1 of original image X, N1 and sequencing numbers h are embedded into step 2) middle little image sequence B1, the B2 forming ... .., the concrete grammar in Bn is: information to be embedded is embedded in first little image B 1 in the little image sequence from new arrangement by the method for Information hiding, and all the other little images are constant.
4. a kind of image compression and security transmission method based on video according to claim 1, it is characterized in that: described step 4) to stego-image sequence C 1, C2 ... .., to carry out the step of Video coding as follows for Cn: according to the compression ratio of jpeg format, video encoder quantization step parameter Qp is H.264 set, make compression ratio be not less than Joint Photographic Experts Group, then carry out the Video coding of standard.
CN201410300478.6A 2014-06-27 2014-06-27 A kind of compression of images and security transmission method based on video Active CN104065976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410300478.6A CN104065976B (en) 2014-06-27 2014-06-27 A kind of compression of images and security transmission method based on video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410300478.6A CN104065976B (en) 2014-06-27 2014-06-27 A kind of compression of images and security transmission method based on video

Publications (2)

Publication Number Publication Date
CN104065976A true CN104065976A (en) 2014-09-24
CN104065976B CN104065976B (en) 2017-03-15

Family

ID=51553472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410300478.6A Active CN104065976B (en) 2014-06-27 2014-06-27 A kind of compression of images and security transmission method based on video

Country Status (1)

Country Link
CN (1) CN104065976B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469372A (en) * 2014-11-06 2015-03-25 中国科学院计算技术研究所 Method and system for compressing light field image collected by microlens array
CN106375766A (en) * 2016-09-08 2017-02-01 电子科技大学 Light field image compression method
CN107018429A (en) * 2017-04-26 2017-08-04 陈翟 Internet video data compression and frame picture display process
CN108694734A (en) * 2018-04-20 2018-10-23 西安空间无线电技术研究所 A kind of data compression method of suitable complicated image
CN108848385A (en) * 2018-06-20 2018-11-20 西安空间无线电技术研究所 A kind of block data compression method suitable for micro-nano satellite
CN109040114A (en) * 2018-09-05 2018-12-18 唯得智慧(湖北)科技有限公司 Safe and reliable image transfer method based on narrowband Internet of Things
CN116055008A (en) * 2023-03-31 2023-05-02 深圳市网联天下科技有限公司 Router data processing method for cloud server connection

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080285793A1 (en) * 2003-12-05 2008-11-20 New Jersey Institute Of Technology Methods and apparatus for lossless data hiding
CN103414892A (en) * 2013-07-25 2013-11-27 西安空间无线电技术研究所 Method for hiding high-capacity compression-resisting image information
CN103428494A (en) * 2013-08-01 2013-12-04 浙江大学 Image sequence coding and recovering method based on cloud computing platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080285793A1 (en) * 2003-12-05 2008-11-20 New Jersey Institute Of Technology Methods and apparatus for lossless data hiding
CN103414892A (en) * 2013-07-25 2013-11-27 西安空间无线电技术研究所 Method for hiding high-capacity compression-resisting image information
CN103428494A (en) * 2013-08-01 2013-12-04 浙江大学 Image sequence coding and recovering method based on cloud computing platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汪彬: "H_264中熵编码研究及其在遥感图像压缩中的应用", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469372B (en) * 2014-11-06 2018-09-07 中国科学院计算技术研究所 Method and system for the light field image for compressing microlens array acquisition
CN104469372A (en) * 2014-11-06 2015-03-25 中国科学院计算技术研究所 Method and system for compressing light field image collected by microlens array
CN106375766B (en) * 2016-09-08 2018-12-18 电子科技大学 A kind of light field image compression method
CN106375766A (en) * 2016-09-08 2017-02-01 电子科技大学 Light field image compression method
CN107018429A (en) * 2017-04-26 2017-08-04 陈翟 Internet video data compression and frame picture display process
CN108694734A (en) * 2018-04-20 2018-10-23 西安空间无线电技术研究所 A kind of data compression method of suitable complicated image
CN108694734B (en) * 2018-04-20 2022-03-04 西安空间无线电技术研究所 Data compression method suitable for complex image
CN108848385B (en) * 2018-06-20 2021-04-13 西安空间无线电技术研究所 Block data compression method suitable for micro-nano satellite
CN108848385A (en) * 2018-06-20 2018-11-20 西安空间无线电技术研究所 A kind of block data compression method suitable for micro-nano satellite
CN109040114B (en) * 2018-09-05 2021-02-26 唯得智慧(湖北)科技有限公司 Safe and reliable image transmission method based on narrow-band Internet of things
CN109040114A (en) * 2018-09-05 2018-12-18 唯得智慧(湖北)科技有限公司 Safe and reliable image transfer method based on narrowband Internet of Things
CN116055008A (en) * 2023-03-31 2023-05-02 深圳市网联天下科技有限公司 Router data processing method for cloud server connection
CN116055008B (en) * 2023-03-31 2023-06-02 深圳市网联天下科技有限公司 Router data processing method for cloud server connection

Also Published As

Publication number Publication date
CN104065976B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN104065976B (en) A kind of compression of images and security transmission method based on video
CN103414892B (en) The Image Hiding that a kind of Large Copacity is incompressible
CN103501441B (en) A kind of multi-description video coding method based on human visual system
Liao et al. Efficient information hiding in H. 264/AVC video coding
Robie et al. Video error correction using steganography
CN104581176B (en) The insertion of H.264/AVC compression domain robust video watermark and extracting method without frame in error drift
CN108965887B (en) Video information hiding method and device based on inter-block decoupling
CN108416725A (en) A kind of asymmetric JPEG steganography methods based on elimination blocking artifact
Ma et al. A Video Watermarking DRM Method Based on H. 264 Compressed Domain with Low Bit‐Rate Increasement
CN109636707B (en) Blind detection information hiding and extracting method based on image texture features
CN102300098B (en) Video fault tolerance coding method based on reversible information hiding and redundancy technology
CN100387062C (en) Method for protecting MPEG-2 video frequency data with compensation
Naik et al. A blind DCT domain digital watermarking for biometric authentication
CN102227133B (en) Stereo video transmission method
CN102790881B (en) Transform domain distributed video coder based on frame-level coding end speed control
Saba et al. Image transmission over error-prone channels
Jiang et al. A high capacity steganographic method based on quantization table modification
Liu et al. A Lossy Secret Color Image Sharing Scheme with Small Shadows and Error-resilient Capability.
KR20210149699A (en) A method for hiding data in an image or video stream inside a compression chain.
Shou-Dao et al. A high bitrate information hiding algorithm for video in video
CN101976323B (en) Quickly generating method of user copy based on video GOP (Group of Picture)
CN104144347A (en) H.264/AVC video I-frame error recovery method based on reversible data hiding
Ning et al. Video Reversible Data Hiding Based on Motion Vector
Rodríguez et al. Data hiding algorithm for HEVC using intra-coded frames
Li et al. A watermarking algorithm for 3D videos stream based on spatiotemporal correlation

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