CN101674477A - Suppression method and system of error drift in scramble video of private area - Google Patents

Suppression method and system of error drift in scramble video of private area Download PDF

Info

Publication number
CN101674477A
CN101674477A CN 200910093974 CN200910093974A CN101674477A CN 101674477 A CN101674477 A CN 101674477A CN 200910093974 CN200910093974 CN 200910093974 CN 200910093974 A CN200910093974 A CN 200910093974A CN 101674477 A CN101674477 A CN 101674477A
Authority
CN
China
Prior art keywords
present encoding
piece
frame inner
inner estimation
estimation mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200910093974
Other languages
Chinese (zh)
Other versions
CN101674477B (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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN 200910093974 priority Critical patent/CN101674477B/en
Publication of CN101674477A publication Critical patent/CN101674477A/en
Application granted granted Critical
Publication of CN101674477B publication Critical patent/CN101674477B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention relates to a suppression method and a system of error drift in scramble video of a private area. The method includes the following steps: step 1. when coding the video, judging whether acurrent coding block belongs to the private area, if the block belongs to the private area, executing step 2, or if the block belongs to a non-private area, executing step 3; step 2. when conductingintraframe coding, conducting intraframe prediction on the current coding block according to the standard adopted by the video and executing step 4; step 3. when conducting intraframe coding, removinga candidate intraframe prediction mode using a scramble block from a candidate intraframe prediction mode set of the current coding block obtained according to the standard, according to the removedcandidate intraframe prediction mode set and the standard, conducting intraframe prediction on the coding block and executing step 4; and step 4. finishing the coding of the current coding block according to the standard. The method and the system can effectively treat the error drift and improve the efficiency of scramble coding.

Description

The inhibition method and system of error drift in the video of privacy area scramble
Technical field
The invention belongs to video field, relate in particular to the inhibition method and system of error drift in the video of privacy area scramble.
Background technology
In recent years, along with the develop rapidly of computer, network and video coding technique and people for the improving constantly of public safety degree of concern, video monitoring system with its convenience, safety, the information content is abundant and be widely used in many occasions.No matter be on the airport, station or in public places such as bank, hospitals, people are not all the time under the monitoring of camera.Though video monitoring system can be safeguarded public safety, long-term under the supervision of camera, people are more and more paid close attention to privacy problem.When safeguarding public safety, protect the problem that individual privacy becomes needs solution better.
The scrambling and coding technology of privacy area is a kind of prior art of protecting individual privacy in the monitor video.The prior art is taked certain conversion to the data of the privacy area in the video in cataloged procedure, by changing the raw value of itself, privacy information responsive in the video is encrypted.Through the video after the scrambling and coding, still standard compliant video grammar can be by general decoder normal decoder.Do not having under the situation of authorizing, anyone can't obtain privacy information from monitor video, but whole scene is intelligible; When being necessary, can from video, recover privacy information, the full details of complete understanding video through the people who authorizes.
Error drift is a problem that exists in the video of privacy area scramble, and it has destroyed the intelligibility of unauthorized decoder end video scene, influences the efficient of scrambling and coding.Error drift in the privacy area scramble video be since in cataloged procedure the data refer of non-privacy area cause to the data of privacy area scramble.And H.264AVC coding standard make the error drift situation complicated, comprise the error drift that produces in the error drift that produces in the infra-frame prediction and the inter prediction.
The method that solves the error drift in the infra-frame prediction in the prior art is divided into different sheets with privacy area and non-privacy area to encode for FMO (coded sequence flexibly) mechanism in adopting H.264AVC; Adopt the mode that directly this encoding block is forced to intraframe coding for the error drift in the inter prediction.Method of the prior art realizes complicated, influences code efficiency.
Summary of the invention
For addressing the above problem, the invention provides the inhibition method and system of error drift in the video of privacy area scramble, the present invention can effectively handle error drift, improves scrambling and coding efficient.
The invention discloses the inhibition method of error drift in a kind of video of privacy area scramble, described method comprises:
Step 1 when described video is encoded, judges whether the present encoding piece belongs to privacy area, if belong to privacy area, then execution in step 2, if belong to non-privacy area, then execution in step 3;
Step 2 when carrying out intraframe coding, is carried out infra-frame prediction by described video accepted standard to described present encoding piece, execution in step 4;
Step 3, when carrying out intraframe coding, from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction, execution in step 4 according to the candidate frame inner estimation mode set after removing;
Step 4 is finished coding to described present encoding piece according to described standard.
Described video adopts H.264AVC standard.
Described step 2 also comprises:
Step 31 when carrying out interframe encode, is carried out estimation by standard H.264AVC to described present encoding piece;
Described step 3 also comprises:
Step 32 when carrying out interframe encode, is removed the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to standard H.264AVC, by standard H.264AVC described present encoding piece is carried out estimation according to the set of blocks in the search window after removing.
Described step 2 is further for complying with the H.264AVC candidate frame inner estimation mode set of standard acquisition present encoding piece, for each candidate frame inner estimation mode in the set of candidate frame inner estimation mode, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction;
Described step 3 further is from use the candidate frame inner estimation mode of scramble piece according to removal H.264AVC the candidate frame inner estimation mode of the present encoding piece of standard acquisition is gathered, for each candidate frame inner estimation mode in gathering through the candidate frame inner estimation mode of removing, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
Described step 31 further is the interior set of blocks of search window according to the present encoding piece of H.264AVC standard acquisition, and the best matching blocks of searching the present encoding piece from set of blocks, draws motion vector;
Described step 32 further is to remove the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to standard H.264AVC, and the best matching blocks from through searching the present encoding piece the set of blocks in the search window of removing draws motion vector.
Describedly also comprise before from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, removing the candidate frame inner estimation mode that uses the scramble piece carrying out in the described step 3:
Step 61, judge whether the present encoding piece is adjacent with privacy area, if it is adjacent, carry out and describedly from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, carry out described step 4; If non-conterminous, execution in step 62;
Step 62 is carried out infra-frame prediction by described video accepted standard to described present encoding piece, carries out described step 4.
The invention also discloses the inhibition system of error drift in a kind of video of privacy area scramble, described system comprises:
The privacy area judge module when being used for described video encoded, judges whether the present encoding piece belongs to privacy area, if belong to privacy area, then starts the privacy area processing module, if belong to non-privacy area, then starts non-privacy area processing module;
Described privacy area processing module when being used to carry out intraframe coding, is carried out infra-frame prediction by described video accepted standard to described present encoding piece, starts the standard code module;
Described non-privacy area processing module, when being used to carry out intraframe coding, from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, start the standard code module;
Described standard code module is used for finishing coding to described present encoding piece according to described standard.
Described video adopts H.264AVC standard.
When described privacy area processing module also is used for encoding between conducting frame, described present encoding piece is carried out estimation by standard H.264AVC;
When described non-privacy area processing module also is used for encoding between conducting frame, remove the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to standard H.264AVC, by standard H.264AVC described present encoding piece is carried out estimation according to the set of blocks in the search window after removing.
Described privacy area processing module is further used for according to the H.264AVC candidate frame inner estimation mode set of standard acquisition present encoding piece, for each candidate frame inner estimation mode in the set of candidate frame inner estimation mode, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction;
Described non-privacy area processing module is further used for from use the candidate frame inner estimation mode of scramble piece according to removal H.264AVC the candidate frame inner estimation mode of the present encoding piece of standard acquisition is gathered, for each candidate frame inner estimation mode in gathering through the candidate frame inner estimation mode of removing, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
Be further used for the interior set of blocks of search window when encoding between described privacy area processing module conducting frame according to the present encoding piece of H.264AVC standard acquisition, and the best matching blocks of from set of blocks, searching the present encoding piece, draw motion vector;
Coding the time is further used for removing the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to standard H.264AVC between described non-privacy area processing module conducting frame, best matching blocks from through searching the present encoding piece the set of blocks in the search window of removing draws motion vector.
Described non-privacy area processing module is carrying out describedly being used to also judge whether the present encoding piece is adjacent with privacy area remove the candidate frame inner estimation mode that uses the scramble piece from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard before, if it is adjacent, carry out and describedly from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, start described standard code module; If non-conterminous, then described present encoding piece is carried out infra-frame prediction by described video accepted standard, start described standard code module.
Beneficial effect of the present invention is that by when belonging to the encoding block infra-frame prediction of non-privacy area, the intra-prediction mode that the scramble data are relevant does not participate in infra-frame prediction, to reduce amount of calculation; When the encoding block that belongs to non-privacy area was carried out estimation, the scramble piece was not included the hunting zone of estimation in, has reduced amount of calculation.
Description of drawings
Fig. 1 is the embodiment flow chart of the inhibition method of error drift in the video of privacy area scramble of the present invention;
Fig. 2 is the piece schematic diagram of the limited intra-frame prediction method control of pattern;
Fig. 3 is the method for estimating schematic diagram of limit search scope;
Fig. 4 is the structure chart of the inhibition system of error drift in the video of privacy area scramble of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
The inhibition method of error drift comprises in the video of a kind of privacy area scramble of the present invention:
Step S1 when video is encoded, judges whether the present encoding piece belongs to privacy area, if belong to privacy area, and execution in step S2 then, if belong to non-privacy area, execution in step S3 then.
Step S2 when carrying out intraframe coding, carries out infra-frame prediction, execution in step S4 by the video accepted standard to the present encoding piece.
Step S3, when carrying out intraframe coding, from the candidate frame inner estimation mode set of the present encoding piece that obtains according to standard, remove the candidate frame inner estimation mode that uses the scramble piece, by this standard described encoding block is carried out infra-frame prediction, execution in step S4 according to the candidate frame inner estimation mode set after removing.
Step S4, this standard of complying with is finished the coding to the present encoding piece.
Described video adopts H.264AVC standard.
Preferred implementation
Step S2 is further for complying with the H.264AVC candidate frame inner estimation mode set of standard acquisition present encoding piece, for each candidate frame inner estimation mode in the set of candidate frame inner estimation mode, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
Step S3 further is from use the candidate frame inner estimation mode of scramble piece according to removal H.264AVC the candidate frame inner estimation mode of the present encoding piece of standard acquisition is gathered, for each candidate frame inner estimation mode in gathering through the candidate frame inner estimation mode of removing, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
Preferred implementation
Step S2 also comprises when carrying out interframe encode, by standard H.264AVC described present encoding piece carried out estimation.
Further, comply with the interior set of blocks of search window of the present encoding piece of H.264AVC standard acquisition, the best matching blocks of searching the present encoding piece from set of blocks draws motion vector.
Step S3 also comprises when carrying out interframe encode, removes the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to standard H.264AVC, by standard H.264AVC described encoding block carried out estimation according to the set of blocks in the search window after removing.
Further, remove the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to standard H.264AVC, the best matching blocks from through searching the present encoding piece the set of blocks in the search window of removing draws motion vector.
Embodiment
An embodiment of the present invention as shown in Figure 1.
Step S101 judges whether the present encoding piece belongs to privacy area, if belong to, and execution in step S102 then, if do not belong to, execution in step S106 then.
Step S102 judges type of coding, if intraframe coding, execution in step S103 then is if interframe encode, then execution in step S104.
Step S103 carries out infra-frame prediction, execution in step S112 by standard H.264AVC to the present encoding piece.
When predicting in the conducting frame, by the H.264AVC candidate frame inner estimation mode set of standard acquisition present encoding piece, wherein, 4 * 4 of brightness have nine kinds of intra-prediction mode, and 8 * 8 of brightness 16 * 16 and colourities have 4 kinds of intra-prediction mode.Each candidate frame inner estimation mode in the pair set, according to candidate frame inner estimation mode calculated candidate prediction on intra-frame prediction mode piece, the candidate frame inner estimation mode of wherein predicting the predicated error minimum of piece and current block is the best intra-prediction mode of present encoding piece.
Step S104 adopts the method for estimating in the standard H.264AVC, obtains motion vector
Step S105 carries out motion compensation, execution in step S112 according to standard H.264AVC.
Step S106 judges type of coding, if intraframe coding, execution in step S107 then is if interframe encode, then execution in step S110.
Step S107 judges whether the present encoding piece is adjacent with privacy area, if adjacent, execution in step S109, if non-conterminous, execution in step S108.
Step S108 carries out infra-frame prediction according to standard H.264AVC.
Step S109 carries out the limited infra-frame prediction of pattern.
The limited concrete formula of infra-frame prediction of pattern is:
Mode ip=arg?min(COST(Block,Mode))Mode∈M scr,Block∈S MRIP
Wherein, Mode IpThe intra prediction mode of expression present encoding piece; Block represents the present encoding piece; Mode represents the candidate frame inner estimation mode of present encoding piece; (the prediction piece that calculates according to candidate frame inner estimation mode Mode is more little with the more little corresponding codes cost of predicated error of present encoding piece for Block, the coding cost of Block when Mode) candidate frame inner estimation mode Mode is used in expression for COST; M ScrWhen carrying out infra-frame prediction, expression do not use the candidate frame inner estimation mode set of any scramble block message, S MRIPExpression is with the adjacent encoding block set of privacy area.
Fig. 2 is the set of blocks of the limited intra-frame prediction method effect of pattern.Because in infra-frame prediction, the intra-prediction mode of present encoding piece only utilizes different intra-prediction mode to predict by its left side and/or upside adjacent block, therefore, the not every non-privacy area encoding block of the set of blocks of the intra-frame prediction method effect that pattern is limited, and only be the circle of one around privacy area piece, the just set of the SMRIP piece shown in Fig. 2
Step S110 limits the estimation of hunting zone.
The concrete formula of the estimation of limit search scope is:
block ref=arg?min(SAD(Block,Block(x,y)))Block(x,y)∈S
Wherein, block RefThe expression reference block, SAD represent between present encoding piece and the match block absolute error and, Block represents the present encoding piece, Block (x, y) expression search block, S represents the set of piece in the search window.
The concrete formula of the S set of piece is in the search window:
S=S w∩S p_ref Block∈S p
Wherein, S wSet of blocks in the expression reference frame in the search window, S pNon-privacy area set of blocks in the expression present frame, S P_refThe set of blocks of non-privacy area in the expression reference frame.
Fig. 3 is for limiting the method for estimating schematic diagram of hunting zone.An encoding block in the present frame is searched in the search window Sw in its reference frame.Because Sw comprises the data of a part of privacy area, be the error drift that prevents to bring owing to inter prediction, in the method for estimating of the limit search scope that proposes, original search window Sw further is restricted to the hunting zone S that the scramble piece is not included estimation in w∩ S P_ref, the result of final estimation can be at S w∩ S P_refIn find a best matching blocks.Thereby both avoided the drift of error, reduced the amount of calculation of estimation part again.Wherein, S wSet of blocks in the expression reference frame in the search window, S pPrivacy area set of blocks in the expression present frame, S pNon-privacy area set of blocks in the expression present frame, S P_refThe piece collection of non-privacy area in the expression reference frame, MB is a macro block in the present frame.
Step S111 carries out motion compensation according to standard H.264AVC.
Find the best matching blocks of current block, obtain motion vector.
Step S112 carries out DCT (discrete cosine) conversion according to standard H.264AVC.
Step S113, complying with H.264AVC, standard quantizes.
Step S114 carries out entropy coding according to standard H.264AVC.
The inhibition system of error drift in a kind of video of privacy area scramble, as shown in Figure 4, system comprises: privacy area judge module 401, privacy area processing module 402, non-privacy area processing module 403, standard code module 404.
Privacy area judge module 401 is used for when video is encoded, and judges whether the present encoding piece belongs to privacy area, if belong to privacy area, then start privacy area processing module 402,, then start non-privacy area processing module 403 if belong to non-privacy area.
Privacy area processing module 402 when being used to carry out intraframe coding, is carried out infra-frame prediction by the video accepted standard to the present encoding piece, starts standard code module 404.
Further, privacy area processing module 402 is used for according to the H.264AVC candidate frame inner estimation mode set of standard acquisition present encoding piece, for each candidate frame inner estimation mode in the set of candidate frame inner estimation mode, calculate corresponding prediction piece according to this candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
Non-privacy area processing module 403, when being used to carry out intraframe coding, from the candidate frame inner estimation mode set of the present encoding piece that obtains according to standard, remove the candidate frame inner estimation mode that uses the scramble piece, by standard the present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, start standard code module 404.
Further, non-privacy area processing module 403 is used for removing the candidate frame inner estimation mode that uses the scramble piece from the candidate frame inner estimation mode set of the present encoding piece of complying with H.264AVC standard acquisition, for each candidate frame inner estimation mode in gathering through the candidate frame inner estimation mode of removing, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
Standard code module 404 is used for finishing coding to the present encoding piece according to standard.
Described video adopts H.264AVC standard.
One preferable embodiment
When privacy area processing module 402 also is used for encoding between conducting frame, the present encoding piece is carried out estimation by standard H.264AVC.
Further, privacy area processing module 402 is used for the interior set of blocks of search window according to the present encoding piece of H.264AVC standard acquisition, and the best matching blocks of searching the present encoding piece from set of blocks, draws motion vector.
When non-privacy area processing module 403 also is used for encoding between conducting frame, remove the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to standard H.264AVC, by standard H.264AVC the present encoding piece is carried out estimation according to the set of blocks in the search window after removing.
Further, the set of blocks that non-privacy area processing module 403 is used in the search window of the present encoding piece that obtains according to standard is H.264AVC removed the scramble piece, best matching blocks from through searching the present encoding piece the set of blocks in the search window of removing draws motion vector.
One preferable embodiment
Non-privacy area processing module 403 carry out described from the candidate frame inner estimation mode set of the present encoding piece that obtains according to standard, remove the candidate frame inner estimation mode that uses the scramble piece before, be used to also judge whether the present encoding piece is adjacent with privacy area, if it is adjacent, carry out and describedly from the candidate frame inner estimation mode set of the present encoding piece that obtains according to standard, remove the candidate frame inner estimation mode that uses the scramble piece, by standard the present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, start standard code module 404; If non-conterminous, then described present encoding piece is carried out infra-frame prediction by the video accepted standard, start standard code module 404.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but determine by the scope of claims.

Claims (12)

1. the inhibition method of error drift in the video of a privacy area scramble is characterized in that described method comprises:
Step 1 when described video is encoded, judges whether the present encoding piece belongs to privacy area, if belong to privacy area, then execution in step 2, if belong to non-privacy area, then execution in step 3;
Step 2 when carrying out intraframe coding, is carried out infra-frame prediction by described video accepted standard to described present encoding piece, execution in step 4;
Step 3, when carrying out intraframe coding, from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction, execution in step 4 according to the candidate frame inner estimation mode set after removing;
Step 4 is finished coding to described present encoding piece according to described standard.
2. the inhibition method of error drift is characterized in that in the video of privacy area scramble as claimed in claim 1, and described video adopts H.264 AVC standard.
3. the inhibition method of error drift is characterized in that in the video of privacy area scramble as claimed in claim 2,
Described step 2 also comprises:
Step 31 when carrying out interframe encode, is carried out estimation by AVC standard H.264 to described present encoding piece;
Described step 3 also comprises:
Step 32 when carrying out interframe encode, is removed the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to AVC standard H.264, by AVC standard H.264 described present encoding piece is carried out estimation according to the set of blocks in the search window after removing.
4. the inhibition method of error drift is characterized in that in the video of privacy area scramble as claimed in claim 2,
Described step 2 is further for complying with the H.264 candidate frame inner estimation mode set of AVC standard acquisition present encoding piece, for each candidate frame inner estimation mode in the set of candidate frame inner estimation mode, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction;
Described step 3 further is from use the candidate frame inner estimation mode of scramble piece according to removal H.264 the candidate frame inner estimation mode of the present encoding piece of AVC standard acquisition is gathered, for each candidate frame inner estimation mode in gathering through the candidate frame inner estimation mode of removing, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
5. the inhibition method of error drift is characterized in that in the video of privacy area scramble as claimed in claim 3,
Described step 31 further is the interior set of blocks of search window according to the present encoding piece of H.264 AVC standard acquisition, and the best matching blocks of searching the present encoding piece from set of blocks, draws motion vector;
Described step 32 further is to remove the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to AVC standard H.264, and the best matching blocks from through searching the present encoding piece the set of blocks in the search window of removing draws motion vector.
6. the inhibition method of error drift is characterized in that in the video of privacy area scramble as claimed in claim 1,
Describedly also comprise before from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, removing the candidate frame inner estimation mode that uses the scramble piece carrying out in the described step 3:
Step 61, judge whether the present encoding piece is adjacent with privacy area, if it is adjacent, carry out and describedly from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, carry out described step 4; If non-conterminous, execution in step 62;
Step 62 is carried out infra-frame prediction by described video accepted standard to described present encoding piece, carries out described step 4.
7. the inhibition system of error drift in the video of a privacy area scramble is characterized in that described system comprises:
The privacy area judge module when being used for described video encoded, judges whether the present encoding piece belongs to privacy area, if belong to privacy area, then starts the privacy area processing module, if belong to non-privacy area, then starts non-privacy area processing module;
Described privacy area processing module when being used to carry out intraframe coding, is carried out infra-frame prediction by described video accepted standard to described present encoding piece, starts the standard code module;
Described non-privacy area processing module, when being used to carry out intraframe coding, from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, start the standard code module;
Described standard code module is used for finishing coding to described present encoding piece according to described standard.
8. the inhibition system of error drift is characterized in that in the video of privacy area scramble as claimed in claim 7, and described video adopts H.264 AVC standard.
9. the inhibition system of error drift is characterized in that in the video of privacy area scramble as claimed in claim 8,
When described privacy area processing module also is used for encoding between conducting frame, described present encoding piece is carried out estimation by AVC standard H.264;
When described non-privacy area processing module also is used for encoding between conducting frame, remove the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to AVC standard H.264, by AVC standard H.264 described present encoding piece is carried out estimation according to the set of blocks in the search window after removing.
10. the inhibition system of error drift is characterized in that in the video of privacy area scramble as claimed in claim 8,
Described privacy area processing module is further used for according to the H.264 candidate frame inner estimation mode set of AVC standard acquisition present encoding piece, for each candidate frame inner estimation mode in the set of candidate frame inner estimation mode, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction;
Described non-privacy area processing module is further used for from use the candidate frame inner estimation mode of scramble piece according to removal H.264 the candidate frame inner estimation mode of the present encoding piece of AVC standard acquisition is gathered, for each candidate frame inner estimation mode in gathering through the candidate frame inner estimation mode of removing, calculate corresponding prediction piece according to described candidate frame inner estimation mode, calculate the predicated error of present encoding piece with the prediction interblock, selecting the candidate frame inner estimation mode of minimal error correspondence is the intra prediction mode of present encoding piece, carries out infra-frame prediction.
11. the inhibition system of error drift is characterized in that in the video of privacy area scramble as claimed in claim 9,
Be further used for the interior set of blocks of search window when encoding between described privacy area processing module conducting frame according to the present encoding piece of H.264 AVC standard acquisition, and the best matching blocks of from set of blocks, searching the present encoding piece, draw motion vector;
Coding the time is further used for removing the scramble piece the set of blocks in the search window of the present encoding piece that obtains according to AVC standard H.264 between described non-privacy area processing module conducting frame, best matching blocks from through searching the present encoding piece the set of blocks in the search window of removing draws motion vector.
12. the inhibition system of error drift is characterized in that in the video of privacy area scramble as claimed in claim 7,
Described non-privacy area processing module is carrying out describedly being used to also judge whether the present encoding piece is adjacent with privacy area remove the candidate frame inner estimation mode that uses the scramble piece from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard before, if it is adjacent, carry out and describedly from the candidate frame inner estimation mode set of the present encoding piece that obtains according to described standard, remove the candidate frame inner estimation mode that uses the scramble piece, by described standard described present encoding piece is carried out infra-frame prediction according to the candidate frame inner estimation mode set after removing, start described standard code module; If non-conterminous, then described present encoding piece is carried out infra-frame prediction by described video accepted standard, start described standard code module.
CN 200910093974 2009-09-25 2009-09-25 Suppression method and system of error drift in scramble video of private area Expired - Fee Related CN101674477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910093974 CN101674477B (en) 2009-09-25 2009-09-25 Suppression method and system of error drift in scramble video of private area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910093974 CN101674477B (en) 2009-09-25 2009-09-25 Suppression method and system of error drift in scramble video of private area

Publications (2)

Publication Number Publication Date
CN101674477A true CN101674477A (en) 2010-03-17
CN101674477B CN101674477B (en) 2011-05-25

Family

ID=42021429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910093974 Expired - Fee Related CN101674477B (en) 2009-09-25 2009-09-25 Suppression method and system of error drift in scramble video of private area

Country Status (1)

Country Link
CN (1) CN101674477B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848378A (en) * 2010-06-07 2010-09-29 中兴通讯股份有限公司 Domestic video monitoring device, system and method
CN110941806A (en) * 2019-11-29 2020-03-31 徐州科睿安防科技有限公司 Privacy protection security system for office area

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848378A (en) * 2010-06-07 2010-09-29 中兴通讯股份有限公司 Domestic video monitoring device, system and method
CN110941806A (en) * 2019-11-29 2020-03-31 徐州科睿安防科技有限公司 Privacy protection security system for office area

Also Published As

Publication number Publication date
CN101674477B (en) 2011-05-25

Similar Documents

Publication Publication Date Title
US8693543B2 (en) Inter-frame prediction coding method, device and system
CN103248893B (en) From H.264/AVC standard to code-transferring method and transcoder thereof the fast frame of HEVC standard
KR101521336B1 (en) Template matching for video coding
Kim et al. A Fast Intra‐Prediction Method in HEVC Using Rate‐Distortion Estimation Based on Hadamard Transform
CN101978698B (en) Method and apparatus for encoding and decoding image
CN102595124B (en) Image coding and decoding method and method for processing image data and equipment thereof
KR100940444B1 (en) Method of constituting intra prediction mode using spatial edge detection
WO2013107177A1 (en) Encoding/decoding method and apparatus
CN102804772B (en) Utilize image encoding/decoding apparatus and the method for multi-dimensional integer transform
RU2012105532A (en) METHOD AND DEVICE FOR VIDEO CODING AND METHOD AND DEVICE FOR VIDEO DECODING
WO2009157665A3 (en) Intra prediction method and apparatus using block transform, and image encoding/decoding method and apparatus using the same
CN105681797B (en) A kind of DVC-HEVC video transcoding methods based on prediction residual
WO2013113217A1 (en) Decoding method and device
CN106791828B (en) Video transcoding method and its transcoder based on machine learning
CN112243127B (en) HEVC video encryption method based on region of interest
CN103442228A (en) Quick frame inner transcoding method from H.264/AVC standard to HEVC standard and transcoder thereof
CN102447896A (en) Method, device and system for processing image residual block
CN101674477B (en) Suppression method and system of error drift in scramble video of private area
CN102984525A (en) Method for hiding video code stream error
CN113422959A (en) Video encoding and decoding method and device, electronic equipment and storage medium
CA2200725C (en) Method and system for improved motion compensation
Carreira et al. Dynamic motion vector refreshing for enhanced error resilience in HEVC
CN112001854A (en) Method for repairing coded image and related system and device
KR20150084408A (en) Video coding Apparatus of DC intra prediction and method thereof
KR101449686B1 (en) Video Encoding/Decoding Method and Apparatus by Efficiently Processing Intra Prediction Mode

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110525

Termination date: 20210925

CF01 Termination of patent right due to non-payment of annual fee