CN104065976B - A kind of compression of images and security transmission method based on video - Google Patents

A kind of compression of images and security transmission method based on video Download PDF

Info

Publication number
CN104065976B
CN104065976B CN201410300478.6A CN201410300478A CN104065976B CN 104065976 B CN104065976 B CN 104065976B CN 201410300478 A CN201410300478 A CN 201410300478A CN 104065976 B CN104065976 B CN 104065976B
Authority
CN
China
Prior art keywords
image
size
image sequence
video
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.)
Active
Application number
CN201410300478.6A
Other languages
Chinese (zh)
Other versions
CN104065976A (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

Abstract

A kind of compression of images and security transmission method based on video of the present invention, is compressed using video encoding standard after rest image is decomposed into little image sequence, and the coding for rest image provides a kind of new approach.The compression ratio of rest image is not only further increased, and the occasion in only video equipment remains to the coding for completing image.Experiment shows that with respect to JPEG compression standard, compression ratio can improve 31% to the application method of the present invention, and PSNR can obtain the high-gain of 5.5dB in the case where compression ratio is suitable.Meanwhile, the present invention can complete to encrypt in the case where compression performance and visual effect is not affected, with higher safety.

Description

A kind of compression of images and security transmission method based on video
Technical field
The present invention relates to a kind of method of Image Communication, more particularly to a kind of compression of images and security transmission method be System, belongs to communication (such as data communication technology etc.) field.
Background technology
In the current information age, the 80% information people for emerging in large numbers need the media format by forms such as image, videos To know.In order to save bandwidth, need before transmission to encode image and video, the image encoding standards that for example commonly uses have JPEG etc., and video then commonly use H.264, the coding standard such as MPEG-2, MPEG-4.JPEG is formulated in 1991, as static map As compression standard, obtain extensively and successfully applying in digital image arts;And H.264 it is a kind of newer of ITU-T propositions The video image compression standard towards very low bit-rate video communication applications, wherein employ estimation, Integer DCT Transform, The technology such as variable step size quantifies, variable entropy coding, obtain efficient video coding performance.Video and the coding standard of image All achieve preferable effect and be widely used, but current research and application are all because the difference of two kinds of media formats Different and employ different coded systems, i.e., video is compressed with video encoding standard, image is compressed with image encoding standards. The coding file of consolidation form if coded image can be carried out using video encoding standard, can not only be obtained, rest image pressure is improved The compression ratio of contracting standard JPEG, and rest image can also be encoded under the occasion of only video encoder.
Content of the invention
Present invention solves the technical problem that being:Overcome the deficiencies in the prior art, it is proposed that a kind of image pressure based on video Contracting and security transmission method, improve JPEG compression standard compression ratio and Still Image Transmission when safety.
The technical scheme is that:A kind of compression of images and security transmission method based on video, step are as follows:
1) the original image X by size for M1 × N1 is adjusted to size for M × N's according to standard video image size K × L Image A, to adjustment after image A extracted and formed image sequence A1, A2 ... .., An;Wherein, each little image A1, A2 ... the size of .., An is K × L;Described M, N can be divided exactly by K, L respectively;
2) according to putting in order of making an appointment of transmitting-receiving two-end by image sequence A1, A2 ... .., An are obtained from new sort New image sequence B1, B2 ... .., Bn, and the numbering that puts in order of the agreement is designated as h;
3) size M1, N1 of original image X and sequencing numbers h are embedded into step 2) the middle little image sequence for being formed B1, B2 ... in .., Bn, formed stego-image sequence C 1, C2 ... .., Cn;
4) by stego-image sequence C 1, C2 ... .., Cn are compressed according to standard video coder method;
Stego-image sequence C 1, C2 after 5) receiving terminal is restored after standard video decoding ... .., Cn;
6) from stego-image sequence C 1, C2 ... extract embedded information M1, N1, h in .., Cn, original so as to obtain The size of image X and the value of sequencing numbers h, so be restored little image sequence B1, B2 ... .., 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 are according to step 1) in the inverse process that extracts revert to size for M × N Image, then by which according to step 1) in adjustment inverse process be adjusted to size be M1 × N1 image.
The step 1) described in adjustment original image concrete grammar be:If M1, N1 can not be divided exactly by K, L respectively When, then the edge of original image X is filled using the pixel value of adjacent lines or adjacent column, original image X is adjusted to be formed For the image A that size is M × N;It is not required to adjust if when M1, N1 can be divided exactly by K, L respectively, i.e. M1=M, N1=N.
The step 3) in size M1, N1 of original image X and sequencing numbers h are embedded into step 2) in formed little Image sequence B1, B2 ... the concrete grammar in .., Bn is:Information to be embedded is embedded into from new by the method for Information hiding In first in little image sequence little image B1 after arrangement, remaining little image is constant.
The step 4) in stego-image sequence C 1, C2 ... the step of .., Cn carry out Video coding is as follows:According to The compression ratio of jpeg format arranges video encoder quantization step parameter Qp H.264 so that compression ratio is not less than Joint Photographic Experts Group, The Video coding of standard is carried out again.
Present invention advantage compared with prior art is:
Main JPEG of current conventional method for compressing image etc., video-frequency compression method mainly have MEPG-2, MEPG-4, H.264 etc., some other compression methods are also refer in current document.But all against two in existing research and application Plant media and employ different compression processing modes:It is provided without because of its effect difference come encoded video using Image Compression, The method for being encoded rest image using video compression technology is not occurred yet.The method has broken routine, to elder generation during picture coding By image contract, video sequence is arranged in, the method using Video coding obtains higher compression compressing rest image Than.In addition, impact of the random little image sequence changed after decomposing to compression performance is very little, therefore, the method is sending Holding and the position of subimage being rearranged using the arrangement mode that arranges, encryption has been reached in the case where compression performance is not changed Effect, this has broken the sightless tradition of existing AES.
The present invention compresses rest image using video coding technique, obtains compared to JPEG image compression method higher Compression ratio, achieve unexpected effect.
(1) present invention proposes the unique method that a kind of employing video encoding standard compresses rest image, is improving compression Than in the case of, moreover it is possible to play a part of encryption to rest image, the safety of Still Image Transmission is improve.
(2) the static coded method based on video that the present invention is adopted, its performance are better than currently being widely used in image The JPEG compression standard in field.
(3) present invention utilizes the characteristics of dependency is very strong between little image sequence, the row of the little image sequence of random change Row order, had not so not only affected on compression ratio but also can play a part of encryption, and different with conventional cryptography, and this method is also covered The fact that covered encryption.
(4) present invention becomes several low-quality images a high-quality image and is transmitted, to original height Quality image serves the effect of protection.Disabled user can only obtain low-quality image, and the recovery of validated user energy high-fidelity Go out original image.
(5) image, video can be compressed by the present invention using a kind of encoding device, can be in only video encoder In the case of, remain to the coding work for completing video and image.
(6) present invention can be used simultaneously with traditional encryption method.
Description of the drawings
Fig. 1 is the flow chart of the present invention;
Fig. 2 is test original image;
Fig. 3 is the image after adjustment;
Fig. 4 is the little image sequence after decomposing.
Specific embodiment
As shown in figure 1, a kind of compression of images and security transmission method based on video of the present invention, comprises the following steps that:
1) the original image X by size for M1 × N1 is adjusted to size for M × N's according to standard video image size K × L Image A, to adjustment after image A extracted and formed image sequence A1, A2 ... .., An;Wherein, each little image A1, A2 ... the size of .., An is K × L;Described M, N can be divided exactly by K, L respectively;If M1, N1 can not be divided exactly by K, L respectively When, then the edge of original image X is filled using the pixel value of adjacent lines or adjacent column, original image X is adjusted to be formed For the image A that size is M × N;It is not required to adjust if when M1, N1 can be divided exactly by K, L respectively, i.e. M1=M, N1=N;
2) as shown in Table 1, arranged according to transmitting-receiving two-end in advance the sequencing numbers h of sequencing table by image sequence A1, A2 ... the order of .., An 1,2 ..., n become p1, p2 ... .., pn or q1, q2 ... .., qn or s1, S2 ... .., sn etc., formed new image sequence B1, B2 ... .., Bn.Wherein, corresponding original alignment order during sequence number h=0 1,2 ...., n;Correspondingly arrange to put in order during h=1 p1, p2 ... .., pn;Correspondingly arrange to put in order during h=2 q1, q2、.....、qn;.....;Correspondingly arrange to put in order during h=J s1, s2 ... .., sn etc., i.e. agreement order can select many Plant random permutation order;
Table one
Sequence number h Sequentially
0 1,2 ...., n
1 P1, p2 ... .., pn
2 Q1, q2 ... .., qn
......... ..........
J S1, s2 ... .., sn
3) size M1, N1 of original image X and sequencing numbers h are embedded into step 2) the middle little image sequence for being formed B1, B2 ... in .., Bn, formed stego-image sequence C 1, C2 ... .., Cn;Information to be embedded can be pressed during concrete operations The method of Information hiding is embedded in first little image B1 in the little image sequence from after newly arranging, and remaining little image is not Become.
4) by stego-image sequence C 1, C2 ... .., Cn are compressed according to standard video coder method;Basis first The compression ratio of jpeg format arranges video encoder quantization step parameter Qp H.264 so that compression ratio is not less than Joint Photographic Experts Group, The Video coding of standard is carried out again.
Stego-image sequence C 1, C2 after 5) receiving terminal is restored after standard video decoding ... .., Cn;
6) from stego-image sequence C 1, C2 ... extract embedded information M1, N1, h in .., Cn, original so as to obtain The size of image X and the value of sequencing numbers h, so be restored little image sequence B1, B2 ... .., 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 are according to step 1) in the inverse process that extracts revert to size for M × N Image, then by which according to step 1) in adjustment inverse process be adjusted to size be M1 × N1 image.
In order to verify that the performance set forth herein method, experiment employ 8 that 8 general in the world width sizes are 512 × 512 Bit grayscale image is emulated, and test image is as shown in Figure 2.First divide the image into little image sequence (can also claim during emulation For video) and then compressed using H.264 video encoding standard, and by which compared with the effect of Joint Photographic Experts Group JPEG Compared with test result indicate that method proposed by the present invention is in the case where Y-PSNR (PSNR) is roughly the same, compression ratio is improved 6.6%~31.2%;In the case where compression ratio is roughly the same, PSNR improves 0.4~5.5dB, and demonstrate algorithm has Effect property.
By 8 width standard pictures according to H.264 standard in a kind of picture size 176 × 144 form adjusting, Ran Houfen Solution carries out video compress into after little image sequence;What JPEG still compressed is 512 × 512 artwork.Image after decomposition such as Fig. 3 Shown.
For example work as M1=512, N1=512, K=176, during L=144, M=528, N=576.
When can not be divided exactly by K, L respectively due to M1, N1, Lena images are adjusted, its edge is using adjacent lines or phase The pixel value of adjacent column is filled, and is formed as the image A that size is 528 × 576 after adjustment.
According to extracting to form little image sequence every 4 row (L1=3, the L2=4) methods sampled every 3 rows, decomposed 12 little Image, wherein, the pixel in first little image is taken in (the j-1) × L2+1 row in (the i-1) × L1+1 rows in original image The value of pixel, wherein i is 1 to 144 for the value of 1 to 176, j.Effect is as shown in figure 4, the size of each little image is 176 ×144.
As can be seen from the figure each the little image for decomposing out has very strong similarity, therefore, when we arrange again It is difficult to be noticeable during the order of the little image after row decomposition, in addition, the strong similarity between little image also is just suitable for utilizing regarding Frequency coding standard is compressed coding to which:
In order to verify that the effectiveness of the carried algorithm of the present invention, Tables 1 and 2 list situation roughly the same in compression ratio respectively Under PSNR correction datas and the compression ratio correction data in the case of PSNR is roughly the same.Wherein table 1 is identical compression ratio In the case of PSNR contrasts after JPEG and coding H.264, table 2 is to have a look JPEG and H.264 in the case of identical PSNR Compression ratio contrast after coding;Data from table 1 are averagely improve in compression ratio after can be seen that the application method of the present invention In the case of 1.6%, PSNR averagely obtains the gain of 2.04dB;Data from table 2 can be seen that the side of the application present invention After method in the case where PSNR averagely obtains 0.19dB gains, compression ratio averagely improves 20.54%.
Table 1
Table 2
The content not being described in detail in description of the invention belongs to the known technology of those skilled in the art.

Claims (1)

1. a kind of compression of images and security transmission method based on video, it is characterised in that step is as follows:
1) the original image X by size for M1 × N1 is adjusted to the image that size is M × N according to standard video image size K × L A, to adjustment after image A extracted and formed image sequence A1, A2 ... .., An;Wherein, each little image A1, A2 ... the size of .., An is K × L;Described M, N can be divided exactly by K, L respectively;The concrete grammar of the adjustment original image For:If M1, N1 can not be divided exactly by K, L respectively, the edge to original image X is using adjacent lines or the pixel value of adjacent column It is filled, original image X adjustment is formed as the image A that size is M × N;If when M1, N1 can be divided exactly by K, L respectively It is not required to adjust, i.e. M1=M, N1=N;
2) according to putting in order of making an appointment of transmitting-receiving two-end by image sequence A1, A2 ... .., An are obtained new from new sort Image sequence B1, B2 ... .., Bn, and the numbering that puts in order of the agreement is designated as h;
3) size M1, N1 of original image X and sequencing numbers h are embedded into step 2) the middle little image sequence B1 for being formed, B2 ... in .., Bn, formation stego-image sequence C 1, C2 ... .., Cn;Size M1, N1 of original image X and sequence are compiled Number h is embedded into step 2) in formed little image sequence B1, B2 ... the concrete grammar in .., Bn is:Information to be embedded It is embedded in first little image B1 in the little image sequence from after newly arranging by the method for Information hiding, remaining little image is not Become;
4) by stego-image sequence C 1, C2 ... .., Cn are compressed according to standard video coder method;To stego-image sequence C1, C2 ... the step of .., Cn carry out Video coding is as follows:H.264 video encoder is arranged according to the compression ratio of jpeg format Quantization step parameter Qp so that compression ratio is not less than Joint Photographic Experts Group, then the Video coding for carrying out standard;
Stego-image sequence C 1, C2 after 5) receiving terminal is restored after standard video decoding ... .., Cn;
6) from stego-image sequence C 1, C2 ... extract embedded information M1, N1, h in .., Cn, so as to obtain original image X Size and sequencing numbers h value, and then be restored little image sequence B1, B2 ... .., 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 are according to step 1) in extract inverse process revert to size be M × N figure Picture, then by which according to step 1) in adjustment inverse process be adjusted to size be M1 × N1 image.
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 CN104065976A (en) 2014-09-24
CN104065976B true 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)

Families Citing this family (7)

* 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
CN106375766B (en) * 2016-09-08 2018-12-18 电子科技大学 A kind of light field image compression method
CN107018429A (en) * 2017-04-26 2017-08-04 陈翟 Internet video data compression and frame picture display process
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
CN109040114B (en) * 2018-09-05 2021-02-26 唯得智慧(湖北)科技有限公司 Safe and reliable image transmission method based on narrow-band Internet of things
CN116055008B (en) * 2023-03-31 2023-06-02 深圳市网联天下科技有限公司 Router data processing method for cloud server connection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7356158B2 (en) * 2002-12-17 2008-04-08 New Jersey Institute Of Technology Methods and apparatus for lossless data hiding

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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中熵编码研究及其在遥感图像压缩中的应用;汪彬;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20071015(第4期);正文第62-63页 *

Also Published As

Publication number Publication date
CN104065976A (en) 2014-09-24

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
CN107197260B (en) Video coding post-filter method based on convolutional neural networks
CN103501441B (en) A kind of multi-description video coding method based on human visual system
CN103533458B (en) The embedding of a kind of video watermark and extracting method
CN103607591A (en) Image compression method combining super-resolution reconstruction
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
CN102547297A (en) MPEG2 (Moving Picture Experts Group 2) video watermarking realization method based on DC (Discrete Cosine) coefficient
CN102164282A (en) Coefficient-random-permutation-based compressive sensing method and system for image coding
CN108769700A (en) Reduce the robustness video steganography method of H.264 interframe drift distortion
CN104853215A (en) Video steganography method based on motion vector local optimality preservation
CN102333223A (en) Video data coding method, decoding method, coding system and decoding system
CN105163130B (en) A kind of Lossless Image Compression Algorithm method based on discrete Tchebichef orthogonal polynomial
CN102300098B (en) Video fault tolerance coding method based on reversible information hiding and redundancy technology
CN102523454B (en) Method for utilizing 3D (three dimensional) dictionary to eliminate block effect in 3D display system
CN102790881B (en) Transform domain distributed video coder based on frame-level coding end speed control
CN102724381A (en) Bill image compression method based on JPEG (joint photographic experts group) compression principle
Naik et al. A blind DCT domain digital watermarking for biometric authentication
GB2488094A (en) Image compression using sum and difference pixel replacement and lowest bit discarding
CN108683921A (en) A kind of video reversible information hidden method based on zero quantization DCT coefficient group
CN106131575B (en) The method for compressing image combined based on wavelet transformation with Chinese remainder theorem
Saba et al. Image transmission over error-prone channels
CN104144347A (en) H.264/AVC video I-frame error recovery method based on reversible data hiding
KR20210149699A (en) A method for hiding data in an image or video stream inside a compression chain.

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