CN101895769A - Sparse representation based method and device for concealing video errors - Google Patents
Sparse representation based method and device for concealing video errors Download PDFInfo
- Publication number
- CN101895769A CN101895769A CN 201010212205 CN201010212205A CN101895769A CN 101895769 A CN101895769 A CN 101895769A CN 201010212205 CN201010212205 CN 201010212205 CN 201010212205 A CN201010212205 A CN 201010212205A CN 101895769 A CN101895769 A CN 101895769A
- Authority
- CN
- China
- Prior art keywords
- pixel
- target function
- present frame
- video
- frame
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000013461 design Methods 0.000 claims description 7
- 238000012856 packing Methods 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 6
- 239000011159 matrix material Substances 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 description 4
- 230000007812 deficiency Effects 0.000 description 3
- 238000012512 characterization method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012958 reprocessing Methods 0.000 description 1
- 230000000452 restraining effect Effects 0.000 description 1
- 208000013021 vision distortion Diseases 0.000 description 1
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention provides a sparse representation based method for concealing video errors. The method comprises the following steps: detecting and acquiring broken pixel regions and complete pixel regions in a current frame; acquiring the motion vector of the pixels in the complete pixel regions in the current frame relatively to a reference frame; performing macro block matching on the current frame and the reference frame according to the motion vector to generate a residual image of the complete pixel region after motion compensation; constructing an image sparsity target function according to the residual image; and solving the image sparsity target function, and filling the broken pixel regions according to the solving result. The method reconstructs the image region occurring errors by directly utilizing the image sparse representation, and has the advantages of simple and easy use and excellent performance.
Description
Technical field
The present invention relates to technical field of image processing, particularly a kind of video error concealing method and device based on rarefaction representation.
Background technology
Move killer's level of (3G) network as the Internet and the third generation and use, the real-time video communication service has become operator, equipment vendor and service provider institute Focal Point of Common Attention.Its core is how to provide high-quality video transmission quality for the user.But the bottom bearer network has time variation, has caused bigger uncertainty for the video flowing high efficiency of transmission.Particularly, the network congestion of burst or channel fading will cause the decode error of receiving terminal video flowing, further cause reconstructed image serious distortion to occur.In order to cover the vision distortion of this type of video image, error concealment algorithm is arisen at the historic moment, and makes indispensable decoding reprocessing instrument in a kind of Streaming Media application.
The essence of error concealment is farthest to recover the image-region of decoding and makeing mistakes according to the correct various video informations (as texture, coding mode and motion vector etc.) that receive.At present, the error concealment algorithm of academia and industrial quarters design is mainly based on two class thinkings: (1) time domain alternative strategy, promptly directly adopt the corresponding macro block (reference macroblock of same position, perhaps current macro motion vector reference macroblock pointed) in the last decoded picture to substitute current damage macro block; (2) spatial domain is smoothly tactful, promptly utilizes neighboring pixel information interpolation to go out the pixel value of current damage macro block.Though first kind thinking has been utilized the correlation on the frame of video time domain, to the not well utilization of spatial domain texture information of failure area.The second class thinking then often is not suitable for the situation of continuous information packet loss.Because the macro block that is positioned at around the failure area is lost in a large number, just mean that also the information that can offer the spatial concealment strategy is quite limited, so the picture quality of energy reconstruct will be very poor.
Summary of the invention
Purpose of the present invention is intended to solve above-mentioned technological deficiency at least, the invention provides a kind of video error concealing method and device based on rarefaction representation.
For achieving the above object, one aspect of the present invention proposes a kind of video error concealing method based on rarefaction representation, may further comprise the steps: detect and obtain damaged pixel district in the present frame and intact pixel region; Obtain the motion vector of the interior pixel of pixel region intact in the described present frame with respect to reference frame; According to described motion vector described present frame and described reference frame are carried out the residual image of macroblock match after with the motion compensation that generates described intact pixel region; According to described residual image design of graphics as the degree of rarefication target function; With described image sparse degree target function is found the solution, and fill described damaged pixel district according to solving result.
The present invention has also proposed a kind of concealing video errors device based on rarefaction representation on the other hand, comprising: macro block detects and acquisition module, is used for detecting and obtaining the damaged pixel district of present frame and intact pixel region; Motion vector detects and obtains module, is used for obtaining the motion vector of the interior pixel of the intact pixel region of described present frame with respect to reference frame; The residual image generation module is used for according to described motion vector described present frame and described reference frame being carried out the residual image of macroblock match after with the motion compensation that generates described intact pixel region; The degree of rarefication target function makes up module, and the described residual image design of graphics that is used for generating according to described residual image generation module is as the degree of rarefication target function; And packing module, be used for the image sparse degree target function that described degree of rarefication target function structure module generates is found the solution, and fill described damaged pixel district according to solving result.
The image-region that the present invention has directly utilized the image sparse characterization to come reconstruct to make a mistake is simple and easy to usefulness, excellent performance, and the present invention unite utilized between frame of video and frame in correlation properties, the video that can damage big zone effectively recover.In addition, the present invention utilizes the spatial domain and the relativity of time domain of frame of video, and the degree of rarefication representative function of combined optimization spatial domain image and time domain residual image, thereby guarantees that excellent error concealment performance can both be arranged under abominable status transmission.Therefore, the present invention has not only solved the problem that video quality declined to a great extent when the user side receiving video data was made mistakes, but also can overcome the deficiencies in the prior art.
Aspect that the present invention adds and advantage part in the following description provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment below in conjunction with accompanying drawing, wherein:
Fig. 1 is the flow chart based on the video error concealing method of rarefaction representation of the embodiment of the invention;
Fig. 2 is the schematic diagram of the residual image after the structure motion compensation of the embodiment of the invention;
Fig. 3 is the concealing video errors structure drawing of device based on rarefaction representation of the embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein identical from start to finish or similar label is represented identical or similar elements or the element with identical or similar functions.Below by the embodiment that is described with reference to the drawings is exemplary, only is used to explain the present invention, and can not be interpreted as limitation of the present invention.
As shown in Figure 1, be the flow chart based on the video error concealing method of rarefaction representation of the embodiment of the invention.As shown in Figure 2, be the schematic diagram of the residual image after the structure motion compensation of the embodiment of the invention, wherein, F
cBe present frame, F
rBe F
cThe corresponding reference frame.If
With
Be respectively present frame F
cWith reference frame F
rMiddle location of pixels
The pixel value at place,
Be present frame F
cMiddle pixel
Pairing motion vector.This method may further comprise the steps:
Step S101 detects and obtains present frame F
cThe middle pixel region that damages
(being the gray scale square among Fig. 2) and intact pixel region D
S(being the white square among Fig. 2).
Step S 102, obtain intact pixel region D in the present frame
SInterior pixel
Motion vector with respect to reference frame
Step S103, according to described motion vector to present frame F
cWith reference frame F
rCarry out macroblock match to generate described intact pixel region D
SMotion compensation after residual image:
Step S104, according to described residual image design of graphics as the degree of rarefication target function.If ψ is reverse two-dimension discrete cosine transform (DCT) base, θ
cBe present frame F
cTwo dimensional DCT coefficients (rarefaction representation of spatial domain image), θ
ΔBe residual frame F
ΔTwo dimensional DCT coefficients (rarefaction representation of residual image after the time domain motion compensation).In one embodiment of the invention, weight coefficient λ=0.6 that this two classes degree of rarefication is represented for example can be set, the target function that this weighting degree of rarefication is optimized is as follows:
min‖Vec[θ
c]‖
1+0.6×‖Vec[θ
Δ]‖
1
Wherein, ‖ ‖
1Single order norm operator, Vec[are asked in expression] representing matrix vectorization operator, S[] be to D
SThe sampling operation symbol in zone, S
*[] is right
The sampling operation symbol in zone, s.t. represents utmost point constraints.
Step S105 treats the image sparse degree target function of constraint and finds the solution.In one embodiment of the invention, can utilize method of Lagrange multipliers that the target function that minimizes of above-mentioned belt restraining is converted into unconfined minimization problem, promptly
Wherein, β is a Lagrange multiplier.
To above-mentioned no constrained minimization problem, adopt iteration threshold algorithm (FISTA) to obtain optimal solution
With
Concrete iterative process can be referring to document: (A.Beck, and M.Teboulle, " A fastiterative shrinkage-thresholding algorithm for linear inverse problems; " SIAMJournal on Imaging Sciences, vol.2, no.1, pp.183-202,2009.)
Step S106 calculates
Reverse two-dimensional dct transform
And taking-up failure area corresponding pixel value
And the pixel region of filling up damage with this result
As shown in Figure 3, be the concealing video errors structure drawing of device based on rarefaction representation of the embodiment of the invention.This device 100 comprises that macro block detects and acquisition module 110, motion vector detect acquisition module 120, residual image generation module 130, degree of rarefication target function structure module 140 and packing module 150.Macro block detects and acquisition module 110 is used for detecting and obtaining the damaged pixel district of present frame and intact pixel region.Motion vector detects acquisition module 120 and is used for obtaining the motion vector of the interior pixel of the intact pixel region of described present frame with respect to reference frame.Residual image generation module 130 is used for according to motion vector present frame and described reference frame being carried out the residual image of macroblock match after with the motion compensation that generates described intact pixel region.The described residual image design of graphics that degree of rarefication target function structure module 140 is used for generating according to residual image generation module 130 is as the degree of rarefication target function.Packing module 150 is used for the image sparse degree target function that degree of rarefication target function structure module 140 generates is found the solution, and fills described damaged pixel district according to solving result.
In one embodiment of the invention, packing module 150 comprises calculating sub module 151 and fills submodule 152.Calculating sub module 151 is used to utilize method of Lagrange multipliers and iteration threshold algorithm to obtain optimal solution
With
And calculate
Reverse two-dimensional dct transform
Fill submodule 152 and be used to take out the failure area corresponding pixel value
And fill up the pixel region of damage with this result
The image-region that the present invention has directly utilized the image sparse characterization to come reconstruct to make a mistake is simple and easy to usefulness, excellent performance, the present invention unite utilized between frame of video and frame in correlation properties, the video that can damage big zone effectively recover.In addition, the present invention utilizes the spatial domain and the relativity of time domain of frame of video, and the degree of rarefication representative function of combined optimization spatial domain image and time domain residual image, thereby guarantees that excellent error concealment performance can both be arranged under abominable status transmission.Therefore, the present invention has not only solved the problem that video quality declined to a great extent when the user side receiving video data was made mistakes, but also can overcome the deficiencies in the prior art.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification that scope of the present invention is by claims and be equal to and limit to these embodiment.
Claims (8)
1. the video error concealing method based on rarefaction representation is characterized in that, may further comprise the steps:
Detect and obtain damaged pixel district in the present frame and intact pixel region;
Obtain the motion vector of the interior pixel of pixel region intact in the described present frame with respect to reference frame;
According to described motion vector described present frame and described reference frame are carried out the residual image of macroblock match after with the motion compensation that generates described intact pixel region;
According to described residual image design of graphics as the degree of rarefication target function; With
Described image sparse degree target function is found the solution, and fill described damaged pixel district according to solving result.
2. the video error concealing method based on rarefaction representation as claimed in claim 1 is characterized in that, described residual image is:
3. the video error concealing method based on rarefaction representation as claimed in claim 2 is characterized in that, described image sparse degree target function is:
min‖Vec[θ
c]‖
1+λ‖Vec[θ
Δ]‖
1
Wherein, ψ is reverse two-dimension discrete cosine transform DCT base, θ
cBe present frame F
cTwo dimensional DCT coefficients, θ
ΔBe reference frame F
ΔTwo dimensional DCT coefficients, ‖ ‖
1Single order norm operator is asked in expression, and λ ∈ [0,1] is predefined weight coefficient, Vec[] representing matrix vectorization operator, S[] be to D
SThe sampling operation symbol in zone, S
*[] is right
The sampling operation symbol in zone, s.t. represents constraints.
4. the video error concealing method based on rarefaction representation as claimed in claim 3 is characterized in that, described image sparse degree target function is found the solution, and fills described damaged pixel district according to solving result and further comprise:
Utilize method of Lagrange multipliers and iteration threshold algorithm to obtain optimal solution
With
With
5. the concealing video errors device based on rarefaction representation is characterized in that, comprising:
Macro block detects and acquisition module, is used for detecting and obtaining the damaged pixel district of present frame and intact pixel region;
Motion vector detects and obtains module, is used for obtaining the motion vector of the interior pixel of the intact pixel region of described present frame with respect to reference frame;
The residual image generation module is used for according to described motion vector described present frame and described reference frame being carried out the residual image of macroblock match after with the motion compensation that generates described intact pixel region;
The degree of rarefication target function makes up module, and the described residual image design of graphics that is used for generating according to described residual image generation module is as the degree of rarefication target function; With
Packing module is used for the image sparse degree target function that described degree of rarefication target function structure module generates is found the solution, and fills described damaged pixel district according to solving result.
6. the concealing video errors device based on rarefaction representation as claimed in claim 5 is characterized in that described residual image is:
7. the concealing video errors device based on rarefaction representation as claimed in claim 6 is characterized in that, described image sparse degree target function is:
min‖Vec[θ
c]‖
1+λ‖Vec[θ
Δ]‖
1
Wherein, ψ is reverse two-dimension discrete cosine transform DCT base, θ
cBe present frame F
cTwo dimensional DCT coefficients, θ
ΔBe reference frame f
ΔTwo dimensional DCT coefficients, ‖ ‖
1Single order norm operator is asked in expression, and λ ∈ [0,1] is predefined weight coefficient, Vec[] representing matrix vectorization operator, S[] be to D
SThe sampling operation symbol in zone, S
*[] is right
The sampling operation symbol in zone, s.t. represents constraints.
8. the concealing video errors device based on rarefaction representation as claimed in claim 7 is characterized in that described packing module comprises:
Calculating sub module is used to utilize method of Lagrange multipliers and iteration threshold algorithm to obtain optimal solution
With
And calculate
Reverse two-dimensional dct transform
With
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010212205 CN101895769B (en) | 2010-06-21 | 2010-06-21 | Sparse representation based method and device for concealing video errors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010212205 CN101895769B (en) | 2010-06-21 | 2010-06-21 | Sparse representation based method and device for concealing video errors |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101895769A true CN101895769A (en) | 2010-11-24 |
CN101895769B CN101895769B (en) | 2011-11-30 |
Family
ID=43104810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010212205 Expired - Fee Related CN101895769B (en) | 2010-06-21 | 2010-06-21 | Sparse representation based method and device for concealing video errors |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101895769B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102740080A (en) * | 2012-06-06 | 2012-10-17 | 清华大学 | Error hiding method based on compressive sensing |
WO2012151719A1 (en) * | 2011-05-12 | 2012-11-15 | Technicolor (China) Technology Co., Ltd. | Method and device for estimating video quality on bitstream level |
CN107945117A (en) * | 2017-10-19 | 2018-04-20 | 东华大学 | Based on the error concealment method that adaptive similar set is sparse |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060152596A1 (en) * | 2005-01-11 | 2006-07-13 | Eastman Kodak Company | Noise cleaning sparsely populated color digital images |
CN1921562A (en) * | 2006-09-01 | 2007-02-28 | 上海大学 | Method for image noise reduction based on transforming domain mathematics morphology |
JP2007306152A (en) * | 2006-05-09 | 2007-11-22 | Toshiba Corp | Image decoding device and image decoding method |
CN101571950A (en) * | 2009-03-25 | 2009-11-04 | 湖南大学 | Image restoring method based on isotropic diffusion and sparse representation |
CN101667246A (en) * | 2009-09-25 | 2010-03-10 | 西安电子科技大学 | Human face recognition method based on nuclear sparse expression |
-
2010
- 2010-06-21 CN CN 201010212205 patent/CN101895769B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060152596A1 (en) * | 2005-01-11 | 2006-07-13 | Eastman Kodak Company | Noise cleaning sparsely populated color digital images |
JP2007306152A (en) * | 2006-05-09 | 2007-11-22 | Toshiba Corp | Image decoding device and image decoding method |
CN1921562A (en) * | 2006-09-01 | 2007-02-28 | 上海大学 | Method for image noise reduction based on transforming domain mathematics morphology |
CN101571950A (en) * | 2009-03-25 | 2009-11-04 | 湖南大学 | Image restoring method based on isotropic diffusion and sparse representation |
CN101667246A (en) * | 2009-09-25 | 2010-03-10 | 西安电子科技大学 | Human face recognition method based on nuclear sparse expression |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012151719A1 (en) * | 2011-05-12 | 2012-11-15 | Technicolor (China) Technology Co., Ltd. | Method and device for estimating video quality on bitstream level |
US9549183B2 (en) | 2011-05-12 | 2017-01-17 | Thomson Licensing | Method and device for estimating video quality on bitstream level |
CN102740080A (en) * | 2012-06-06 | 2012-10-17 | 清华大学 | Error hiding method based on compressive sensing |
CN102740080B (en) * | 2012-06-06 | 2015-06-24 | 清华大学 | Error hiding method based on compressive sensing |
CN107945117A (en) * | 2017-10-19 | 2018-04-20 | 东华大学 | Based on the error concealment method that adaptive similar set is sparse |
CN107945117B (en) * | 2017-10-19 | 2021-12-10 | 东华大学 | Error concealment method based on self-adaptive similar set sparsity |
Also Published As
Publication number | Publication date |
---|---|
CN101895769B (en) | 2011-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2920759B1 (en) | Processing high dynamic range images | |
US9602814B2 (en) | Methods and apparatus for sampling-based super resolution video encoding and decoding | |
EP1929788B1 (en) | Frame interpolation using more accurate motion information | |
CN1236619C (en) | Method and apparatus for performing video image decoding | |
CN103168468B (en) | Use the method and apparatus of the arbitrary resolution Video coding of compression sampling tolerance | |
US9509988B2 (en) | Motion video encoding apparatus, motion video encoding method, motion video encoding computer program, motion video decoding apparatus, motion video decoding method, and motion video decoding computer program | |
US20140010284A1 (en) | Image transform and inverse transform method, and image encoding and decoding device using same | |
KR20170122796A (en) | An intra frame encoding method, an intra frame decoding method, an encoder, and a decoder | |
US20130195177A1 (en) | Method and device for the transformation and method and device for the reverse transformation of images | |
CN105704492A (en) | Adaptive support for interpolating values of sub-pixels for video coding | |
US10542265B2 (en) | Self-adaptive prediction method for multi-layer codec | |
CN107197257A (en) | Interior prediction method and the encoding apparatus and decoding apparatus using this method | |
CN103004196A (en) | Inclusion of switched interpolation filter coefficients in a compressed bit-stream | |
CN105408935A (en) | Upsampling and signal enhancement | |
US8170110B2 (en) | Method and apparatus for zoom motion estimation | |
CN101895769B (en) | Sparse representation based method and device for concealing video errors | |
US20100157146A1 (en) | Apparatus and method for converting image in an image processing system | |
CN110495178A (en) | The device and method of 3D Video coding | |
Zhang et al. | Optical flow reusing for high-efficiency space-time video super resolution | |
CN105103553A (en) | Spatial motion vector scaling for scalable video coding | |
US8929456B2 (en) | Video coding using compressive measurements | |
JP6306141B2 (en) | Integrated spatial downsampling of video data | |
JP5484377B2 (en) | Decoding device and decoding method | |
CN103002279B (en) | Encode the method and its corresponding device of simultaneously reconstructed pixel block | |
JP5463250B2 (en) | Image reconstruction device, encoding device, decoding device, and program |
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: 20111130 |
|
CF01 | Termination of patent right due to non-payment of annual fee |