Methods and tools for internal prediction using linear modeling.
Patent Information
- Application Number
- TH2101004976
- Authority / Receiving Office
- TH · TH
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-02-22
- Filing Date
- 2020-02-24
- Publication Date
- 2026-11-09
Abstract
Claims
DEPCT65 18 / 11 / 2564 1. Method for performing internal prediction using a linear model, which includes: determining a set of downsampling filters based on saturation format information, where the saturation format information indicates the saturation format of the image of which the current block is a part; acquiring the downsampled brightness sample of the newly generated brightness sample in the brightness block of the current block and the downsampled reference brightness sample of the selected reference brightness sample of the brightness block using each downsampling filter from among the set of downsampling filters; determining one or more linear model coefficients based on the downsampled brightness reference sample and the saturation reference sample corresponding to the downsampled brightness reference sample; and acquiring the predicted saturation block corresponding to the brightness block based on the linear model coefficients and the downsampled brightness sample of the sample.
1. The newly constructed brightness in the brightness block.
2. The method as specified in Claim 1, where the decision determines a set of downsampling filters based on saturation format information, consists of: the decision determining the subsampling ratio information in the horizontal and vertical directions based on saturation format information; and the decision determining a set of downsampling filters based on subsampling ratio information.
3. The method as specified in Claim 1, where for a saturation format of 4:2:0, the first downsampling filter is used for the brightness block of the current block; for a saturation format of 4:2:2, the second downsampling filter is used for the brightness block of the current block; or for a saturation format of 4:4:4, the third downsampling filter is used for the brightness block of the current block.
4. Any one of the methods in Claim 1 through 3, where when the subsampled saturation sample...This involves simultaneous positioning with the corresponding brightness sample within the current block, downsampling the brightness sample of the newly generated brightness sample in the current block's brightness block, and downsampling the reference brightness sample of the selected brightness sample of the brightness block using each downsampling filter from among the set of downsampling filters, which includes: downsampling the brightness sample of the newly generated brightness sample in the brightness block by applying the first downsampling filter to the first set of newly generated brightness samples, where the first set of newly generated brightness samples includes: a newly generated brightness sample positioned horizontally and / or vertically adjacent to the position of the newly generated brightness sample; and downsampling the reference brightness sample of the reference brightness sample.At least one sample is selected by applying the first downsampling filter to a second set of newly generated saturation samples, where the second set of newly generated saturation samples consists of: newly generated saturation samples positioned horizontally and / or vertically adjacent to the position of the selected reference saturation sample; where the first downsampling filter is selected from a set of 5 downsampling filters.
5. Methods according to claims 1 through 3, where when the subsampled saturation sample is not semi-co-positioned with the corresponding saturation sample within the current block, the downsampling saturation sample of the newly generated saturation sample in the current block's saturation block and the downsampling reference saturation sample of the selected reference saturation sample of the saturation block using each downsampling filter from among the set of downsampling filters consists of:The acquisition of downsampled saturation samples of the newly generated saturation samples in the saturation block is performed by applying a second downsampling filter to a third set of newly generated saturation samples, where the third set of newly generated saturation samples consists of: newly generated saturation samples horizontally and / or vertically adjacent to the positions of the newly generated saturation samples; and the acquisition of downsampled reference saturation samples of at least one selected reference saturation sample is performed by applying a second downsampling filter to a fourth set of newly generated saturation samples, where the fourth set of newly generated saturation samples consists of: newly generated saturation samples horizontally and / or vertically adjacent to the positions of the selected reference saturation samples; where the second downsampling filter is selected from a set of six downsampling filters as described in claim 4, where the downsampled saturation samples are semi-common.The position of the corresponding saturation sample within the current block occurs when the sample type of the subsampled saturation sample contains one of the following samples: Saturation Sample-Type 2 or Saturation Sample-Type 4.
7. The method specified in Claim 5, where the subsampled saturation sample does not semi-share a position with the corresponding saturation sample within the current block, occurs when the sample type of the subsampled saturation sample contains one of the following samples: - Saturation Sample-Type 0, - Saturation Sample-Type 1, - Saturation Sample-Type 3, or - Saturation Sample-Type 5.
8. The method according to one of Claim 1 through 7, where the set of downsampling filters contains: - A bypass filter if at least one condition is satisfied, which includes the saturation format being 4:4:4; or - The set of downsampling filters contains: - A set of filters {F2, F3, F5, F6}.If at least one of the following conditions is met, which include the saturation format being 4:2:0 saturation format, where F3 [0] = 1, F3 [1] = 2, F3 [2] = 1, F5 [i] [i] = F6 [i] [i] = 0, with i = 0… 2, j = 0..2, F5 [0] [1] = 1, F5 [1] [1] = 4, F5 [2] [1] = 1, F5 [1] [0] = 1, F5 [1] [2] = 1, F6 [0] [1] = 1, F6 [1] [1] = 2, F6 [2] [1] = 1, F6 [0] [2] = 1, F6 [1] [2] = 2, F6 [2] [2] = 1, F2 [0] = 1, F2 [1] = 1; Or, a set of downsampling filters would consist of: a set of filters {F2, F3, F5, F6} if at least one condition is met, which includes the saturation format being... Saturation format 4:2:2 where F3 [0] = 1, F3 [1] = 2, F3 [2] = 1 F5 [i] [i] = F6 [i] [i] = with i = 0..2, j = 0..2 F5 [0] [1] = 0, F5 [1] [1] = 8, F5 [2] [1] = 0, F5 [1] [0] = 0, F5 [1] [2] = 0 F6 [0] [1] = 2, F6 [1] [1] = 4, F6 [2] [1] = 2, F6 [0] [2] = 0, F6 [1] [2] = 0, F6 [2] [2] = 0, F2 [0] = 2, F2 [1] = 0 9. Method according to any one of the claims 2 to 7 where the sampling ratio informationThe sub-sections in the horizontal and vertical directions are represented by the variables SubWidthC and SubHeightC, respectively; And the set of downsampling filters shall be composed of: the set of filters {F2, F3, F5, F6} if at least one condition is satisfied which includes SubWidthC==2 and SubHeightC==2, where F3[0] = 1, F3[1] = 2,F3[2] = 1, F5[i][j] = 0, F6[i][j] = 0, with i = 0..2, j = 0..2, F5[0][1] = 1, F5[1][1] = 4, F5[2][1] = 1, F5[1][0] = 1, F5[1][2] = 1, F6[0][1] = 1, F6[1][1] = 2, F6[2][1] = 1, F6[0][2] = 1, F6[1][2] = 2, F6[2][2] = 1 1, F2 [0] = 1, F2 [1] = 1 The set of downsampling is composed of: the set of filters {F2, F3, F5, F6} if at least one of the following conditions is satisfied, including that SubWidthC==2 and SubHeightC==1, where F3 [0] = 1, F3 [1] = 2, F3 [2] = 1 F5 [i] [i] = F6 [i] [i] = 0 with i = 0...2, j = 0..2 F5 [0] [1] = 0, F5 [1] [1] = 8, F5 [2] [1] = 0, F5 [1] [0] = 0, F5 [1] [2] = 0 F6 [0] [1] = 2, F6 [1][1] = 4, F6 [2][1] = 2, F6 [0] [2] = 0, F6 [1] [2] = 0, F6 [2] [2] = 0, F2 [0] = 2, F2[1] = 0 10. Any of the methods under claims 1 through 9, where the selected luminance reference sample consists of at least one of the following: an adjacent luminance sample located above the luminance block and selected based on L available saturation reference samples; or an adjacent luminance sample located to the left of the luminance block and selected based on L available saturation reference samples.
11. The method specified in claim 10, where the position of the available saturation reference samples is specifically specified as follows: S [W ' / 4, -1], S [3W ' / 4, -1], S [-1, H ' / 4], S [-1, 3H ' / 4] when LM mode is applied and both left and above adjacent samples are available; S [W ' / 8,-1], S [3W ' / 8,-1], S [5W ' / 8,-1], S [7W ' / 8,-1] when LM-A mode is applied or only the above adjacent sample is available; or S [-1, H ' / 8], S [-1,3H ' / 8], S [-1, 5H ' / 8], S [-1,7H ' / 8] when LM-L mode is applied or only the left adjacent sample is available; where the saturation block size is WxH.W' and H' are defined as follows: W'=W,H'=H when the LM mode is applied; W'=W+H when the LM-A mode is applied; H'=H+W when the LM-L mode is applied.
12. Any method based on claims 1 through 11, where the determination of one or more linear model coefficients based on the downsampled luminance reference sample of the selected luminance reference sample and the saturation reference sample corresponding to the downsampled luminance reference sample, shall consist of: the determination of maximum and minimum luminance values based on the downsampled luminance reference sample; the first saturation acception, at least in part, based on one or more positions of one or more downsampled luminance reference samples associated with the maximum luminance; the second saturation acception, at least in part, based on one or more positions of one or more downsampled luminance reference samples associated with the minimum luminance;The calculation of one or more linear model coefficients based on the first saturation value, second saturation value, maximum brightness value, and minimum brightness value.
13. The internal prediction engine using a linear model consists of: a determination unit configured to determine a set of downsampling filters based on saturation format information, where the saturation format information indicates the saturation format of the image of which the current block is a part; a filter unit configured to take downsampling brightness samples of the newly generated brightness samples in the current block's brightness block and downsampling reference brightness samples of the selected reference brightness samples of the brightness block using each downsampling filter from among the set of downsampling filters; and a linear modeling unit configured to determine one or more linear model coefficients based on the downsampling reference brightness samples and samples.A saturation reference unit corresponding to a downsampled brightness reference sample; and a prediction processor configured to take the predicted saturation block corresponding to the brightness block based on the linear model coefficients and the downsampled brightness sample of the newly generated brightness sample in the brightness block 14. The set of machines specified in claim 13, where the determination unit is configured to: determine the subsampling ratio information in the horizontal and vertical directions based on the saturation format information; and determine the set of downsampling filters based on the subsampling ratio information 15. The set of machines specified in claim 13, where for a saturation format of 4:2:0, the first downsampling filter is used for the brightness block of the current block; for a saturation format of 4:2:2, the second downsampling filter is used for the brightness block of the current block; or For saturation formats, the saturation ratio is 4:4:4.A third downsampling filter will be applied to the current block's luminance.
16. The filter unit, based on claims 13 through 15, whereby when the subsampled saturation sample is semi-common with the corresponding luminance sample within the current block, is configured to: take the downsampled luminance sample of the regenerated luminance sample in the luminance block by applying the first downsampling filter to the first regenerated luminance sample, where the first regenerated luminance sample comprises: the regenerated luminance sample positioned horizontally and / or vertically adjacent to the position of the regenerated luminance sample; and take the downsampled reference luminance sample of at least one selected reference luminance sample by applying the first downsampling filter to the second regenerated luminance sample, where the second regenerated luminance sample comprises:The newly generated saturation sample is positioned horizontally and / or vertically adjacent to the position of the selected reference saturation sample; where the first downsampling filter is selected from a set of 17 downsampling filters, one of the claims 13 through 15, where when the sub-sampled saturation sample is not semi-commonly positioned with the corresponding saturation sample within the current block, the filter unit is configured to: receive the downsampled saturation sample of the newly generated saturation sample in the saturation block by applying the second downsampling filter to the third set of newly generated saturation samples, where the third set of newly generated saturation samples consists of: the newly generated saturation sample positioned horizontally and / or vertically adjacent to the position of the newly generated saturation sample; and receive the downsampled reference saturation sample of the reference saturation sample.At least one sample is selected by applying a second downsampling filter to the newly generated saturation sample set, where the fourth newly generated saturation sample set is comprised of: a newly generated saturation sample positioned horizontally and / or vertically adjacent to the position of the selected reference saturation sample; where the second downsampling filter is selected from a set of 18 downsampling filters. The set specified in claim 16, where the subsampled saturation sample is semi-coordinated with the corresponding saturation sample within the current block, occurs when the saturation sample type of the subsampled saturation sample is comprised of one of the following samples: - a type 2 saturation sample or - a type 4 saturation sample. The set specified in claim 17, where the subsampled saturation sample is not semi-coordinated with the corresponding saturation sample within the current block, occurs when...The saturation sample type in the saturated subsample consists of one of the following: - Saturation sample type 0, - Saturation sample type 1, - Saturation sample type 3, or - Saturation sample type 5.
20. The set of instruments according to claims 13 through 19, whereby the decision unit determines, shall be configured to determine a set of downsampling filters, whereby the set of downsampling filters shall consist of: an avoidance filter if at least one condition is met, which includes the saturation format being 4:4:4; or the set of downsampling filters shall consist of: a set of filters {F2, F3, F5, F6} if at least one condition is met, which includes the saturation format being Saturation format 4:2:0 where F3 [0] = 1, F3 [1] = 2, F3 [2] = 1 F5 [i] [i] = F6 [i] [i] = 0 with i = 0..2, j = 0..2 F5 [0] [1] = 1, F5 [1] [1] = 4, F5 [2] [1] = 1, F5 [1] [0] = 1, F5 [1] [2] - 1 F6 [0] [1] = 1, F6 [1] [1] = 2, F6 [2] [1] = 1, F6 [0] [2] = 1, F6 [1] [2] = 2, F6 [2] [2] =1, F2 [0] = 1, F2 [1] = 1; or the set of downsampling filters shall consist of: the set of filters {F2, F3, F5, F6} if at least one of the following conditions is met, which includes the saturation format being 1; Saturation format 4:2:2 where F3 [0] = 1, F3 [1] = 2, F3 [2] = 1 F5 [i] [i] = F6 [i] [j] = 0 with i = 0-2, j = 0..2 F5 [0] [1] = 0, F5 [1] [1] = 8, F5 [2] [I] = 0, F5 [1] [0] = 0, F5 [1] [2] = 0 F6 [0] [1] = 2, F6 [1] [1] = 4, F6 [2] [1] = 2, F6 [0] [2] = 0, F6 [1] [2] = 0, F6 [2] [2] = 0, F2 [0] = 2, F2 [1] = 0 21. Any set of instruments according to claims 14 to 19. Where the information of the subsampling ratios in the horizontal and vertical directions is represented by the variables SubWidthC and SubHeightC, respectively; and the decision unit is configured to determine a set of downsampling filters, where the set of downsampling filters consists of: a set of filters {F2, F3, F5, F6} if at least one condition is satisfied including that SubWidthC==2 and SubHeightC=2, where F3[0] = 1, F3[1] = 2, F3[2] = 1, F5[i][j] = 1.F6 [i] [j] = 0 with i = 0..2, j = 0..2 F5 [0] [1] = 1, F5 [1] [1] = 4, F5 [2] [1] = 1, F5 [1] [0] = 1, F5 [1] [2] = 1 F6 [0] [1] = 1, F6 [1] [1] = 2, F6 [2] [1] = 1, F6 [0] [2] = 1, F6 [1] [2] = 2, F6 [2] [2] = 1, F2 [0] = 1, F2 [1] = 1 The set of downsampling filters will consist of: The set of filters {F2,F3,F5,F6} If at least one of the following conditions is satisfied, including SubWidthC==2 and SubHeightC==1, where F3 [0] = 1, F3 [1] = 2, F3 [2] = 1, F5 [i] [j] = F6 [i] [j] = 0, with i = 0..2, j = 0..2, F5 [0] [1] = 0, F5 [1] [1] = 8, F5 [2] [1] = 0, F5 [1] [0] = 0, F5 [1] [2] = 0, F6 [0] [1] = 2, F6 [1] [1] = 4, F6 [2] [1] = 2, F6 [0] [2] = 0, F6 [1] [2] = 0, F6 [2] [2] = 0, F2 [0] = 2, F2 [1] = 0 22. Any set of instruments under claims 13 through 21 where the selected saturation reference sample includes at least one of the following: a neighboring saturation sample located above the saturation block and selected based on L available saturation reference samples; orThe adjacent saturation samples are located to the left of the saturation block and are selected based on the available saturation reference samples L 23. The set of instruments is specified in Claim 22, where the position of the available saturation reference samples is specified as follows: S [W ' / 4, -1], S [3W ' / 4, -1], S [-1, H ' / 4], S [-1, 3H ' / 4] when LM mode is applied and both the left and top adjacent saturation samples are available; S [W ' / 8, -1], S [3W ' / 8, -1], S [5W ' / 8, -1], S [7W ' / 8, -1] when LM-A mode is applied or only the top adjacent saturation sample is available; or S [-1, H ' / 8], S [-1, 3H ' / 8], S [-1, 5H ' / 8], S [-1,7H ' / 8] when LM-L mode is applied, or only the left adjacent saturation sample is available; where the saturation block size is WxH and W' and H' are defined as follows: W'=W, H ' =H when LM mode is applied; W'=W+H when LM-A mode is applied; H'=H+W when LM-L mode is applied.
24. Any set of instruments under claims 13 through 23.The linear modeling unit is configured to determine the maximum and minimum luminance values based on one or more downsampled luminance reference samples; takes the first saturation value in at least some part depending on one or more positions of one or more downsampled luminance reference samples associated with the maximum luminance; takes the second saturation value in at least some part depending on one or more positions of one or more downsampled luminance reference samples associated with the minimum luminance; and calculates one or more linear modeling coefficients based on the first saturation, second saturation, maximum luminance, and minimum luminance.
25. The encoder (20) incorporates a processing circuit to perform any of the methods under claims 1 through 12.
26. The decoder (30) incorporates a processing circuit to perform any of the methods under claims 1 through 12. 27.
28. A non-temporary computer-readable medium containing program code which, when executed by a computer device, causes the computer device to execute one of the methods described in Cases 1 through 12.
29. A decoder consisting of: one or more processors; and a non-temporary computer-readable storage medium connected to the non-temporary processor and containing the program to be executed by the processor, such that when the program is executed by the processor, the decoder is configured to execute one of the methods described in Cases 1 through 12.
30. An encoder consisting of: one or more processors; and a non-temporary computer-readable storage medium connected to the non-temporary processor and containing the program to be executed by the processor, such that when the program is executed by the processor, the encoder is configured to execute one of the methods described in Cases 1 through 12.One of the following ----------------------------------------------------------- DEPCT65 1. The internal prediction method using a linear model comprises: defining a set of sampling filters based on the chroma format data, where the chroma format data specifies the chroma format of the image belonging to the current block; obtaining a reduced luma sample from the newly generated luma sample in the current block's luma block; and obtaining a reduced luma sample from the selected luma reference sample of the luma block using sequential sampling filters within the group of sampling filters. Determining one or more linear model coefficients based on the sampled luma reference sample and the corresponding chroma reference sample to the lower sample luma reference sample; and obtaining the predictive sample of the color block corresponding to the luma block based on the linear model coefficients and the reduced luma sample from the newly generated luma sample in the luma block.
2. The method based on Claim 1, where defining a set of sampling filters based on the chroma format data, comprises:Determining the subsample ratio data in the horizontal and vertical directions based on the color pattern data, and determining the set of sampling filters based on the sampling ratio data.
3. The method according to claim 1, where for a chroma format with a chroma format of 4:2:0, the first sampling filter is used for the luma block of the current block; for a chroma format with a chroma format of 4:2:2, the second sampling filter is used for the luma block of the current block; or for a chroma format with a chroma format of 4:4:4, the third sampling filter is used for the luma block of the current block.
4. One of the methods according to claims 1 through 3, which, when the chroma subsample sample is aligned with the corresponding luma sample within the current block, obtains a reduced-sample luma sample from the newly generated luma sample in the luma block of the current block, and a sampled luma sample from the selected reference luma sample of the luma block using down-sampling filters, respectively, in a group of down-sampling filters consisting of: obtaining a reduced-sample luma sample from the luma sample.The process involves obtaining a newly generated luma sample in the luma block by applying the first down-sampling filter to the first newly generated luma sample, where the first newly generated luma sample consists of: the newly generated luma sample located horizontally and / or vertically adjacent to the location of the newly generated luma sample; and obtaining a down-sampled luma sample of at least one selected reference luma sample by applying the first down-sampling filter to the second newly generated luma sample, where the second newly generated luma sample consists of: the newly generated luma sample located horizontally and / or vertically adjacent to the location of the selected reference luma sample, where the first down-sampling filter is selected from a set of lower down-sampling filters.
5. A method based on one of claims 1 through 3, where, when the sub-sample chroma sample does not coexist with the corresponding luma sample within the current block, obtaining a down-sampled luma sample from the newly generated luma sample in the luma block of the current block, and obtaining a down-sampled luma sample of the reference luma sample.The selection of the luma block using down-sampling filters, in sequence within a group of down-sampling filters, consists of: obtaining a reduced luma sample from the newly generated luma sample in the luma block by applying a second sampling filter to a third set of newly generated luma samples, where the third set of newly generated luma samples consists of: newly generated luma samples at positions horizontally and / or vertically adjacent to the positions of the newly generated luma samples; and obtaining a down-sampled luma sample of at least one selected reference luma sample by applying a second sampling filter to a fourth set of newly generated luma samples, where the fourth set of newly generated luma samples consists of: newly generated luma samples at positions horizontally and / or vertically adjacent to the positions of the selected reference luma samples, where the second sampling filter is selected from a set of down-sampling filters.
6. Method according to claim 4, where the sub-sampled chroma samples are aligned with the corresponding luma samples within the current block.This occurs when the chroma sample type of the subsampled chroma sample contains one of the following: -Chroma sample type 2, or -Chroma sample type 4.
7. Method according to claim 5, where the subsampled chroma sample does not coexist with the corresponding luma sample within the current block. This occurs when the chroma sample type of the subsampled chroma sample contains one of the following: -Chroma sample type 0, -Chroma sample type 1, -Chroma sample type 3, or -Chroma sample type 5.
8. Method according to any one of claims 1 through 7, where the set of downsampling filters consists of: a bypass filter if at least one condition... A condition containing a chromatic pattern that satisfies the 4:4:4 chromatic pattern or a set of downsampling filters consisting of: {F2, F3, F5, F6} filters if at least one condition containing a chromatic pattern satisfies the 4:2:0 chromatic pattern where: F3[0] = 1, F3[1] = 2, F3[2] = 1 F5[i][j] = F6[i][j] = 0 where i = 0..2, j = 0..2 F5[0][1] = 1, F5[1][1] = 4, F5[2][1] = 1, F5[1][0] =1, F5[1][2] = 1 F6[0][1] = 1, F6[1][1] = 2, F6[2][1] = 1, F6[0][2] = 1, F6[1][2] = 2, F6[2][2] = 1, F2[0] = 1, F2[1] = 1; Or the set of downsampling filters consists of: filter set {F2, F3, F5, F6} if at least one condition containing a chroma pattern satisfies the 4:2:2 chroma pattern where: F3[0] = 1, F3[1] = 2, F3[2] = 1 F5[i][j] = F6[i][j] = 0 where i = 0..2, j = 0..2 F5[0][1] = 0, F5[1][1] = 8, F5[2][1] = 0, F5[1][0] = 0, F5[1][2] = 0 F6[0][1] = 2, F6[1][1] = 4, F6[2][1] = 2, F6[0][2] = 0, F6[1][2] = 0, F6[2][2] = 0, F2[0] = 2, F2[1] = 0 9. A method according to any of the claims 2 through 7, where the subsampling ratio data in the horizontal and vertical directions are represented by the values of the variables SubWidthC and SubHeightC, respectively, and the sampling filter set consists of: filter set {F2, F3, F5, F6} if at least one condition is satisfied including SubWidthC==2 and SubHeightC==2 where: F3[0] = 1, F3[1] = 2, F3[2] = 1 F5[ i ][ j] = F6[ i ][ j] = 0 where i = 0..2, j = 0..2 F5[0][1] = 1, F5[1][1] = 4, F5[2][1]= 1, F5[1][0] = 1, F5[1][2] = 1 F6[0][1] = 1, F6[1][1] = 2, F6[2][1] = 1, F6[0][2] = 1, F6[1][2] = 2, F6[2][2] = 1, F2[0] = 1, F2[1] = 1 The set of sampling filters consists of: set of filters {F2, F3, F5, F6} if at least one condition is satisfied which includes SubWidthC==2 and SubHeightC==1 where: F3[0] = 1, F3[1] = 2, F3[2] = 1 F5[i ][ j] = F6[i ][ j] = 0 by i = 0..2, j = 0..2 F5[0][1] = 0, F5[1][1] = 8, F5[2][1] = 0, F5[1][0] = 0, F5[1][2] = 0 F6[0][1] = 2, F6[1][1] = 4, F6[2][1] = 2, F6[0][2] = 0, F6[1][2] = 0, F6[2][2] = 0, F2[0] = 2, F2[1] = 0 10. Any of the methods according to claims 1 to 9. Where the selected luma reference sample consists of: a neighboring luma sample located above the luma block and selected according to the L-containing chroma reference sample, or a neighboring luma sample remaining within the luma block and selected according to the L-containing chroma reference sample.
11. Method according to claim 10 where the position of the available chroma reference sample is specified as: S[W' / 4, -1], S[3W' / 4, -1], S[-1, H' / 4], S[-1, 3H' / 4]When using LM mode and both have adjacent samples above and to the left: S[W' / 8, -1], S[3W' / 8, -1], S[5W' / 8, -1], S[7W' / 8, -1] when using LM-A mode or only the adjacent samples above; or S[-1, H7' / 8], S[-1, 3H' / 8], S[-1, 5H' / 8], S[-1, 7H' / 8] when using LM-L mode or only the adjacent samples to the left, where the block size of the color is WxH and W' and H' are defined as W'=W, H'=H when using LM mode; W'=W+H when using LM-A mode; H'=H+W when using LM-L mode.
12. Any method according to claims 1 through 11 in which the model coefficients are determined. A linear determination of one or more luma values based on a low-sampling luma reference sample and a chroma reference sample corresponding to the sample luma reference. The sample consists of determining the maximum and minimum luma values based on the randomly sampled luma reference sample. The first chroma value is derived based, at least in part, on at least one position of one or more sample luma reference samples associated with the maximum luma value.The acquisition of at least some second chroma values, at least in part, at one position of the luma reference sample, and one or more samples associated with the minimum luma value; the calculation of one or more linear model coefficients considering the first chroma, second chroma, maximum luma, and minimum luma values.
13. The tools for internal prediction using linear modeling include: a deterministic unit configured to define a set of sampling filters based on chroma format information, where color format information specifies the color format of the image belonging to the current block; a filtering unit configured to obtain a low-sampling luma sample of the newly generated luma samples in the current block's luma block, and down-sampled luma reference samples of the selected luma reference sample of the luma block using sequential sampling filters between a set of down-sampling filters; and a linear model originating unit configured to determine at least one linear model coefficient based on the sampled luma reference samples and the corresponding color reference samples.The example below shows the predictive processing unit, which is configured to obtain predictive samples of the color blocks corresponding to the luma blocks based on the linear model coefficients and downsampled luma samples of the newly generated luma samples in the luma block.
14. The instrument under claim 13, where the defining unit is configured to: determine the subsample ratio information in the horizontal and vertical directions based on the color pattern information, and determine a set of sampling filters based on the sampling ratio information.
15. The instrument under claim 13, where for a chroma pattern with a 4:2:0 chroma format, the first set of sampling filters is used for the luma blocks of the current block; for a chroma pattern with a 4:2:2 chroma format, the second set of sampling filters is used for the luma blocks of the current block; or for a chroma pattern with a 4:4:4 chroma format, the third set of sampling filters is used for the luma blocks of the current block.
16. Either of the instruments under claims 13 through 15, where when a chroma subsample sample is aligned with the corresponding luma sample within the current block, the filtering unit is configured to:Obtain a reduced-sample luma sample from the newly generated luma samples in the luma block by applying the first-order sampling filter to the first set of newly generated luma samples, where the first set of newly generated luma samples contains: newly generated luma samples located horizontally and / or vertically adjacent to the location of the newly generated luma samples; and obtain a down-sampled luma sample of at least one selected reference luma sample by applying the first-order down-sampling filter to the second set of newly generated luma samples, where the second set of newly generated luma samples contains: newly generated luma samples located horizontally and / or vertically adjacent to the location of the selected reference luma samples, where the first-order sampling filter is selected from a set of lower sampling filters.
17. Instruments under one of claims 13 through 15, where, when the sub-sampled chroma sample does not coexist with the corresponding luma samples within the current block, the filtering unit is configured to: Obtain a low-sample luma sample of the newly generated luma samples in the block.Luma is obtained by applying a second sampling filter to a third set of newly generated luma samples, where the third set of newly generated luma samples contains: newly generated luma samples located horizontally and / or vertically adjacent to the position of the newly generated luma samples, and obtaining at least one lower-sampled luma sample of the selected reference luma sample. A second sampling filter is then applied to a fourth set of newly generated luma samples, where the fourth set of newly generated luma samples contains: newly generated luma samples located horizontally and / or vertically adjacent to the position of the selected reference luma sample, where the second sampling filter is selected from a set of lower-sampling filters.
18. Tool according to claim 16, where subsampled chroma samples coexist with the corresponding luma samples within the current block. This occurs when the chroma sample type of the subsampled chroma sample contains one of the following: -Chroma sample type 2 or -Chroma sample type 4.
19. Tool according to claim 17.Where the subsampled chroma sample does not coexist with the corresponding luma sample within the current block, this occurs when the chroma sample type of the subsampled chroma sample contains one of the following: -Chroma sample type 0, -Chroma sample type 1, -Chroma sample type 3, or -Chroma sample type 5.
20. Any instrument of claims 13 through 19 where the assignment unit is configured to define a set of downsampling filters, where the set of downsampling filters consists of: a bypass filter if at least one condition A condition containing a chromatic pattern that satisfies the 4:4:4 chromatic pattern or a set of downsampling filters consisting of: {F2, F3, F5, F6} filters if at least one condition containing a chromatic pattern satisfies the 4:2:0 chromatic pattern where: F3[0] = 1, F3[1] = 2, F3[2] = 1 F5[i][j] = F6[i][j] = 0 where i = 0..2, j = 0..2 F5[0][1] = 1, F5[1][1] = 4, F5[2][1] = 1, F5[1][0] = 1, F5[1][2] = 1 F6[0][1] = 1, F6[1][1] = 2, F6[2][1] = 1, F6[0][2] = 1, F6[1][2] = 2, F6[2][2] = 1, F2[0] = 1,F2[1] = 1; Or the set of downsampling filters consists of: filter set {F2, F3, F5, F6} if at least one condition containing the chroma pattern satisfies the chroma pattern 4:2:2 where: F3[0]= 1, F3[1] = 2, F3[2] = 1 F5[ i ][ j] = F6[ i ][ j] = 0 where i = 0..2, j = 0..2 F5[0][1] = 0, F5[1][1] = 8, F5[2][1] = 0, F5[1][0] = 0, F5[1][2] = 0 F6[0][1] = 2, F6[1][1 ] = 4, F6[2][1] = 2, F6[0][2] = 0, F6[1][2] = 0, F6[2][2] = 0, F2[0] = 2, F2[1] = 0 21. The instrument of any one of claims 14 through 19, by the data of the subsample ratio in The horizontal and vertical directions are represented by the values of the variables SubWidthC and SubHeightC, respectively, and the defined unit is assigned a value to determine the set of sampling filters, where: The set of sampling filters consists of: {F2, F3, F5, F6} filters if at least one condition is satisfied including SubWidthC==2 and SubHeightC==2, where: F3[0] = 1, F3[1] = 2, F3[2] = 1 F5[i][j] = F6[i][j] = 0 where i = 0..2, j = 0..2 F5[0][l] = 1, F5[1][1] = 4, F5[2][1] = 1, F5[1][0] = 1, F5[1][2] = 1 F6[0][1] = 1,F6[1][1] = 2, F6[2][1] = 1, F6[0][2] = 1, F6[1][2] = 2, F6[2][2] = 1, F2[0] = 1, F2[1] = 1. The sampling filter set consists of: filter set {F2, F3, F5, F6} if at least one condition is satisfied including SubWidthC==2 and SubHeightC==1 where: F3[0] = 1, F3[1] = 2, F3[2] = 1. F5[i ][ j] = F6[i ][j] = 0 by i = 0..2, j = 0..
2. F5[0][1] = 0, F5[1][1] = 8, F5[2][1] = 0, F5[1][0] = 0, F5[1][2] = 0. F6[0][1] = 2, F6[1][1] = 4, F6[2][1] = 2, F6[0][2] = 0, F6[1][2] = 0, F6[2][2] = 0, F2[0] = 2, F2[1] = 0 22. An instrument under one of claims 13 through 21 where the selected luma reference sample consists of: a neighboring luma sample located above the luma block and selected according to the L-containing chroma reference sample, or a neighboring luma sample remaining within the luma block and selected according to the L-containing chroma reference sample.
23. An instrument under claim 22 where the location of the available chroma reference sample is specified as: S[W' / 4, -1], S[3W' / 4, -1], S[-1, H' / 4], S[-1, 3H' / 4] when using LM mode and both haveThe adjacent top and left chroma samples S[W' / 8, -1], S[3W' / 8, -1], S[5W' / 8, -1], S[7W' / 8, -1] when using LM-A mode, or only the adjacent top chroma samples, or S[-1, H' / 8], S[-1, 3H' / 8], S[-1, 5H' / 8], S[-1, 7H' / 8] when using LM-L mode, or only the adjacent left chroma samples, where the color block size is WxH and W' and H' are defined as W'=W, H'=H when using LM mode; W'=W+H when using LM-A mode; H'=H+W when using LM-L mode.
24. An instrument pursuant to claims 13 through 23, where the source unit of the linear model is defined to determine the maximum and minimum lumens based on the randomly sampled lumens reference sample, obtains the first chroma value according to at least some of the samples. Based on at least one position of the reference luma sample, one or more samples associated with the maximum luma value are obtained. A second chroma value is obtained at least partially based on at least one position from one or more reference luma samples associated with the minimum luma value, and one or more linear model coefficients are calculated by...Consider the first chroma value, the second chroma value, the maximum luma value, and the minimum luma value.
25. An encoder (20) consisting of processing circuits for the execution of any of the methods under claims 1 through 12.
26. A decoder (30) consisting of processing circuits for the execution of any of the methods under claims 1 through 12.
27. A computer program product consisting of program code for the execution of any of the methods under claims 1 through 12.
28. A non-temporary read-readable medium containing program code which, when executed by a computer device, causes the computer device to execute any of the methods under claims 1 through 12.
29. A decoder consisting of: one or more processors and a non-temporary read-readable medium coupled with the processors and the storage of the program for processing by the processors, whereby the programming, when executed by the processors, determines the decoder to execute any of the methods under claims 1 through 12.
30. An encoder consisting of: one or more processors andA non-temporary, read-and-read storage medium used in conjunction with the processor for storing programs for processing by the processor, where programming, when executed by the processor, defines encoder values to execute one of the methods under claims 1 through 12.
