Moving image encoding apparatus, control method for moving image encoding apparatus, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorShogo Yamasaki
Life of this patent
Estimating the term…
Abstract
A moving image encoding apparatus comprises a detection unit configured to detect motion information in units of blocks from a moving image; a determination unit configured to determine a region of interest in the moving image based on a first region determined through processing for detecting an object from an image, and the motion information; a control unit configured to perform control such that a quantized value of a block determined as being the region of interest is set to a value lower than a quantized value of a block determined as not being the region of interest; and an encoding unit configured to perform compression encoding on the moving image based on the quantized value set by the control unit.
Claims11
A moving image encoding apparatus comprising:
- a computer;
- and
- a memory for storing instructions to be executed by the computer, wherein, when the instructions stored in the memory are executed by the computer, the moving image encoding apparatus functions as:
- a detection unit configured to detect a motion vector in units of blocks from a moving image;
- a determination unit configured to determine a region of interest in the moving image based on a size of the motion vector and an object region determined through processing for detecting an object from the moving image;
- a control unit configured to perform control such that a quantization parameter of a block determined as being the region of interest is set to a value lower than a quantization parameter of a block determined as not being the region of interest;
- and
- an encoding unit configured to perform encoding on the moving image based on the quantization parameter set by the control unit,
- wherein the control unit is configured to perform control such that a quantization parameter of a block determined as being the region of interest based on both of the size of the motion vector and the object region is set to a value lower than a quantization parameter of a block determined as being the region of interest based on one of the size of the motion vector and the object region.
A control method for a moving image encoding apparatus, the method comprising:
- detecting a motion vector in units of blocks from a moving image;
- determining a region of interest in the moving image based on a size of the motion vector and an object region determined through processing for detecting an object from the moving image;
- performing control such that a quantization parameter of a block determined as being the region of interest is set to a value lower than a quantization parameter of a block determined as not being the region of interest;
- and
- performing encoding on the moving image based on the set quantization parameter,
- wherein, in performing the control, it is further controlled such that a quantization parameter of a block determined as being the region of interest based on both of the size of the motion vector and the object region is set to a value lower than a quantization parameter of a block determined as being the region of interest based on one of the size of the motion vector and the object region.
A non-transitory computer-readable storage medium storing a computer program for causing a computer to execute a control method for a moving image encoding apparatus, the method comprising:
- detecting a motion vector in units of blocks from a moving image;
- determining a region of interest in the moving image based on a size of the motion vector and an object region determined through processing for detecting an object from the moving image;
- performing control such that a quantization parameter of a block determined as being the region of interest is set to a value lower than a quantization parameter of a block determined as not being the region of interest;
- and
- performing encoding on the moving image based on the set quantization parameter,
- wherein, in performing the control, it is further controlled such that a quantization parameter of a block determined as being the region of interest based on both of the size of the motion vector and the object region is set to a value lower than a quantization parameter of a block determined as being the region of interest based on one of the size of the motion vector and the object region.
Dependencies are inferred from the claim text.