At least one exemplary embodiment is directed to an image coding apparatus configured to encode moving image data including: a coding unit configured to encode each picture in the moving image data in a unit of a first block; a luminance change detection unit configured to divide the moving image data into a plurality of second blocks and to detect a luminance change block in which a luminance change occurred from the plurality of the second blocks in one picture; and a code amount adjustment unit configured to increase an amount of code allocated to the first block if the first block corresponds to the luminance change block detected by the luminance change detection unit.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An image coding method for encoding moving image data, the image coding method comprising: encoding, using a processor, each picture in the moving image data in a unit of a first block; dividing the moving image data into a plurality of second blocks; detecting a luminance change block in which a luminance change occurred, from the plurality of the second blocks in one picture; increasing an amount of code allocated to the first block if the first block corresponds to the luminance change block; setting a quantization coefficient per first block according to a target code amount determined by a rate control; and changing a value of the coefficient so that the quantization coefficient becomes smaller if the first block corresponds to the luminance change block.
2. The image coding method according to claim 1 , further comprising: calculating an evaluation value based on each field image composing the picture; and detecting the luminance change block based on a difference between each of the evaluation values calculated based on the field images.
3. The image coding method according to claim 1 , further comprising: calculating an evaluation value per second block which is same or larger than the first block; and identifying the first block in which a luminance change occurred based on a calculated evaluation value.
4. The image coding method according to claim 3 , further comprising calculating an evaluation value using a pixel value in the second block.
5. The image coding method according to claim 4 , further comprising calculating an evaluation value of each field image composing the picture.
6. The image coding method according to claim 1 , further comprising detecting the luminance change block affected by a flash from the moving image data.
7. A non-transitory computer-readable storage medium storing computer-executable instructions for causing a computer to perform a method of encoding moving image data, comprising: computer-executable instructions for encoding each picture in the moving image data in a unit of a first block; computer-executable instructions for dividing the moving image data into a plurality of second blocks; computer-executable instructions for detecting a luminance change block in which a luminance change occurred from the plurality of the second blocks in one picture; computer-executable instructions for increasing an amount of code allocated to the first block if the first block corresponding to the luminance change block; computer-executable instructions for setting a quantization coefficient per first block according to a target code amount determined by a rate control; and computer-executable instructions for changing a value of the coefficient so that the quantization coefficient becomes smaller if the first block corresponds to the luminance change block.
8. An image coding apparatus configured to encode moving image data, the image coding apparatus comprising: a coding unit configured to encode each picture in the moving image data in a unit of a first block; a luminance change detection unit configured to detect an area in which a luminance change occurred based on a difference between consecutive plural pictures; and a code amount adjustment unit configured to increase an amount of code allocated to the first block if at least a part of the first block is included in the area detected by the luminance change detection unit; wherein the code amount adjustment unit includes: a rate control unit; and a quantization coefficient setting unit configured to set a quantization coefficient per first block according to a target code amount determined by the rate control unit, and to change a value of the coefficient so that the quantization coefficient becomes smaller if the first block corresponds to the luminance change block; and a processor configured to implement at least one of the coding unit, the luminance change detection unit and code amount adjustment unit.
9. An image coding apparatus configured to encode moving image data, the image coding apparatus comprising: a coding unit configured to encode each picture in the moving image data in a unit of a first block; a luminance change detection unit configured to divide the moving image data into a plurality of second blocks and to detect a luminance change block in which a luminance change occurred, from the plurality of the second blocks in one picture; a code amount adjustment unit configured to increase an amount of code allocated to the first block if the first block corresponds to the luminance change block detected by the luminance change detection unit; wherein the code amount adjustment unit includes: a rate control unit; and a quantization coefficient setting unit configured to set a quantization coefficient per first block according to a target code amount determined by the rate control unit, and to change a value of the coefficient so that the quantization coefficient becomes smaller if the first block corresponds to the luminance change block; and a processor configured to implement at least one of the coding unit, the luminance change detection unit and code amount adjustment unit.
10. The image coding apparatus according to claim 9 , further comprising an evaluation value calculation unit configured to calculate an evaluation value based on each field image composing the picture, wherein the luminance change detection unit detects the luminance change block based on a difference between each of the evaluation values calculated based on the field images.
11. The image coding apparatus according to claim 9 , further comprising an evaluation value calculation unit configured to calculate an evaluation value per second block which is same or larger than the first block, wherein the luminance change detection unit identifies the first block in which a luminance change occurred based on a result of the calculation by the evaluation value calculation unit.
12. The image coding apparatus according to claim 11 , wherein the evaluation value calculation unit calculates an evaluation value using a pixel value in the second block.
13. The image coding apparatus according to claim 12 , wherein the evaluation value calculation unit calculates an evaluation value of each field image composing the picture.
14. The image coding apparatus according to claim 9 , wherein the luminance change detection unit detects the luminance change block affected by a flash from the moving image data.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
March 6, 2007
September 18, 2012
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.