Method of decoding a current image
Abstract
The present invention relates to an image processing technique, and in particular to a method for restoring a compressed image by using a hybrid motion compensation discrete cosine transform (hybrid MC/DCT) mechanism, including: a step of defining a smoothing functional having a smoothing degree of an image and reliability for an original image by pixels having an identical property in image block units; and a step of computing a restored image by performing a gradient operation on the smoothing functional in regard to the original image, thereby preventing the blocking artifacts and the ringing effects in regard to the pixels having an identical property in image blocks.In one embodiment, the method includes obtaining a pixel value in a current block and at least one adjacent pixel value, obtaining a difference value between the pixel value in the current block and the adjacent pixel value, and obtaining a smoothing value of the current image based on the difference value. A pixel value around a boundary of the block is smoothed based on a threshold value and the smoothing value.
Claims
exact text as granted — not AI-modified1. A method for restoring a compressed image of an image processing system, comprising:
a step for defining a smoothing functional having a smoothing degree of an image and reliability for an original image by pixels having an identical property in image block units; and a step for computing a restored image by performing a gradient operation on the smoothing functional in regard to the original image; wherein the smoothing functional M(f) comprises a sum of a smoothing functional M VB (f) for pixels positioned at the boundary of a block in a vertical direction, a smoothing functional M VW (f) for pixels positioned inside the block in a horizontal direction, a smoothing functional M HB (f) for pixels positioned at the boundary of a block in a horizontal direction, a smoothing functional M HW (f) for pixels positioned inside the block in a horizontal direction, a smoothing functional M T (f) for pixels moved and compensated in the temporal section, “f” indicating the original image.
2. The method according to claim 1 , wherein the step for defining the smoothing functional divides the pixels according to their position, horizontal direction, vertical direction and smoothing variation in a temporal section.
3. The method according to claim 1 , wherein the smoothing functionals M VB (f), M HB (f), M VW (f), M HW (f), M T (f) are defined as;
M VB (f)=∥Q VB f∥ 2 +α VB ∥g−f∥ w1 2 M HB (f)=∥Q HB f∥ 2 +α HB ∥g−f∥ w2 2 M VW (f)=∥Q VW f∥ 2 +α VW ∥g−f∥ w3 2 M HW (f)=∥Q HW f∥ 2 +α HW ∥g−f∥ w4 2 M T (f)=∥Q T f∥ 2 +α T ∥g−f∥ w5 2 Q VB , Q VW , Q HB , Q HW , Q T indicating high pass filters for smoothing the respective pixels, α VB , α VW , α HB , α HW , α T being regularization parameters, g being a reconstructed image, and W 1 , W 2 , W 3 , W 4 , W 5 indicating diagonal matrixes for determining whether each group has an element.
4. The method according to claim 1 , wherein the step for computing the restored image comprises a step for approximating the regularization parameter by applying a set theoretic, and it is presumed that the quantization variables of the DCT region regular in each macro block, and also presumed that the DCT quantization errors have the Gaussain distribution property in the spatial section.
5. The method according to claim 4 , wherein the regularization parameters are approximated as;
α VB = ∥ Q VB f ∥ 2 ∥ g - f ∥ W 1 2 = ∥ Q VB g ∥ 2 ∥ g - f ∥ W 1 2 = ∥ Q VB g ∥ 2 ∑ n ∑ m w 1 ( m , n ) Qp 2 ( m , n ) α HB = ∥ Q HB f ∥ 2 ∥ g - f ∥ W 2 2 = ∥ Q HB g ∥ 2 ∥ g - f ∥ W 2 2 = ∥ Q HB g ∥ 2 ∑ n ∑ m w 2 ( m , n ) Qp 2 ( m , n ) α VW = ∥ Q VW f ∥ 2 ∥ g - f ∥ W 3 2 = ∥ Q VW g ∥ 2 ∥ g - f ∥ W 3 2 = ∥ Q VW g ∥ 2 ∑ n ∑ m w 3 ( m , n ) Qp 2 ( m , n ) α HW = ∥ Q HW f ∥ 2 ∥ g - f ∥ W 4 2 = ∥ Q HW g ∥ 2 ∥ g - f ∥ W 4 2 = ∥ Q HW g ∥ 2 ∑ n ∑ m w 4 ( m , n ) Qp 2 ( m , n ) α T = ∥ Q T f ∥ 2 ∥ g - f ∥ W 5 2 = ∥ Q T g ∥ 2 ∥ g - f ∥ W 5 2 = ∥ Q T g ∥ 2 ∑ n ∑ m w 5 ( m , n ) Qp 2 ( m , n ) Q 2 p (m,n) indicating a quantization variable of a macro block including an (m,n)th pixel of a two-dimensional image.
6. The method according to claim 1 , wherein a local minimizer of the smoothing functional is a global minimizer.
7. The method according to claim 1 , wherein the regularization parameter indicates a ratio of a smoothing degree of the image and reliability for the original image.
8. The method according to claim 1 , further comprising a step for computing an iterative solution in regard to a restored image, after computing the restored image.
9. The method according to claim 8 , wherein the iterative solution f k+1 is represented by;
f k+1 =f k +β[Ag−Bf k ], A=α VB W 1 +α HB W 2 +α VW W 3 +α HW W 4 +α T W 5 B=(Q T VB Q VB +Q T HB Q HB +Q T VW Q VW +Q T HW Q HW +Q T T Q T )+A
and, β is a relaxation parameter having a convergence property, and computed at the range of
0 < β < 2 1 = max i λ i ( A ) ,
an eigen value λ(A) of the matrix A being replaced by a fixed value.
10. The method according to claim 8 , wherein a predetermined threshold value is set in computing an iterative solution, an image obtained after iteration is compared with the previously-set threshold value, and it is determined whether the iteration technique is continuously performed according to a comparison result, or the iteration is finished after the iteration technique is performed as many as a previously-set number.
11. The method according to claim 8 , further comprising a step for obtaining a mapped image by projecting a two-dimensional DCT coefficient of the restored image corresponding to a computed iterative solution, and for performing an inverse DCT on the mapped image.
12. The method according to claim 11 , wherein the step for obtaining the mapped image is mapping a projected restored image P(F k+1 (u,v)) to G(u,v)−Qp when the DCT coefficient of the restored image F k+1 (u,v) is smaller than G(u,v)−Qp, mapping the projected restored image P(F k+1 (u, v)) to G(u,v)+Qp when F k+1 (u,v) is greater than G(u,v)+Qp, and otherwise mapping the projected restored image P(F k+1 (u,v)) as it is, G(u,v) indicating a two-dimensional DCT coefficient obtained by performing the DCT on the reconstructed image, and Qp indicating quantization information.
13. The method according to claim 1 , wherein a predetermined threshold value is set in computing an iterative solution, an image obtained after iteration is compared with the previously-set threshold value, and it is determined whether the iteration technique is continuously performed according to a comparison result, or the iteration is finished after the iteration technique is performed as many as a previously-set number.
14. The method according to claim 1 , further comprising a step for obtaining a mapped image by projecting a two-dimensional DCT coefficient of the restored image corresponding to a computed iterative solution, and for performing an inverse DCT on the mapped image.
15. The method according to claim 14 , wherein the step for obtaining the mapped image is mapping a projected restored image P(F k+1 (u,v)) to G(u,v)−Qp when the DCT coefficient of the restored image F k+1 (u,v) is smaller than G(u,v)−Qp, mapping the projected restored image P(F k+1 (u, v)) to G(u,v)+Qp when F k+1 (u,v) is greater than G(u,v)+Qp, and otherwise mapping the projected restored image P(F k+1 (u,v)) as it is, G(u,v) indicating a two-dimensional DCT coefficient obtained by performing the DCT on the reconstructed image, and Qp indicating quantization information.
16. An apparatus for restoring a compressed image of an image processing system, comprising:
a decoder for decoding a coded image signal, and for outputting information of the restored image, such as the decoded image, a quantization variable, a macro block type and a motion vector; and a post processing unit for including the information of the restored image inputted from the image decoder, for defining a smoothing functional including a sum of a smoothing functional M VB (f) for pixels positioned at the boundary of a block in a vertical direction, a smoothing functional M VW (f) for pixels positioned inside the block in a horizontal direction, a smoothing functional M HB (f) for pixels positioned at the boundary of a block in a horizontal direction, a smoothing functional M HW (f) for pixels positioned inside the block in a horizontal direction, a smoothing functional M T (f) for pixels moved and compensated in the temporal section, “f” indicating the original image, and for performing a gradient operation on the smoothing functional in regard to the original image, the smoothing functional including a regularization parameter having weight of reliability for the original image.
17. A method for restoring a compressed image of an image processing system, comprising:
a step for defining a smoothing functional having a smoothing degree of an image and reliability for an original image by pixels having an identical property in image block units; a step for computing a restored image by performing a gradient operation on the smoothing functional in regard to the original image; and a step for computing an iterative solution in regard to the restored image, after computing the restored image.
18. The method according to claim 17 , wherein the step for defining the smoothing functional divided the pixels according to their position, horizontal direction, vertical direction and smoothing variation in a temporal section.
19. The method according to claim 17 , wherein the smoothing functional M(f) comprises a sum of a smoothing functional M VB (f) for pixels positioned at the boundary of a block in a vertical direction, a smoothing functional M VW (f) for pixels positioned inside the block in a horizontal direction, a smoothing functional M HB (f) for pixels positioned at the boundary of a block in a horizontal direction, a smoothing functional M HW (f) for pixels positioned inside the block in a horizontal direction, a smoothing functional M T (f) for pixels moved and compensated in the temporal section, “f” indicating the original image.
20. The method according to claim 19 , wherein the smoothing functionals M VB (f), M HB (f), M VW (f), M HW (f), M T (f) are defined as;
M VB (f)=∥Q VB f∥ 2 +α VB ∥g−f∥ w1 2 M HB (f)=∥Q HB f∥ 2 +α HB ∥g−f∥ w2 2 M VW (f)=∥Q VW f∥ 2 +α VW ∥g−f∥ w3 2 M HW (f)=∥Q HW f∥ 2 +α HW ∥g−f∥ w4 2 M T (f)=∥Q T f∥ 2 +α T ∥g−f∥ w5 2 Q VB , Q VW , Q HB , Q HW , Q T indicating high pass filters for smoothing the respective pixels, α VB , α VW , α HB , α HW , α T being regularization parameters, g being a reconstructed image, and W 1 , W 2 , W 3 , W 4 , W 5 indicating diagonal matrixes for determining whether each group has an element.
21. The method according to claim 17 , wherein the step for computing the restored image comprises a step for approximating the regularization parameter by applying a set theoretic, and it is presumed that the quantization variables of the DCT region are regular in each macro block, and also presumed that the DCT quantization errors have the Gaussain distribution property in the spatial section.
22. The method according to claim 21 , wherein the regularization parameters are approximated as;
α VB = ∥ Q VB f ∥ 2 ∥ g - f ∥ W 1 2 = ∥ Q VB g ∥ 2 ∥ g - f ∥ W 1 2 = ∥ Q VB g ∥ 2 ∑ n ∑ m w 1 ( m , n ) Qp 2 ( m , n ) α HB = ∥ Q HB f ∥ 2 ∥ g - f ∥ W 2 2 = ∥ Q HB g ∥ 2 ∥ g - f ∥ W 2 2 = ∥ Q HB g ∥ 2 ∑ n ∑ m w 2 ( m , n ) Qp 2 ( m , n ) α VW = ∥ Q VW f ∥ 2 ∥ g - f ∥ W 3 2 = ∥ Q VW g ∥ 2 ∥ g - f ∥ W 3 2 = ∥ Q VW g ∥ 2 ∑ n ∑ m w 3 ( m , n ) Qp 2 ( m , n ) α HW = ∥ Q HW f ∥ 2 ∥ g - f ∥ W 4 2 = ∥ Q HW g ∥ 2 ∥ g - f ∥ W 4 2 = ∥ Q HW g ∥ 2 ∑ n ∑ m w 4 ( m , n ) Qp 2 ( m , n ) α T = ∥ Q T f ∥ 2 ∥ g - f ∥ W 5 2 = ∥ Q T g ∥ 2 ∥ g - f ∥ W 5 2 = ∥ Q T g ∥ 2 ∑ n ∑ m w 5 ( m , n ) Qp 2 ( m , n ) Q 2 p (m,n) indicating a quantization variable of a macro block including an (m,n)th pixel of a two-dimensional image.
23. The method according to claim 17 , wherein a local minimizer of the smoothing functional is a global minimizer.
24. The method according to claim 17 , wherein the regularization parameter indicates a ratio of a smoothing degree of the image and reliability for the original image.
25. The method according to claim 17 , wherein the iterative solution f k+1 is represented by;
f k+1 =f k +β[Ag−Bf k ],
A=α VB W 1 +α HB W 2 +α VW W 3 +α HW W 4 +α T W 5
B=(Q T VB Q VB +Q T HB Q HB +Q T VW Q VW +Q T HW Q HW +Q T T Q T )+A
and, β is a relaxation parameter having a convergence property, and computed at the range of
0 < β < 2 1 = max i λ i ( A ) ,
an eigen value λ(A) of the matrix A being replaced by a fixed value.
26. An apparatus for restoring a compressed image of an image processing system, comprising:
a decoder for decoding a coded image signal, and for outputting information of the restored image, such as the decoded image, a quantization variable, a macro block type and a motion vector; and a post processing unit for including the information of the restored image inputted from the image decoder, for defining a smoothing functional including a smoothing degree of the image and reliability of an original image block unit, and for performing a gradient operation on the smoothing functional in regard to the original image, the smoothing functional including a regularization parameter having weight of reliability for the original image.
27. A method of decoding a current image, comprising:
obtaining a pixel value in a current block and at least one adjacent pixel value; obtaining a difference value between the pixel value in the current block and the adjacent pixel value; obtaining a smoothing value of the current image based on the difference value; and smoothing a pixel value around a boundary of the block based on a threshold value and the smoothing value; and wherein the threshold value is based on quantization information of at least a partially restored portion of the current image.
28. The method of claim 27 , wherein the threshold value is based on quantization information of a restored version of the current image.
29. The method of claim 27 , wherein the adjacent pixel value is obtained from a block different than the current block.
30. The method of claim 27 , wherein the smoothed pixel value is the obtained pixel value in the current block.
31. The method of claim 27 , wherein the adjacent pixel value is adjacent to the obtained pixel value in the current block in a vertical direction.
32. The method of claim 27 , wherein the adjacent pixel value is adjacent to the obtained pixel value in the current block in a horizontal direction.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.