IP Library › Granted Patent US 12,231,646
Granted Patent B2
US 12,231,646 · App. 17/880,840 · Granted Feb 18, 2025

Apparatus and method for applying artificial intelligence-based filtering to image

Inventors: Yinji Piao (Suwon-si, KR); Kyungah Kim (Suwon-si, KR); Quockhanh Dinh (Suwon-si, KR); Minsoo Park (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
H04N19/132H04N19/105H04N19/176H04N19/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,231,646
App. No.
17/880,840
Granted
Feb 18, 2025
Kind
B2
Abstract

An image processing apparatus including a memory storing instructions, and a processor configured to operate based on the instructions to reconstruct a current block from encoded data of the current block, obtain a quantization error map including sample values calculated based on a quantization parameter included in the encoded data, obtain a first modified block by applying the current block and the quantization error map to a neural network, obtain a first differential block between the current block and the first modified block, obtain a second differential block by changing sample values of the first differential block based on a parameter dependent on a feature of the current block, and obtain a second modified block by combining the current block and the second differential block.

Claims (57)

1. An image processing apparatus comprising:

a memory storing one or more instructions; and

a processor configured to operate based on the one or more instructions to:

reconstruct a current block from encoded data of the current block;

obtain a quantization error map comprising sample values calculated based on a quantization parameter;

calculate an extension distance based on at least one among a number of convolutional layers in a neural network and a size of a filter kernel used by the convolutional layers;

obtain a first modified block by applying, to the neural network, an extended block and the quantization error map, wherein the extended block comprises samples of the current block and neighboring samples corresponding to the extension distance from among neighboring samples outside a boundary of the current block in a current image; and

obtain a second modified block from the first modified block based on a parameter dependent on a feature of the current block.

2. The image processing apparatus of claim 1 , wherein the processor is further configured to:

obtain a first differential block between the current block and the first modified block;

obtain a second differential block by changing sample values of the first differential block, the changing of the sample values being based on the parameter dependent on the feature of the current block; and

obtain the second modified block by combining the current block and the second differential block.

3. The image processing apparatus of claim 1 , wherein the sample values of the quantization error map correspond to a quantization step size or a quantization error value calculated based on the quantization parameter.

4. The image processing apparatus of claim 1 , wherein, when quantization parameters for lower blocks of the current block are included in the encoded data, the sample values of the quantization error map are calculated for each of the lower blocks.

5. The image processing apparatus of claim 2 , wherein the processor is further configured to:

select a parameter indicated by first information obtained from the encoded data, from among a plurality of candidate parameters; and

obtain the second differential block by changing the sample values of the first differential block based on the selected parameter.

6. The image processing apparatus of claim 5 , wherein the processor is further configured to:

select a parameter set indicated by second information obtained from the encoded data, from among a plurality of parameter sets; and

select the parameter indicated by the first information, from among the plurality of candidate parameters in the selected parameter set.

7. The image processing apparatus of claim 6 , wherein the second information is obtained for an upper block comprising the current block, and

wherein the first information is obtained for the current block.

8. The image processing apparatus of claim 1 , wherein the processor is further configured to obtain a feature value of the current block or an upper block of the current block to determine the parameter.

9. The image processing apparatus of claim 8 , wherein the feature value is obtained based on at least one of i) a sum of squares of residual sample values obtained to reconstruct the current block or the upper block, ii) an average of the squares of the residual sample values, iii) a maximum value from among the residual sample values, iv) a maximum value from among absolute values of the residual sample values, v) a number of non-zero (0) transformation coefficients from among transformation coefficients corresponding to residual samples, vi) a value indicating a type of a slice corresponding to the current block, vii) a ratio between an area of a block to which intra prediction is applied and an area of a block to which inter prediction is applied, in the current block or the upper block, viii) a sharpness of the current block or the upper block, ix) an average of one or more quantization step sizes calculated based on one or more quantization parameters set for the current block or the upper block, or x) an average of one or more quantization error values calculated from the one or more quantization parameters.

10. The image processing apparatus of claim 2 , wherein the parameter comprises a scale factor, and

wherein the processor is further configured to obtain the second differential block by scaling the sample values of the first differential block, the scaling being based on the scale factor.

11. The image processing apparatus of claim 2 , wherein the parameter comprises a clipping factor, and

wherein the processor is further configured to obtain the second differential block by clipping the sample values of the first differential block based on an upper limit and a lower limit corresponding to the clipping factor.

12. The image processing apparatus of claim 1 , wherein the processor is further configured to:

obtain a feature value of the current block or an upper block of the current block; and

select a weight set corresponding to the feature value from among a plurality of weight sets, and

wherein the extended block and the quantization error map are processed by a neural network operating based on the selected weight set.

13. The image processing apparatus of claim 1 , wherein the processor is further configured to:

obtain a feature value of the current block or an upper block of the current block; and

determine whether to apply an AI-based filtering to the current block, based on the obtained feature value.

14. The image processing apparatus of claim 1 , the neural network comprises:

at least one convolutional layer configured to output a first differential block by performing convolution on the extended block and the quantization error map, the performing of the convolution being based on a preset weight; and

a summation layer configured to output the first modified block by adding the first differential block and the current block.

15. The image processing apparatus of claim 14 , wherein, when the boundary of the current block corresponds to a boundary of the current image, the neighboring samples corresponding to the extension distance are determined from available closest samples.

16. The image processing apparatus of claim 1 , wherein the neural network is trained based on loss information corresponding to a difference between an original block for training, and a first modified block for training, which is obtained through the neural network, and

wherein the first modified block for training is obtained by applying, to the neural network, a current block for training, which is obtained by encoding and decoding the original block for training, and a quantization error map for training, which corresponds to the current block for training.

17. An image processing method comprising:

reconstructing a current block from encoded data of the current block;

obtaining a quantization error map comprising sample values calculated based on a quantization parameter;

calculating an extension distance based on at least one among a number of convolutional layers in a neural network and a size of a filter kernel used by the convolutional layers;

obtaining a first modified block by applying, to the neural network, an extended block and the quantization error map, wherein the extended block comprises samples of the current block and neighboring samples corresponding to the extension distance from among neighboring samples outside a boundary of the current block in a current image and

obtaining a second modified block from the first modified block based on a parameter dependent on a feature of the current block.

18. A non-transitory computer-readable recording medium having recorded thereon a program for executing the method of claim 17 on a computer.

19. An image processing apparatus comprising:

a memory storing one or more instructions; and

a processor configured to operate based on the one or more instructions to:

reconstruct a current block from encoded data of the current block;

obtain a quantization error map comprising sample values calculated based on a quantization parameter;

calculate an extension distance based on at least one among a number of convolutional layers in a neural network and a size of a filter kernel used by the convolutional layers;

obtain a first differential block by applying, to the neural network, an extended block and the quantization error map, wherein the extended block comprises samples of the current block and neighboring samples corresponding to the extension distance from among neighboring samples outside a boundary of the current block in a current image;

obtain a second differential block by changing sample values of the first differential block, the changing of the sample values being based on a parameter dependent on a feature of the current block; and

obtain a modified block by combining the current block and the second differential block.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 4, 2022
From: PIAO, YINJI; KIM, KYUNGAH; DINH, QUOCKHANH; PARK, MINSOO
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 060722/0093 →
Priority Claims (2)
KR 10-2021-0104202 · Aug 6, 2021 · national
KR 10-2022-0028221 · Mar 4, 2022 · national
Continuity (2)
Continuation PCTKR2022011429 · Aug 2, 2022
Related Publication 20230044603A1 · Feb 9, 2023
References Cited (39)
US 10999606B2 · Mn et al. · 2021 [cited by applicant]
US 20190258932A1 · Kang · 2019 [cited by examiner]
US 20190273948A1 · Yin · 2019 [cited by examiner]
US 20190394460A1 · Lee · 2019 [cited by examiner]
US 20200120340A1 · Park · 2020 [cited by examiner]
US 20200134833A1 · Biswas · 2020 [cited by examiner]
US 20200145662A1 · Park et al. · 2020 [cited by applicant]
US 20200213587A1 · Galpin et al. · 2020 [cited by applicant]
US 20200218543A1 · Jung · 2020 [cited by examiner]
US 20200311870A1 · Jung et al. · 2020 [cited by applicant]
US 20200382794A1 · Katayama · 2020 [cited by examiner]
US 20210012537A1 · Xu et al. · 2021 [cited by applicant]
US 20210149383A1 · Yilmaz · 2021 [cited by examiner]
US 20210158511A1 · Guo · 2021 [cited by examiner]
US 20210158512A1 · Sun · 2021 [cited by examiner]
US 20210159912A1 · Wang et al. · 2021 [cited by applicant]
US 20210241421A1 · Pan · 2021 [cited by examiner]
US 20210295589A1 · Zhdan · 2021 [cited by examiner]
US 20210334626A1 · Hang · 2021 [cited by examiner]
US 20220026920A1 · Ebrahimi Afrouzi · 2022 [cited by examiner]
US 20220030231A1 · Hu · 2022 [cited by examiner]
US 20220078418A1 · Huang et al. · 2022 [cited by applicant]
US 20220109890A1 · Li · 2022 [cited by examiner]
US 20220224931A1 · Yang et al. · 2022 [cited by applicant]
JP 202028067A · 2020 [cited by applicant]
KR 1020200016885A · 2020 [cited by applicant]
KR 1020200114436A · 2020 [cited by applicant]
KR 102272660B1 · 2021 [cited by applicant]
WO 2017036370A1 · 2017 [cited by applicant]
WO 2019135601A1 · 2019 [cited by applicant]
WO WO2020151714A1 · 2020 [cited by examiner]
H. Wang et al., “JVET-V0114 EE1-1.3: Test on Neural Network-based In-Loop Filter with No Deblocking Filtering Stage”, Qualcomm, 2021, 7 pages total. [cited by applicant]
H. Wang et al., “JVET-V0115 EE1-1.4: Test on Neural Network-based In-Loop Filter with Large Activation Layer”, Qualcomm, 2021, 7 pages total. [cited by applicant]
Zhao Wang et al., “V0074: AHG11: Separate density attention network for loop filtering”, 2021, 6 pages total. [cited by applicant]
Byeongdoo Choi et al., “JVET-V0090 AHG11: Neural network based temporal processing”, Tencent Media Lab, 2021, 9 pages total. [cited by applicant]
Yue Li et al., “JVET-V0100 AHG11: Deep In-Loop Filter With Adaptive Model Selection”, ByteDance, 2021, 9 pages total. [cited by applicant]
Yue Li et al., “JVET-V0101 AHG11: Conditional In-Loop Filter With Parameter Selection”, ByteDance, 2021, 9 pages total. [cited by applicant]
Yat-Hong Lam et al., “AHG11: JVET-V0075 Content-adaptive neural network post-processing filter”, Nokia, 2021, 12 pages total. [cited by applicant]
International Search Report (PCT/ISA/210) and Written Opinion (PCT/ISA/237) dated Oct. 28, 2022 issued by the International Searching Authority in International Application No. PCT/KR2022/011429. [cited by applicant]