Method of and apparatus for detecting error in image data stream
AssigneeSamsung Electronics Co., Ltd.
InventorJun-Young Lee
Life of this patent
Estimating the term…
Abstract
A method is provided for detecting an error in an image data stream in a device environment where digital image data is reproduced, especially, in a wired/wireless network such as a personal portable device. The method comprises determining whether or not an error is present in an input image data stream; determining a similarity between patterns of transform coefficients that are generated in the course of decoding the input image data stream; and detecting the starting position of the error based on the similarity determination. Accordingly, a decoder can independently detect the position of the error accurately, and the quality of an image which is replaced and restored using error concealment can be improved.
Claims12
A method of detecting an error in an image data stream, the method comprising:
- determining whether an error is present in an input image data stream;
- determining a similarity between patterns of values of transform coefficients of different blocks having a predetermined size, the transform coefficients being generated in a course of decoding the input image data stream;
- and
- detecting, by an apparatus for detecting an error, a starting position of an error in the input image data stream based on the determined similarity,
- wherein the patterns correspond to the different blocks of the input image data stream,
- the predetermined size of blocks is a macroblock, and
- the determining the similarity between the patterns of transform coefficients comprises at least one of:
- determining a spatial similarity between patterns of transform coefficients of adjacent macroblocks and a current macroblock in a current image frame of the input image data stream;
- and
- determining a temporal similarity between patterns of transform coefficients of a current macroblock of the current image frame and a macroblock which corresponds to the current macroblock and belongs to a reference frame to which the current image frame refers.
An apparatus for detecting an error in an image data stream, the apparatus comprising:
- an error determination unit which determines whether or not an error is present in an input image data stream;
- and
- an error detection unit which detects a starting position of an error if it is determined that the error is present,
- wherein the error detection unit comprises a pattern determination unit which determines a similarity between patterns of values of transform coefficients of different blocks having a predetermined size, which are generated in a course of decoding the input image data stream, when the error occurs, and
- wherein the patterns correspond to the different blocks of the input image data stream
- the predetermined size of blocks is a macroblock, and
- the pattern determination unit determines at least one of:
- a spatial similarity between patterns of transform coefficients of adjacent macroblocks and a current macroblock in a current image frame of the input image data stream, and
- a temporal similarity between patterns of transform coefficients of a current macroblock of the current image frame and a macroblock which corresponds to the current macroblock and belongs to a reference frame to which the current image frame refers.
A tangible computer readable recording medium having embodied thereon computer executable instructions for executing the error detection method comprising:
- determining whether an error is present in an input image data stream;
- determining a similarity between patterns of values of transform coefficients of different blocks having a predetermined size, the transform coefficients being generated in a course of decoding the input image data stream;
- and
- detecting a starting position of an error in the input image data stream based on the determined similarity,
- wherein the patterns correspond to the different blocks of the input image data stream,
- the predetermined size of blocks is a macroblock, and
- the determining the similarity between the patterns of transform coefficients comprises at least one of:
- determining a spatial similarity between patterns of transform coefficients of adjacent macroblocks and a current macroblock in a current image frame of the input image data stream;
- and
- determining a temporal similarity between patterns of transform coefficients of a current macroblock of the current image frame and a macroblock which corresponds to the current macroblock and belongs to a reference frame to which the current image frame refers.
An image data decoder having employed therein an error detection apparatus comprising:
- an error determination unit which determines whether or not an error is present in an input image data stream;
- and
- an error detection unit which detects a starting position of an error if it is determined that the error is present,
- wherein the error detection unit comprises a pattern determination unit which determines a similarity between patterns of values of transform coefficients of different blocks having a predetermined size, which are generated in a course of decoding the input image data stream, when the error occurs,
- wherein the patterns correspond to the different blocks of the input image data stream,
- the predetermined size of blocks is a macroblock, and
- the pattern determination unit determines at least one of:
- a spatial similarity between patterns of transform coefficients of adjacent macroblocks and a current macroblock in a current image frame of the input image data stream, and
- a temporal similarity between patterns of transform coefficients of a current macroblock of the current image frame and a macroblock which corresponds to the current macroblock and belongs to a reference frame to which the current image frame refers.
Dependencies are inferred from the claim text.