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, comprising:
identifying adjacent regions in said image;
examining conditions of coding parameters for said adjacent regions;
determining boundary strength for at least one boundary between said adjacent regions; and
selectively filtering at least a portion of said regions proximate the at least one boundary between said adjacent regions based upon said conditions of coding parameters examined in said examining step, wherein
said conditions of coding parameters include whether at least one of said adjacent regions contains non-zero transform coefficients,
a strength of said selectively filtering is controlled by said boundary strength,
said boundary strength is set to a first predetermined fixed value when at least one of said adjacent regions contains non-zero transform coefficients, and
the boundary strength first predetermined fixed value is used to control a pixel value adaptation range in a loop filter to provide said step of selectively filtering.
2. The method of claim 1 , wherein
said boundary strength is set to a second predetermined fixed value when the examining conditions step finds that said adjacent regions do not contain non-zero transform coefficients and are predicted based upon different reference frames, and
the strength of said selectively filtering for said second predetermined fixed value is smaller than the strength of said selectively filtering for said first predetermined fixed value.
3. An encoder for encoding an image, comprising:
an identifier portion configured to identify adjacent regions in said image;
a condition examiner portion configured to examine conditions of coding parameters for said adjacent regions;
a determiner portion configured to determine boundary strength for at least one boundary between said adjacent regions; and
a selective loop filter configured with at least pixel value adaption range to selectively filter at least a portion of said regions proximate the at least one boundary between said adjacent regions based upon said conditions of coding parameters examined by said condition examiner portion, wherein
said conditions of coding parameters include whether at least one of said adjacent regions contains non-zero transform coefficients,
a strength of said loop filter filtering is controlled by said boundary strength,
said boundary strength is set to a first predetermined fixed value when at least one of said adjacent regions contains non-zero transform coefficients, and
the boundary strength first predetermined fixed value is used to control the pixel value adaptation range in the loop filter to control the strength of the loop filter filtering.
4. The encoder of claim 3 , wherein said boundary strength is set to a second predetermined fixed value when the condition examiner portion finds that said adjacent regions do not contain non-zero transform coefficients and are predicted based upon different reference frames, and
the strength of said loop filter filtering for said second predetermined fixed value is smaller than the strength of said loop filter filtering for said first predetermined fixed value.
5. A decoder for decoding an image, comprising:
an identifier portion configured to identify adjacent regions in said image;
a condition examiner portion configured to examine conditions of coding parameters for said adjacent regions;
a determiner portion configured to determine boundary strength for at least one boundary between said adjacent regions; and
a selective loop filter configured with at least pixel value adaption range to selectively filter at least a portion of said regions proximate the at least one boundary between said adjacent regions based upon said conditions of coding parameters examined by said condition examiner portion, wherein
said conditions of coding parameters include whether at least one of said adjacent regions contains non-zero transform coefficients,
a strength of said loop filter filtering is controlled by said boundary strength,
said boundary strength is set to a first predetermined fixed value when at least one of said adjacent regions contains non-zero transform coefficients, and
the boundary strength first predetermined fixed value is used to control the pixel value adaptation range in the loop filter to control the strength of the loop filter filtering.
6. The decoder of claim 5 , wherein said boundary strength is set to a second predetermined fixed value when the condition examiner portion finds that said adjacent regions do not contain non-zero transform coefficients and are predicted based upon different reference frames, and
the strength of said loop filter filtering for said second predetermined fixed value is smaller than the strength of said loop filter filtering for said first predetermined fixed value.