Image filtering method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsJicheng An, Jianhua Zheng
Life of this patent
Estimating the term…
Abstract
An image filtering method and apparatus are disclosed. The method includes: obtaining a first index of the luma blocks, wherein the first index represents a filter type applicable to the luma blocks; obtaining a second index of the first chroma blocks, wherein the second index represents a filter type applicable to the first chroma blocks; filtering the luma blocks by applying a first filter in a filter set, the first filter corresponding to the first index; and filtering the first chroma blocks by applying a second filter in the filter set, the second filer corresponding to the second index.
Claims15
An image filtering method, wherein a to-be-processed image comprises a plurality of luma blocks and a plurality of first chroma blocks, and the method comprises:
- obtaining a first class index value of each of the luma blocks, wherein the first class index value represents a category to which the each of the luma blocks belongs in a first class;
- obtaining a second class index value of each of the first chroma blocks, wherein the second class index value represents a category to which the each of the first chroma blocks belongs in a second class;
- filtering a first set of luma blocks and first chroma blocks by applying a first adaptive loop filter (ALF) in a filter set, wherein a first class index value of each luma block of the first set and a second class index value of each first chroma block of the first set have a same class index value which corresponds to a first filter index value, and the first filter index value is corresponding to the first ALF in the filter set;
- and
- filtering a second set of luma blocks and first chroma blocks by applying a second ALF in the filter set, wherein a first class index value of each luma block of the second set and a second class index value of each first chroma block of the second set have a same class index value which corresponds to a second filter index value, and the second filter index value is corresponding to the second ALF in the filter set.
An image filtering apparatus, wherein a to-be-processed image comprises a plurality of luma blocks and a plurality of first chroma blocks and the apparatus comprises:
- a memory storage comprising instructions;
- and
- one or more processors in communication with the memory storage, wherein the one or more processors execute instructions to:
- obtain a first class index value of each of the luma blocks, wherein the first class index value represents a category to which the each of the luma blocks belongs in a first class;
- obtain a second class index value of each of the first chroma blocks, wherein the second class index value represents a category to which the each of the first chroma blocks belongs in a second class;
- filter a first set of luma blocks and first chroma blocks by applying a first adaptive loop filter (ALF) in a filter set, wherein a first class index value of each luma block of the first set and a second class index value of each first chroma block of the first set have a same class index value which corresponds to a first filter index value, and the first filter index value is corresponding to the first ALF in the filter set;
- and
- filter a second set of luma blocks and first chroma blocks by applying a second ALF in the filter set, wherein a first class index value of each luma block of the second set and a second class index value of each first chroma block of the second set have a same class index value which corresponds to a second filter index value, and the second filter index value is corresponding to the second ALF in the filter set.
Dependencies are inferred from the claim text.