IP Library › Granted Patent US 12,101,466
Granted Patent B2
US 12,101,466 · App. 17/690,881 · Granted Sep 24, 2024

Image encoding device, image encoding method, and program, image decoding device, image decoding method, and non-transitory computer-readable storage medium

Inventor: Masato Shima (Tokyo, JP)
Assignee: Canon Kabushiki Kaisha
H04N19/105H04N19/124H04N19/176H04N19/186H04N19/61
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,101,466
App. No.
17/690,881
Granted
Sep 24, 2024
Kind
B2
Abstract

An encoding device, if it is determined that a transforming processing is applied to a block to be encoded, encodes the block using a first quantization parameter, if it is determined that the transforming processing is not applied to the block and the first quantization parameter is less than a reference value, encodes the block using the reference value as a quantization parameter, and, if it is determined that a pallet mode is applied to the block and the first quantization parameter is less than a reference value, encodes the block using the reference value as a quantization parameter for an escape value, wherein the reference value used if it is determined that the transforming processing is not applied to the block and the reference value used for the escape value are the same.

Claims (50)

1. An image encoding device encoding an image to generate a bitstream, comprising:

a first determining unit configured to, in a case where a prediction encoding mode is used for a block to be encoded, determine whether a transforming processing is applied to the block to be encoded; and

an encoding unit configured to, in a case where the first determining unit determines that the transforming processing is applied to the block to be encoded, encode the block to be encoded using a first quantization parameter corresponding to the block to be encoded,

wherein, in a case where (i) the first determining unit determines that the transforming processing is not applied to the block to be encoded and (ii) the first quantization parameter is less than a minimum quantization parameter value used for a case where the transforming processing is not applied, the encoding unit encodes the block to be encoded using the minimum quantization parameter value as a quantization parameter,

wherein the device further comprises:

a second determining unit configured to determine whether a palette mode is applied to the block to be encoded,

wherein, in a case where (i) the second determining unit determines that the pallet mode is applied to the block to be encoded and (ii) the first quantization parameter is less than the minimum quantization parameter value, the encoding unit encodes the block to be encoded using the minimum quantization parameter value as a quantization parameter for an escape value,

wherein the minimum quantization parameter value used when the first determining unit determines that the transforming processing is not applied to the block to be encoded and the minimum quantization parameter value used for the escape value are the same, and

wherein the encoding unit further encodes, into the bitstream, information for indicating a difference between the minimum quantization parameter value and a predetermined value corresponding to a value of a quantization parameter indicating that a quantization step is one.

2. An image decoding device decoding a bitstream generated by encoding an image, comprising:

a first determining unit configured to, in a case where a prediction encoding mode is used for a block to be decoded, determine whether a transforming processing is applied to the block to be decoded; and

a decoding unit configured to, in a case where the first determining unit determines that the transforming processing is applied to the block to be decoded, decode the block to be decoded using a first quantization parameter corresponding to the block to be decoded,

wherein the decoding unit further decodes, from the bitstream, information for indicating a difference between a minimum quantization parameter value for a case where the transforming processing is not applied and a predetermined value corresponding to a value of a quantization parameter indicating that a quantization step is one,

wherein, in a case where (i) the first determining unit determines that the transforming processing is not applied to the block to be decoded and (ii) the first quantization parameter is less than the minimum quantization parameter value based on the information, the decoding unit decodes the block to be decoded using the minimum quantization parameter value as a quantization parameter,

wherein the device further comprises:

a second determining unit configured to determine whether a palette mode is applied to the block to be decoded,

wherein, in a case where (i) the second determining unit determines that the pallet mode is applied to the block to be decoded and (ii) the first quantization parameter is less than the minimum quantization parameter value, the decoding unit decodes the block to be decoded using the minimum quantization parameter value as a quantization parameter for an escape value, and

wherein the minimum quantization parameter value used when the first determining unit determines that the transforming processing is not applied to the block to be decoded and the minimum quantization parameter value used for the escape value are the same.

3. An image encoding method of encoding an image to generate a bitstream, comprising:

in a case where a prediction encoding mode is used for a block to be encoded, determining whether a transforming processing is applied to the block to be encoded;

in a case where it is determined that the transforming processing is applied to the block to be encoded, encoding the block to be encoded using a first quantization parameter corresponding to the block to be encoded;

in a case where (i) it is determined that the transforming processing is not applied to the block to be encoded and (ii) the first quantization parameter is less than a minimum quantization parameter value for a case where the transforming processing is not applied, encoding the block to be encoded using the minimum quantization parameter value as a quantization parameter;

determining whether a palette mode is applied to the block to be encoded; and

in a case where (i) it is determined that the pallet mode is applied to the block to be encoded and (ii) the first quantization parameter is less than the minimum quantization parameter value, encoding the block to be encoded using the minimum quantization parameter value as a quantization parameter for an escape value,

wherein the minimum quantization parameter value used when it is determined that the transforming processing is not applied to the block to be encoded and the minimum quantization parameter value used for the escape value are the same, and

wherein the image encoding method further comprises encoding, into the bitstream, information for indicating a difference between the minimum quantization parameter value and a predetermined value corresponding to a value of a quantization parameter indicating that a quantization step is one.

4. An image decoding method of decoding a bitstream generated by encoding an image, the method comprising:

in a case where a prediction encoding mode is used for a block to be decoded, determining whether a transforming processing is applied to the block to be decoded;

in a case where it is determined that the transforming processing is applied to the block to be decoded, decoding the block to be decoded using a first quantization parameter corresponding to the block to be decoded;

decoding, from the bitstream, information for indicating a difference between a minimum quantization parameter value for a case where the transforming processing is not applied and a predetermined value corresponding to a value of a quantization parameter indicating that a quantization step is one;

in a case where (i) it is determined that the transforming processing is not applied to the block to be decoded and (ii) the first quantization parameter is less than the minimum quantization parameter value based on the information, decoding the block to be decoded using the minimum quantization parameter value as a quantization parameter;

determining whether a palette mode is applied to the block to be decoded; and

in a case where (i) it is determined that the pallet mode is applied to the block to be decoded and (ii) the first quantization parameter is less than the minimum quantization parameter value, decoding the block to be decoded using the minimum quantization parameter value as a quantization parameter for an escape value,

wherein the minimum quantization parameter value used when it is determined that the transforming processing is not applied to the block to be decoded and the minimum quantization parameter value used for the escape value are the same.

5. A non-transitory computer-readable storage medium storing a program which, when read and executed by a computer, causes the computer to execute an image encoding method of encoding an image to generate a bitstream, the method comprising:

in a case where a prediction encoding mode is used for a block to be encoded, determining whether a transforming processing is applied to the block to be encoded;

in a case where it is determined that the transforming processing is applied to the block to be encoded, encoding the block to be encoded using a first quantization parameter corresponding to the block to be encoded;

in a case where (i) it is determined that the transforming processing is not applied to the block to be encoded and (ii) the first quantization parameter is less than a minimum quantization parameter value for a case where the transforming processing is not applied, encoding the block to be encoded using the minimum quantization parameter value as a quantization parameter;

determining whether a palette mode is applied to the block to be encoded; and

in a case where (i) it is determined that the pallet mode is applied to the block to be encoded and (ii) the first quantization parameter is less than the minimum quantization parameter value, encoding the block to be encoded using the reference minimum quantization parameter value as a quantization parameter for an escape value,

wherein the minimum quantization parameter value used when it is determined that the transforming processing is not applied to the block to be encoded and the minimum quantization parameter value used for the escape value are the same, and

wherein the image encoding method further comprises encoding, into the bitstream, information for indicating a difference between the minimum quantization parameter value and a predetermined value corresponding to a value of a quantization parameter indicating that a quantization step is one.

6. A non-transitory computer-readable storage medium storing a program which, when read and executed by a computer, causes the computer to execute an image decoding method of decoding a bitstream generated by encoding an image, the method comprising:

in a case where a prediction encoding mode is used for a block to be decoded, determining whether a transforming processing is applied to the block to be decoded;

in a case where it is determined that the transforming processing is applied to the block to be decoded, decoding the block to be decoded using a first quantization parameter corresponding to the block to be decoded;

decoding, from the bitstream, information for indicating a difference between a minimum quantization parameter value for a case where the transforming processing is not applied and a predetermined value corresponding to a value of a quantization parameter indicating that a quantization step is one;

in a case where (i) it is determined that the transforming processing is not applied to the block to be decoded and (ii) the first quantization parameter is less than the minimum quantization parameter value based on the information, decoding the block to be decoded using the minimum quantization parameter value as a quantization parameter;

determining whether a palette mode is applied to the block to be decoded; and

in a case where (i) it is determined that the pallet mode is applied to the block to be decoded and (ii) the first quantization parameter is less than the minimum quantization parameter value, decoding the block to be decoded using the minimum quantization parameter value as a quantization parameter for an escape value,

wherein the minimum quantization parameter value used when it is determined that the transforming processing is not applied to the block to be decoded and the minimum quantization parameter value used for the escape value are the same.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2022
From: SHIMA, MASATO
To: CANON KABUSHIKI KAISHA
Reel/Frame 059537/0840 →
Priority Claims (1)
JP 2019-168859 · Sep 17, 2019 · national
Continuity (2)
Continuation PCTJP2020030903 · Aug 14, 2020
Related Publication 20220201287A1 · Jun 23, 2022