CN102025997A - Method and device for concealing information as well as method and device for extracting concealed information - Google Patents

Method and device for concealing information as well as method and device for extracting concealed information Download PDF

Info

Publication number
CN102025997A
CN102025997A CN2010106003950A CN201010600395A CN102025997A CN 102025997 A CN102025997 A CN 102025997A CN 2010106003950 A CN2010106003950 A CN 2010106003950A CN 201010600395 A CN201010600395 A CN 201010600395A CN 102025997 A CN102025997 A CN 102025997A
Authority
CN
China
Prior art keywords
macro block
frame
ipcm
information
motion vector
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.)
Pending
Application number
CN2010106003950A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2010106003950A priority Critical patent/CN102025997A/en
Publication of CN102025997A publication Critical patent/CN102025997A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a method and device for concealing information as well as a method and device for extracting concealed information. The method for concealing information comprises the following steps: judging whether a P-frame macroblock is an IPCM (intra-frame pulse code modulation) macroblock or not; when the P-frame macroblock is the IPCM macroblock, determining the information embedment strength of the IPCM macroblock according to the motion vector information of the P-frame macroblock of a coded non-IPCM macroblock within a set range; and according to the information embedment strength, embedding information to the IPCM macroblock. The method and device provided by the invention take the IPCM macroblock as an information embedment carrier; the information embedment strength is determined according to the motion vector information of the P-frame macroblock of the non-IPCM macroblock within the set range; and according to the information embedment strength, the IPCM macroblock is subjected to information embedment to improve the information embedment amount of the embedment carrier. The method and device for extracting concealed information can extract the concealed information from the IPCM macroblock according to the information embedment strength so as to effectively prevent the information quality of the embedded carrier from declining.

Description

The method and apparatus that the method and apparatus that hides Info, extraction hide Info
Technical field
The present invention relates to communication technical field, especially relate to a kind of method and apparatus that hides Info, extract the method and apparatus that hides Info.
Background technology
Information Hiding Techniques based on digital video has obtained fast development in recent years, as technology such as digital watermark, secret communications.This Information Hiding Techniques adopts the carrier of video data as the information of embedding, under the prerequisite that guarantees video image quality, need satisfy information and embed requirements such as capacity, real-time, robustness and imperceptibility.The video of uncompressed need take very big bandwidth and memory space, and video compression technology is extremely important in field of video communication.
For satisfying above-mentioned requirements, prior art provides a kind of up-to-date video compression standard Information Hiding Techniques H.264/AVC.This Information Hiding Techniques is divided into following a few class according to the carrier difference: based on the Information Hiding Techniques of motion vector information, based on prediction divide the Information Hiding Techniques of block mode, based on the Information Hiding Techniques of discrete cosine transform DCT (Discrete Cosine Transform) coefficient.Wherein, adopt information such as the amplitude of motion vector and phase place as carrier based on the concealing technology of motion vector information, the motion vector number of macro block is less, so information embeds finite capacity.The predictive mode that divides the Information Hiding Techniques of block mode to adopt the Intra intra-frame macro block based on prediction, or the branch block mode of the Inter inter macroblocks information of carrying out embeds, its schema category is limited, the information of carrying is less, thus its information to embed capacity less equally.Information Hiding Techniques based on the DCT coefficient, the non-zero if of macro block or high frequency DCT coefficient are as carrier in the common employing Intra frame, the information embedded quantity of the above-mentioned two kinds of information concealing methods of its information embedding Capacity Ratio is the main flow of present compressed domain concealing technology more greatly.But the ratio of Intra frame is very little in some application scenario, and the information that largely limited embeds capacity.
Summary of the invention
Main purpose of the present invention is to provide a kind of method and apparatus that hides Info, extracts the method and apparatus that hides Info, and improves the embedded quantity that hides Info.
The present invention proposes a kind of method that hides Info, and it comprises step:
Judge whether P frame macro block is pulse code (Intra-frame Pulse Code Modulation, IPCM) macro block in the frame;
When P frame macro block is the IPCM macro block, determine the information embedment strength of this IPCM macro block according to the P frame macroblock motion vector information of the non-IPCM macro block of having encoded in the setting range;
According to described information embedment strength, the described IPCM macro block information of carrying out is embedded.
Preferably, described P frame macroblock motion vector information according to the non-IPCM macro block of having encoded in the setting range determines that the information embedment strength of this IPCM macro block specifically comprises:
P frame macroblock motion vector information according to the non-IPCM macro block of having encoded in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
Preferably, described according to described information embedment strength, described IPCM macro block is carried out also comprising after the information embedding:
Described IPCM macro block and this IPCM macro block flag information entropy coding that P frame macro block, this P frame macroblock motion vector of the non-IPCM macro block of having encoded, the information of carrying out are embedded are code stream.
Preferably, whether the described P of judgement frame macro block is that the IPCM macro block specifically comprises:
P frame macro block is carried out predictive coding, calculate the predictive coding cost value of this P frame macro block;
The predictive coding cost value and the self adaptation cost threshold value of described P frame macro block are carried out size relatively;
Determine that the predictive coding cost value is the IPCM macro block greater than the P frame macro block of self adaptation cost threshold value.
The present invention proposes a kind of device that hides Info in addition, and it comprises:
First judge module is used to judge whether P frame macro block is pulse code (Intra-frame PulseCode Modulation, IPCM) macro block in the frame;
First computing module when P frame macro block is the IPCM macro block, is determined the information embedment strength of this IPCM macro block according to the P frame macroblock motion vector information of the non-IPCM macro block of having encoded in the setting range;
Merge module is used for according to described information embedment strength, and the described IPCM macro block information of carrying out is embedded.
Preferably, described first computing module, the concrete P frame macroblock motion vector information that also is used for according to the non-IPCM macro block of having encoded in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
Preferably, the above-mentioned device that hides Info also comprises:
The entropy coding module, being used for described IPCM macro block and this IPCM macro block flag information entropy coding that P frame macro block, this P frame macroblock motion vector of the non-IPCM macro block of will encode, the information of carrying out embed is code stream.
Preferably, described first judge module comprises:
The predictive coding submodule is used for P frame macro block is carried out predictive coding, calculates the predictive coding cost value of this P frame macro block;
Comparison sub-module is carried out size relatively with the predictive coding cost value and the self adaptation cost threshold value of described P frame macro block;
Determine submodule, determine that the predictive coding cost value is the IPCM macro block greater than the P frame macro block of self adaptation cost threshold value.
The present invention proposes the method that a kind of extraction hides Info in addition, comprises step:
Judge according to the macro block flag information whether P frame macro block is (Intra-frame PulseCode Modulation, the IPCM) macro block data of pulse code in the frame;
When P frame macro block is the IPCM macro block, determine the information embedment strength of this IPCM macro block according to the motion vector information of decoded P frame macro block in the setting range;
According to described information embedment strength, from described IPCM macro block, extract and hide Info.
Preferably, described motion vector information according to decoded P frame macro block in the setting range determines that the information embedment strength of this IPCM macro block specifically comprises:
Motion vector information according to decoded P frame macro block in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
Preferably, describedly judge that according to the macro block flag information whether P frame macro block is also to comprise before the IPCM macro block data:
The code stream that receives is carried out the entropy decoding, get P frame macro block, macro block flag information and P frame macroblock motion vector information; P frame macro block comprises IPCM macro block and non-IPCM macro block, and described P frame macroblock motion vector information is the motion vector information of non-IPCM macro block.
The present invention proposes the device that a kind of extraction hides Info in addition, and it comprises:
Second judge module is used for judging according to the macro block flag information whether P frame macro block is (Intra-frame Pulse Code Modulation, the IPCM) macro block data of pulse code in the frame;
Second computing module, being used for working as P frame macro block is the IPCM macro block, determines the information embedment strength of this IPCM macro block according to the motion vector information of decoded P frame macro block in the setting range;
Extraction module is used for according to described information embedment strength, extracts to hide Info from described IPCM macro block data.
Preferably, described second computing module, the concrete motion vector information that also is used for according to decoded P frame macro block in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
Preferably, the device that said extracted hides Info also comprises:
The entropy decoder module is used for the code stream that receives is carried out the entropy decoding, gets P frame macro block, macro block flag information and P frame macroblock motion vector information; P frame macro block comprises IPCM macro block and non-IPCM macro block, and described P frame macroblock motion vector information is the motion vector information of non-IPCM macro block.
As from the foregoing, the method and apparatus that hides Info, by adopting the IPCM macro block is that information embeds carrier, P frame macroblock motion vector information according to non-IPCM macro block in the setting range is determined the information embedment strength, and according to the information embedment strength, the IPCM macro block is carried out the mode that information embeds, improved the information embedded quantity that embeds carrier; The method and apparatus that extraction hides Info extracts from the IPCM macro block according to the information embedment strength and to hide Info, and has effectively prevented to embed the decline of carrier information quality.
Description of drawings
Fig. 1 is the flow chart of the method that hides Info one embodiment of the present invention;
Fig. 2 is the information embedment strength distribution map of IPCM macro block of the present invention;
Fig. 3 is whether the P of judgement frame macro block of the present invention is the flow chart of IPCM macro block;
Fig. 4 is the structural representation of the device that hides Info one embodiment of the present invention;
Fig. 5 is another structural representation of the device embodiment that hides Info of the present invention;
Fig. 6 is the structural representation of first judge module in the device that hides Info of the present invention;
Fig. 7 is the flow chart of method one embodiment that hides Info of extraction of the present invention;
Fig. 8 is the structural representation of device one embodiment that hides Info of extraction of the present invention;
Fig. 9 is another structural representation of the device embodiment that hides Info of extraction of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Referring to Fig. 1, a kind of method that hides Info one embodiment of the present invention is proposed, it comprises:
Step S101, judge whether P frame macro block is the IPCM macro block;
Step S102, when P frame macro block is the IPCM macro block, determine the information embedment strength of this IPCM macro block according to the P frame macroblock motion vector information of the non-IPCM macro block of having encoded in the setting range;
Step S103, according to described information embedment strength, the described IPCM macro block information of carrying out is embedded.
Further, above-mentioned P frame macroblock motion vector information according to the non-IPCM macro block of having encoded in the setting range determines that the concrete processing procedure of information embedment strength of this IPCM macro block is as follows: according to the P frame macroblock motion vector information of the non-IPCM macro block of having encoded in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.Wherein, the concrete processing of the described information embedment strength of determining described IPCM macro block according to this motion vectors range value is as follows: described motion vectors range value is done a square calculating, and search corresponding information embedment strength according to result of calculation in existing information embedment strength table.
Wherein, existing information embedment strength is divided into four grades, referring to Fig. 2, and L=1,2,3 and 4, wherein, numerical value is big more, and its information embedment strength is big more.
The above-mentioned method that the IPCM macro block information of carrying out is embedded can adopt several different methods of the prior art, as the minimum L bit of sample points certificate being replaced with the L bit information that needs embedding, if the sample points certificate is 122 (binary form is shown 01111010), if this information embedment strength L is 2, the information that needs to embed is binary number 11, then the IPCM macro block is carried out information embedding method and is: the binary number " 01111010 " of former sample point data 122 is revised binary number " 01111011 ".Be about to former sample point data 122 and be revised as 123.
Further, among the above-mentioned method embodiment that hides Info, described according to described information embedment strength, described IPCM macro block is carried out also comprising following processing after the information embedding: described IPCM macro block and this IPCM macro block flag information entropy coding that the P frame macro block of the non-IPCM macro block that will encode, this P frame macroblock motion vector, the information of carrying out embed are code stream.
The computing formula that the information of one frame code stream embeds capacity Data Capacity is as follows:
Data?Capacity=Luma?Capacity+Chroma?Capacity;
Wherein, Luma Capacity is the brightness capacity, and Chroma Capacity is the colourity capacity;
Luma?Capacity=256×M×Lbits;
Chroma?Capacity=64×M×Cbits;
M is the IPCM macroblock number, and Lbits is the low-order bit number that each luma samples of IPCM macro block embeds information, and Cbits is the low-order bit number that each chroma sample of IPCM macro block embeds information.
Further, code stream behind the above-mentioned entropy coding is and embeds the code stream that hides Info, wherein with IPCM macro block flag information entropy coding in code stream, be for receiving terminal to after the code stream entropy decoding, determine according to IPCM macro block flag information whether the decoded P frame of entropy macro block is the IPCM macro block; The motion vector entropy coding of the P frame macro block of the non-IPCM macro block of having encoded is in code stream, be for receiving terminal to after the code stream entropy decoding, receiving terminal according in the setting range the P frame macroblock motion vector of the non-IPCM macro block of entropy decoding determine to hide Info the information embedment strength of IPCM macro block so that receiving terminal extracts according to the information embedment strength.Thereby guarantee that transmitting terminal and receiving terminal are to the determined information embedment strength of identical IPCM macro block unanimity.
Further, referring to Fig. 3, among the above-mentioned method embodiment that hides Info, whether the described P of judgement frame macro block is that the IPCM macro block specifically comprises:
Step S201, P frame macro block is carried out predictive coding, calculate the predictive coding cost value of this P frame macro block;
Step S202, the predictive coding cost value of described P frame macro block and self adaptation cost threshold value are carried out size relatively;
Step S203, determine that the predictive coding cost value is the IPCM macro block greater than the P frame macro block of self adaptation cost threshold value.
The above-mentioned method embodiment that hides Info, by adopting selection IPCM macro block is that information embeds carrier, P frame macroblock motion vector information according to the non-IPCM macro block in the preset range is determined the information embedment strength, and according to the information embedment strength, the IPCM macro block is carried out the mode that information embeds, improved the information embedded quantity that embeds carrier.
As from the foregoing, the method that hides Info of the present invention, the motion vector information of embedment strength with P frame macro block combined, more hide Info to be implemented in the zone embedding of the insensitive rapid movement of human eye, microinching zone in the human eye sensitivity embeds less hiding Info, and reduction information embeds the influence to video quality.
Referring to Fig. 4, a kind of device that hides Info 100 1 embodiment of the present invention are proposed, it comprises: first judge module 10, first computing module 20, merge module 30.Wherein, first judge module 10 is used to judge whether P frame macro block is the IPCM macro block.First computing module 20, being used for working as P frame macro block is the IPCM macro block, determines the information embedment strength of this IPCM macro block according to the P frame macroblock motion vector information of the non-IPCM macro block of having encoded in the setting range.Merge module 30 is used for according to described information embedment strength, and the described IPCM macro block information of carrying out is embedded.
Further, above-mentioned first computing module 20, the concrete P frame macroblock motion vector information that also is used for according to the non-IPCM macro block of having encoded in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.Wherein, the concrete processing of the described information embedment strength of determining described IPCM macro block according to this motion vectors range value is as follows: described motion vectors range value is done a square calculating, and search corresponding information embedment strength according to result of calculation in existing information embedment strength table.
Wherein, existing information embedment strength is divided into four grades, referring to Fig. 2, and L=1,2,3 and 4, wherein, numerical value is big more, and its information embedment strength is big more.
The method that 30 pairs of IPCM macro blocks of above-mentioned merge module information of carrying out embeds can adopt several different methods of the prior art, as the minimum L bit of sample points certificate being replaced with the L bit information that needs embedding, if the sample points certificate is 122 (binary form is shown 01111010), if this information embedment strength L is 2, the information that needs to embed is binary number 11, then the IPCM macro block is carried out information embedding method and is: the binary number " 01111010 " of former sample point data 122 is revised binary number " 01111011 ".Be about to former sample point data 122 and be revised as 123.
Further, referring to Fig. 5, the above-mentioned device that hides Info 10 embodiment also comprise entropy coding module 40.Wherein, this entropy coding module 40, being used for described IPCM macro block and this IPCM macro block flag information entropy coding that P frame macro block, this P frame macroblock motion vector of the non-IPCM macro block of will encode, the information of carrying out embed is code stream.
The computing formula that the information of one frame code stream embeds capacity Data Capacity is as follows:
Data?Capacity=Luma?Capacity+Chroma?Capacity;
Wherein, Luma Capacity is the brightness capacity, and Chroma Capacity is the colourity capacity;
Luma?Capacity=256×M×Lbits;
Chroma?Capacity=64×M×Cbits;
M is the IPCM macroblock number, and Lbits is the low-order bit number that each luma samples of IPCM macro block embeds information, and Cbits is the low-order bit number that each chroma sample of IPCM macro block embeds information.
Further, code stream behind the above-mentioned entropy coding is and carries the code stream that hides Info, wherein with IPCM macro block flag information entropy coding in code stream, be for receiving terminal to after the code stream entropy decoding, determine according to IPCM macro block flag information whether the decoded P frame of entropy macro block is the IPCM macro block; The motion vector entropy coding of the P frame macro block of the non-IPCM macro block of having encoded is in code stream, be for receiving terminal to after the code stream entropy decoding, receiving terminal according in the setting range the P frame macroblock motion vector of the non-IPCM macro block of entropy decoding determine to hide Info the information embedment strength of IPCM macro block so that receiving terminal extracts according to the information embedment strength.Thereby guarantee that transmitting terminal and receiving terminal are to the determined information embedment strength of identical IPCM macro block unanimity.
Further, referring to Fig. 6, among the above-mentioned device that hides Info 10 embodiment, described first judge module 10 comprises: predictive coding submodule 11, comparison sub-module 12 and definite submodule 13.Wherein, predictive coding submodule 11 is used for P frame macro block is carried out predictive coding, calculates the predictive coding cost value of this P frame macro block.Comparison sub-module 12 is carried out size relatively with the predictive coding cost value and the self adaptation cost threshold value of described P frame macro block.Determine submodule 13, determine that the predictive coding cost value is the IPCM macro block greater than the P frame macro block of self adaptation cost threshold value.
The above-mentioned device that hides Info 10 embodiment, by adopting selection IPCM macro block is that information embeds carrier, P frame macroblock motion vector information according to the non-IPCM macro block in the preset range is determined the information embedment strength, and according to the information embedment strength, the IPCM macro block is carried out the mode that information embeds, directly image pixel data is carried out entropy coding and need do not carried out predictive coding, transition coding and quantification treatment during the IPCM macroblock coding, so nonzero coefficient is more.Nonzero coefficient can support many bits to embed simultaneously, has improved the information embedded quantity of carrier.
As from the foregoing, the device that hides Info 10 of the present invention, the motion vector information of information embedment strength with the P frame macro block of non-IPCM macro block combined, more hide Info to be implemented in the zone embedding of the insensitive rapid movement of human eye, microinching zone in the human eye sensitivity embeds less hiding Info, and reduction information embeds the influence to video quality.
Referring to Fig. 7, the method embodiment that a kind of extraction of the present invention hides Info is proposed, it comprises:
Step S301, judge according to the macro block flag information whether P frame macro block is the IPCM macro block data;
Step S302, when P frame macro block is the IPCM macro block, determine the information embedment strength of this IPCM macro block according to the P frame macroblock motion vector information of decoded non-IPCM macro block in the setting range;
Step S303, according to described information embedment strength, from described IPCM macro block, extract and hide Info.
Further, the method embodiment that said extracted hides Info, described motion vector information according to decoded P frame macro block in the setting range determines that the information embedment strength of this IPCM macro block specifically comprises:
Motion vector information according to decoded P frame macro block in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
Further, the method embodiment that said extracted hides Info, judge according to the macro block flag information described P frame macro block also comprises following processing before whether being the IPCM macro block data: the code stream that receives is carried out the entropy decoding, get P frame macro block, macro block flag information and P frame macroblock motion vector information; P frame macro block comprises IPCM macro block and non-IPCM macro block, and described P frame macroblock motion vector information is the motion vector information of non-IPCM macro block.
Above-mentioned macro block flag information, the information of record is IPCM macro block or non-IPCM macro block for this P frame macro block.
Further, the concrete processing procedure of the above-mentioned information embedment strength of determining described IPCM macro block according to this motion vectors range value is as follows: described motion vectors range value is done a square calculating, and search corresponding information embedment strength according to result of calculation in existing information embedment strength table.
Wherein, existing information embedment strength is divided into four grades, referring to Fig. 2, and L=1,2,3 and 4, wherein, numerical value is big more, and its information embedment strength is big more.
The method that said extracted hides Info is: extract according to the information embedment strength that calculates, as the sample points of establishing embedding information is " 01111011 " according to binary system, the information embedment strength L of the sample points certificate of this embedding information is 2, then direct back two bits from this binary sample point data extracts, promptly extract binary data " 11 " from " 01111011 ", this binary data " 11 " is and hides Info.
The method embodiment that said extracted hides Info hides Info by adopting to extract from the IPCM macro block according to the information embedment strength.
Referring to Fig. 8, the device 200 that a kind of extraction of the present invention hides Info is proposed, it comprises: second judge module, 210, the second computing modules 220 and extraction module 230.Wherein, second judge module 210 is used for judging according to the macro block flag information whether P frame macro block is the IPCM macro block data.Second computing module 220, being used for working as P frame macro block is the IPCM macro block, the motion vector information of decoded P frame macro block is determined the information embedment strength of this IPCM macro block in the setting range.Extraction module 230 is used for according to described information embedment strength, extracts to hide Info from described IPCM macro block data.
Further, device 10 embodiment that said extracted hides Info, described second computing module, the concrete motion vector information that also is used for according to decoded P frame macro block in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
Further, referring to Fig. 9, among device 200 embodiment that said extracted hides Info, also comprise entropy decoder module 240.Wherein, entropy decoder module 240 is used for the code stream that receives is carried out the entropy decoding, gets P frame macro block, macro block flag information and P frame macroblock motion vector information; P frame macro block comprises IPCM macro block and non-IPCM macro block, and described P frame macroblock motion vector information is the motion vector information of non-IPCM macro block.Above-mentioned macro block flag information, the information of record is IPCM macro block or non-IPCM macro block for this P frame macro block.
Further, above-mentioned second computing module 220 determines that according to this motion vectors range value the concrete processing procedure of information embedment strength of described IPCM macro block is as follows: described motion vectors range value is done a square calculating, and search corresponding information embedment strength according to result of calculation in existing information embedment strength table.
Wherein, existing information embedment strength is divided into four grades, referring to Fig. 2, and L=1,2,3 and 4, wherein, numerical value is big more, and its information embedment strength is big more.
The method that said extracted hides Info is: extract according to the information embedment strength that calculates, as the sample points of establishing embedding information is " 01111011 " according to binary system, the information embedment strength L of the sample points certificate of this embedding information is 2, then direct back two bits from this binary sample point data extracts, promptly extract binary data " 11 " from " 01111011 ", this binary data " 11 " is and hides Info.
Device 200 embodiment that said extracted hides Info hide Info by adopting to extract from the IPCM macro block according to the information embedment strength, have effectively prevented the decline of the embedding carrier information quality after extraction hides Info.
Should be understood that; below only be the preferred embodiments of the present invention; can not therefore limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (14)

1. a method that hides Info is characterized in that, comprises step:
Judge whether P frame macro block is pulse code (Intra-frame Pulse Code Modulation, IPCM) macro block in the frame;
When P frame macro block is the IPCM macro block,, determine the information embedment strength of this IPCM macro block according to the P frame macroblock motion vector information of the non-IPCM macro block of having encoded in the setting range;
According to described information embedment strength, the described IPCM macro block information of carrying out is embedded.
2. the method that hides Info according to claim 1 is characterized in that, described P frame macroblock motion vector information according to the non-IPCM macro block of having encoded in the setting range determines that the information embedment strength of this IPCM macro block specifically comprises:
P frame macroblock motion vector information according to the non-IPCM macro block of having encoded in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
3. the method that hides Info according to claim 2 is characterized in that, and is described according to described information embedment strength, also comprises after the described IPCM macro block information of carrying out is embedded:
Described IPCM macro block and this IPCM macro block flag information entropy coding that P frame macro block, this P frame macroblock motion vector of the non-IPCM macro block of having encoded, the information of carrying out are embedded are code stream.
4. according to each described method that hides Info of claim 1 to 3, it is characterized in that whether the described P of judgement frame macro block is that the IPCM macro block specifically comprises:
P frame macro block is carried out predictive coding, calculate the predictive coding cost value of this P frame macro block;
The predictive coding cost value and the self adaptation cost threshold value of described P frame macro block are carried out size relatively;
Determine that the predictive coding cost value is the IPCM macro block greater than the P frame macro block of self adaptation cost threshold value.
5. a device that hides Info is characterized in that, comprising:
First judge module is used to judge whether P frame macro block is pulse code (Intra-frame PulseCode Modulation, IPCM) macro block in the frame;
First computing module when P frame macro block is the IPCM macro block, according to the P frame macroblock motion vector information of the non-IPCM macro block of having encoded in the setting range, is determined the information embedment strength of this IPCM macro block;
Merge module is used for according to described information embedment strength, and the described IPCM macro block information of carrying out is embedded.
6. the device that hides Info according to claim 5 is characterized in that,
Described first computing module, the concrete P frame macroblock motion vector information that also is used for according to the non-IPCM macro block of having encoded in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
7. the device that hides Info according to claim 6 is characterized in that, comprising:
The entropy coding module, being used for described IPCM macro block and this IPCM macro block flag information entropy coding that P frame macro block, this P frame macroblock motion vector of the non-IPCM macro block of will encode, the information of carrying out embed is code stream.
8. according to each described device that hides Info of claim 5 to 7, it is characterized in that described first judge module comprises:
The predictive coding submodule is used for P frame macro block is carried out predictive coding, calculates the predictive coding cost value of this P frame macro block;
Comparison sub-module is carried out size relatively with the predictive coding cost value and the self adaptation cost threshold value of described P frame macro block;
Determine submodule, determine that the predictive coding cost value is the IPCM macro block greater than the P frame macro block of self adaptation cost threshold value.
9. the method that extraction hides Info is characterized in that, comprises step:
Judge according to the macro block flag information whether P frame macro block is (Intra-frame PulseCode Modulation, the IPCM) macro block data of pulse code in the frame;
When P frame macro block is the IPCM macro block, determine the information embedment strength of this IPCM macro block according to the motion vector information of decoded P frame macro block in the setting range;
According to described information embedment strength, from described IPCM macro block, extract and hide Info.
10. the method that extraction according to claim 9 hides Info is characterized in that, described motion vector information according to decoded P frame macro block in the setting range determines that the information embedment strength of this IPCM macro block specifically comprises:
Motion vector information according to decoded P frame macro block in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
11. the method according to claim 9 or 10 described extractions hide Info is characterized in that, describedly judges that according to the macro block flag information whether P frame macro block is also to comprise before the IPCM macro block data:
The code stream that receives is carried out the entropy decoding, get P frame macro block, macro block flag information and P frame macroblock motion vector information; P frame macro block comprises IPCM macro block and non-IPCM macro block, and described P frame macroblock motion vector information is the motion vector information of non-IPCM macro block.
12. the device that extraction hides Info is characterized in that, comprising:
Second judge module is used for judging according to the macro block flag information whether P frame macro block is (Intra-frame Pulse Code Modulation, the IPCM) macro block data of pulse code in the frame;
Second computing module, being used for working as P frame macro block is the IPCM macro block, determines the information embedment strength of this IPCM macro block according to the motion vector information of decoded P frame macro block in the setting range;
Extraction module is used for according to described information embedment strength, extracts to hide Info from described IPCM macro block data.
13. the device that extraction according to claim 12 hides Info is characterized in that,
Described second computing module, the concrete motion vector information that also is used for according to decoded P frame macro block in the setting range, calculate the motion vectors of this P frame macro block, calculate corresponding motion vectors range value according to this motion vectors, determine the information embedment strength of described IPCM macro block according to this motion vectors range value.
14. the device according to claim 12 or 13 described extractions hide Info is characterized in that, also comprises:
The entropy decoder module is used for the code stream that receives is carried out the entropy decoding, gets P frame macro block, macro block flag information and P frame macroblock motion vector information; P frame macro block comprises IPCM macro block and non-IPCM macro block, and described P frame macroblock motion vector information is the motion vector information of non-IPCM macro block.
CN2010106003950A 2010-12-22 2010-12-22 Method and device for concealing information as well as method and device for extracting concealed information Pending CN102025997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106003950A CN102025997A (en) 2010-12-22 2010-12-22 Method and device for concealing information as well as method and device for extracting concealed information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106003950A CN102025997A (en) 2010-12-22 2010-12-22 Method and device for concealing information as well as method and device for extracting concealed information

Publications (1)

Publication Number Publication Date
CN102025997A true CN102025997A (en) 2011-04-20

Family

ID=43866765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106003950A Pending CN102025997A (en) 2010-12-22 2010-12-22 Method and device for concealing information as well as method and device for extracting concealed information

Country Status (1)

Country Link
CN (1) CN102025997A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917227A (en) * 2012-10-29 2013-02-06 山东省计算中心 Compressive sensing-based adaptive video information hiding method
CN103124357A (en) * 2013-03-07 2013-05-29 天津大学 Multi-view video information hiding method based on reference frames
CN103703774A (en) * 2011-07-19 2014-04-02 松下电器产业株式会社 Filtering method, moving image decoding method, moving image encoding method, moving image decoding apparatus, moving image encoding apparatus, and moving image encoding/decoding apparatus
CN105721875A (en) * 2016-01-30 2016-06-29 武汉大学 Entropy based video motion vector steganography detection method
CN106063274A (en) * 2014-04-01 2016-10-26 华为技术有限公司 Methods and apparatus for data hiding in multi-layer structured coding units
US9729874B2 (en) 2011-02-22 2017-08-08 Tagivan Ii Llc Filtering method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9961352B2 (en) 2011-02-22 2018-05-01 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
CN108024114A (en) * 2017-11-23 2018-05-11 华南理工大学 A kind of lossless HEVC information concealing methods of large capacity based on the modification of flag bit parameter

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621692A (en) * 2009-07-27 2010-01-06 宁波大学 H.264/AVC video information hiding method based on predictive mode

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621692A (en) * 2009-07-27 2010-01-06 宁波大学 H.264/AVC video information hiding method based on predictive mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗准: "H.264视频隐写算法研究及其在嵌入式平台的实现", 《湖南大学硕士学位论文》 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729874B2 (en) 2011-02-22 2017-08-08 Tagivan Ii Llc Filtering method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US10798391B2 (en) 2011-02-22 2020-10-06 Tagivan Ii Llc Filtering method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US10602159B2 (en) 2011-02-22 2020-03-24 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US10511844B2 (en) 2011-02-22 2019-12-17 Tagivan Ii Llc Filtering method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US10237562B2 (en) 2011-02-22 2019-03-19 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US10015498B2 (en) 2011-02-22 2018-07-03 Tagivan Ii Llc Filtering method, moving picture coding apparatus, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9961352B2 (en) 2011-02-22 2018-05-01 Sun Patent Trust Image coding method, image decoding method, image coding apparatus, image decoding apparatus, and image coding and decoding apparatus
US9826230B2 (en) 2011-02-22 2017-11-21 Tagivan Ii Llc Encoding method and encoding apparatus
US9930367B2 (en) 2011-07-19 2018-03-27 Tagivan Ii Llc Filtering method for performing deblocking filtering on a boundary between an intra pulse code modulation block and a non-intra pulse code modulation block which are adjacent to each other in an image
CN103703774B (en) * 2011-07-19 2017-06-20 太格文-Ii有限责任公司 Filtering method, coding/decoding method and coding method
US9774888B2 (en) 2011-07-19 2017-09-26 Tagivan Ii Llc Filtering method for performing deblocking filtering on a boundary between an intra pulse code modulation block and a non-intra pulse code modulation block which are adjacent to each other in an image
US9667968B2 (en) 2011-07-19 2017-05-30 Tagivan Ii Llc Filtering method for performing deblocking filtering on a boundary between an intra pulse code modulation block and a non-intra pulse code modulation block which are adjacent to each other in an image
CN103703774A (en) * 2011-07-19 2014-04-02 松下电器产业株式会社 Filtering method, moving image decoding method, moving image encoding method, moving image decoding apparatus, moving image encoding apparatus, and moving image encoding/decoding apparatus
CN102917227A (en) * 2012-10-29 2013-02-06 山东省计算中心 Compressive sensing-based adaptive video information hiding method
CN102917227B (en) * 2012-10-29 2015-05-20 山东省计算中心 Compressive sensing-based adaptive video information hiding method
CN103124357B (en) * 2013-03-07 2015-11-04 天津大学 Based on the multi-view point video information concealing method of reference frame
CN103124357A (en) * 2013-03-07 2013-05-29 天津大学 Multi-view video information hiding method based on reference frames
US10104379B2 (en) 2014-04-01 2018-10-16 Huawei Technologies Co., Ltd. Methods and apparatus for data hiding in multi-layer structured coding units
US10440368B2 (en) 2014-04-01 2019-10-08 Huawei Technologies Co., Ltd. Methods and apparatus for data hiding in multi-layer structured coding units
CN106063274B (en) * 2014-04-01 2020-02-14 华为技术有限公司 Method and apparatus for data hiding in a multi-layered structured coding unit
CN106063274A (en) * 2014-04-01 2016-10-26 华为技术有限公司 Methods and apparatus for data hiding in multi-layer structured coding units
CN105721875B (en) * 2016-01-30 2018-11-13 武汉大学 A kind of video motion vector Stego-detection method based on entropy
CN105721875A (en) * 2016-01-30 2016-06-29 武汉大学 Entropy based video motion vector steganography detection method
CN108024114A (en) * 2017-11-23 2018-05-11 华南理工大学 A kind of lossless HEVC information concealing methods of large capacity based on the modification of flag bit parameter

Similar Documents

Publication Publication Date Title
CN102025997A (en) Method and device for concealing information as well as method and device for extracting concealed information
CN107566848B (en) Method and device for coding and decoding
US8824562B2 (en) Method and apparatus for encoding/decoding color image
CN103069800B (en) For the method and apparatus of encoded video and coding/decoding method and equipment
KR101158439B1 (en) Method for modeling coding information of video signal for compressing/decompressing coding information
KR100878827B1 (en) Method for modeling coding information of a video signal to compress/decompress the information
RU2014105194A (en) DEVICE AND METHOD FOR VIDEO ENCODING AND DEVICE AND METHOD FOR VIDEO DECODING, BASED ON HIERARCHICAL INFORMATION ON THE ENCODED BLOCK STRUCTURE
US11765390B2 (en) Non-transform coding
KR20130110128A (en) Super macro block based intra coding method and apparautus
CN110650349B (en) Image encoding method, decoding method, encoder, decoder and storage medium
KR101500781B1 (en) Method for processing images and the corresponding electronic device
KR20130105894A (en) Mode dependent scanning of coefficients of a block of video data
JP2011503979A (en) Improved in-loop fidelity for video compression
CN103152578A (en) H.264 video watermark embedding and extraction method based on mixed coding/decoding
CN101651829A (en) Loop wave filtering method and device and mobile multi-medium terminal chip
CN107318022B (en) video steganography method based on H.265 standard undistorted drift
WO2014109273A1 (en) Method for decoding picture
CN104159117A (en) Method for hiding HEVC video information
CN108449602A (en) The coding of encoding block flag and the coding/decoding method of video bit stream and device
CN103313055B (en) A kind of chroma intra prediction method based on segmentation and video code and decode method
CN103581688A (en) Video image coding and decoding method and device
CN110072109B (en) H.264/AVC video information hiding method for macroblock-level minimized distortion
CN104581173A (en) Soft decoding verification model platform
CN107426576A (en) MV HEVC encoded video information steganography methods based on advanced residual prediction weight coefficient
CN105812798A (en) Image encoding and decoding method and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110420