Encoding apparatus, encoding method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorAkihiro Oishi
Life of this patent
Estimating the term…
Abstract
In an encoding apparatus or an encoding method, motion-image data is input, an encoding parameter is output such that a predetermined number of codes are used for encoding the input motion-image data in units of predetermined sizes, the output encoding parameter is stored in a storage medium, and the input motion-image data is encoded by adaptively selecting the output encoding parameter or the encoding parameter stored in the storage medium.
Claims12
A video camera having an image encoding apparatus, comprising:
- an imaging unit configured to output motion-image data;
- a quantizer configured to quantize the motion-image data, based on quantization coefficient information applied to an input of said quantizer;
- an encoder configured to encode image data quantized by said quantizer and to output encoded image data including a number of codes;
- a control circuit configured to determine whether the number of codes included in the encoded image data exceeds a predetermined threshold value, and to output a selected one of a first plurality of sets of quantization coefficients, based on a result of the determination;
- a memory configured to store a second plurality of sets of quantization coefficients;
- and
- a selector configured to select either one of the first plurality of sets of quantization coefficients output by the control circuit or one of the second plurality of sets of quantization coefficients stored in said memory, and apply the selected set of quantization coefficients to the input of said guantizer, to cause said quantizer to quantize the motion-image data output from said imaging unit, based on the selected set of quantization coefficients.
A method for encoding motion-image data in a video camera, comprising the steps of:
- outputting motion-image data from an imaging unit;
- providing a set of quantization coefficients to a first input of a quantizer;
- quantizing the motion-image data by said quantizer, based on quantization coefficient information applied to an input of said quantizer;
- encoding image data quantized by said quantizer to form encoded image data including a number of codes and outputting the encoded image data;
- determining, by a control circuit, whether the number of codes included in the encoded image data exceeds a predetermined threshold value;
- outputting, by the control circuit, a selected one of a first plurality of sets of quantization coefficients, based on a result of the determining;
- storing a second plurality of sets of quantization coefficients;
- and
- selecting either the selected first set of quantization coefficients output by said control circuit or one of the second sets of quantization coefficients stored in a memory, and applying the selected set of quantization coefficients to the input of said quantizer, to cause said quantizer to quantize the inputted motion-image data, based on that selected set of quantization coefficients.
A storage medium storing a program having computer readable code for executing a method for encoding motion-image data in a video camera, comprising the steps of:
- outputting motion-image data from an imaging unit;
- providing a set of quantization coefficients to a first input of a quantizer;
- quantizing the motion-image data by a quantizer, based on quantization coefficient information applied to an input of said quantizer;
- encoding image data quantized by said quantizer and outputting encoded image data including a number of codes;
- determining whether the number of codes included in the encoded image data exceeds a predetermined threshold value;
- outputting a selected one of a first sets of quantization coefficients, based on a result of the determining;
- storing a second plurality of sets of quantization coefficients in a memory;
- selecting either the selected first set of quantization coefficients or one of the second sets of quantization coefficients;
- and
- applying the selected set of quantization coefficients to the input of said quantizer, to cause said quantizer to quantize the inputted motion-image data, based on the selected set of quantization coefficients.
An image encoding method comprising the steps of:
- quantizing motion-image data to form quantized image data, based on quantization coefficient information;
- encoding the quantized image data to form encoded image data including a number of codes;
- determining whether the number of codes included in the encoded image data exceeds a predetermined threshold value,
- outputting a selected one of a first set of quantization coefficients, based on a result of the determining;
- storing a second set of quantization coefficients in a memory;
- and
- selecting either the selected first set of quantization coefficients or one of the second set of quantization coefficients stored in said memory;
- and
- quantizing the motion-image data based on the set of quantization coefficients selected by said selecting,
- wherein the above steps are performed by a processor.
A computer-readable medium having stored thereon sequences of instructions, the sequences of instructions including instructions which when executed by a computer system causes the computer system to perform
- quantizing motion-image data to form quantized image data, based on quantization coefficient information;
- encoding the quantized image data to form encoded image data including a number of codes;
- determining whether the number of codes included in the encoded image data exceeds a predetermined threshold value,
- outputting a selected one of a first set of quantization coefficients, based on a result of the determining;
- storing a second set of quantization coefficients in a memory;
- selecting either the selected first set of quantization coefficients or one of the second set of quantization coefficients stored in said memory;
- and
- quantizing the motion-image data based on the set of quantization coefficients selected by said selecting.
Dependencies are inferred from the claim text.