Inferring an illumination compensation flag during encoding or decoding of a video image signal using frame rate up conversion can save one bit and eliminate complexity. The illumination compensation flag can be derived from the corresponding flags of at least one bi-predictive or bi-directional prediction candidates. The flag can also be derived from some function of the flags from those candidates. Alternatively, several flags can be used for respective coding or decoding of blocks if there are more than one prediction candidate using illumination compensation.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for decoding video information, comprising: obtaining a motion vector prediction candidate for a coding block based on template matching; obtaining a prediction of the coding block based on the motion vector prediction candidate; deriving an illumination compensation indication for the coding block based on an illumination compensation indication associated with the motion vector prediction candidate obtained based on template matching; determining to use an illumination compensation for the coding block based on the derived illumination compensation indication associated with the coding block; refining the prediction of the coding block using illumination compensation; and decoding the coding block based on the refined prediction.
2. The method of claim 1, further comprising: obtaining an indication that indicates to use a template matching cost function, wherein the motion vector prediction candidate for the coding block is obtained based on the template matching cost function.
3. The method of claim 1, further comprising: determining a template matching cost function, wherein the motion vector prediction candidate for the coding block is obtained based on template matching using the determined template matching cost function.
4. The method of claim 1, wherein obtaining the motion vector prediction candidate for the coding block based on template matching comprises: determining a template matching cost function; determining cost values for respective candidates in a set of motion vector prediction candidates for the coding block based on the template matching cost function; and selecting the motion vector prediction candidate associated with a minimum cost value from the set of motion vector prediction candidates.
5. The method of claim 1, wherein deriving the illumination compensation indication is further based on a neighboring block associated with the motion vector prediction candidate obtained based on template matching, wherein the illumination compensation indication indicates to use illumination compensation to refine the prediction of the coding block by using illumination compensation for the motion vector prediction candidate.
6. The method of claim 1, further comprising: determining that an inter-prediction mode is used for the coding block, wherein the deriving of the illumination compensation indication is further based on the determination that the inter-prediction mode is used for the coding block, and wherein the illumination compensation indication indicates to use illumination compensation to refine the prediction of the coding block by using illumination compensation for the motion vector prediction candidate.
7. The method of claim 1, wherein the template matching comprises comparing a first template comprising at least one reconstructed neighboring sample of the coding block to a second template comprising at least one reconstructed neighboring sample of a block in a reference picture corresponding to the coding block.
8. An apparatus for decoding video information, comprising: a processor, configured to: obtain a motion vector prediction candidate for a coding block based on template matching; obtain a prediction of the coding block based on the motion vector prediction candidate; derive an illumination compensation indication for the coding block based on an illumination compensation indication associated with the motion vector prediction candidate obtained based on template matching; determine to use an illumination compensation for the coding block based on the illumination compensation indication associated with the coding block; refine the prediction of the coding block using illumination compensation; and decode the coding block based on the refined prediction.
9. The apparatus of claim 8, wherein the processor is further configured to: obtain an indication that indicates to use a template matching cost function, wherein the motion vector prediction candidate for the coding block is obtained based on the template matching cost function.
10. The apparatus of claim 8, wherein the processor is further configured to: determine a template matching cost function, wherein the motion vector prediction candidate for the coding block is obtained based on template matching using the determined template matching cost function.
11. The apparatus of claim 8, wherein the processor is further configured to: determine a template matching cost function, determine cost values for respective candidates in a set of motion vector prediction candidates for the coding block based on the template matching cost function, and select the motion vector prediction candidate associated with a minimum cost value from the set of motion vector prediction candidates.
12. The apparatus of claim 8, wherein the derivation of the illumination compensation indication is further based on a neighboring block associated with the motion vector prediction candidate obtained based on template matching, wherein the illumination compensation indication indicates to use illumination compensation to refine the prediction of the coding block by using illumination compensation for the motion vector prediction candidate.
13. The apparatus of claim 8, wherein the processor is further configured to: determine that an inter prediction mode is used for the coding block, wherein the derivation of the illumination compensation indication is further based on the determination that the inter prediction mode is used for the coding block, and wherein the illumination compensation indication indicates to use illumination compensation to refine the prediction of the coding block by using illumination compensation for the motion vector prediction candidate.
14. The apparatus of claim 8, wherein the template matching comprises comparing a first template comprising at least one reconstructed neighboring sample of the coding block to a second template comprising at least one reconstructed neighboring sample of a block in a reference picture corresponding to the coding block.
15. A non-transitory computer-readable medium storing instructions that when executed by a processor cause it to perform: obtaining a motion vector prediction candidate for a coding block based on template matching; obtaining a prediction of the coding block based on the motion vector prediction candidate; derive an illumination compensation indication for the coding block based on an illumination compensation indication associated with the motion vector prediction candidate obtained based on template matching; determining to use an illumination compensation for the coding block based on the illumination compensation indication associated with the coding block; refining the prediction of the coding block using illumination compensation; and decoding the coding block based on the refined prediction.
16. The non-transitory computer-readable medium of claim 15, further storing instructions that when executed by the processor cause it to perform: obtaining an indication that indicates to use a template matching cost function, wherein the motion vector prediction candidate for the coding block is obtained based on the template matching cost function.
17. The non-transitory computer-readable medium of claim 15, further storing instructions that when executed by the processor cause it to perform: determining a template matching cost function, wherein the motion vector prediction candidate for the coding block is obtained based on template matching using the determined template matching cost function.
18. The non-transitory computer-readable medium of claim 15, further storing instructions that when executed by the processor cause it to perform: determining a template matching cost function; determining cost values for respective candidates in a set of motion vector prediction candidates for the coding block based on the template matching cost function; and selecting the motion vector prediction candidate associated with a minimum cost value from the set of motion vector prediction candidates.
19. The non-transitory computer-readable medium of claim 15, wherein the derivation of the illumination compensation indication is further based on a neighboring block associated with the motion vector prediction candidate obtained based on template matching or further based on a determination that an inter-prediction mode is used for the coding block, wherein the illumination compensation indication indicates to use illumination compensation to refine the prediction of the coding block by using illumination compensation for the motion vector prediction candidate.
20. The non-transitory computer-readable medium of claim 15, wherein the template matching comprises comparing a first template comprising at least one reconstructed neighboring sample of the coding block to a second template comprising at least one reconstructed neighboring sample of a block in a reference picture corresponding to the coding block.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
January 23, 2023
January 28, 2025
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.