Image encoding/decoding method and device employing in-loop filtering
AssigneeIntellectual Discovery Co., Ltd.
InventorsSung Chang Lim, Jung Won Kang, Ha Hyun Lee, Dong San Jun, Hyun Suk Ko, Jin Ho Lee, Hui Yong Kim
Life of this patent
Estimating the term…
Abstract
The present invention relates to a video encoding/decoding method and apparatus. The video decoding method according to the present invention may comprise decoding filter information on a coding unit; classifying samples in the coding unit into classes on a per block classification unit basis; and filtering the coding unit having the samples classified into the classes on a per block classification unit basis by using the filter information.
Claims11
A method of decoding a video, the method comprising:
- decoding a flag, indicating whether ALF (Adaptive Loop Filter) is applied to a coding tree block or not;
- in response to the flag indicating that the ALF is applied to the coding tree block, classifying samples in the coding tree block into classes on a per block classification unit basis;
- and
- applying filtering to the samples in the coding tree block,
- wherein the block class indices are determined according to directionality information and activity information,
- wherein at least one of the directionality information and the activity information is determined on the basis of a gradient value with respect to at least one of a vertical direction, a horizontal direction, a first directional direction, and a second directional direction,
- wherein the gradient value is obtained using a one-dimensional Laplacian operation for the block classification unit,
- wherein the one-dimensional Laplacian operation is performed only for a specific sample position included in the block classification unit, and
- wherein a horizontal position and a vertical position of the specific sample are both even or both odd based on each block classification unit.
A method of encoding a video, the method comprising:
- classifying samples in a coding tree block into classes on a per block classification unit basis;
- applying filtering to the samples in the coding tree block;
- and
- encoding a flag, indicating whether ALF (Adaptive Loop Filter) is applied to the coding tree block or not,
- wherein the block class indices are determined according to directionality information and activity information,
- wherein at least one of the directionality information and the activity information is determined on the basis of a gradient value with respect to at least one of a vertical direction, a horizontal direction, a first directional direction, and a second directional direction,
- wherein the gradient value is obtained using a one-dimensional Laplacian operation for the block classification unit,
- wherein the one-dimensional Laplacian operation is performed only for a specific sample position included in the block classification unit, and
- wherein a horizontal position and a vertical position of the specific sample are both even or both odd based on each block classification unit.
A device for transmitting a bitstream, comprising:
- a processor to obtain the bitstream;
- and
- a transmitting unit to transmit the bitstream,
- wherein obtaining the bitstream comprises:
- classifying samples in a coding tree block into classes on a per block classification unit basis;
- applying filtering to the samples in the coding tree block;
- and
- encoding a flag, indicating whether ALF (Adaptive Loop Filter) is applied to the coding tree block or not,
- wherein the block class indices are determined according to directionality information and activity information,
- wherein at least one of the directionality information and the activity information is determined on the basis of a gradient value with respect to at least one of a vertical direction, a horizontal direction, a first directional direction, and a second directional direction,
- wherein the gradient value is obtained using a one-dimensional Laplacian operation for the block classification unit,
- wherein the one-dimensional Laplacian operation is performed only for a specific sample position included in the block classification unit, and
- wherein a horizontal position and a vertical position of the specific sample are both even or both odd based on each block classification unit.
Dependencies are inferred from the claim text.