Adaptive filtering based upon boundary strength
View Patent ↗Adjacent regions are identified in an image. Coding parameters for the adjacent regions are identified. Selective filtering is performed at the region between the identified adjacent regions.
1. A method for at least one of encoding and decoding an image, the image including a plurality of frames with each frame including a plurality of blocks, each having a plurality of pixels, the method comprising:
identifying adjacent blocks of a frame of said image;
examining conditions of coding parameters for said adjacent blocks of said frame;
determining boundary strengths for a boundary between said adjacent blocks of said frame; and
selectively filtering at least a portion of said image proximate a boundary between said adjacent blocks of said frame based upon said conditions of coding parameters, wherein
said conditions of coding parameters include whether said adjacent blocks of said frame have an absolute difference of motion vector components which is less than a threshold value in both vertical direction and horizontal direction,
a strength of said selectively filtering is controlled by said boundary strength for said adjacent blocks of said frame,
said boundary strength is a first value when said adjacent blocks of said frame have an absolute difference of motion vector components which is greater than or equal to a threshold value in either the vertical direction or the horizontal direction, and
the boundary strength value is used to control a pixel value adaptation range in a loop filter.
2. The method of claim 1 , wherein
said boundary strength is a second value when said adjacent blocks of said frame are predicted from same reference frame and have an absolute difference of motion vector components which is less than the threshold value, and
the strength of said selectively filtering for said second value is smaller than the strength of said selectively filtering for said first value.
3. An encoder for encoding an image, the image including a plurality of frames with each frame including a plurality of blocks, each having a plurality of pixels, the encoder comprising:
an identifier portion configured to identify adjacent blocks of a frame of said image;
a condition examiner portion configured to examine conditions of coding parameters for said adjacent blocks of said frame;
a determiner portion configured to determine boundary strengths for a boundary between said adjacent blocks of said frame; and
a selective filter selectively filtering at least a portion of said image proximate a boundary between said adjacent blocks of said frame based upon said conditions of coding parameters, wherein
said conditions of coding parameters include whether said adjacent blocks of said frame have an absolute difference of motion vector components which is less than a threshold value in both vertical direction and horizontal direction,
a strength of said selectively filtering is controlled by said boundary strength for said adjacent blocks of said frame,
said boundary strength is a first value when said adjacent blocks of said frame have an absolute difference of motion vector components which is greater than or equal to a threshold value in either the vertical direction or the horizontal direction, and
the boundary strength value is used to control a pixel value adaptation range in a loop filter.
4. The encoder of claim 3 , wherein
said boundary strength is a second value when said adjacent blocks of said frame are predicted from same reference frame and have an absolute difference of motion vector components which is less than the threshold value, and
the strength of said selectively filtering for said second value is smaller than the strength of said selectively filtering for said first value.
5. A decoder for decoding an image, the image including a plurality of frames with each frame including a plurality of blocks, each having a plurality of pixels, the decoder, comprising:
an identifier portion configured to identify adjacent blocks of a frame of said image;
a condition examiner portion configured to examine conditions of coding parameters for said adjacent blocks of said frame;
a determiner portion configured to determine boundary strengths for a boundary between said adjacent blocks of said frame; and
a selective filter selectively filtering at least a portion of said image proximate a boundary between said adjacent blocks of said frame based upon said conditions of coding parameters, wherein
said conditions of coding parameters include whether said adjacent blocks of said frame have an absolute difference of motion vector components which is less than a threshold value in both vertical direction and horizontal direction,
a strength of selectively filtering by the filter is controlled by said boundary strength for said adjacent blocks of said frame,
said boundary strength is a first value when said adjacent blocks of said frame have an absolute difference of motion vector components which is greater than or equal to a threshold value in either the vertical direction or the horizontal direction, and
the boundary strength value is used to control a pixel value adaptation range in a loop filter.
6. The decoder of claim 5 , wherein
said boundary strength is a second value when said adjacent blocks of said frame are predicted from same reference frame and have an absolute difference of motion vector components which is less than the threshold value, and
the strength of said selectively filtering for said second value is smaller than the strength of said selectively filtering for said first value.