摘要:
In one embodiment, the method includes obtaining a coded block pattern of first and second blocks. The coded block pattern may be one of a plurality of coded block patterns, the plurality of coded block patterns may include an intra-coded block, and the second block may be adjacent to the first block. Whether the first block and the second block have non-zero transform coefficient information is determined if the block type of the first block and the second block is not intra-coded block. A non-zero filter strength value is determined based on the obtained coded block pattern of the first and second block and the determination of whether the first block and second blocks have non-zero transform coefficient information, and the blocking phenomenon is removed according to the filter strength value.
摘要:
In one embodiment, the method includes obtaining a pixel value difference between two successive pixels. The two successive pixels are on a block boundary. The method further includes calculating the filtering coefficient based on the pixel value difference, and obtaining four successive filtered pixel values based on the filtering coefficient. The four successive pixels include the two successive pixels used in the obtaining a pixel value difference, and two of the four successive pixels are included in a first block and two of the four successive pixels are included in a second block.
摘要:
In one embodiment, the method includes obtaining quantization information of a first block including the pixel to be filtered, and obtaining a block type of the first block and a second block. The second block is adjacent to the first block. The quantization information is compared to a threshold value, and loop-filtering is performed on the pixel to be filtered by using at least three successive pixels if the quantization information is greater than the threshold value and the type of the first and second block is an intra-coded block type. The at least three successive pixels include the pixel to be filtered.
摘要:
In one embodiment, the method includes obtaining a block type of the second block and the third block. The second block is adjacent to the first block horizontally, and the third block is adjacent to the first block vertically. The method further includes determining whether the second and third blocks have non-zero transform coefficient information if the block type of the second and third blocks, respectively, are not an intra-coded block. A horizontal filter strength value and vertical filter strength values are determined based on the above steps. The blocking phenomenon in the first block is removed according to the horizontal filter strength value firstly, then vertical filter strength value secondly.
摘要:
In one embodiment, loop-filtering is performed on four successive pixels if obtained quantization information for a first block is greater than the threshold value and the type of the first block and a second block is intra-coded block type. Two pixels of the four successive pixels are in the first block and two pixels of the four successive pixels are in the second block, which is adjacent the first block. The method still further includes performing additional filtering on two successive pixels on the block boundary based on a comparison result of the quantization information and a second threshold value.
摘要:
In one embodiment, the method includes obtaining at least three horizontally successive reference pixel values including a pixel to be filtered, and applying first weight factors to at least each of the three horizontally successive reference pixel values. The first weight factors are different according to pixel position. A first filtered value is obtained by summing at least the three weighted horizontally successive pixel values. The method further includes obtaining at least three vertically successive reference pixel values including a pixel to be filtered, and applying second weight factors to at least each of the three vertically successive reference pixel values. The second weight factors are different according to pixel position. A second filtered value is obtained by summing at least the three weighted vertically successive pixel values.
摘要:
In one embodiment, the apparatus includes a decoder. The decoder is configured to obtain at least three horizontally successive reference pixel values including a pixel to be filtered, and apply first weight factors to at least each of the three horizontally successive reference pixel values. The first weight factors are different according to pixel position. A first filtered value is obtained by the decoder by summing at least the three weighted horizontally successive pixel values. The decoder is also configured to obtain at least three vertically successive reference pixel values including a pixel to be filtered, and apply second weight factors to at least each of the three vertically successive reference pixel values. The second weight factors are different according to pixel position. A second filtered value is obtained by the decoder by summing at least the three weighted vertically successive pixel values.
摘要:
In one embodiment, loop-filtering is performed by a decoder on four successive pixels if obtained quantization information for a first block is greater than the threshold value and the type of the first block and a second block is intra-coded block type. Two pixels of the four successive pixels are in the first block and two pixels of the four successive pixels are in the second block, which is adjacent the first block. The decoder is also configured to perform additional filtering on two successive pixels on the block boundary based on a comparison result of the quantization information and a second threshold value.
摘要:
The video encoder in accordance with the present invention divides input image signal into macro blocks, estimates motion vectors of each macro block and finally encodes the input image signal. The encoder determines the number of macro blocks adjacent to a current macro block. If the number of adjacent macro blocks is equal to or more than two, the encoder calculates a motion vector of the adjacent macro blocks and selects a macro block that has the largest motion vector. Then it defines a least search area that the current adaptive motion vector can have, and compares the least search area with the motion vector of the largest adjacent macro block, and finally determines the largest value as the search area of the adaptive motion vector. Next, the encoder compares the search area of the adaptive motion vector with the search area of the user-defined motion adaptive vector to thereby determine the least value as the search area of the final adaptive motion vector.
摘要:
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 according to a smoothing direction, and obtaining a smoothing value of the current image based on the obtained pixel value in the current block and the adjacent pixel value according to the smoothing direction. A pixel value around a boundary of the current block is smoothed based on the smoothing value.